execute_sql_string() will be suspend when there's an error in executing sqlString like primary key conflict
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 32/100
Research direction
Start at the execute_sql_string() entry point and reproduce the two-statement SQL example with sansTran=False, including the primary-key conflict in the second insert. Trace what happens after the error and the 'Executing : Execute SQL String' log; done means the call handles the conflict without suspending, with a regression test covering the behavior.
Written by the indexing model from the issue text.
Description
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'
- Dominant language
- Python
- Stars
- 179
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MarketSquare/Robotframework-Database-Library
-
new_client
Difficulty 3/5 1-2 days Newbie friendliness 48/100
MarketSquare/Robotframework-Database-Library#260 · 1 comment ·
-
docs
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
MarketSquare/Robotframework-Database-Library#256 · 4 comments ·
-
improvement
Difficulty 5/5 Over a week Newbie friendliness 45/100
MarketSquare/Robotframework-Database-Library#255 · 2 comments ·
-
improvement
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in MarketSquare/Robotframework-Database-Library
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·