~vlad-lesin/percona-server/mysql-5.0.33-original

« back to all changes in this revision

Viewing changes to mysql-test/include/ps_create.inc

  • Committer: Vlad Lesin
  • Date: 2012-07-31 09:21:34 UTC
  • Revision ID: vladislav.lesin@percona.com-20120731092134-zfodx022b7992wsi
VirginĀ 5.0.33

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
############### include/ps_create.inc ##################
 
2
#                                                      #
 
3
#  drop + create the tables used in most PS test cases #
 
4
#         t/ps_*.test                                  #
 
5
#                                                      #
 
6
########################################################
 
7
 
 
8
#    
 
9
# NOTE: PLEASE SEE ps_1general.test (bottom) 
 
10
#       BEFORE ADDING NEW TABLES HERE !!!
 
11
#
 
12
# Please be aware, that this file will be sourced by several
 
13
# test case files stored within the subdirectory 't'.
 
14
# So every change here will affect several test cases.
 
15
 
 
16
#----------- Please insert your table definitions here ----------#
 
17
 
 
18
 
 
19
#---- Please do not alter the following table definitions -------#
 
20
 
 
21
--disable_warnings
 
22
drop table if exists t1, t9 ;
 
23
--enable_warnings
 
24
 
 
25
eval create table t1
 
26
(
 
27
  a int, b varchar(30),
 
28
  primary key(a)
 
29
) engine = $type ;
 
30
 
 
31
eval create table t9 
 
32
(
 
33
  c1  tinyint, c2  smallint, c3  mediumint, c4  int,
 
34
  c5  integer, c6  bigint, c7  float, c8  double,
 
35
  c9  double precision, c10 real, c11 decimal(7, 4), c12 numeric(8, 4),
 
36
  c13 date, c14 datetime, c15 timestamp, c16 time,
 
37
  c17 year, c18 tinyint, c19 bool, c20 char,
 
38
  c21 char(10), c22 varchar(30), c23 tinyblob, c24 tinytext,
 
39
  c25 blob, c26 text, c27 mediumblob, c28 mediumtext,
 
40
  c29 longblob, c30 longtext, c31 enum('one', 'two', 'three'),
 
41
  c32 set('monday', 'tuesday', 'wednesday'),
 
42
  primary key(c1)
 
43
) engine = $type ;