mirror of
https://github.com/sqlite/sqlite.git
synced 2026-10-23 21:49:02 +03:00
integrity_check extension so that it works for widely correct CREATE INDEX statements. [bugs:/info/2026-07-05T12:00:57Z|Bug 2026-07-05T12:00:57Z]. Also fix the extension so that it removes the parse_create_index() function. Add the sqlite3_intck_register() API function so that the parse_create_index() function can be more easily tested. FossilOrigin-Name: bd28985523b02875b1045652fe29757e5d5519f48e6109ffebc99212314ab69c
24 lines
597 B
SQL
24 lines
597 B
SQL
#!sqlite3
|
|
#
|
|
# 2026-03-01
|
|
#
|
|
# The author disclaims copyright to this source code. In place of
|
|
# a legal notice, here is a blessing:
|
|
#
|
|
# May you do good and not evil.
|
|
# May you find forgiveness for yourself and forgive others.
|
|
# May you share freely, never taking more than you give.
|
|
#
|
|
#***********************************************************************
|
|
#
|
|
# Bug report sqlite.org/forum/forumpost/efc9bc9cb3
|
|
#
|
|
.testcase 100
|
|
.mode quote
|
|
.intck register
|
|
SELECT parse_create_index('CREATE IDEX i ON t("x',0);
|
|
.check NULL
|
|
.testcase 110
|
|
SELECT parse_create_index(strdup(''),0);
|
|
.check NULL
|