~stewart/drizzle/docs-improvements-1

« back to all changes in this revision

Viewing changes to tests/t/user_var.test

merged with up to date trunk

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
124
122
set @first_var= cast(NULL as integer);
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;
 
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;
129
128
 
130
129
set @first_var= NULL;
131
130
create table t1 select @first_var;
155
154
# Second part, set user var from large number in table
156
155
# then select it
157
156
CREATE TABLE `bigfailure` (
158
 
  `afield` BIGINT NOT NULL
 
157
  `afield` BIGINT UNSIGNED NOT NULL
159
158
);
160
159
INSERT INTO `bigfailure` VALUES (18446744071710965857);
161
160
SELECT * FROM bigfailure;