mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
23145cfed7
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
25 lines
558 B
Text
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;
|