2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
# Test for information_schema.schemata &
|
|
|
|
# show databases
|
|
|
|
|
2005-01-24 16:44:54 +01:00
|
|
|
show variables where variable_name like "skip_show_database";
|
2004-11-13 11:56:39 +01:00
|
|
|
grant all privileges on test.* to mysqltest_1@localhost;
|
|
|
|
|
|
|
|
select * from information_schema.SCHEMATA where schema_name > 'm';
|
|
|
|
select schema_name from information_schema.schemata;
|
|
|
|
show databases like 't%';
|
|
|
|
show databases;
|
2005-01-24 16:44:54 +01:00
|
|
|
show databases where `database` = 't%';
|
2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
# Test for information_schema.tables &
|
|
|
|
# show tables
|
|
|
|
|
|
|
|
create database testtets;
|
|
|
|
create table testtets.t1(a int, b VARCHAR(30), KEY string_data (b));
|
|
|
|
create table test.t2(a int);
|
|
|
|
create table t3(a int, KEY a_data (a));
|
|
|
|
create table testtets.t4(a int);
|
|
|
|
create view v1 (c) as select table_name from information_schema.TABLES;
|
|
|
|
select * from v1;
|
|
|
|
select c,table_name from v1
|
|
|
|
left join information_schema.TABLES v2 on (v1.c=v2.table_name)
|
|
|
|
where v1.c like "t%";
|
|
|
|
|
|
|
|
select c, v2.table_name from v1
|
|
|
|
right join information_schema.TABLES v2 on (v1.c=v2.table_name)
|
|
|
|
where v1.c like "t%";
|
|
|
|
|
|
|
|
select table_name from information_schema.TABLES
|
|
|
|
where table_schema = "testtets" and table_name like "t%";
|
|
|
|
|
|
|
|
select * from information_schema.STATISTICS where TABLE_SCHEMA = "testtets";
|
2005-01-24 16:44:54 +01:00
|
|
|
show keys from t3 where Key_name = "a_data";
|
2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
show tables like 't%';
|
|
|
|
--replace_column 12 # 13 #
|
2004-11-29 22:47:50 +01:00
|
|
|
--replace_result "2147483647 " "21474836479 "
|
2004-11-13 11:56:39 +01:00
|
|
|
show table status;
|
|
|
|
show full columns from t3 like "a%";
|
|
|
|
show full columns from mysql.db like "Insert%";
|
|
|
|
show full columns from v1;
|
|
|
|
select * from information_schema.COLUMNS where table_name="t1"
|
|
|
|
and column_name= "a";
|
2005-01-24 16:44:54 +01:00
|
|
|
show columns from testtets.t1 where field like "%a%";
|
2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
drop view v1;
|
|
|
|
drop tables testtets.t4, testtets.t1, t2, t3;
|
|
|
|
drop database testtets;
|
|
|
|
|
|
|
|
# Test for information_schema.CHARACTER_SETS &
|
|
|
|
# SHOW CHARACTER SET
|
|
|
|
|
|
|
|
select * from information_schema.CHARACTER_SETS
|
|
|
|
where CHARACTER_SET_NAME like 'latin1%';
|
|
|
|
SHOW CHARACTER SET LIKE 'latin1%';
|
2005-01-24 16:44:54 +01:00
|
|
|
SHOW CHARACTER SET WHERE charset like 'latin1%';
|
2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
# Test for information_schema.COLLATIONS &
|
|
|
|
# SHOW COLLATION
|
|
|
|
|
|
|
|
select * from information_schema.COLLATIONS
|
|
|
|
where COLLATION_NAME like 'latin1%';
|
|
|
|
SHOW COLLATION LIKE 'latin1%';
|
2005-01-24 16:44:54 +01:00
|
|
|
SHOW COLLATION WHERE collation like 'latin1%';
|
2004-11-13 11:56:39 +01:00
|
|
|
|
|
|
|
select * from information_schema.COLLATION_CHARACTER_SET_APPLICABILITY
|
|
|
|
where COLLATION_NAME like 'latin1%';
|
|
|
|
|
|
|
|
# Test for information_schema.ROUTINES &
|
|
|
|
#
|
|
|
|
|
|
|
|
create function sub1(i int) returns int
|
|
|
|
return i+1;
|
|
|
|
delimiter |;
|
|
|
|
create procedure sel2()
|
|
|
|
begin
|
|
|
|
select * from t1;
|
|
|
|
select * from t2;
|
|
|
|
end|
|
|
|
|
delimiter ;|
|
|
|
|
|
2004-12-14 12:55:28 +01:00
|
|
|
#
|
|
|
|
# Bug#7222 information_schema: errors in "routines"
|
|
|
|
#
|
|
|
|
select parameter_style, sql_data_access, dtd_identifier
|
|
|
|
from information_schema.routines;
|
|
|
|
|
2004-11-13 11:56:39 +01:00
|
|
|
--replace_column 5 # 6 #
|
|
|
|
show procedure status;
|
|
|
|
--replace_column 5 # 6 #
|
|
|
|
show function status;
|
|
|
|
select a.ROUTINE_NAME from information_schema.ROUTINES a,
|
|
|
|
information_schema.SCHEMATA b where
|
|
|
|
a.ROUTINE_SCHEMA = b.SCHEMA_NAME;
|
|
|
|
--replace_column 3 #
|
|
|
|
explain select a.ROUTINE_NAME from information_schema.ROUTINES a,
|
|
|
|
information_schema.SCHEMATA b where
|
|
|
|
a.ROUTINE_SCHEMA = b.SCHEMA_NAME;
|
|
|
|
|
|
|
|
select a.ROUTINE_NAME, b.name from information_schema.ROUTINES a,
|
2004-11-18 10:16:06 +01:00
|
|
|
mysql.proc b where a.ROUTINE_NAME = convert(b.name using utf8);
|
2004-11-13 11:56:39 +01:00
|
|
|
select count(*) from information_schema.ROUTINES;
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test for views
|
|
|
|
#
|
2004-11-26 16:26:52 +01:00
|
|
|
create view v0 (c) as select schema_name from information_schema.schemata;
|
2004-11-13 11:56:39 +01:00
|
|
|
select * from v0;
|
|
|
|
--replace_column 3 #
|
|
|
|
explain select * from v0;
|
2004-11-26 16:26:52 +01:00
|
|
|
create view v1 (c) as select table_name from information_schema.tables
|
2004-11-13 11:56:39 +01:00
|
|
|
where table_name="v1";
|
|
|
|
select * from v1;
|
2004-11-26 16:26:52 +01:00
|
|
|
create view v2 (c) as select column_name from information_schema.columns
|
2004-11-13 11:56:39 +01:00
|
|
|
where table_name="v2";
|
|
|
|
select * from v2;
|
2004-11-26 16:26:52 +01:00
|
|
|
create view v3 (c) as select CHARACTER_SET_NAME from information_schema.character_sets
|
2004-11-13 11:56:39 +01:00
|
|
|
where CHARACTER_SET_NAME like "latin1%";
|
|
|
|
select * from v3;
|
2004-11-26 16:26:52 +01:00
|
|
|
create view v4 (c) as select COLLATION_NAME from information_schema.collations
|
2004-11-13 11:56:39 +01:00
|
|
|
where COLLATION_NAME like "latin1%";
|
|
|
|
select * from v4;
|
|
|
|
show keys from v4;
|
2004-11-26 16:26:52 +01:00
|
|
|
select * from information_schema.views where TABLE_NAME like "v%";
|
2004-11-13 11:56:39 +01:00
|
|
|
drop view v0, v1, v2, v3, v4;
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test for privileges tables
|
|
|
|
#
|
|
|
|
create table t1 (a int);
|
|
|
|
grant select,update,insert on t1 to mysqltest_1@localhost;
|
|
|
|
grant select (a), update (a),insert(a), references(a) on t1 to mysqltest_1@localhost;
|
|
|
|
grant all on test.* to mysqltest_1@localhost with grant option;
|
|
|
|
select * from information_schema.USER_PRIVILEGES where grantee like '%mysqltest_1%';
|
|
|
|
select * from information_schema.SCHEMA_PRIVILEGES where grantee like '%mysqltest_1%';
|
|
|
|
select * from information_schema.TABLE_PRIVILEGES where grantee like '%mysqltest_1%';
|
|
|
|
select * from information_schema.COLUMN_PRIVILEGES where grantee like '%mysqltest_1%';
|
|
|
|
delete from mysql.user where user='mysqltest_1';
|
|
|
|
delete from mysql.db where user='mysqltest_1';
|
|
|
|
delete from mysql.tables_priv where user='mysqltest_1';
|
|
|
|
delete from mysql.columns_priv where user='mysqltest_1';
|
|
|
|
flush privileges;
|
|
|
|
drop table t1;
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
# Test for KEY_COLUMN_USAGE & TABLE_CONSTRAINTS tables
|
|
|
|
#
|
|
|
|
|
|
|
|
create table t1 (a int null, primary key(a));
|
|
|
|
alter table t1 add constraint constraint_1 unique (a);
|
|
|
|
alter table t1 add constraint unique key_1(a);
|
|
|
|
alter table t1 add constraint constraint_2 unique key_2(a);
|
|
|
|
show create table t1;
|
|
|
|
select * from information_schema.TABLE_CONSTRAINTS where
|
|
|
|
TABLE_SCHEMA= "test";
|
|
|
|
select * from information_schema.KEY_COLUMN_USAGE where
|
|
|
|
TABLE_SCHEMA= "test";
|
|
|
|
|
|
|
|
|
|
|
|
connect (user1,localhost,mysqltest_1,,);
|
|
|
|
connection user1;
|
|
|
|
select table_name from information_schema.TABLES where table_schema like "test%";
|
|
|
|
select table_name,column_name from information_schema.COLUMNS where table_schema like "test%";
|
|
|
|
select ROUTINE_NAME from information_schema.ROUTINES;
|
|
|
|
disconnect user1;
|
|
|
|
connection default;
|
|
|
|
delete from mysql.user where user='mysqltest_1';
|
|
|
|
drop table t1;
|
|
|
|
drop procedure sel2;
|
|
|
|
drop function sub1;
|
2004-11-15 17:20:45 +01:00
|
|
|
|
|
|
|
create table t1(a int);
|
|
|
|
create view v1 (c) as select a from t1 with check option;
|
|
|
|
create view v2 (c) as select a from t1 WITH LOCAL CHECK OPTION;
|
|
|
|
create view v3 (c) as select a from t1 WITH CASCADED CHECK OPTION;
|
|
|
|
select * from information_schema.views;
|
|
|
|
grant select (a) on test.t1 to joe@localhost with grant option;
|
|
|
|
select * from INFORMATION_SCHEMA.COLUMN_PRIVILEGES;
|
|
|
|
select * from INFORMATION_SCHEMA.TABLE_PRIVILEGES;
|
|
|
|
drop view v1, v2, v3;
|
|
|
|
drop table t1;
|
|
|
|
delete from mysql.user where user='joe';
|
|
|
|
delete from mysql.db where user='joe';
|
|
|
|
delete from mysql.tables_priv where user='joe';
|
|
|
|
delete from mysql.columns_priv where user='joe';
|
|
|
|
flush privileges;
|
|
|
|
|
WL#2130: Table locking for stored FUNCTIONs
Collect all tables and SPs refered by a statement, and open all tables
with an implicit LOCK TABLES. Do find things refered by triggers and views,
we open them first (and then repeat this until nothing new is found), before
doing the actual lock tables.
mysql-test/r/information_schema.result:
Updated result for WL#2130.
mysql-test/r/lock.result:
Updated result for WL#2130.
mysql-test/r/sp-error.result:
Updated result for WL#2130.
mysql-test/r/sp.result:
Updated result for WL#2130.
mysql-test/r/view.result:
Updated result for WL#2130.
mysql-test/t/information_schema.test:
Disabled one test case due to a bug involving LOCK TABLES,
which shows up with WL#2130.
mysql-test/t/lock.test:
New error message with WL#2130. This change is under debate and might change
in the future, but will do for now.
mysql-test/t/sp-error.test:
Updated for WL#2130. Some tests are voided when table access does work from
functions.
mysql-test/t/sp.test:
Updated for WL#2130.
mysql-test/t/view.test:
Updated for WL#2130.
sql/item_func.cc:
We now have to set net.no_send_ok for functions too, with WL#2130.
sql/share/errmsg.txt:
Reused an error code since the old use was voided by WL#2130, but a new
one was needed instead (similar, but more specific restriction).
sql/sp.cc:
Fixed error handling and collection of used tables for WL#2130.
sql/sp.h:
Fixed error handling and collection of used tables for WL#2130.
sql/sp_head.cc:
Added support functions for collecting and merging hash tables and lists
of used tables from SPs and substatements, for WL#2130.
sql/sp_head.h:
Added support functions for collecting and merging hash tables and lists
of used tables from SPs and substatements, for WL#2130.
sql/sql_base.cc:
Changed the way table->query_id is tested and set during with locked tables
in effect. This makes some SP test cases work with WL#2130, but has a side
effect on some error cases with explicit LOCK TABLES. It's still debated if
this is the correct way, so it might change.
sql/sql_class.h:
Added flags for circumventing some interference between WL#2130 and mysql_make_view().
sql/sql_derived.cc:
Added some missing initializations. (Potential bugs.)
sql/sql_lex.cc:
Clear the new hash tables for WL#2130.
sql/sql_lex.h:
Added hash tables for procedures and tables too (as for functions), for WL#2130.
sql/sql_parse.cc:
WL#2130: Make table accesses from stored functions work by adding an implicit
LOCK TABLES around (most) executed statements. To do this, we have to go through
a loop where we collect all SPs and tables in mysql_execute_statement.
sql/sql_prepare.cc:
Cache both functions and procedures for WL#2130.
sql/sql_show.cc:
Added some missing initializations. (Potential bugs.)
sql/sql_view.cc:
Shortcut mysql_make_view() if thd->shortcut_make_view is true during
the pre-open phase for collecting tables in WL#2130. Otherwise, the
similar mechanism here causes interference.
sql/sql_yacc.yy:
For WL#2130, added caching of procedures and disallowed LOCK/UNLOCK TABLES in SPs.
2005-02-08 20:52:50 +01:00
|
|
|
# QQ This results in NULLs instead of the version numbers when
|
|
|
|
# QQ a LOCK TABLES is in effect when selecting from
|
|
|
|
# QQ information_schema.tables. Until this bug has been fixed,
|
|
|
|
# QQ this test is disabled /pem
|
|
|
|
#delimiter //;
|
|
|
|
#create procedure px5 ()
|
|
|
|
#begin
|
|
|
|
#declare v int;
|
|
|
|
#declare c cursor for select version from
|
|
|
|
#information_schema.tables where table_schema <> 'information_schema';
|
|
|
|
#open c;
|
|
|
|
#fetch c into v;
|
|
|
|
#select v;
|
|
|
|
#close c;
|
|
|
|
#end;//
|
|
|
|
#
|
|
|
|
#call px5()//
|
|
|
|
#call px5()//
|
|
|
|
#delimiter ;//
|
|
|
|
#select sql_mode from information_schema.ROUTINES;
|
|
|
|
#drop procedure px5;
|
2004-11-15 17:20:45 +01:00
|
|
|
|
2004-11-17 16:48:12 +01:00
|
|
|
create table t1 (a int not null auto_increment,b int, primary key (a));
|
|
|
|
insert into t1 values (1,1),(NULL,3),(NULL,4);
|
|
|
|
select AUTO_INCREMENT from information_schema.tables where table_name = 't1';
|
|
|
|
drop table t1;
|
2004-11-18 10:16:06 +01:00
|
|
|
|
|
|
|
create table t1 (s1 int);
|
|
|
|
insert into t1 values (0),(9),(0);
|
|
|
|
select s1 from t1 where s1 in (select version from
|
|
|
|
information_schema.tables) union select version from
|
|
|
|
information_schema.tables;
|
|
|
|
drop table t1;
|
|
|
|
|
2004-11-26 16:26:52 +01:00
|
|
|
SHOW CREATE TABLE INFORMATION_SCHEMA.character_sets;
|
2004-11-18 10:16:06 +01:00
|
|
|
set names latin2;
|
2004-11-26 16:26:52 +01:00
|
|
|
SHOW CREATE TABLE INFORMATION_SCHEMA.character_sets;
|
2004-11-18 10:16:06 +01:00
|
|
|
set names latin1;
|
|
|
|
|
|
|
|
create table t1 select * from information_schema.CHARACTER_SETS
|
|
|
|
where CHARACTER_SET_NAME like "latin1";
|
|
|
|
select * from t1;
|
|
|
|
alter table t1 default character set utf8;
|
|
|
|
show create table t1;
|
2004-11-19 23:17:18 +01:00
|
|
|
drop table t1;
|
2004-11-18 10:16:06 +01:00
|
|
|
|
2004-11-19 23:17:18 +01:00
|
|
|
create view v1 as select * from information_schema.TABLES;
|
|
|
|
drop view v1;
|
|
|
|
create table t1(a NUMERIC(5,3), b NUMERIC(5,1), c float(5,2),
|
|
|
|
d NUMERIC(6,4), e float, f DECIMAL(6,3), g int(11), h DOUBLE(10,3),
|
|
|
|
i DOUBLE);
|
|
|
|
select COLUMN_NAME,COLUMN_TYPE, CHARACTER_MAXIMUM_LENGTH,
|
|
|
|
CHARACTER_OCTET_LENGTH, NUMERIC_PRECISION, NUMERIC_SCALE
|
|
|
|
from information_schema.columns where table_name= 't1';
|
|
|
|
drop table t1;
|
2004-11-23 15:41:39 +01:00
|
|
|
|
|
|
|
create table t115 as select table_name, column_name, column_type
|
|
|
|
from information_schema.columns where table_name = 'proc';
|
|
|
|
select * from t115;
|
|
|
|
drop table t115;
|
|
|
|
|
|
|
|
delimiter //;
|
|
|
|
create procedure p108 () begin declare c cursor for select data_type
|
|
|
|
from information_schema.columns; open c; open c; end;//
|
|
|
|
--error 1325
|
|
|
|
call p108()//
|
|
|
|
delimiter ;//
|
|
|
|
drop procedure p108;
|
2004-11-26 16:26:52 +01:00
|
|
|
|
|
|
|
create view v1 as select A1.table_name from information_schema.TABLES A1
|
|
|
|
where table_name= "user";
|
|
|
|
select * from v1;
|
|
|
|
drop view v1;
|
|
|
|
|
|
|
|
create view vo as select 'a' union select 'a';
|
|
|
|
show index from vo;
|
|
|
|
select * from information_schema.TABLE_CONSTRAINTS where
|
|
|
|
TABLE_NAME= "vo";
|
|
|
|
select * from information_schema.KEY_COLUMN_USAGE where
|
|
|
|
TABLE_NAME= "vo";
|
|
|
|
drop view vo;
|
2004-12-10 10:07:11 +01:00
|
|
|
|
|
|
|
select TABLE_NAME,TABLE_TYPE,ENGINE
|
|
|
|
from information_schema.tables
|
|
|
|
where table_schema='information_schema' limit 2;
|
2005-01-27 11:16:51 +01:00
|
|
|
show tables from information_schema like "T%";
|
2004-12-10 10:07:11 +01:00
|
|
|
|
|
|
|
--error 1007
|
|
|
|
create database information_schema;
|
|
|
|
use information_schema;
|
|
|
|
show full tables like "T%";
|
|
|
|
--error 1109
|
|
|
|
create table t1(a int);
|
|
|
|
use test;
|
|
|
|
show tables;
|
|
|
|
use information_schema;
|
|
|
|
show tables like "T%";
|
2004-12-16 14:31:36 +01:00
|
|
|
|
2004-12-18 10:48:01 +01:00
|
|
|
#
|
|
|
|
# Bug#7210: information_schema: can't access when table-name = reserved word
|
|
|
|
#
|
|
|
|
select table_name from tables where table_name='user';
|
|
|
|
select column_name, privileges from columns
|
|
|
|
where table_name='user' and column_name like '%o%';
|
|
|
|
|
2004-12-16 14:31:36 +01:00
|
|
|
#
|
|
|
|
# Bug#7212: information_schema: "Can't find file" errors if storage engine gone
|
2004-12-16 15:44:36 +01:00
|
|
|
# Bug#7211: information_schema: crash if bad view
|
2004-12-16 14:31:36 +01:00
|
|
|
#
|
|
|
|
use test;
|
|
|
|
create function sub1(i int) returns int
|
|
|
|
return i+1;
|
|
|
|
create table t1(f1 int);
|
|
|
|
create view t2 (c) as select f1 from t1;
|
|
|
|
create view t3 (c) as select sub1(1);
|
|
|
|
create table t4(f1 int, KEY f1_key (f1));
|
|
|
|
drop table t1;
|
|
|
|
drop function sub1;
|
2004-12-16 15:44:36 +01:00
|
|
|
select table_name from information_schema.views
|
|
|
|
where table_schema='test';
|
|
|
|
select table_name from information_schema.views
|
|
|
|
where table_schema='test';
|
2004-12-16 14:31:36 +01:00
|
|
|
select column_name from information_schema.columns
|
|
|
|
where table_schema='test';
|
|
|
|
select index_name from information_schema.statistics where table_schema='test';
|
|
|
|
select constraint_name from information_schema.table_constraints
|
|
|
|
where table_schema='test';
|
|
|
|
drop view t2;
|
|
|
|
drop view t3;
|
|
|
|
drop table t4;
|
2004-12-18 11:49:13 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Bug#7213: information_schema: redundant non-standard TABLE_NAMES table
|
|
|
|
#
|
|
|
|
--error 1109
|
|
|
|
select * from information_schema.table_names;
|
2004-12-23 11:35:34 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Bug#2719 information_schema: errors in "columns"
|
|
|
|
#
|
|
|
|
select column_type from information_schema.columns
|
|
|
|
where table_schema="information_schema" and table_name="COLUMNS" and
|
|
|
|
(column_name="character_set_name" or column_name="collation_name");
|
|
|
|
|
2004-12-24 10:16:47 +01:00
|
|
|
#
|
|
|
|
# Bug#2718 information_schema: errors in "tables"
|
|
|
|
#
|
|
|
|
select TABLE_ROWS from information_schema.tables where
|
|
|
|
table_schema="information_schema" and table_name="COLUMNS";
|
|
|
|
select table_type from information_schema.tables
|
|
|
|
where table_schema="mysql" and table_name="user";
|
wl#1629 SHOW with WHERE(final part, after review)
added syntax:
'show variables where', 'show status where', 'show open tables where'
mysql-test/r/grant_cache.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/information_schema.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/query_cache.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/temp_table.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/union.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/t/information_schema.test:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/t/query_cache.test:
wl#1629 SHOW with WHERE(final part,after review)
sql/item.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/mysql_priv.h:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_parse.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_select.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_show.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_yacc.yy:
wl#1629 SHOW with WHERE(final part,after review)
sql/table.h:
wl#1629 SHOW with WHERE(final part,after review)
2004-12-30 13:20:40 +01:00
|
|
|
|
|
|
|
# test for 'show open tables ... where'
|
|
|
|
show open tables where `table` like "user";
|
|
|
|
# test for 'show status ... where'
|
2005-01-24 16:44:54 +01:00
|
|
|
show status where variable_name like "%database%";
|
wl#1629 SHOW with WHERE(final part, after review)
added syntax:
'show variables where', 'show status where', 'show open tables where'
mysql-test/r/grant_cache.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/information_schema.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/query_cache.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/temp_table.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/r/union.result:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/t/information_schema.test:
wl#1629 SHOW with WHERE(final part,after review)
mysql-test/t/query_cache.test:
wl#1629 SHOW with WHERE(final part,after review)
sql/item.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/mysql_priv.h:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_parse.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_select.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_show.cc:
wl#1629 SHOW with WHERE(final part,after review)
sql/sql_yacc.yy:
wl#1629 SHOW with WHERE(final part,after review)
sql/table.h:
wl#1629 SHOW with WHERE(final part,after review)
2004-12-30 13:20:40 +01:00
|
|
|
# test for 'show variables ... where'
|
2005-01-24 16:44:54 +01:00
|
|
|
show variables where variable_name like "skip_show_databas";
|
2005-01-18 15:37:45 +01:00
|
|
|
|
|
|
|
#
|
|
|
|
# Bug #7981:SHOW GLOBAL STATUS crashes server
|
|
|
|
#
|
|
|
|
show global status like "Threads_running";
|