When a SELECT statement is terminated by a ROLLBACK TO operation, make the

error message be "abort due to ROLLBACK" rather than 
"callback requested query abort".

FossilOrigin-Name: 34fc4a082c192830e48f643549c04a4f91912b8b
This commit is contained in:
drh
2014-11-17 17:13:06 +00:00
parent 13835c41e8
commit 77b1deec40
4 changed files with 12 additions and 11 deletions
+2 -2
View File
@@ -78,7 +78,7 @@ do_test savepoint7-2.1 {
} msg]
db eval {RELEASE x1}
list $rc $msg [db eval {SELECT * FROM t2}]
} {1 {callback requested query abort} {}}
} {1 {abort due to ROLLBACK} {}}
do_test savepoint7-2.2 {
db eval {DELETE FROM t2;}
@@ -93,6 +93,6 @@ do_test savepoint7-2.2 {
}
} msg]
list $rc $msg [db eval {SELECT * FROM t2}]
} {1 {callback requested query abort} {}}
} {1 {abort due to ROLLBACK} {}}
finish_test