summaryrefslogtreecommitdiff
path: root/test/intck01.sql
blob: 97dc57eb23d6911d68a872339079314dd72db04c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!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
#
.open :memory:
.dbconfig defensive off
.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