~ubuntu-branches/ubuntu/trusty/mariadb-5.5/trusty-proposed

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Otto Kekäläinen
  • Date: 2013-12-22 10:27:05 UTC
  • Revision ID: package-import@ubuntu.com-20131222102705-mndw7s12mz0szrcn
Tags: upstream-5.5.32
Import upstream version 5.5.32

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
################ include/ps_renew.inc #################
 
2
#                                                     #
 
3
#    renew the content of t1 and t9     #
 
4
#                                                     #
 
5
#######################################################
 
6
 
 
7
# truncate could not be used, because it is not supported
 
8
# in tables of type MERGE
 
9
delete from t1 ;
 
10
insert into t1 values (1,'one');
 
11
insert into t1 values (2,'two');
 
12
insert into t1 values (3,'three');
 
13
insert into t1 values (4,'four');
 
14
commit ;
 
15
 
 
16
delete from t9 ;
 
17
insert into t9
 
18
set c1= 1, c2= 1, c3= 1, c4= 1, c5= 1, c6= 1, c7= 1, c8= 1, c9= 1,
 
19
    c10= 1, c11= 1, c12 = 1,
 
20
    c13= '2004-02-29', c14= '2004-02-29 11:11:11', c15= '2004-02-29 11:11:11',
 
21
    c16= '11:11:11', c17= '2004',
 
22
    c18= 1, c19=true, c20= 'a', c21= '123456789a', 
 
23
    c22= '123456789a123456789b123456789c', c23= 'tinyblob', c24= 'tinytext',
 
24
    c25= 'blob', c26= 'text', c27= 'mediumblob', c28= 'mediumtext',
 
25
    c29= 'longblob', c30= 'longtext', c31='one', c32= 'monday';
 
26
insert into t9
 
27
set c1= 9, c2= 9, c3= 9, c4= 9, c5= 9, c6= 9, c7= 9, c8= 9, c9= 9,
 
28
    c10= 9, c11= 9, c12 = 9,
 
29
    c13= '2004-02-29', c14= '2004-02-29 11:11:11', c15= '2004-02-29 11:11:11',
 
30
    c16= '11:11:11', c17= '2004',
 
31
    c18= 1, c19=false, c20= 'a', c21= '123456789a', 
 
32
    c22= '123456789a123456789b123456789c', c23= 'tinyblob', c24= 'tinytext',
 
33
    c25= 'blob', c26= 'text', c27= 'mediumblob', c28= 'mediumtext',
 
34
    c29= 'longblob', c30= 'longtext', c31='two', c32= 'tuesday';
 
35
commit ;