mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Bug fix: do not segfault if a SELECT without a FROM clause includes
the * wildcard in the result column list. (CVS 609) FossilOrigin-Name: d939294994e5f6c7862b66573301e111e56a2681
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
# This file implements tests for miscellanous features that were
|
||||
# left out of other test files.
|
||||
#
|
||||
# $Id: misc1.test,v 1.6 2002/05/24 02:14:50 drh Exp $
|
||||
# $Id: misc1.test,v 1.7 2002/06/06 23:42:28 drh Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
@ -227,5 +227,16 @@ do_test misc1-7.6 {
|
||||
}
|
||||
} {0 2 4 1 2 3}
|
||||
|
||||
do_test misc1-8.1 {
|
||||
catchsql {
|
||||
SELECT *;
|
||||
}
|
||||
} {1 {no tables specified}}
|
||||
do_test misc1-8.2 {
|
||||
catchsql {
|
||||
SELECT t1.*;
|
||||
}
|
||||
} {1 {no such table: t1}}
|
||||
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user