~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/user_var.test

  • Committer: LinuxJedi
  • Date: 2010-08-30 16:24:46 UTC
  • mto: (1738.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1739.
  • Revision ID: linuxjedi@linuxjedi-laptop-20100830162446-qdm7pnma8vp41e5m
Fix valgrind warnings (plus make exit clean up properly)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
drop table if exists t1,t2;
4
4
--enable_warnings
5
5
 
6
 
--error ER_BAD_FIELD_ERROR
 
6
--error 1054
7
7
set @a := foo;
8
8
set @a := connection_id() + 3;
9
9
select @a - connection_id();
86
86
#
87
87
# Bug #9286  SESSION/GLOBAL should be disallowed for user variables
88
88
#
89
 
--error ER_PARSE_ERROR
 
89
--error 1064
90
90
set session @honk=99;
91
91
 
92
92
#
120
120
drop table t1;
121
121
 
122
122
# This is not supported by Drizzle
123
 
--error ER_PARSE_ERROR
 
123
--error 1064
124
124
set @first_var= cast(NULL as integer);
125
125
#create table t1 select @first_var;
126
126
#--replace_regex /ENGINE=[a-zA-Z]+/ENGINE=DEFAULT/
193
193
#
194
194
# Bug#19024 - SHOW COUNT(*) WARNINGS not return Errors 
195
195
#
196
 
--error ER_PARSE_ERROR
 
196
--error 1064
197
197
insert into city 'blah';
198
198
SHOW COUNT(*) WARNINGS;
199
199
SHOW COUNT(*) ERRORS;