1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-30 19:03:16 +03:00

Have "DEFAULT CURRENT_TIME" & co. work even if SQLITE_OMIT_DATETIME_FUNCS is defined. (CVS 2083)

FossilOrigin-Name: f81b9c1c022772378aad32ec45d0027beeb36574
This commit is contained in:
danielk1977
2004-11-09 16:13:33 +00:00
parent 7977a17f06
commit 752e679a1e
5 changed files with 69 additions and 14 deletions

View File

@ -11,7 +11,7 @@
# This file implements regression tests for SQLite library. The
# focus of this file is testing the CREATE TABLE statement.
#
# $Id: table.test,v 1.31 2004/11/09 12:44:39 danielk1977 Exp $
# $Id: table.test,v 1.32 2004/11/09 16:13:33 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -546,7 +546,8 @@ foreach {date time} {
2003-12-31 12:34:56
} {
incr i
set sqlite_current_time [execsql "SELECT strftime('%s','$date $time')"]
# set sqlite_current_time [execsql "SELECT strftime('%s','$date $time')"]
set sqlite_current_time [clock scan "$date $time"]
do_test table-13.2.$i {
execsql "
INSERT INTO tablet8(a) VALUES($i);