mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 14:02:32 +01:00
33346e26af
added string length for more speed made code covarage for print() method of Item fixed printability of some items (SCRUM) (WL#1274)
26 lines
602 B
Text
26 lines
602 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());
|
|
explain extended select database(), user();
|
|
|
|
create table t1 (version char(40)) select database(), user(), version() as 'version';
|
|
show create table t1;
|
|
drop table t1;
|
|
|
|
select TRUE,FALSE,NULL;
|