forked from openGauss-Ecosystem/openGauss-server
fix revert select into clob
Offering: openGaussDev More detail: fix revert select into clob Match-id-1493a65ab2a81b36455743e029e4a34d798c7e1e
This commit is contained in:
parent
e896716077
commit
84e65fdf73
|
@ -5535,10 +5535,6 @@ static int exec_stmt_execsql(PLpgSQL_execstate* estate, PLpgSQL_stmt_execsql* st
|
|||
|
||||
plpgsql_estate = estate;
|
||||
|
||||
#ifndef ENABLE_MULTIPLE_NODES
|
||||
t_thrd.xact_cxt.isSelectInto = stmt->into;
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Execute the plan
|
||||
*/
|
||||
|
@ -5747,7 +5743,6 @@ static int exec_stmt_execsql(PLpgSQL_execstate* estate, PLpgSQL_stmt_execsql* st
|
|||
|
||||
estate->cursor_return_data = saved_cursor_data;
|
||||
estate->cursor_return_numbers = saved_cursor_numbers;
|
||||
t_thrd.xact_cxt.isSelectInto = false;
|
||||
return PLPGSQL_RC_OK;
|
||||
}
|
||||
|
||||
|
|
|
@ -582,6 +582,7 @@ begin
|
|||
end;
|
||||
/
|
||||
call test_lob_write_nodyna();
|
||||
ezz
|
||||
test_lob_write_nodyna
|
||||
-----------------------
|
||||
|
||||
|
@ -590,8 +591,8 @@ call test_lob_write_nodyna();
|
|||
select * from test_clob;
|
||||
a | b
|
||||
---+-----
|
||||
2 | zzz
|
||||
1 | dbc
|
||||
2 | ezz
|
||||
(2 rows)
|
||||
|
||||
create or replace procedure test_blob_write
|
||||
|
@ -639,7 +640,7 @@ call test_clob_append();
|
|||
select * from test_clob;
|
||||
a | b
|
||||
---+--------
|
||||
2 | ezz
|
||||
2 | zzz
|
||||
1 | dbcddd
|
||||
(2 rows)
|
||||
|
||||
|
|
Loading…
Reference in New Issue