summaryrefslogtreecommitdiff
path: root/mysql-test/include/ps_create.inc
diff options
context:
space:
mode:
authorunknown <gordon@zero.local.lan>2004-07-01 16:30:29 +0200
committerunknown <gordon@zero.local.lan>2004-07-01 16:30:29 +0200
commitf2e036aa5fe26abfbe962f63268fd2f1301f1e27 (patch)
tree29c9ff5bbbe6265ffd258b42992aa7aa7f245a41 /mysql-test/include/ps_create.inc
parentb694101fce99c317291f9992a9223f7bd16b20f6 (diff)
downloadmariadb-git-f2e036aa5fe26abfbe962f63268fd2f1301f1e27.tar.gz
WL#1564 Intensive test of prepared statements via 'mysqltest'
BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
Diffstat (limited to 'mysql-test/include/ps_create.inc')
-rw-r--r--mysql-test/include/ps_create.inc29
1 files changed, 29 insertions, 0 deletions
diff --git a/mysql-test/include/ps_create.inc b/mysql-test/include/ps_create.inc
new file mode 100644
index 00000000000..7c457572d61
--- /dev/null
+++ b/mysql-test/include/ps_create.inc
@@ -0,0 +1,29 @@
+############### include/ps_create.inc ##################
+# #
+# drop + create the tables used in most PS test cases #
+# #
+########################################################
+
+--disable_warnings
+drop table if exists t1, t_many_col_types ;
+--enable_warnings
+
+eval create table t1
+(
+ a int, b varchar(30),
+ primary key(a)
+) engine = $type ;
+
+eval create table t_many_col_types
+(
+ c1 tinyint, c2 smallint, c3 mediumint, c4 int,
+ c5 integer, c6 bigint, c7 float, c8 double,
+ c9 double precision, c10 real, c11 decimal(7, 4), c12 numeric(8, 4),
+ c13 date, c14 datetime, c15 timestamp(14), c16 time,
+ c17 year, c18 bit, c19 bool, c20 char,
+ c21 char(10), c22 varchar(30), c23 tinyblob, c24 tinytext,
+ c25 blob, c26 text, c27 mediumblob, c28 mediumtext,
+ c29 longblob, c30 longtext, c31 enum('one', 'two', 'three'),
+ c32 set('monday', 'tuesday', 'wednesday'),
+ primary key(c1)
+) engine = $type ;