mariadb/mysql-test/t/func_system.test

27 lines
602 B
Text
Raw Normal View History

#
# system functions
#
2003-05-23 07:55:49 +02:00
select database();
select charset(database());
select database() = "test";
select database() = _utf8"test";
select database() = _latin1"test";
select user() like "%@%";
select user() like _utf8"%@%";
select user() like _latin1"%@%";
select charset(user());
select version()>="3.23.29";
select version()>=_utf8"3.23.29";
2003-05-23 07:55:49 +02:00
select version()>=_latin1"3.23.29";
select charset(version());
explain extended select database(), user();
2003-05-23 07:55:49 +02:00
create table t1 (version char(40)) select database(), user(), version() as 'version';
2003-05-23 07:55:49 +02:00
show create table t1;
drop table t1;
select TRUE,FALSE,NULL;