1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Omit calls to test_get_table_printf() if SQLITE_OMIT_GET_TABLE defined. (CVS 5509)

FossilOrigin-Name: 524a4075ddaecb07469da717e8afebc91240616e
This commit is contained in:
shane
2008-07-31 02:05:04 +00:00
parent 2a5fc4d6f5
commit 8225f5ac55
5 changed files with 29 additions and 12 deletions

View File

@ -12,7 +12,7 @@
# focus of this file is testing the sqlite_exec_printf() and
# sqlite_get_table_printf() APIs.
#
# $Id: tableapi.test,v 1.19 2008/07/12 14:52:20 drh Exp $
# $Id: tableapi.test,v 1.20 2008/07/31 02:05:05 shane Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -35,6 +35,8 @@ 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;
@ -113,6 +115,9 @@ 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 {