mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Skip all tests in tableapi.test if SQLITE_OMIT_GET_TABLE defined. Ticket #3975. (CVS 6901)
FossilOrigin-Name: 0219a543367638013ccd06295eeb9efc822e2dd1
This commit is contained in:
@ -12,11 +12,16 @@
|
||||
# focus of this file is testing the sqlite_exec_printf() and
|
||||
# sqlite_get_table_printf() APIs.
|
||||
#
|
||||
# $Id: tableapi.test,v 1.20 2008/07/31 02:05:05 shane Exp $
|
||||
# $Id: tableapi.test,v 1.21 2009/07/17 14:37:25 shane Exp $
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
source $testdir/tester.tcl
|
||||
|
||||
ifcapable !gettable {
|
||||
finish_test
|
||||
return
|
||||
}
|
||||
|
||||
ifcapable memdebug {
|
||||
source $testdir/malloc_common.tcl
|
||||
}
|
||||
@ -35,8 +40,6 @@ do_test tableapi-1.2 {
|
||||
sqlite3_exec_printf $::dbx {SELECT * FROM xyz} {}
|
||||
} {0 {a b 1 {Hi Y'all}}}
|
||||
|
||||
ifcapable gettable {
|
||||
|
||||
do_test tableapi-2.1 {
|
||||
sqlite3_get_table_printf $::dbx {
|
||||
BEGIN TRANSACTION;
|
||||
@ -115,9 +118,6 @@ do_test tableapi-2.7 {
|
||||
} {}
|
||||
} {0 0 0}
|
||||
|
||||
}; # end ifcapable gettable
|
||||
|
||||
|
||||
# Repeat all tests with the empty_result_callbacks pragma turned on
|
||||
#
|
||||
do_test tableapi-3.1 {
|
||||
|
Reference in New Issue
Block a user