mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
The rtreecheck() SQL function should not invoke BEGIN or COMMIT as this
causes issues for statement transactions. FossilOrigin-Name: b7b2e30b570efda338c62e88446dedb6667640f33855b2422ad20c7b569b025a
This commit is contained in:
@ -784,4 +784,15 @@ do_execsql_test 22.1 {
|
||||
SELECT id, x0 > 9223372036854775807 AS 'a0' FROM t1;
|
||||
} {123 1}
|
||||
|
||||
# 2023-10-14 dbsqlfuzz --sql-fuzz find. rtreecheck() should not call
|
||||
# BEGIN/COMMIT because that causes problems with statement transactions,
|
||||
# and it is unnecessary.
|
||||
#
|
||||
reset_db
|
||||
do_test 23.0 {
|
||||
db eval {CREATE TABLE t1(a,b,c);}
|
||||
catch {db eval {CREATE TABLE t2 AS SELECT rtreecheck('t1') AS y;}}
|
||||
db eval {PRAGMA integrity_check;}
|
||||
} {ok}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user