mariadb/mysql-test/t/func_system.test
monty@narttu.mysql.fi 23145cfed7 Added SQLSTATE to client/server protocol
bmove_allign -> bmove_align
Added OLAP function ROLLUP
Split mysql_fix_privilege_tables to a script and a .sql data file
Added new (MEMROOT*) functions to avoid calling current_thd() when creating some common objects.
Added table_alias_charset, for easier --lower-case-table-name handling
Better SQL_MODE handling (Setting complex options also sets sub options)
New (faster) assembler string functions for x86
2003-06-04 18:28:51 +03:00

25 lines
558 B
Text

#
# system functions
#
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";
select version()>=_latin1"3.23.29";
select charset(version());
create table t1 (version char(40)) select database(), user(), version() as 'version';
show create table t1;
drop table t1;
select TRUE,FALSE,NULL;