mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Changes to reduce the heap space consumed by triggers, views and tables in the in-memory representation of the schema. Also to reduce the space used by prepared statements slightly. (CVS 6305)
FossilOrigin-Name: d9f6ffbc5ea090ba0daac571fc9a6c68b9c864e4
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
# focus of this file is testing corner cases of the DEFAULT syntax
|
||||
# on table definitions.
|
||||
#
|
||||
# $Id: default.test,v 1.2 2005/08/20 03:03:04 drh Exp $
|
||||
# $Id: default.test,v 1.3 2009/02/19 14:39:25 danielk1977 Exp $
|
||||
#
|
||||
|
||||
set testdir [file dirname $argv0]
|
||||
@@ -49,4 +49,19 @@ do_test default-1.3 {
|
||||
}
|
||||
} {1 {default value of column [y] is not constant}}
|
||||
|
||||
ifcapable pragma {
|
||||
do_test default-2.1 {
|
||||
execsql {
|
||||
CREATE TABLE t4(c DEFAULT 'abc');
|
||||
PRAGMA table_info(t4);
|
||||
}
|
||||
} {0 c {} 0 'abc' 0}
|
||||
do_test default-2.2 {
|
||||
execsql {
|
||||
INSERT INTO t4 DEFAULT VALUES;
|
||||
PRAGMA table_info(t4);
|
||||
}
|
||||
} {0 c {} 0 'abc' 0}
|
||||
}
|
||||
|
||||
finish_test
|
||||
|
Reference in New Issue
Block a user