From 6171aa1b6e5f9572420f0a12aa5962d9f5119300 Mon Sep 17 00:00:00 2001 From: prabatuty Date: Sat, 2 Jul 2011 17:21:56 +0000 Subject: [PATCH] exp changes for char and varchar size issue fix --- test/sql/Datatype/exp.test004.ksh | 8 ++++---- test/sql/Datatype/exp.test005.ksh | 8 ++++---- test/sql/Datatype/exp.test006.ksh | 8 ++++---- test/sql/Datatype/exp.test007.ksh | 4 ++-- test/sql/Datatype/exp.test008.ksh | 12 ++++++------ test/sql/Datatype/exp.test009.ksh | 10 +++++----- test/sql/Datatype/exp.test010.ksh | 4 ++-- test/tools/catalog/exp.test008.ksh | 6 +++--- test/tools/csql/exp.test032.ksh | 2 +- test/tools/csql/exp.test033.ksh | 2 +- test/tools/csql/exp.test036.ksh | 12 ++++++------ test/tools/csql/exp.testnw020.ksh | 2 +- test/tools/csql/exp.testnw021.ksh | 2 +- 13 files changed, 40 insertions(+), 40 deletions(-) diff --git a/test/sql/Datatype/exp.test004.ksh b/test/sql/Datatype/exp.test004.ksh index e8d28305..a8535e07 100644 --- a/test/sql/Datatype/exp.test004.ksh +++ b/test/sql/Datatype/exp.test004.ksh @@ -57,7 +57,7 @@ echo select * from t2; f1 32 - 12 + 11 1 1 0 @@ -66,7 +66,7 @@ echo select * from t2; f2 0 - 4 + 3 0 0 0 @@ -78,7 +78,7 @@ echo select * from t2; f1 32 - 12 + 11 0 0 0 @@ -87,7 +87,7 @@ echo select * from t2; f2 2 - 8 + 7 0 0 0 diff --git a/test/sql/Datatype/exp.test005.ksh b/test/sql/Datatype/exp.test005.ksh index f2ff5deb..4cde0c80 100644 --- a/test/sql/Datatype/exp.test005.ksh +++ b/test/sql/Datatype/exp.test005.ksh @@ -26,7 +26,7 @@ echo select * from t2; f1 32 - 12 + 11 0 0 0 @@ -35,7 +35,7 @@ echo select * from t2; f2 3 - 4 + 1 0 0 0 @@ -47,7 +47,7 @@ echo select * from t2; f1 32 - 12 + 11 0 0 0 @@ -56,7 +56,7 @@ echo select * from t2; f2 3 - 4 + 1 0 0 0 diff --git a/test/sql/Datatype/exp.test006.ksh b/test/sql/Datatype/exp.test006.ksh index 0a43cbac..d815451f 100644 --- a/test/sql/Datatype/exp.test006.ksh +++ b/test/sql/Datatype/exp.test006.ksh @@ -12,7 +12,7 @@ Statement execute failed with error -16 f1 32 - 12 + 11 0 0 0 @@ -21,7 +21,7 @@ Statement execute failed with error -16 f2 3 - 4 + 1 0 0 0 @@ -33,7 +33,7 @@ Statement execute failed with error -16 f1 32 - 12 + 11 0 0 0 @@ -42,7 +42,7 @@ Statement execute failed with error -16 f2 3 - 4 + 1 0 0 0 diff --git a/test/sql/Datatype/exp.test007.ksh b/test/sql/Datatype/exp.test007.ksh index 02d8c886..63ecf080 100644 --- a/test/sql/Datatype/exp.test007.ksh +++ b/test/sql/Datatype/exp.test007.ksh @@ -14,7 +14,7 @@ echo show tables; F1 32 - 12 + 11 0 0 0 @@ -23,7 +23,7 @@ echo show tables; f2 2 - 8 + 7 0 0 0 diff --git a/test/sql/Datatype/exp.test008.ksh b/test/sql/Datatype/exp.test008.ksh index e42509d9..18ed5bae 100644 --- a/test/sql/Datatype/exp.test008.ksh +++ b/test/sql/Datatype/exp.test008.ksh @@ -22,7 +22,7 @@ echo show tables; f2 32 - 12 + 11 0 0 0 @@ -31,7 +31,7 @@ echo show tables; f3 30 - 12 + 10 0 0 0 @@ -40,7 +40,7 @@ echo show tables; f4 32 - 12 + 10 0 0 0 @@ -52,7 +52,7 @@ echo show tables; f2 32 - 12 + 11 0 0 0 @@ -61,7 +61,7 @@ echo show tables; f1 0 - 4 + 3 0 0 0 @@ -70,7 +70,7 @@ echo show tables; f4 32 - 12 + 11 0 0 0 diff --git a/test/sql/Datatype/exp.test009.ksh b/test/sql/Datatype/exp.test009.ksh index 8121cc75..5e90a469 100644 --- a/test/sql/Datatype/exp.test009.ksh +++ b/test/sql/Datatype/exp.test009.ksh @@ -26,7 +26,7 @@ Statement execute failed with error -16 f1 4 - 4 + 1 0 0 0 @@ -35,7 +35,7 @@ Statement execute failed with error -16 f2 3 - 4 + 2 0 0 0 @@ -62,7 +62,7 @@ Statement execute failed with error -16 f5 30 - 12 + 11 0 0 0 @@ -71,7 +71,7 @@ Statement execute failed with error -16 f6 32 - 12 + 10 0 0 0 @@ -80,7 +80,7 @@ Statement execute failed with error -16 f7 11 - 4 + 3 0 0 0 diff --git a/test/sql/Datatype/exp.test010.ksh b/test/sql/Datatype/exp.test010.ksh index 75515a1d..832ca0e5 100644 --- a/test/sql/Datatype/exp.test010.ksh +++ b/test/sql/Datatype/exp.test010.ksh @@ -49,7 +49,7 @@ echo select * from t1; f1 32 - 20 + 21 0 0 0 @@ -58,7 +58,7 @@ echo select * from t1; f2 32 - 32 + 30 0 0 0 diff --git a/test/tools/catalog/exp.test008.ksh b/test/tools/catalog/exp.test008.ksh index 5252bebb..79d8acce 100644 --- a/test/tools/catalog/exp.test008.ksh +++ b/test/tools/catalog/exp.test008.ksh @@ -136,7 +136,7 @@ Case 2: With -D chunk option after table creation: 1250 t1 4999 - 2016 + 2020 FixedSizeAllocator 102 1 @@ -259,7 +259,7 @@ Case 3: With -D chunk option after record deleted: 1250 t1 1000 - 2016 + 2020 FixedSizeAllocator 102 1 @@ -382,7 +382,7 @@ Case 4: With -D chunk option after compact statement : 252 t1 1000 - 2016 + 2020 FixedSizeAllocator 102 1 diff --git a/test/tools/csql/exp.test032.ksh b/test/tools/csql/exp.test032.ksh index 15a5eaea..ecfab26a 100644 --- a/test/tools/csql/exp.test032.ksh +++ b/test/tools/csql/exp.test032.ksh @@ -46,7 +46,7 @@ echo select * from t1 where f1=10 and f2=6 and f3=10; t1.f1 t1.f2 t1.f3 --------------------------------------------------------- -CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (12) NOT NULL , f3 INT ); +CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (10) NOT NULL , f3 INT ); CREATE INDEX idx on t1 ( f1 ,f2 ) HASH UNIQUE; INSERT INTO t1 VALUES(1, '1',1); INSERT INTO t1 VALUES(2, '1',2); diff --git a/test/tools/csql/exp.test033.ksh b/test/tools/csql/exp.test033.ksh index 238e665a..4ca58a2a 100644 --- a/test/tools/csql/exp.test033.ksh +++ b/test/tools/csql/exp.test033.ksh @@ -8,7 +8,7 @@ echo select count(f1) from t1; --------------------------------------------------------- 2 -CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (12) NOT NULL , f3 INT ); +CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (10) NOT NULL , f3 INT ); INSERT INTO t1 VALUES(1, '1',1); INSERT INTO t1 VALUES(3, '1',3); Statement Executed diff --git a/test/tools/csql/exp.test036.ksh b/test/tools/csql/exp.test036.ksh index 7d2e7c68..fb770723 100644 --- a/test/tools/csql/exp.test036.ksh +++ b/test/tools/csql/exp.test036.ksh @@ -74,7 +74,7 @@ Statement execute failed with error -4 f2 30 - 12 + 11 1 1 0 @@ -83,7 +83,7 @@ Statement execute failed with error -4 f3 3 - 4 + 1 0 0 0 @@ -92,7 +92,7 @@ Statement execute failed with error -4 f4 4 - 4 + 1 0 0 0 @@ -113,7 +113,7 @@ Statement execute failed with error -4 f2 30 - 12 + 11 1 1 0 @@ -122,7 +122,7 @@ Statement execute failed with error -4 f3 3 - 4 + 1 0 0 0 @@ -131,7 +131,7 @@ Statement execute failed with error -4 f4 4 - 4 + 1 0 0 0 diff --git a/test/tools/csql/exp.testnw020.ksh b/test/tools/csql/exp.testnw020.ksh index 0ee57999..fbaa758d 100644 --- a/test/tools/csql/exp.testnw020.ksh +++ b/test/tools/csql/exp.testnw020.ksh @@ -47,7 +47,7 @@ echo select * from t1 where f1=10 and f2=6 and f3=10; t1.f1 t1.f2 t1.f3 --------------------------------------------------------- -CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (12) NOT NULL , f3 INT ); +CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (10) NOT NULL , f3 INT ); CREATE INDEX idx on t1 ( f1 ,f2 ) HASH UNIQUE; INSERT INTO t1 VALUES(1, '1',1); INSERT INTO t1 VALUES(2, '1',2); diff --git a/test/tools/csql/exp.testnw021.ksh b/test/tools/csql/exp.testnw021.ksh index 651a395e..13fea311 100644 --- a/test/tools/csql/exp.testnw021.ksh +++ b/test/tools/csql/exp.testnw021.ksh @@ -9,7 +9,7 @@ echo select count(f1) from t1; --------------------------------------------------------- 2 -CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (12) NOT NULL , f3 INT ); +CREATE TABLE t1 (f1 INT NOT NULL , f2 CHAR (10) NOT NULL , f3 INT ); INSERT INTO t1 VALUES(1, '1',1); INSERT INTO t1 VALUES(3, '1',3); Network CSql -- 2.11.4.GIT