~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/show_check.test

  • Committer: Brian Aker
  • Date: 2010-01-31 20:22:13 UTC
  • Revision ID: brian@gaz-20100131202213-zd9j76r0btzt4e9m
Remove show engine status, and show open tables (which no longer applies in
our design).

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
show create table t1;
102
102
drop table t1;
103
103
 
104
 
flush tables;
105
 
show open tables;
106
 
create table t1(n int);
107
 
insert into t1 values (1);
108
 
show open tables;
109
 
drop table t1;
110
 
 
111
104
create temporary table t1 (a int not null, b VARCHAR(10), INDEX (b) ) COMMENT="test" ENGINE=MYISAM ROW_FORMAT=fixed;
112
105
show create table t1;
113
106
alter table t1 ROW_FORMAT=dynamic;
305
298
DROP TABLE t1;
306
299
 
307
300
#
308
 
# BUG 12183 -  SHOW OPEN TABLES behavior doesn't match grammar
309
 
# First we close all open tables with FLUSH tables and then we open some.
310
 
#
311
 
 
312
 
--echo
313
 
--echo # Bug#12183: SHOW OPEN TABLES behavior doesn't match grammar.
314
 
--echo
315
 
 
316
 
# NOTE: SHOW OPEN TABLES does not sort result list by database or table names.
317
 
# Tables are listed in the order they were opened. We can not use the system
318
 
# database (mysql) for the test here, because we have no control over the order
319
 
# of opening tables in it. Consequently, we can not use 'SHOW OPEN TABLES'.
320
 
 
321
 
--disable_warnings
322
 
DROP DATABASE IF EXISTS mysqltest1;
323
 
--enable_warnings
324
 
 
325
 
CREATE DATABASE mysqltest1;
326
 
use mysqltest1;
327
 
 
328
 
--echo
329
 
 
330
 
CREATE TABLE t1(a INT);
331
 
CREATE TABLE t2(a INT);
332
 
 
333
 
--echo
334
 
 
335
 
--disable_ps_protocol
336
 
FLUSH TABLES;
337
 
 
338
 
--echo
339
 
 
340
 
SELECT 1 FROM t1;
341
 
SELECT 1 FROM t2;
342
 
 
343
 
--echo
344
 
 
345
 
SHOW OPEN TABLES FROM mysqltest1;
346
 
 
347
 
--echo
348
 
 
349
 
SHOW OPEN TABLES FROM mysqltest1 LIKE 'z%';
350
 
 
351
 
--echo
352
 
 
353
 
SHOW OPEN TABLES FROM mysqltest1 LIKE 't1%';
354
 
 
355
 
--echo
356
 
 
357
 
SHOW OPEN TABLES FROM mysqltest1 LIKE '%1%';
358
 
 
359
 
--echo
360
 
 
361
 
FLUSH TABLES;
362
 
--enable_ps_protocol
363
 
 
364
 
--echo
365
 
 
366
 
DROP DATABASE mysqltest1;
367
 
use test;
368
 
 
369
 
--echo
370
 
 
371
 
#
372
301
# BUG #12591 (SHOW TABLES FROM dbname produces wrong error message)
373
302
#
374
303
--error 1049
406
335
drop database `mysqlttest\1`;
407
336
 
408
337
#
409
 
# Bug#24392: SHOW ENGINE MUTEX STATUS is a synonym for SHOW INNODB STATUS
410
 
#
411
 
 
412
 
--error ER_UNKNOWN_STORAGE_ENGINE
413
 
show engine foobar status;
414
 
--error 1064
415
 
show engine foobar logs;
416
 
--error 1064
417
 
show engine foobar mutex;
418
 
 
419
 
--error ER_UNKNOWN_STORAGE_ENGINE
420
 
show engine mutex status;
421
 
 
422
 
show engine csv status;
423
 
 
424
 
#
425
338
# Bug#25081 SHOW FULL TABLES on table with latin chars in name fails
426
339
#
427
340
--disable_warnings