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

Fix many problems with manifest types and column affinity. Most things are

working now. (CVS 1393)

FossilOrigin-Name: ad4a964158ba9ca9d221cf7ea0439577f3894890
This commit is contained in:
danielk1977
2004-05-18 10:06:24 +00:00
parent 84ac9d02dd
commit bf3b721fab
12 changed files with 60 additions and 44 deletions

View File

@ -10,7 +10,7 @@
#***********************************************************************
# This file runs all tests.
#
# $Id: quick.test,v 1.11 2004/05/14 11:00:53 danielk1977 Exp $
# $Id: quick.test,v 1.12 2004/05/18 10:06:26 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -45,7 +45,6 @@ lappend EXCLUDE version.test ;# uses the btree_meta API (not updated)
# implementation.
lappend EXCLUDE misc1.test
lappend EXCLUDE capi2.test
lappend EXCLUDE sort.test
lappend EXCLUDE where.test

View File

@ -12,7 +12,7 @@
# it tests that the different storage classes (integer, real, text etc.)
# all work correctly.
#
# $Id: types.test,v 1.3 2004/05/16 22:55:28 danielk1977 Exp $
# $Id: types.test,v 1.4 2004/05/18 10:06:26 danielk1977 Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@ -199,7 +199,7 @@ do_test types-2.1.8 {
do_test types-2.1.9 {
set root [db eval {select rootpage from sqlite_master where name = 't1'}]
record_sizes $root
} {3 3 3 4 4 6 6 10 10}
} {2 2 2 3 3 5 5 9 9}
# Insert some reals. These should be 10 byte records.
do_test types-2.2.1 {
@ -220,7 +220,7 @@ do_test types-2.2.2 {
do_test types-2.2.3 {
set root [db eval {select rootpage from sqlite_master where name = 't2'}]
record_sizes $root
} {10 10 10}
} {9 9 9}
# Insert a NULL. This should be a two byte record.
do_test types-2.3.1 {
@ -239,7 +239,7 @@ do_test types-2.3.2 {
do_test types-2.3.3 {
set root [db eval {select rootpage from sqlite_master where name = 't3'}]
record_sizes $root
} {2}
} {1}
# Insert a couple of strings.
do_test types-2.4.1 {
@ -264,7 +264,7 @@ do_test types-2.4.2 {
do_test types-2.4.3 {
set root [db eval {select rootpage from sqlite_master where name = 't4'}]
record_sizes $root
} {13 504 500005}
} {11 502 500003}
do_test types-2.5.1 {
execsql {