~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/func_system.result

  • Committer: Brian Aker
  • Date: 2010-08-03 20:57:39 UTC
  • mfrom: (1680.6.4 rollup)
  • Revision ID: brian@gaz-20100803205739-7betgobkod41363k
Removes LOCK_system_variables_hash, one goto, drops internall new for std
new (so possible performance regression), fixes bug where Session was not
unlocked correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
1
7
7
select user() like "%@%";
8
8
user() like "%@%"
9
 
#
 
9
1
10
10
select version() > "2009.01.756";
11
11
version() > "2009.01.756"
12
12
1
14
14
id      select_type     table   type    possible_keys   key     key_len ref     rows    filtered        Extra
15
15
1       SIMPLE  NULL    NULL    NULL    NULL    NULL    NULL    NULL    NULL    No tables used
16
16
Warnings:
17
 
Note    1003    select schema() AS `database()`,user() AS `user()`
 
17
Note    1003    select database() AS `database()`,user() AS `user()`
18
18
create table t1 (version char(60)) select database(), user(), version() as 'version';
19
19
show create table t1;
20
20
Table   Create Table
21
21
t1      CREATE TABLE `t1` (
22
 
  `database()` VARBINARY(136) DEFAULT NULL,
23
 
  `user()` VARBINARY(308) DEFAULT NULL,
24
 
  `version` VARCHAR(60) COLLATE utf8_general_ci DEFAULT NULL
25
 
) ENGINE=DEFAULT COLLATE = utf8_general_ci
 
22
  `database()` varbinary(136) DEFAULT NULL,
 
23
  `user()` varbinary(308) DEFAULT NULL,
 
24
  `version` varchar(60) DEFAULT NULL
 
25
) ENGINE=DEFAULT
26
26
drop table t1;
27
27
select TRUE,FALSE,NULL;
28
28
TRUE    FALSE   NULL