You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
execute_sql_string() will be suspend when there's an error in executing sqlString like primary key conflict #133
sqlString like below and sansTran=False:
insert into table1 values(xxx);insert into table2 values(xxx);
and there's an primary key conflict error when running 'insert into table2 values(xxx)'
then, execute_sql_string() will be suspend after log 'Executing : Execute SQL String | xxxxxx'
script like below and version=1.2.4
Connect_To_Database_Using_Custom_Params pymysql db='xxx'...
execute_sql_string insert into table1 values(xxx);insert into table2 values(xxx);
Disconnect_from_database
if only run execute_sql_string insert into table2 values(xxx); the primary key conflict error will be displayed normally
Activity
zhaomingminghit commentedon Nov 4, 2020
script like below and version=1.2.4
Connect_To_Database_Using_Custom_Params pymysql db='xxx'...
execute_sql_string insert into table1 values(xxx);insert into table2 values(xxx);
Disconnect_from_database
if only run execute_sql_string insert into table2 values(xxx); the primary key conflict error will be displayed normally
jerry57 commentedon Dec 11, 2020
What happens if you try:
execute_sql_string begin; insert into table1 values(xxx);insert into table2 values(xxx); end;
zhaomingminghit commentedon Jan 15, 2021
it will also suspend when i run "execute_sql_string begin; insert into table1 values(xxx);insert into table2 values(xxx); end;"