File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/oracledb/impl/thin/messages Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ cdef class ExecuteMessage(MessageWithData):
51
51
if stmt._requires_define:
52
52
options |= TNS_EXEC_OPTION_DEFINE
53
53
elif not self .parse_only and stmt._sql is not None :
54
- exec_flags = TNS_EXEC_FLAGS_IMPLICIT_RESULTSET
54
+ exec_flags | = TNS_EXEC_FLAGS_IMPLICIT_RESULTSET
55
55
options |= TNS_EXEC_OPTION_EXECUTE
56
56
if stmt._cursor_id == 0 or stmt._is_ddl:
57
57
options |= TNS_EXEC_OPTION_PARSE
@@ -75,7 +75,7 @@ cdef class ExecuteMessage(MessageWithData):
75
75
if self .batcherrors:
76
76
options |= TNS_EXEC_OPTION_BATCH_ERRORS
77
77
if self .arraydmlrowcounts:
78
- exec_flags = TNS_EXEC_FLAGS_DML_ROWCOUNTS
78
+ exec_flags | = TNS_EXEC_FLAGS_DML_ROWCOUNTS
79
79
if self .conn_impl.autocommit and not self .parse_only:
80
80
options |= TNS_EXEC_OPTION_COMMIT
81
81
You can’t perform that action at this time.
0 commit comments