~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/user_var.test

move POW() and POWER() function into math_functions plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
119
119
show create table t1;
120
120
drop table t1;
121
121
 
 
122
# This is not supported by Drizzle
 
123
--error ER_PARSE_ERROR
122
124
set @first_var= cast(NULL as integer);
123
 
 
124
 
create table t1 select @first_var;
125
 
--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
126
 
show create table t1;
127
 
drop table t1;
 
125
#create table t1 select @first_var;
 
126
#--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
 
127
#show create table t1;
 
128
#drop table t1;
128
129
 
129
130
set @first_var= NULL;
130
131
create table t1 select @first_var;
154
155
# Second part, set user var from large number in table
155
156
# then select it
156
157
CREATE TABLE `bigfailure` (
157
 
  `afield` BIGINT UNSIGNED NOT NULL
 
158
  `afield` BIGINT NOT NULL
158
159
);
159
160
INSERT INTO `bigfailure` VALUES (18446744071710965857);
160
161
SELECT * FROM bigfailure;