~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/show_check.test

  • Committer: Brian Aker
  • Date: 2010-03-09 22:42:17 UTC
  • mto: This revision was merged to the branch mainline in revision 1330.
  • Revision ID: brian@gaz-20100309224217-7b3y81mpb2r0xhdz
Overhaul of SHOW TABLE STATUS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
show variables like "server_id%";
47
47
show variables like "SERVER_id%";
48
48
show variables like "this_doesn't_exists%";
 
49
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
49
50
show table status from test like "this_doesn't_exists%";
50
51
show databases;
51
52
show databases like "test%";
209
210
insert into t1 values (1),(2);
210
211
insert into t2 values (1),(2);
211
212
insert into t3 values (1,1),(2,2);
212
 
--replace_column 6 # 7 # 8 # 9 #
 
213
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
213
214
show table status;
214
215
insert into t1 values (3),(4);
215
216
insert into t2 values (3),(4);
216
217
insert into t3 values (3,3),(4,4);
217
 
--replace_column 6 # 7 # 8 # 9 #
 
218
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
218
219
show table status;
219
220
insert into t1 values (5);
220
221
insert into t2 values (5);
221
222
insert into t3 values (5,5);
222
 
--replace_column 6 # 7 # 8 # 9 #
 
223
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
223
224
show table status;
224
225
delete from t1 where a=3;
225
226
delete from t2 where b=3;
226
227
delete from t3 where a=3;
227
 
--replace_column 6 # 7 # 8 # 9 # 10 #
 
228
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
228
229
show table status;
229
230
truncate table t1;
230
231
truncate table t2;
231
232
truncate table t3;
232
 
--replace_column 6 # 7 # 8 # 9 #
 
233
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
233
234
show table status;
234
235
insert into t1 values (5);
235
236
insert into t2 values (5);
236
237
insert into t3 values (5,5);
237
 
--replace_column 6 # 7 # 8 # 9 #
 
238
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
238
239
show table status;
239
240
delete from t1 where a=5;
240
241
delete from t2 where b=5;
241
242
delete from t3 where a=5;
242
 
--replace_column 6 # 7 # 8 # 9 # 10 #
 
243
--replace_column 1 #  6 # 7 # 8 # 9 # 10 #
243
244
show table status;
244
245
 
245
246
drop table t1, t2, t3;