~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
#
2
# Testing the MySQL command line client(mysql)
3
#
4
5
--disable_warnings
6
drop table if exists t1;
7
--enable_warnings
8
9
#
10
# Test the "delimiter" functionality
11
# Bug#9879
12
#
13
create table t1(a int);
14
insert into t1 values(1);
15
16
# Test delimiters
755.1.2 by Monty Taylor
Updated mysql.test for distcheck.
17
# This breaks vpath builds - and I don't care enough about it to fix
18
# drizzletest. We can re-enable this in the new test system
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
19
#--exec $DRIZZLE test 2>&1 < "$DRIZZLE_TEST_DIR/t/mysql_delimiter.sql"
1 by brian
clean slate
20
21
--disable_query_log
22
# Test delimiter : supplied on the command line
23
select "Test delimiter : from command line" as "_";
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
24
--exec $DRIZZLE test --delimiter=":" -e "select * from t1:"
1 by brian
clean slate
25
# Test delimiter :; supplied on the command line
26
select "Test delimiter :; from command line" as "_";
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
27
--exec $DRIZZLE test --delimiter=":;" -e "select * from t1:;"
1 by brian
clean slate
28
# Test 'go' command (vertical output) \G
29
select "Test 'go' command(vertical output) \G" as "_";
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
30
--exec $DRIZZLE test -e "select * from t1\G"
1 by brian
clean slate
31
# Test 'go' command \g
32
select "Test  'go' command \g" as "_";
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
33
--exec $DRIZZLE test -e "select * from t1\g"
1 by brian
clean slate
34
--enable_query_log
35
drop table t1;
36
37
#
38
# Bug#16859 -- NULLs in columns must not truncate data as if a C-language "string".
39
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
40
#--exec $DRIZZLE -t test -e "create table t1 (col1 binary(4), col2 varchar(10), col3 int); insert into t1 values ('a', 'b', 123421),('a ', '0123456789', 4), ('abcd', '', 4); select concat('>',col1,'<'), col2, col3 from t1; drop table t1;" 2>&1
1 by brian
clean slate
41
42
#
43
# Bug#17939 Wrong table format when using UTF8 strings
44
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
45
--exec $DRIZZLE --table -e "SELECT 'John Doe' as '__tañgè Ñãmé'" 2>&1
46
--exec $DRIZZLE --table -e "SELECT '__tañgè Ñãmé' as 'John Doe'" 2>&1
1 by brian
clean slate
47
48
#
49
# Bug#18265 -- mysql client: No longer right-justifies numeric columns
50
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
51
--exec $DRIZZLE -t test -e "create table t1 (i int, j int, k char(25)); insert into t1 (i) values (1); insert into t1 (k) values ('<----------------------->'); insert into t1 (k) values ('<-----'); insert into t1 (k) values ('Τη γλώσσα'); insert into t1 (k) values ('ᛖᚴ ᚷᛖᛏ'); select * from t1; DROP TABLE t1;"
1 by brian
clean slate
52
53
#
54
# "DESCRIBE" commands may return strange NULLness flags.
55
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
56
--exec $DRIZZLE test -e "create table t1 (i int, j int not null, k int); insert into t1 values (null, 1, null); select * from t1; describe t1; drop table t1;"
57
--exec $DRIZZLE -t test -e "create table t1 (i int, j int not null, k int); insert into t1 values (null, 1, null); select * from t1; describe t1; drop table t1;"
1 by brian
clean slate
58
59
#
60
# Bug#19564: mysql displays NULL instead of space
61
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
62
--exec $DRIZZLE test -e "create table b19564 (i int, s1 char(1)); insert into b19564 values (1, 'x'); insert into b19564 values (2, NULL); insert into b19564 values (3, ' '); select * from b19564 order by i; drop table b19564;" 
63
--exec $DRIZZLE -t test -e "create table b19564 (i int, s1 char(1)); insert into b19564 values (1, 'x'); insert into b19564 values (2, NULL); insert into b19564 values (3, ' '); select * from b19564 order by i; drop table b19564;" 
1 by brian
clean slate
64
65
#
66
# Bug#21618: NULL shown as empty string in client
67
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
68
--exec $DRIZZLE test -e "select unhex('zz');" 
69
--exec $DRIZZLE -t test -e "select unhex('zz');" 
1 by brian
clean slate
70
71
# Bug#19265 describe command does not work from mysql prompt
72
#
73
74
create table t1(a int, b varchar(255), c int);
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
75
--exec $DRIZZLE test -e "desc t1"
76
--exec $DRIZZLE test -e "desc t1\g"
1 by brian
clean slate
77
drop table t1;
78
520.1.12 by Brian Aker
Adding back more tests.
79
#--disable_parsing
1 by brian
clean slate
80
#
81
# Bug#21042  	mysql client segfaults on importing a mysqldump export
82
#
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
83
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
84
#--exec $DRIZZLE test -e "connect verylongdatabasenamethatshouldblowthe256byteslongbufferincom_connectfunctionxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxkxendcccccccdxxxxxxxxxxxxxxxxxkskskskskkskskskskskskskskskskkskskskskkskskskskskskskskskend" 2>&1
309 by Brian Aker
Merge from Monty
85
#--enable_parsing
1 by brian
clean slate
86
87
88
#
89
# Bug #20432: mysql client interprets commands in comments
90
#
91
92
# if the client sees the 'use' within the comment, we haven't fixed
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
93
--exec echo "/*"          >  $DRIZZLETEST_VARDIR/tmp/bug20432.sql
94
--exec echo "use"         >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
95
--exec echo "*/"          >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
96
--exec $DRIZZLE              < $DRIZZLETEST_VARDIR/tmp/bug20432.sql 2>&1
1 by brian
clean slate
97
98
# SQL can have embedded comments => workie
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
99
--exec echo "select /*"   >  $DRIZZLETEST_VARDIR/tmp/bug20432.sql
100
--exec echo "use"         >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
101
--exec echo "*/ 1"        >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
102
--exec $DRIZZLE              < $DRIZZLETEST_VARDIR/tmp/bug20432.sql 2>&1
1 by brian
clean slate
103
104
# client commands on the other hand must be at BOL => error
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
105
--exec echo "/*"          >  $DRIZZLETEST_VARDIR/tmp/bug20432.sql
106
--exec echo "xxx"         >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
107
--exec echo "*/ use"      >> $DRIZZLETEST_VARDIR/tmp/bug20432.sql
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
108
--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
109
--exec $DRIZZLE              < $DRIZZLETEST_VARDIR/tmp/bug20432.sql 2>&1
1 by brian
clean slate
110
111
# client comment recognized, but parameter missing => error
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
112
--exec echo "use"         >  $DRIZZLETEST_VARDIR/tmp/bug20432.sql
113
--exec $DRIZZLE              < $DRIZZLETEST_VARDIR/tmp/bug20432.sql 2>&1
1 by brian
clean slate
114
115
#
116
# Bug #20328: mysql client interprets commands in comments
117
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
118
#--exec $DRIZZLE -e "help" > $DRIZZLETEST_VARDIR/tmp/bug20328_1.result
119
#--exec $DRIZZLE -e "help " > $DRIZZLETEST_VARDIR/tmp/bug20328_2.result
120
#--diff_files $DRIZZLETEST_VARDIR/tmp/bug20328_1.result $DRIZZLETEST_VARDIR/tmp/bug20328_2.result
1 by brian
clean slate
121
122
#
123
# Bug #19216: Client crashes on long SELECT
124
#
125
# Create large SELECT
126
# - 3400 * 20 makes 68000 columns that is more than the
127
#   max number that can fit in a 16 bit number.
128
309 by Brian Aker
Merge from Monty
129
#--perl
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
130
#open(FILE,">","$ENV{'DRIZZLETEST_VARDIR'}/tmp/b19216.tmp") or die;
309 by Brian Aker
Merge from Monty
131
#print FILE "select\n";
132
#print FILE "'a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a','a',\n" x 3400;
133
#print FILE "'b';\n";
134
#close FILE;
135
#EOF
136
137
#--disable_query_log
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
138
#--exec $DRIZZLE < $DRIZZLETEST_VARDIR/tmp/b19216.tmp >/dev/null
309 by Brian Aker
Merge from Monty
139
#--enable_query_log
140
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
141
#--remove_file $DRIZZLETEST_VARDIR/tmp/b19216.tmp
1 by brian
clean slate
142
143
#
144
# Bug#17583: mysql drops connection when stdout is not writable
145
#
146
create table t17583 (a int);
147
insert into t17583 (a) values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
148
insert into t17583 select a from t17583;
149
insert into t17583 select a from t17583;
150
insert into t17583 select a from t17583;
151
insert into t17583 select a from t17583;
152
insert into t17583 select a from t17583;
153
insert into t17583 select a from t17583;
154
insert into t17583 select a from t17583;
155
# Close to the minimal data needed to exercise bug.
156
select count(*) from t17583;
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
157
--exec echo "select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; select count(*) from t17583; " |$DRIZZLE test >&-
1 by brian
clean slate
158
drop table t17583;
159
160
#
161
# Bug#20984: Reproducible MySQL client segmentation fault
162
#  + additional tests for the "com_connect" function in mysql
163
#
164
#
165
--echo Test connect without db- or host-name => reconnect
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
166
--exec $DRIZZLE test -e "\r" 2>&1
167
--exec $DRIZZLE test -e "connect" 2>&1
1 by brian
clean slate
168
169
--echo Test connect with dbname only => new dbname, old hostname
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
170
--exec $DRIZZLE test -e "\r test" 2>&1
171
--exec $DRIZZLE test -e "connect test" 2>&1
172
--exec $DRIZZLE test -e "\rtest" 2>&1
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
173
--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
174
--exec $DRIZZLE test -e "connecttest" 2>&1
1 by brian
clean slate
175
176
--echo Test connect with _invalid_ dbname only => new invalid dbname, old hostname
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
177
--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
178
--exec $DRIZZLE test -e "\r invalid" 2>&1
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
179
--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
180
--exec $DRIZZLE test -e "connect invalid" 2>&1
1 by brian
clean slate
181
182
--echo Test connect with dbname + hostname
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
183
#--exec $DRIZZLE test -e "\r test localhost" 2>&1
184
#--exec $DRIZZLE test -e "connect test localhost" 2>&1
1 by brian
clean slate
185
186
--echo Test connect with dbname + _invalid_ hostname
187
# Mask the errno of the error message
309 by Brian Aker
Merge from Monty
188
#--replace_regex /\([0-9]*\)/(errno)/
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
189
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
190
#--exec $DRIZZLE test -e "\r test invalid_hostname" 2>&1
309 by Brian Aker
Merge from Monty
191
#--replace_regex /\([0-9]*\)/(errno)/
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
192
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
193
#--exec $DRIZZLE test -e "connect test invalid_hostname" 2>&1
309 by Brian Aker
Merge from Monty
194
195
#--echo The commands reported in the bug report
196
#--replace_regex /\([0-9]*\)/(errno)/
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
197
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
198
#--exec $DRIZZLE test -e "\r\r\n\r\n cyril\ has\ found\ a\ bug\ :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 2>&1
309 by Brian Aker
Merge from Monty
199
#
200
##--replace_regex /\([0-9]*\)/(errno)/
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
201
##--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
202
##--exec echo '\r\r\n\r\n cyril\ has\ found\ a\ bug\ :)XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX' | $DRIZZLE 2>&1
309 by Brian Aker
Merge from Monty
203
#
204
#--echo Too long dbname
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
205
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
206
#--exec $DRIZZLE test -e "\r test_really_long_dbnamexxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx localhost" 2>&1
309 by Brian Aker
Merge from Monty
207
#
208
#--echo Too long hostname
209
#--replace_regex /\([0-9]*\)/(errno)/
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
210
#--error EE_ERROR_FIRST
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
211
#--exec $DRIZZLE test -e "\r  test cyrils_superlonghostnameXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" 2>&1
1 by brian
clean slate
212
213
214
#
215
# Bug #21412: mysql cmdline client allows backslash(es) 
216
# as delimiter but can't recognize them
217
#
218
219
# This should work just fine...
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
220
#--write_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql
309 by Brian Aker
Merge from Monty
221
#DELIMITER /
222
#SELECT 1/
223
#EOF
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
224
#--exec $DRIZZLE             < $DRIZZLETEST_VARDIR/tmp/bug21412.sql 2>&1
225
#remove_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql;
309 by Brian Aker
Merge from Monty
226
#
227
## This should give an error...
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
228
#--write_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql
309 by Brian Aker
Merge from Monty
229
#DELIMITER \
230
#EOF
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
231
#--exec $DRIZZLE             < $DRIZZLETEST_VARDIR/tmp/bug21412.sql 2>&1
232
#remove_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql;
309 by Brian Aker
Merge from Monty
233
#
234
## As should this...
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
235
#--write_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql
309 by Brian Aker
Merge from Monty
236
#DELIMITER \\
237
#EOF
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
238
#--exec $DRIZZLE             < $DRIZZLETEST_VARDIR/tmp/bug21412.sql 2>&1
239
#remove_file $DRIZZLETEST_VARDIR/tmp/bug21412.sql;
309 by Brian Aker
Merge from Monty
240
#
1 by brian
clean slate
241
#
242
# Some coverage of not normally used parts
243
#
244
245
--disable_query_log
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
246
#--exec $DRIZZLE test -e "show status" 2>&1 > /dev/null
247
--exec $DRIZZLE --help 2>&1 > /dev/null
248
--exec $DRIZZLE --version 2>&1 > /dev/null
1 by brian
clean slate
249
--enable_query_log
250
251
#
252
# bug #26851: Mysql Client --pager Buffer Overflow
253
#
254
255
# allow error 7(invalid argument) since --pager does not always exist in mysql
2107.1.1 by Brian Aker
Add in all of the error messages, also remove all cases of --error number
256
--error EE_OK,EE_ERROR_FIRST,EE_DELETE
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
257
--exec $DRIZZLE --pager="540bytelengthstringxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" -e "select 1" > /dev/null 2>&1
1 by brian
clean slate
258
259
#
260
# Bug#29323 mysql client only accetps ANSI encoded files
261
#
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
262
#--write_file $DRIZZLETEST_VARDIR/tmp/bug29323.sql
309 by Brian Aker
Merge from Monty
263
#select "This is a file starting with UTF8 BOM 0xEFBBBF";
264
#EOF
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
265
#--exec $DRIZZLE < $DRIZZLETEST_VARDIR/tmp/bug29323.sql 2>&1
266
#remove_file $DRIZZLETEST_VARDIR/tmp/bug29323.sql;
1 by brian
clean slate
267
268
--echo End of 5.0 tests
269
270
#
271
# Bug#26780: patch to add auto vertical output option to the cli.
272
#
273
# Make this wide enough that it will wrap almost everywhere.
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
274
#--exec $DRIZZLE test --auto-vertical-output --table -e "SELECT 1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,7,8,9,0;"
1 by brian
clean slate
275
# Too short to wrap.
1819.2.2 by patrick crews
Adjustments to tests to deal with the name changes. Also fixed passed/failed reporting post-run in test-run.pl
276
#--exec $DRIZZLE test --auto-vertical-output --table -e "SELECT 1;"
1 by brian
clean slate
277
278
--echo End of tests