The table_info pragma shows column affinity as "" if there is no column

affinity.  Ticket #1570. (CVS 3122)

FossilOrigin-Name: 5cae8d63d9c83f481bd2fbbcfed69df631062651
This commit is contained in:
drh
2006-03-03 21:20:16 +00:00
parent 91c839b86e
commit bfa8b1020b
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -12,7 +12,7 @@
#
# This file implements tests for the PRAGMA command.
#
# $Id: pragma.test,v 1.40 2006/02/17 12:25:16 danielk1977 Exp $
# $Id: pragma.test,v 1.41 2006/03/03 21:20:17 drh Exp $
set testdir [file dirname $argv0]
source $testdir/tester.tcl
@@ -345,7 +345,7 @@ do_test pragma-6.2 {
execsql {
pragma table_info(t2)
}
} {0 a numeric 0 {} 0 1 b numeric 0 {} 0 2 c numeric 0 {} 0}
} {0 a {} 0 {} 0 1 b {} 0 {} 0 2 c {} 0 {} 0}
ifcapable {foreignkey} {
do_test pragma-6.3 {
execsql {