6
. FIXME: The <engine>_storedproc.result files are still NOT CHECKED
9
. FIXME: Several tests are affected by known problems around DECIMAL
10
. FIXME: and NUMERIC that needs to be checked again after WL#2984
11
. FIXME: has been completed. Some of them are marked in the result.
13
. This .result file has been checked OK with Linux 5.0.23-bk,
14
. ChangeSet@1.2211, 2006-06-28 10:11:43-07:00.
16
. This file has been saved although it might contain failures / wrong
17
. results to be able to detect _new_ differences in the behaviour.
18
. Hopefully the remaining checks can be made soon.
20
--------------------------------------------------------------------------------
21
FIXME: There are subtests that are switched off due to known bugs:
22
------------------------------------------------------------------
23
WL#2984: DECIMAL and NUMERIC problems with differences on some machines
26
There are some statements where the ps-protocol is switched off.
27
Bug#11589: mysqltest, --ps-protocol, strange output, float/double/real with zerofill
28
--------------------------------------------------------------------------------
30
--source suite/funcs_1/storedproc/load_sp_tb.inc
31
--------------------------------------------------------------------------------
32
SET @@global.max_heap_table_size=4294967295;
33
SET @@session.max_heap_table_size=4294967295;
35
--source suite/funcs_1/storedproc/cleanup_sp_tb.inc
36
--------------------------------------------------------------------------------
37
DROP DATABASE IF EXISTS db_storedproc;
38
DROP DATABASE IF EXISTS db_storedproc_1;
39
CREATE DATABASE db_storedproc;
40
CREATE DATABASE db_storedproc_1;
42
create table t1(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
43
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t1;
44
create table t2(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
45
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t2;
46
create table t3(f1 char(20),f2 char(20),f3 integer) engine = myisam;
47
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t3.txt' into table t3;
48
create table t4(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
49
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t4;
51
create table t6(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
52
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t6;
54
create table t7 (f1 char(20), f2 char(25), f3 date, f4 int) engine = myisam;
55
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t7.txt' into table t7;
57
Warning 1265 Data truncated for column 'f3' at row 1
58
Warning 1265 Data truncated for column 'f3' at row 2
59
Warning 1265 Data truncated for column 'f3' at row 3
60
Warning 1265 Data truncated for column 'f3' at row 4
61
Warning 1265 Data truncated for column 'f3' at row 5
62
Warning 1265 Data truncated for column 'f3' at row 6
63
Warning 1265 Data truncated for column 'f3' at row 7
64
Warning 1265 Data truncated for column 'f3' at row 8
65
Warning 1265 Data truncated for column 'f3' at row 9
66
Warning 1265 Data truncated for column 'f3' at row 10
67
create table t8 (f1 char(20), f2 char(25), f3 date, f4 int) engine = myisam;
68
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t7.txt' into table t8;
70
Warning 1265 Data truncated for column 'f3' at row 1
71
Warning 1265 Data truncated for column 'f3' at row 2
72
Warning 1265 Data truncated for column 'f3' at row 3
73
Warning 1265 Data truncated for column 'f3' at row 4
74
Warning 1265 Data truncated for column 'f3' at row 5
75
Warning 1265 Data truncated for column 'f3' at row 6
76
Warning 1265 Data truncated for column 'f3' at row 7
77
Warning 1265 Data truncated for column 'f3' at row 8
78
Warning 1265 Data truncated for column 'f3' at row 9
79
Warning 1265 Data truncated for column 'f3' at row 10
80
create table t9(f1 int, f2 char(25), f3 int) engine = myisam;
81
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t9.txt' into table t9;
82
create table t10(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
83
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t10;
84
create table t11(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = myisam;
85
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t11;
87
Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE
88
FUNCTION, ALTER PROCEDURE, ALTER FUNCTION, DROP PROCEDURE, DROP FUNCTION, SHOW
89
CREATE PROCEDURE, SHOW CREATE FUNCTION, SHOW CREATE PROCEDURE STATUS, SHOW
90
CREATE FUNCTION STATUS, and CALL statements:
91
--------------------------------------------------------------------------------
95
Ensure that all clauses that should be supported are supported
97
--------------------------------------------------------------------------------
99
DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
100
CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 (f1 char(20) )
101
SELECT * from t1 where f2 = f1;
102
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
103
CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934('aaaa');
104
ERROR 42000: PROCEDURE db_storedproc.sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 does not exist
105
DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
106
CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 tinytext ) language sql deterministic sql security definer comment 'this is simple'
111
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
112
CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' );
113
ERROR 42000: PROCEDURE db_storedproc.sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde does not exist
114
SHOW PROCEDURE status;
115
Db Name Type Definer Modified Created Security_type Comment
116
DROP PROCEDURE IF EXISTS sp1;
117
CREATE PROCEDURE sp1( f1 binary ) language sql not deterministic sql security invoker comment 'this is simple'
126
Warning 1265 Data truncated for column 'f1' at row 1
127
SHOW PROCEDURE status;
128
Db Name Type Definer Modified Created Security_type Comment
129
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
130
DROP PROCEDURE IF EXISTS sp1;
131
CREATE PROCEDURE sp1( f1 blob ) language sql not deterministic sql security invoker comment 'this is simple'
139
SHOW PROCEDURE status;
140
Db Name Type Definer Modified Created Security_type Comment
141
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
142
DROP PROCEDURE IF EXISTS sp1;
143
CREATE PROCEDURE sp1( f1 int ) language sql not deterministic sql security invoker comment 'this is simple'
151
SHOW PROCEDURE status;
152
Db Name Type Definer Modified Created Security_type Comment
153
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
154
DROP PROCEDURE IF EXISTS sp1;
155
FIXME: Following test contains a known problem that will be checked again
156
FIXME: after WL#2984 has been completed: SP definition accepted with m>60 in DECIMAL(m,n)
157
CREATE PROCEDURE sp1( f1 decimal(256, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
162
ERROR 42000: Too big precision 256 specified for column ''. Maximum is 65.
163
DROP PROCEDURE IF EXISTS sp1//
165
Note 1305 PROCEDURE sp1 does not exist
166
CREATE PROCEDURE sp1( f1 decimal(66, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
171
ERROR 42000: Too big precision 66 specified for column ''. Maximum is 65.
172
DROP PROCEDURE IF EXISTS sp1//
174
Note 1305 PROCEDURE sp1 does not exist
175
CREATE PROCEDURE sp1( f1 decimal(60, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
180
CALL sp1( 17976931340000 );
182
17976931340000.000000000000000000000000000000
183
SHOW PROCEDURE status;
184
Db Name Type Definer Modified Created Security_type Comment
185
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
186
DROP PROCEDURE IF EXISTS sp1;
187
CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
192
Note 1291 Column '' has duplicated value 'value1' in ENUM
193
CALL sp1( "value1" );
197
Note 1291 Column '' has duplicated value 'value1' in ENUM
198
SHOW PROCEDURE status;
199
Db Name Type Definer Modified Created Security_type Comment
200
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
201
DROP PROCEDURE IF EXISTS sp1;
202
CREATE PROCEDURE sp1( f1 set("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
207
Note 1291 Column '' has duplicated value 'value1' in SET
208
CALL sp1( "value1, value1" );
212
Note 1291 Column '' has duplicated value 'value1' in SET
213
Warning 1265 Data truncated for column 'f1' at row 1
214
SHOW PROCEDURE status;
215
Db Name Type Definer Modified Created Security_type Comment
216
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
217
DROP PROCEDURE IF EXISTS sp1;
218
CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
223
Note 1291 Column '' has duplicated value 'value1' in ENUM
224
CALL sp1( "value1" );
228
Note 1291 Column '' has duplicated value 'value1' in ENUM
229
SHOW PROCEDURE status;
230
Db Name Type Definer Modified Created Security_type Comment
231
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple
232
DROP PROCEDURE IF EXISTS sp1;
233
CREATE PROCEDURE sp1( f1 text ) language sql SELECT f1;
237
SHOW PROCEDURE status like 'sp1';
238
Db Name Type Definer Modified Created Security_type Comment
239
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER
240
DROP PROCEDURE IF EXISTS sp1;
241
CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1;
245
SHOW PROCEDURE status like 'sp1';
246
Db Name Type Definer Modified Created Security_type Comment
247
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER
248
DROP PROCEDURE IF EXISTS sp1;
249
CREATE PROCEDURE sp1( f1 text ) not deterministic SELECT f1;
253
SHOW PROCEDURE status like 'sp1';
254
Db Name Type Definer Modified Created Security_type Comment
255
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER
256
DROP PROCEDURE IF EXISTS sp1;
257
CREATE PROCEDURE sp1( f1 text ) sql security definer SELECT f1;
261
SHOW PROCEDURE status like 'sp1';
262
Db Name Type Definer Modified Created Security_type Comment
263
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER
264
DROP PROCEDURE IF EXISTS sp1;
265
CREATE PROCEDURE sp1( f1 text ) sql security invoker SELECT f1;
269
SHOW PROCEDURE status like 'sp1';
270
Db Name Type Definer Modified Created Security_type Comment
271
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER
272
DROP PROCEDURE IF EXISTS sp1;
273
CREATE PROCEDURE sp1( f1 text ) comment 'this is simple' SELECT f1;
277
SHOW PROCEDURE status like 'sp1';
278
Db Name Type Definer Modified Created Security_type Comment
279
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER this is simple
280
DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
281
ERROR 42000: PROCEDURE db_storedproc.sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 does not exist
282
DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
283
ERROR 42000: PROCEDURE db_storedproc.sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde does not exist
288
Ensure that all clauses that should be supported are supported
290
--------------------------------------------------------------------------------
291
DROP FUNCTION IF EXISTS fn1;
292
CREATE FUNCTION fn1 (s char(20)) returns char(50)
293
return concat('hello, ', s, '!');
297
DROP FUNCTION IF EXISTS fn1;
298
CREATE FUNCTION fn1( f1 mediumtext ) returns mediumtext language sql deterministic sql security definer comment 'this is simple'
301
set f1 = concat( @v1, f1 );
304
SELECT fn1( ' world');
307
SHOW FUNCTION STATUS LIKE 'fn1';
308
Db Name Type Definer Modified Created Security_type Comment
309
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple
310
DROP FUNCTION IF EXISTS fn1;
311
CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql not deterministic sql security invoker comment 'this is simple'
319
SHOW FUNCTION STATUS LIKE 'fn1';
320
Db Name Type Definer Modified Created Security_type Comment
321
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple
322
DROP FUNCTION IF EXISTS fn1;
323
CREATE FUNCTION fn1( f1 decimal(63, 31) ) returns decimal(63, 31) language sql not deterministic sql security invoker comment 'this is simple'
325
set f1 = 1000000 + f1;
328
ERROR 42000: Too big scale 31 specified for column ''. Maximum is 30.
329
SELECT fn1( 1.3326e+8 );
330
ERROR 42000: FUNCTION db_storedproc.fn1 does not exist
331
CREATE FUNCTION fn1( f1 decimal(63, 30) ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
333
set f1 = 1000000 + f1;
336
SELECT fn1( 1.3326e+8 );
338
134260000.000000000000000000000000000000
339
SHOW FUNCTION STATUS LIKE 'fn1';
340
Db Name Type Definer Modified Created Security_type Comment
341
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple
342
DROP FUNCTION IF EXISTS fn1;
343
CREATE FUNCTION fn1( f1 enum("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
348
Note 1291 Column '' has duplicated value 'value1' in ENUM
349
SELECT fn1( "value1" );
351
1.000000000000000000000000000000
353
Note 1291 Column '' has duplicated value 'value1' in ENUM
354
SHOW FUNCTION STATUS LIKE 'fn1';
355
Db Name Type Definer Modified Created Security_type Comment
356
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple
357
DROP FUNCTION IF EXISTS fn1;
358
CREATE FUNCTION fn1( f1 set("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
363
Note 1291 Column '' has duplicated value 'value1' in SET
364
SELECT fn1( "value1, value1" );
365
fn1( "value1, value1" )
366
1.000000000000000000000000000000
368
Note 1291 Column '' has duplicated value 'value1' in SET
369
Warning 1265 Data truncated for column 'f1' at row 1
370
SHOW FUNCTION STATUS LIKE 'fn1';
371
Db Name Type Definer Modified Created Security_type Comment
372
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple
373
DROP FUNCTION IF EXISTS fn1;
374
CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql
382
SHOW FUNCTION STATUS LIKE 'fn1';
383
Db Name Type Definer Modified Created Security_type Comment
384
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER
385
DROP FUNCTION IF EXISTS fn1;
386
CREATE FUNCTION fn1( f1 smallint ) returns smallint deterministic
394
SHOW FUNCTION STATUS LIKE 'fn1';
395
Db Name Type Definer Modified Created Security_type Comment
396
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER
397
DROP FUNCTION IF EXISTS fn1;
398
CREATE FUNCTION fn1( f1 smallint ) returns smallint not deterministic
406
SHOW FUNCTION STATUS LIKE 'fn1';
407
Db Name Type Definer Modified Created Security_type Comment
408
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER
409
DROP FUNCTION IF EXISTS fn1;
410
CREATE FUNCTION fn1( f1 smallint ) returns smallint
419
SHOW FUNCTION STATUS LIKE 'fn1';
420
Db Name Type Definer Modified Created Security_type Comment
421
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER
422
DROP FUNCTION IF EXISTS fn1;
423
CREATE FUNCTION fn1( f1 smallint ) returns smallint
432
SHOW FUNCTION STATUS LIKE 'fn1';
433
Db Name Type Definer Modified Created Security_type Comment
434
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER
435
DROP FUNCTION IF EXISTS fn1;
436
CREATE FUNCTION fn1( f1 smallint ) returns smallint
437
comment 'this is simple'
445
SHOW FUNCTION STATUS LIKE 'fn1';
446
Db Name Type Definer Modified Created Security_type Comment
447
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple
452
Ensure that all clauses that should be supported are supported
454
--------------------------------------------------------------------------------
455
DROP PROCEDURE IF EXISTS sp1;
456
CREATE PROCEDURE sp1 (f1 char(20) )
457
SELECT * from t1 where f2 = f1;
458
show CREATE PROCEDURE sp1;
459
Procedure sql_mode Create Procedure
460
sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`(f1 char(20) )
461
SELECT * from t1 where f2 = f1
467
--------------------------------------------------------------------------------
468
DROP FUNCTION IF EXISTS fn1;
469
CREATE FUNCTION fn1 (s char(20)) returns char(50)
470
return concat('hello, ', s, '!');
471
show CREATE FUNCTION fn1;
472
Function sql_mode Create Function
473
fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(s char(20)) RETURNS char(50)
474
return concat('hello, ', s, '!')
479
SHOW PROCEDURE status
480
--------------------------------------------------------------------------------
481
CREATE PROCEDURE sp5()
483
SHOW PROCEDURE status like 'sp5';
484
Db Name Type Definer Modified Created Security_type Comment
485
db_storedproc sp5 PROCEDURE root@localhost modified created DEFINER
491
--------------------------------------------------------------------------------
492
CREATE FUNCTION fn5(a int) returns int
497
SHOW FUNCTION STATUS LIKE 'fn5';
498
Db Name Type Definer Modified Created Security_type Comment
499
db_storedproc fn5 FUNCTION root@localhost modified created DEFINER
505
--------------------------------------------------------------------------------
506
DROP PROCEDURE IF EXISTS sp7a;
507
DROP PROCEDURE IF EXISTS sp7b;
508
DROP PROCEDURE IF EXISTS sp7c;
509
CREATE PROCEDURE sp7a(a char(20))
510
SELECT * from t1 where t1.f2 = a;
513
CREATE PROCEDURE sp7b (a char (20), out b char(20))
514
SELECT f1 into b from t1 where t1.f2= a;
515
CALL sp7b('xyz', @out_param);
517
Warning 1329 No data - zero rows fetched, selected, or processed
521
CREATE PROCEDURE sp7c (a char (20), out b char(20), inout c int)
523
SELECT f1 into b from t1 where t1.f2=a;
524
update t1 set t1.f2=999 where t1.f4=c;
525
SELECT f2 into c from t1 where t1.f2=999;
528
CALL sp7c('xyz', @out_param, @c);
530
Warning 1329 No data - zero rows fetched, selected, or processed
531
Warning 1329 No data - zero rows fetched, selected, or processed
545
--------------------------------------------------------------------------------
546
CREATE FUNCTION fn8(a char(20)) returns char(50)
547
return concat('hello, ', a, '!');
556
--------------------------------------------------------------------------------
557
SELECT * from mysql.proc where specific_name='sp9';
558
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
559
DROP PROCEDURE IF EXISTS sp9;
560
SELECT * from mysql.proc where specific_name='sp9';
561
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
562
CREATE PROCEDURE sp9()SELECT * from t1;
563
SELECT * from mysql.proc where specific_name='sp9';
564
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
565
db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified
567
SELECT * from mysql.proc where specific_name='sp9';
568
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
569
CREATE PROCEDURE sp9()SELECT * from t1;
570
SELECT * from mysql.proc where specific_name='sp9';
571
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
572
db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified
573
DROP PROCEDURE IF EXISTS sp9;
574
SELECT * from mysql.proc where specific_name='sp9';
575
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
580
--------------------------------------------------------------------------------
581
SELECT * from mysql.proc where specific_name='fn10' and type='function';
582
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
583
DROP FUNCTION IF EXISTS fn10;
584
SELECT * from mysql.proc where specific_name='fn10' and type='function';
585
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
586
CREATE FUNCTION fn10() returns int return 100;
587
SELECT * from mysql.proc where specific_name='fn10' and type='function';
588
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
589
db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified
591
SELECT * from mysql.proc where specific_name='fn10' and type='function';
592
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
593
CREATE FUNCTION fn10() returns int return 100;
594
SELECT * from mysql.proc where specific_name='fn10' and type='function';
595
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
596
db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified
597
DROP FUNCTION IF EXISTS fn10;
598
SELECT * from mysql.proc where specific_name='fn10' and type='function';
599
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
604
--------------------------------------------------------------------------------
605
create user 'user_1'@'localhost';
606
grant execute on db_storedproc.* to 'user_1'@'localhost';
608
drop table IF EXISTS mysql.t1;
610
Note 1051 Unknown table 't1'
611
create table mysql.t1( f1 char );
612
DROP PROCEDURE IF EXISTS sp11;
614
Note 1305 PROCEDURE sp11 does not exist
615
CREATE PROCEDURE sp11() insert into mysql.t1 values('a');
616
SELECT security_type from mysql.proc where specific_name='sp11';
619
connect(localhost,user_1,,db_storedproc,MYSQL_PORT,MYSQL_SOCK);
621
user_1@localhost db_storedproc
624
root@localhost db_storedproc
625
alter procedure sp11 sql security invoker;
626
SELECT security_type from mysql.proc where specific_name='sp11';
630
user_1@localhost db_storedproc
632
ERROR 42000: INSERT command denied to user 'user_1'@'localhost' for table 't1'
635
root@localhost db_storedproc
636
alter procedure sp11 sql security definer;
637
SELECT security_type from mysql.proc where specific_name='sp11';
641
DROP USER 'user_1'@'localhost';
648
--------------------------------------------------------------------------------
649
CREATE FUNCTION fn12() returns int
651
SELECT security_type from mysql.proc where specific_name='fn12';
657
alter function fn12 sql security invoker;
658
SELECT security_type from mysql.proc where specific_name='fn12';
664
alter function fn12 sql security definer;
665
SELECT security_type from mysql.proc where specific_name='fn12';
676
--------------------------------------------------------------------------------
677
DROP PROCEDURE IF EXISTS sp11;
679
Note 1305 PROCEDURE sp11 does not exist
680
CREATE PROCEDURE sp11()
682
SELECT comment from mysql.proc where specific_name='sp11';
685
alter procedure sp11 comment 'this is simple';
686
SELECT comment from mysql.proc where specific_name='sp11';
694
--------------------------------------------------------------------------------
695
DROP FUNCTION IF EXISTS fn12;
697
Note 1305 FUNCTION fn12 does not exist
698
CREATE FUNCTION fn12() returns int
700
SELECT comment from mysql.proc where specific_name='fn12';
703
alter function fn12 comment 'this is simple';
704
SELECT comment from mysql.proc where specific_name='fn12';
711
Ensure that any invalid stored procedure name is never accepted, and that an
712
appropriate error message is returned when the name is rejected
713
--------------------------------------------------------------------------------
714
CREATE PROCEDURE sp1()
716
ERROR HY000: Can't drop or alter a PROCEDURE from within another stored routine
717
CREATE PROCEDURE !_sp1( f1 char(20) )
718
SELECT * from t1 where f2 = f1;
719
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_sp1( f1 char(20) )
720
SELECT * from t1 where f2 = f1' at line 1
721
CREATE PROCEDURE function()
722
SELECT * from t1 where f2=f1;
723
DROP PROCEDURE function;
724
CREATE PROCEDURE add()
725
SELECT * from t1 where f2=f1;
726
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add()
727
SELECT * from t1 where f2=f1' at line 1
728
CREATE PROCEDURE all()
729
SELECT * from t1 where f2=f1;
730
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all()
731
SELECT * from t1 where f2=f1' at line 1
732
CREATE PROCEDURE alter()
733
SELECT * from t1 where f2=f1;
734
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter()
735
SELECT * from t1 where f2=f1' at line 1
736
CREATE PROCEDURE analyze()
737
SELECT * from t1 where f2=f1;
738
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze()
739
SELECT * from t1 where f2=f1' at line 1
740
CREATE PROCEDURE and()
741
SELECT * from t1 where f2=f1;
742
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and()
743
SELECT * from t1 where f2=f1' at line 1
744
CREATE PROCEDURE as()
745
SELECT * from t1 where f2=f1;
746
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as()
747
SELECT * from t1 where f2=f1' at line 1
748
CREATE PROCEDURE asc()
749
SELECT * from t1 where f2=f1;
750
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc()
751
SELECT * from t1 where f2=f1' at line 1
752
CREATE PROCEDURE asensitive()
753
SELECT * from t1 where f2=f1;
754
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive()
755
SELECT * from t1 where f2=f1' at line 1
756
CREATE PROCEDURE before()
757
SELECT * from t1 where f2=f1;
758
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before()
759
SELECT * from t1 where f2=f1' at line 1
760
CREATE PROCEDURE between()
761
SELECT * from t1 where f2=f1;
762
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between()
763
SELECT * from t1 where f2=f1' at line 1
764
CREATE PROCEDURE bigint()
765
SELECT * from t1 where f2=f1;
766
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint()
767
SELECT * from t1 where f2=f1' at line 1
768
CREATE PROCEDURE binary()
769
SELECT * from t1 where f2=f1;
770
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary()
771
SELECT * from t1 where f2=f1' at line 1
772
CREATE PROCEDURE blob()
773
SELECT * from t1 where f2=f1;
774
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob()
775
SELECT * from t1 where f2=f1' at line 1
776
CREATE PROCEDURE both()
777
SELECT * from t1 where f2=f1;
778
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both()
779
SELECT * from t1 where f2=f1' at line 1
780
CREATE PROCEDURE by()
781
SELECT * from t1 where f2=f1;
782
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by()
783
SELECT * from t1 where f2=f1' at line 1
784
CREATE PROCEDURE CALL()
785
SELECT * from t1 where f2=f1;
786
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CALL()
787
SELECT * from t1 where f2=f1' at line 1
788
CREATE PROCEDURE cascade()
789
SELECT * from t1 where f2=f1;
790
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade()
791
SELECT * from t1 where f2=f1' at line 1
792
CREATE PROCEDURE case()
793
SELECT * from t1 where f2=f1;
794
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case()
795
SELECT * from t1 where f2=f1' at line 1
796
CREATE PROCEDURE change()
797
SELECT * from t1 where f2=f1;
798
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change()
799
SELECT * from t1 where f2=f1' at line 1
800
CREATE PROCEDURE char()
801
SELECT * from t1 where f2=f1;
802
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char()
803
SELECT * from t1 where f2=f1' at line 1
804
CREATE PROCEDURE character()
805
SELECT * from t1 where f2=f1;
806
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character()
807
SELECT * from t1 where f2=f1' at line 1
808
CREATE PROCEDURE check()
809
SELECT * from t1 where f2=f1;
810
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check()
811
SELECT * from t1 where f2=f1' at line 1
812
CREATE PROCEDURE collate()
813
SELECT * from t1 where f2=f1;
814
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate()
815
SELECT * from t1 where f2=f1' at line 1
816
CREATE PROCEDURE column()
817
SELECT * from t1 where f2=f1;
818
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column()
819
SELECT * from t1 where f2=f1' at line 1
820
CREATE PROCEDURE columns()
821
SELECT * from t1 where f2=f1;
822
DROP PROCEDURE columns;
823
CREATE PROCEDURE condition()
824
SELECT * from t1 where f2=f1;
825
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition()
826
SELECT * from t1 where f2=f1' at line 1
827
CREATE PROCEDURE connection()
828
SELECT * from t1 where f2=f1;
829
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection()
830
SELECT * from t1 where f2=f1' at line 1
831
CREATE PROCEDURE constraint()
832
SELECT * from t1 where f2=f1;
833
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint()
834
SELECT * from t1 where f2=f1' at line 1
835
CREATE PROCEDURE continue()
836
SELECT * from t1 where f2=f1;
837
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue()
838
SELECT * from t1 where f2=f1' at line 1
839
CREATE PROCEDURE convert()
840
SELECT * from t1 where f2=f1;
841
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert()
842
SELECT * from t1 where f2=f1' at line 1
843
CREATE PROCEDURE create()
844
SELECT * from t1 where f2=f1;
845
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create()
846
SELECT * from t1 where f2=f1' at line 1
847
CREATE PROCEDURE cross()
848
SELECT * from t1 where f2=f1;
849
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross()
850
SELECT * from t1 where f2=f1' at line 1
851
CREATE PROCEDURE current_date()
852
SELECT * from t1 where f2=f1;
853
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date()
854
SELECT * from t1 where f2=f1' at line 1
855
CREATE PROCEDURE current_time()
856
SELECT * from t1 where f2=f1;
857
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time()
858
SELECT * from t1 where f2=f1' at line 1
859
CREATE PROCEDURE current_timestamp()
860
SELECT * from t1 where f2=f1;
861
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp()
862
SELECT * from t1 where f2=f1' at line 1
863
CREATE PROCEDURE current_user()
864
SELECT * from t1 where f2=f1;
865
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user()
866
SELECT * from t1 where f2=f1' at line 1
867
CREATE PROCEDURE cursor()
868
SELECT * from t1 where f2=f1;
869
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor()
870
SELECT * from t1 where f2=f1' at line 1
871
CREATE PROCEDURE database()
872
SELECT * from t1 where f2=f1;
873
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database()
874
SELECT * from t1 where f2=f1' at line 1
875
CREATE PROCEDURE databases()
876
SELECT * from t1 where f2=f1;
877
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases()
878
SELECT * from t1 where f2=f1' at line 1
879
CREATE PROCEDURE day_hour()
880
SELECT * from t1 where f2=f1;
881
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour()
882
SELECT * from t1 where f2=f1' at line 1
883
CREATE PROCEDURE day_microsecond()
884
SELECT * from t1 where f2=f1;
885
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond()
886
SELECT * from t1 where f2=f1' at line 1
887
CREATE PROCEDURE day_minute()
888
SELECT * from t1 where f2=f1;
889
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute()
890
SELECT * from t1 where f2=f1' at line 1
891
CREATE PROCEDURE day_second()
892
SELECT * from t1 where f2=f1;
893
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second()
894
SELECT * from t1 where f2=f1' at line 1
895
CREATE PROCEDURE dec()
896
SELECT * from t1 where f2=f1;
897
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec()
898
SELECT * from t1 where f2=f1' at line 1
899
CREATE PROCEDURE decimal()
900
SELECT * from t1 where f2=f1;
901
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal()
902
SELECT * from t1 where f2=f1' at line 1
903
CREATE PROCEDURE declare()
904
SELECT * from t1 where f2=f1;
905
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare()
906
SELECT * from t1 where f2=f1' at line 1
907
CREATE PROCEDURE default()
908
SELECT * from t1 where f2=f1;
909
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default()
910
SELECT * from t1 where f2=f1' at line 1
911
CREATE PROCEDURE delayed()
912
SELECT * from t1 where f2=f1;
913
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed()
914
SELECT * from t1 where f2=f1' at line 1
915
CREATE PROCEDURE delete()
916
SELECT * from t1 where f2=f1;
917
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete()
918
SELECT * from t1 where f2=f1' at line 1
919
CREATE PROCEDURE desc()
920
SELECT * from t1 where f2=f1;
921
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc()
922
SELECT * from t1 where f2=f1' at line 1
923
CREATE PROCEDURE describe()
924
SELECT * from t1 where f2=f1;
925
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe()
926
SELECT * from t1 where f2=f1' at line 1
927
CREATE PROCEDURE deterministic()
928
SELECT * from t1 where f2=f1;
929
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic()
930
SELECT * from t1 where f2=f1' at line 1
931
CREATE PROCEDURE distinct()
932
SELECT * from t1 where f2=f1;
933
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct()
934
SELECT * from t1 where f2=f1' at line 1
935
CREATE PROCEDURE distinctrow()
936
SELECT * from t1 where f2=f1;
937
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow()
938
SELECT * from t1 where f2=f1' at line 1
939
CREATE PROCEDURE div()
940
SELECT * from t1 where f2=f1;
941
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div()
942
SELECT * from t1 where f2=f1' at line 1
943
CREATE PROCEDURE double()
944
SELECT * from t1 where f2=f1;
945
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double()
946
SELECT * from t1 where f2=f1' at line 1
947
CREATE PROCEDURE drop()
948
SELECT * from t1 where f2=f1;
949
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop()
950
SELECT * from t1 where f2=f1' at line 1
951
CREATE PROCEDURE dual()
952
SELECT * from t1 where f2=f1;
953
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual()
954
SELECT * from t1 where f2=f1' at line 1
955
CREATE PROCEDURE each()
956
SELECT * from t1 where f2=f1;
957
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each()
958
SELECT * from t1 where f2=f1' at line 1
959
CREATE PROCEDURE else()
960
SELECT * from t1 where f2=f1;
961
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else()
962
SELECT * from t1 where f2=f1' at line 1
963
CREATE PROCEDURE elseif()
964
SELECT * from t1 where f2=f1;
965
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif()
966
SELECT * from t1 where f2=f1' at line 1
967
CREATE PROCEDURE enclosed()
968
SELECT * from t1 where f2=f1;
969
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed()
970
SELECT * from t1 where f2=f1' at line 1
971
CREATE PROCEDURE escaped()
972
SELECT * from t1 where f2=f1;
973
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped()
974
SELECT * from t1 where f2=f1' at line 1
975
CREATE PROCEDURE exists()
976
SELECT * from t1 where f2=f1;
977
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists()
978
SELECT * from t1 where f2=f1' at line 1
979
CREATE PROCEDURE exit()
980
SELECT * from t1 where f2=f1;
981
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit()
982
SELECT * from t1 where f2=f1' at line 1
983
CREATE PROCEDURE explain()
984
SELECT * from t1 where f2=f1;
985
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain()
986
SELECT * from t1 where f2=f1' at line 1
987
CREATE PROCEDURE false()
988
SELECT * from t1 where f2=f1;
989
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false()
990
SELECT * from t1 where f2=f1' at line 1
991
CREATE PROCEDURE fetch()
992
SELECT * from t1 where f2=f1;
993
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch()
994
SELECT * from t1 where f2=f1' at line 1
995
CREATE PROCEDURE fields()
996
SELECT * from t1 where f2=f1;
997
DROP PROCEDURE fields;
998
CREATE PROCEDURE float()
999
SELECT * from t1 where f2=f1;
1000
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float()
1001
SELECT * from t1 where f2=f1' at line 1
1002
CREATE PROCEDURE for()
1003
SELECT * from t1 where f2=f1;
1004
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for()
1005
SELECT * from t1 where f2=f1' at line 1
1006
CREATE PROCEDURE force()
1007
SELECT * from t1 where f2=f1;
1008
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force()
1009
SELECT * from t1 where f2=f1' at line 1
1010
CREATE PROCEDURE foreign()
1011
SELECT * from t1 where f2=f1;
1012
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign()
1013
SELECT * from t1 where f2=f1' at line 1
1014
CREATE PROCEDURE found()
1015
SELECT * from t1 where f2=f1;
1016
DROP PROCEDURE found;
1017
CREATE PROCEDURE from()
1018
SELECT * from t1 where f2=f1;
1019
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from()
1020
SELECT * from t1 where f2=f1' at line 1
1021
CREATE PROCEDURE fulltext()
1022
SELECT * from t1 where f2=f1;
1023
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext()
1024
SELECT * from t1 where f2=f1' at line 1
1025
CREATE PROCEDURE goto()
1026
SELECT * from t1 where f2=f1;
1027
DROP PROCEDURE goto;
1028
CREATE PROCEDURE grant()
1029
SELECT * from t1 where f2=f1;
1030
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant()
1031
SELECT * from t1 where f2=f1' at line 1
1032
CREATE PROCEDURE group()
1033
SELECT * from t1 where f2=f1;
1034
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group()
1035
SELECT * from t1 where f2=f1' at line 1
1036
CREATE PROCEDURE having()
1037
SELECT * from t1 where f2=f1;
1038
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having()
1039
SELECT * from t1 where f2=f1' at line 1
1040
CREATE PROCEDURE high_priority()
1041
SELECT * from t1 where f2=f1;
1042
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority()
1043
SELECT * from t1 where f2=f1' at line 1
1044
CREATE PROCEDURE hour_microsecond()
1045
SELECT * from t1 where f2=f1;
1046
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond()
1047
SELECT * from t1 where f2=f1' at line 1
1048
CREATE PROCEDURE hour_minute()
1049
SELECT * from t1 where f2=f1;
1050
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute()
1051
SELECT * from t1 where f2=f1' at line 1
1052
CREATE PROCEDURE hour_second()
1053
SELECT * from t1 where f2=f1;
1054
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second()
1055
SELECT * from t1 where f2=f1' at line 1
1056
CREATE PROCEDURE if()
1057
SELECT * from t1 where f2=f1;
1058
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if()
1059
SELECT * from t1 where f2=f1' at line 1
1060
CREATE PROCEDURE ignore()
1061
SELECT * from t1 where f2=f1;
1062
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore()
1063
SELECT * from t1 where f2=f1' at line 1
1064
CREATE PROCEDURE in()
1065
SELECT * from t1 where f2=f1;
1066
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in()
1067
SELECT * from t1 where f2=f1' at line 1
1068
CREATE PROCEDURE index()
1069
SELECT * from t1 where f2=f1;
1070
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index()
1071
SELECT * from t1 where f2=f1' at line 1
1072
CREATE PROCEDURE infile()
1073
SELECT * from t1 where f2=f1;
1074
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile()
1075
SELECT * from t1 where f2=f1' at line 1
1076
CREATE PROCEDURE inner()
1077
SELECT * from t1 where f2=f1;
1078
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner()
1079
SELECT * from t1 where f2=f1' at line 1
1080
CREATE PROCEDURE inout()
1081
SELECT * from t1 where f2=f1;
1082
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout()
1083
SELECT * from t1 where f2=f1' at line 1
1084
CREATE PROCEDURE insensitive()
1085
SELECT * from t1 where f2=f1;
1086
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive()
1087
SELECT * from t1 where f2=f1' at line 1
1088
CREATE PROCEDURE insert()
1089
SELECT * from t1 where f2=f1;
1090
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert()
1091
SELECT * from t1 where f2=f1' at line 1
1092
CREATE PROCEDURE int()
1093
SELECT * from t1 where f2=f1;
1094
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int()
1095
SELECT * from t1 where f2=f1' at line 1
1096
CREATE PROCEDURE integer()
1097
SELECT * from t1 where f2=f1;
1098
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer()
1099
SELECT * from t1 where f2=f1' at line 1
1100
CREATE PROCEDURE interval()
1101
SELECT * from t1 where f2=f1;
1102
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval()
1103
SELECT * from t1 where f2=f1' at line 1
1104
CREATE PROCEDURE into()
1105
SELECT * from t1 where f2=f1;
1106
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into()
1107
SELECT * from t1 where f2=f1' at line 1
1108
CREATE PROCEDURE is()
1109
SELECT * from t1 where f2=f1;
1110
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is()
1111
SELECT * from t1 where f2=f1' at line 1
1112
CREATE PROCEDURE iterate()
1113
SELECT * from t1 where f2=f1;
1114
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate()
1115
SELECT * from t1 where f2=f1' at line 1
1116
CREATE PROCEDURE join()
1117
SELECT * from t1 where f2=f1;
1118
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join()
1119
SELECT * from t1 where f2=f1' at line 1
1120
CREATE PROCEDURE key()
1121
SELECT * from t1 where f2=f1;
1122
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key()
1123
SELECT * from t1 where f2=f1' at line 1
1124
CREATE PROCEDURE keys()
1125
SELECT * from t1 where f2=f1;
1126
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys()
1127
SELECT * from t1 where f2=f1' at line 1
1128
CREATE PROCEDURE kill()
1129
SELECT * from t1 where f2=f1;
1130
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill()
1131
SELECT * from t1 where f2=f1' at line 1
1132
CREATE PROCEDURE leading()
1133
SELECT * from t1 where f2=f1;
1134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading()
1135
SELECT * from t1 where f2=f1' at line 1
1136
CREATE PROCEDURE leave()
1137
SELECT * from t1 where f2=f1;
1138
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave()
1139
SELECT * from t1 where f2=f1' at line 1
1140
CREATE PROCEDURE left()
1141
SELECT * from t1 where f2=f1;
1142
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left()
1143
SELECT * from t1 where f2=f1' at line 1
1144
CREATE PROCEDURE like()
1145
SELECT * from t1 where f2=f1;
1146
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like()
1147
SELECT * from t1 where f2=f1' at line 1
1148
CREATE PROCEDURE limit()
1149
SELECT * from t1 where f2=f1;
1150
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit()
1151
SELECT * from t1 where f2=f1' at line 1
1152
CREATE PROCEDURE lines()
1153
SELECT * from t1 where f2=f1;
1154
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines()
1155
SELECT * from t1 where f2=f1' at line 1
1156
CREATE PROCEDURE load()
1157
SELECT * from t1 where f2=f1;
1158
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load()
1159
SELECT * from t1 where f2=f1' at line 1
1160
CREATE PROCEDURE localtime()
1161
SELECT * from t1 where f2=f1;
1162
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime()
1163
SELECT * from t1 where f2=f1' at line 1
1164
CREATE PROCEDURE localtimestamp()
1165
SELECT * from t1 where f2=f1;
1166
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp()
1167
SELECT * from t1 where f2=f1' at line 1
1168
CREATE PROCEDURE lock()
1169
SELECT * from t1 where f2=f1;
1170
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock()
1171
SELECT * from t1 where f2=f1' at line 1
1172
CREATE PROCEDURE long()
1173
SELECT * from t1 where f2=f1;
1174
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long()
1175
SELECT * from t1 where f2=f1' at line 1
1176
CREATE PROCEDURE longblob()
1177
SELECT * from t1 where f2=f1;
1178
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob()
1179
SELECT * from t1 where f2=f1' at line 1
1180
CREATE PROCEDURE longtext()
1181
SELECT * from t1 where f2=f1;
1182
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext()
1183
SELECT * from t1 where f2=f1' at line 1
1184
CREATE PROCEDURE loop()
1185
SELECT * from t1 where f2=f1;
1186
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop()
1187
SELECT * from t1 where f2=f1' at line 1
1188
CREATE PROCEDURE low_priority()
1189
SELECT * from t1 where f2=f1;
1190
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority()
1191
SELECT * from t1 where f2=f1' at line 1
1192
CREATE PROCEDURE match()
1193
SELECT * from t1 where f2=f1;
1194
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match()
1195
SELECT * from t1 where f2=f1' at line 1
1196
CREATE PROCEDURE mediumblob()
1197
SELECT * from t1 where f2=f1;
1198
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob()
1199
SELECT * from t1 where f2=f1' at line 1
1200
CREATE PROCEDURE mediumint()
1201
SELECT * from t1 where f2=f1;
1202
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint()
1203
SELECT * from t1 where f2=f1' at line 1
1204
CREATE PROCEDURE mediumtext()
1205
SELECT * from t1 where f2=f1;
1206
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext()
1207
SELECT * from t1 where f2=f1' at line 1
1208
CREATE PROCEDURE middleint()
1209
SELECT * from t1 where f2=f1;
1210
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint()
1211
SELECT * from t1 where f2=f1' at line 1
1212
CREATE PROCEDURE minute_microsecond()
1213
SELECT * from t1 where f2=f1;
1214
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond()
1215
SELECT * from t1 where f2=f1' at line 1
1216
CREATE PROCEDURE minute_second()
1217
SELECT * from t1 where f2=f1;
1218
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second()
1219
SELECT * from t1 where f2=f1' at line 1
1220
CREATE PROCEDURE mod()
1221
SELECT * from t1 where f2=f1;
1222
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod()
1223
SELECT * from t1 where f2=f1' at line 1
1224
CREATE PROCEDURE modifies()
1225
SELECT * from t1 where f2=f1;
1226
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies()
1227
SELECT * from t1 where f2=f1' at line 1
1228
CREATE PROCEDURE natural()
1229
SELECT * from t1 where f2=f1;
1230
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural()
1231
SELECT * from t1 where f2=f1' at line 1
1232
CREATE PROCEDURE not()
1233
SELECT * from t1 where f2=f1;
1234
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not()
1235
SELECT * from t1 where f2=f1' at line 1
1236
CREATE PROCEDURE no_write_to_binlog()
1237
SELECT * from t1 where f2=f1;
1238
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog()
1239
SELECT * from t1 where f2=f1' at line 1
1240
CREATE PROCEDURE null()
1241
SELECT * from t1 where f2=f1;
1242
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null()
1243
SELECT * from t1 where f2=f1' at line 1
1244
CREATE PROCEDURE numeric()
1245
SELECT * from t1 where f2=f1;
1246
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric()
1247
SELECT * from t1 where f2=f1' at line 1
1248
CREATE PROCEDURE on()
1249
SELECT * from t1 where f2=f1;
1250
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on()
1251
SELECT * from t1 where f2=f1' at line 1
1252
CREATE PROCEDURE optimize()
1253
SELECT * from t1 where f2=f1;
1254
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize()
1255
SELECT * from t1 where f2=f1' at line 1
1256
CREATE PROCEDURE option()
1257
SELECT * from t1 where f2=f1;
1258
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option()
1259
SELECT * from t1 where f2=f1' at line 1
1260
CREATE PROCEDURE optionally()
1261
SELECT * from t1 where f2=f1;
1262
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally()
1263
SELECT * from t1 where f2=f1' at line 1
1264
CREATE PROCEDURE or()
1265
SELECT * from t1 where f2=f1;
1266
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or()
1267
SELECT * from t1 where f2=f1' at line 1
1268
CREATE PROCEDURE order()
1269
SELECT * from t1 where f2=f1;
1270
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order()
1271
SELECT * from t1 where f2=f1' at line 1
1272
CREATE PROCEDURE out()
1273
SELECT * from t1 where f2=f1;
1274
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out()
1275
SELECT * from t1 where f2=f1' at line 1
1276
CREATE PROCEDURE outer()
1277
SELECT * from t1 where f2=f1;
1278
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer()
1279
SELECT * from t1 where f2=f1' at line 1
1280
CREATE PROCEDURE outfile()
1281
SELECT * from t1 where f2=f1;
1282
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile()
1283
SELECT * from t1 where f2=f1' at line 1
1284
CREATE PROCEDURE precision()
1285
SELECT * from t1 where f2=f1;
1286
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision()
1287
SELECT * from t1 where f2=f1' at line 1
1288
CREATE PROCEDURE primary()
1289
SELECT * from t1 where f2=f1;
1290
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary()
1291
SELECT * from t1 where f2=f1' at line 1
1292
CREATE PROCEDURE privileges()
1293
SELECT * from t1 where f2=f1;
1294
DROP PROCEDURE privileges;
1295
CREATE PROCEDURE procedure()
1296
SELECT * from t1 where f2=f1;
1297
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure()
1298
SELECT * from t1 where f2=f1' at line 1
1299
CREATE PROCEDURE purge()
1300
SELECT * from t1 where f2=f1;
1301
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge()
1302
SELECT * from t1 where f2=f1' at line 1
1303
CREATE PROCEDURE read()
1304
SELECT * from t1 where f2=f1;
1305
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read()
1306
SELECT * from t1 where f2=f1' at line 1
1307
CREATE PROCEDURE reads()
1308
SELECT * from t1 where f2=f1;
1309
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads()
1310
SELECT * from t1 where f2=f1' at line 1
1311
CREATE PROCEDURE real()
1312
SELECT * from t1 where f2=f1;
1313
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real()
1314
SELECT * from t1 where f2=f1' at line 1
1315
CREATE PROCEDURE references()
1316
SELECT * from t1 where f2=f1;
1317
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references()
1318
SELECT * from t1 where f2=f1' at line 1
1319
CREATE PROCEDURE regexp()
1320
SELECT * from t1 where f2=f1;
1321
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp()
1322
SELECT * from t1 where f2=f1' at line 1
1323
CREATE PROCEDURE rename()
1324
SELECT * from t1 where f2=f1;
1325
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename()
1326
SELECT * from t1 where f2=f1' at line 1
1327
CREATE PROCEDURE repeat()
1328
SELECT * from t1 where f2=f1;
1329
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat()
1330
SELECT * from t1 where f2=f1' at line 1
1331
CREATE PROCEDURE replace()
1332
SELECT * from t1 where f2=f1;
1333
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace()
1334
SELECT * from t1 where f2=f1' at line 1
1335
CREATE PROCEDURE require()
1336
SELECT * from t1 where f2=f1;
1337
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require()
1338
SELECT * from t1 where f2=f1' at line 1
1339
CREATE PROCEDURE restrict()
1340
SELECT * from t1 where f2=f1;
1341
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict()
1342
SELECT * from t1 where f2=f1' at line 1
1343
CREATE PROCEDURE return()
1344
SELECT * from t1 where f2=f1;
1345
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return()
1346
SELECT * from t1 where f2=f1' at line 1
1347
CREATE PROCEDURE revoke()
1348
SELECT * from t1 where f2=f1;
1349
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke()
1350
SELECT * from t1 where f2=f1' at line 1
1351
CREATE PROCEDURE right()
1352
SELECT * from t1 where f2=f1;
1353
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right()
1354
SELECT * from t1 where f2=f1' at line 1
1355
CREATE PROCEDURE rlike()
1356
SELECT * from t1 where f2=f1;
1357
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike()
1358
SELECT * from t1 where f2=f1' at line 1
1359
CREATE PROCEDURE schema()
1360
SELECT * from t1 where f2=f1;
1361
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema()
1362
SELECT * from t1 where f2=f1' at line 1
1363
CREATE PROCEDURE schemas()
1364
SELECT * from t1 where f2=f1;
1365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas()
1366
SELECT * from t1 where f2=f1' at line 1
1367
CREATE PROCEDURE second_microsecond()
1368
SELECT * from t1 where f2=f1;
1369
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond()
1370
SELECT * from t1 where f2=f1' at line 1
1371
CREATE PROCEDURE select()
1372
SELECT * from t1 where f2=f1;
1373
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select()
1374
SELECT * from t1 where f2=f1' at line 1
1375
CREATE PROCEDURE sensitive()
1376
SELECT * from t1 where f2=f1;
1377
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive()
1378
SELECT * from t1 where f2=f1' at line 1
1379
CREATE PROCEDURE separator()
1380
SELECT * from t1 where f2=f1;
1381
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator()
1382
SELECT * from t1 where f2=f1' at line 1
1383
CREATE PROCEDURE set()
1384
SELECT * from t1 where f2=f1;
1385
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set()
1386
SELECT * from t1 where f2=f1' at line 1
1387
CREATE PROCEDURE show()
1388
SELECT * from t1 where f2=f1;
1389
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show()
1390
SELECT * from t1 where f2=f1' at line 1
1391
CREATE PROCEDURE smallint()
1392
SELECT * from t1 where f2=f1;
1393
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint()
1394
SELECT * from t1 where f2=f1' at line 1
1395
CREATE PROCEDURE soname()
1396
SELECT * from t1 where f2=f1;
1397
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'soname()
1398
SELECT * from t1 where f2=f1' at line 1
1399
CREATE PROCEDURE spatial()
1400
SELECT * from t1 where f2=f1;
1401
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial()
1402
SELECT * from t1 where f2=f1' at line 1
1403
CREATE PROCEDURE specific()
1404
SELECT * from t1 where f2=f1;
1405
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific()
1406
SELECT * from t1 where f2=f1' at line 1
1407
CREATE PROCEDURE sql()
1408
SELECT * from t1 where f2=f1;
1409
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql()
1410
SELECT * from t1 where f2=f1' at line 1
1411
CREATE PROCEDURE sqlexception()
1412
SELECT * from t1 where f2=f1;
1413
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception()
1414
SELECT * from t1 where f2=f1' at line 1
1415
CREATE PROCEDURE sqlstate()
1416
SELECT * from t1 where f2=f1;
1417
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate()
1418
SELECT * from t1 where f2=f1' at line 1
1419
CREATE PROCEDURE sqlwarning()
1420
SELECT * from t1 where f2=f1;
1421
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning()
1422
SELECT * from t1 where f2=f1' at line 1
1423
CREATE PROCEDURE sql_big_result()
1424
SELECT * from t1 where f2=f1;
1425
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result()
1426
SELECT * from t1 where f2=f1' at line 1
1427
CREATE PROCEDURE sql_calc_found_rows()
1428
SELECT * from t1 where f2=f1;
1429
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows()
1430
SELECT * from t1 where f2=f1' at line 1
1431
CREATE PROCEDURE sql_small_result()
1432
SELECT * from t1 where f2=f1;
1433
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result()
1434
SELECT * from t1 where f2=f1' at line 1
1435
CREATE PROCEDURE ssl()
1436
SELECT * from t1 where f2=f1;
1437
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl()
1438
SELECT * from t1 where f2=f1' at line 1
1439
CREATE PROCEDURE starting()
1440
SELECT * from t1 where f2=f1;
1441
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting()
1442
SELECT * from t1 where f2=f1' at line 1
1443
CREATE PROCEDURE straight_join()
1444
SELECT * from t1 where f2=f1;
1445
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join()
1446
SELECT * from t1 where f2=f1' at line 1
1447
CREATE PROCEDURE table()
1448
SELECT * from t1 where f2=f1;
1449
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table()
1450
SELECT * from t1 where f2=f1' at line 1
1451
CREATE PROCEDURE tables()
1452
SELECT * from t1 where f2=f1;
1453
DROP PROCEDURE tables;
1454
CREATE PROCEDURE terminated()
1455
SELECT * from t1 where f2=f1;
1456
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated()
1457
SELECT * from t1 where f2=f1' at line 1
1458
CREATE PROCEDURE then()
1459
SELECT * from t1 where f2=f1;
1460
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then()
1461
SELECT * from t1 where f2=f1' at line 1
1462
CREATE PROCEDURE tinyblob()
1463
SELECT * from t1 where f2=f1;
1464
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob()
1465
SELECT * from t1 where f2=f1' at line 1
1466
CREATE PROCEDURE tinyint()
1467
SELECT * from t1 where f2=f1;
1468
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint()
1469
SELECT * from t1 where f2=f1' at line 1
1470
CREATE PROCEDURE tinytext()
1471
SELECT * from t1 where f2=f1;
1472
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext()
1473
SELECT * from t1 where f2=f1' at line 1
1474
CREATE PROCEDURE to()
1475
SELECT * from t1 where f2=f1;
1476
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to()
1477
SELECT * from t1 where f2=f1' at line 1
1478
CREATE PROCEDURE trailing()
1479
SELECT * from t1 where f2=f1;
1480
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing()
1481
SELECT * from t1 where f2=f1' at line 1
1482
CREATE PROCEDURE trigger()
1483
SELECT * from t1 where f2=f1;
1484
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger()
1485
SELECT * from t1 where f2=f1' at line 1
1486
CREATE PROCEDURE true()
1487
SELECT * from t1 where f2=f1;
1488
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true()
1489
SELECT * from t1 where f2=f1' at line 1
1490
CREATE PROCEDURE undo()
1491
SELECT * from t1 where f2=f1;
1492
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo()
1493
SELECT * from t1 where f2=f1' at line 1
1494
CREATE PROCEDURE union()
1495
SELECT * from t1 where f2=f1;
1496
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union()
1497
SELECT * from t1 where f2=f1' at line 1
1498
CREATE PROCEDURE unique()
1499
SELECT * from t1 where f2=f1;
1500
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique()
1501
SELECT * from t1 where f2=f1' at line 1
1502
CREATE PROCEDURE unlock()
1503
SELECT * from t1 where f2=f1;
1504
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock()
1505
SELECT * from t1 where f2=f1' at line 1
1506
CREATE PROCEDURE unsigned()
1507
SELECT * from t1 where f2=f1;
1508
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned()
1509
SELECT * from t1 where f2=f1' at line 1
1510
CREATE PROCEDURE update()
1511
SELECT * from t1 where f2=f1;
1512
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update()
1513
SELECT * from t1 where f2=f1' at line 1
1514
CREATE PROCEDURE usage()
1515
SELECT * from t1 where f2=f1;
1516
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage()
1517
SELECT * from t1 where f2=f1' at line 1
1518
CREATE PROCEDURE use()
1519
SELECT * from t1 where f2=f1;
1520
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use()
1521
SELECT * from t1 where f2=f1' at line 1
1522
CREATE PROCEDURE using()
1523
SELECT * from t1 where f2=f1;
1524
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using()
1525
SELECT * from t1 where f2=f1' at line 1
1526
CREATE PROCEDURE utc_date()
1527
SELECT * from t1 where f2=f1;
1528
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date()
1529
SELECT * from t1 where f2=f1' at line 1
1530
CREATE PROCEDURE utc_time()
1531
SELECT * from t1 where f2=f1;
1532
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time()
1533
SELECT * from t1 where f2=f1' at line 1
1534
CREATE PROCEDURE utc_timestamp()
1535
SELECT * from t1 where f2=f1;
1536
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp()
1537
SELECT * from t1 where f2=f1' at line 1
1538
CREATE PROCEDURE values()
1539
SELECT * from t1 where f2=f1;
1540
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values()
1541
SELECT * from t1 where f2=f1' at line 1
1542
CREATE PROCEDURE varbinary()
1543
SELECT * from t1 where f2=f1;
1544
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary()
1545
SELECT * from t1 where f2=f1' at line 1
1546
CREATE PROCEDURE varchar()
1547
SELECT * from t1 where f2=f1;
1548
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar()
1549
SELECT * from t1 where f2=f1' at line 1
1550
CREATE PROCEDURE varcharacter()
1551
SELECT * from t1 where f2=f1;
1552
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter()
1553
SELECT * from t1 where f2=f1' at line 1
1554
CREATE PROCEDURE varying()
1555
SELECT * from t1 where f2=f1;
1556
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying()
1557
SELECT * from t1 where f2=f1' at line 1
1558
CREATE PROCEDURE when()
1559
SELECT * from t1 where f2=f1;
1560
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when()
1561
SELECT * from t1 where f2=f1' at line 1
1562
CREATE PROCEDURE where()
1563
SELECT * from t1 where f2=f1;
1564
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where()
1565
SELECT * from t1 where f2=f1' at line 1
1566
CREATE PROCEDURE while()
1567
SELECT * from t1 where f2=f1;
1568
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while()
1569
SELECT * from t1 where f2=f1' at line 1
1570
CREATE PROCEDURE with()
1571
SELECT * from t1 where f2=f1;
1572
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with()
1573
SELECT * from t1 where f2=f1' at line 1
1574
CREATE PROCEDURE write()
1575
SELECT * from t1 where f2=f1;
1576
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write()
1577
SELECT * from t1 where f2=f1' at line 1
1578
CREATE PROCEDURE xor()
1579
SELECT * from t1 where f2=f1;
1580
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor()
1581
SELECT * from t1 where f2=f1' at line 1
1582
CREATE PROCEDURE year_month()
1583
SELECT * from t1 where f2=f1;
1584
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month()
1585
SELECT * from t1 where f2=f1' at line 1
1586
CREATE PROCEDURE zerofill()
1587
SELECT * from t1 where f2=f1;
1588
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill()
1589
SELECT * from t1 where f2=f1' at line 1
1593
Ensure that any invalid function name is never accepted, and that an appropriate
1594
error message is returned when the name is rejected
1595
--------------------------------------------------------------------------------
1596
CREATE FUNCTION !_fn1(f1 char) returns char
1598
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_fn1(f1 char) returns char
1599
return f1' at line 1
1600
CREATE FUNCTION char(f1 char) returns char
1602
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char(f1 char) returns char
1603
return f1' at line 1
1604
CREATE FUNCTION char binary(f1 char binary) returns char binary
1606
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary(f1 char binary) returns char binary
1607
return f1' at line 1
1608
CREATE FUNCTION char ascii(f1 char ascii) returns char ascii
1610
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii(f1 char ascii) returns char ascii
1611
return f1' at line 1
1612
CREATE FUNCTION char not null(f1 char not null) returns char not null
1614
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char not null(f1 char not null) returns char not null
1615
return f1' at line 1
1616
CREATE FUNCTION char binary not null(f1 char binary not null) returns char binary not null
1618
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary not null(f1 char binary not null) returns char binary not null
1620
CREATE FUNCTION char ascii not null(f1 char ascii not null) returns char ascii not null
1622
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii not null(f1 char ascii not null) returns char ascii not null
1624
CREATE FUNCTION tinytext(f1 tinytext) returns tinytext
1626
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext(f1 tinytext) returns tinytext
1627
return f1' at line 1
1628
CREATE FUNCTION text(f1 text) returns text
1631
CREATE FUNCTION mediumtext(f1 mediumtext) returns mediumtext
1633
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext(f1 mediumtext) returns mediumtext
1634
return f1' at line 1
1635
CREATE FUNCTION longtext(f1 longtext) returns longtext
1637
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext(f1 longtext) returns longtext
1638
return f1' at line 1
1639
CREATE FUNCTION tinytext not null(f1 tinytext not null) returns tinytext not null
1641
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext not null(f1 tinytext not null) returns tinytext not null
1642
return f1' at line 1
1643
CREATE FUNCTION text not null(f1 text not null) returns text not null
1645
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null(f1 text not null) returns text not null
1646
return f1' at line 1
1647
CREATE FUNCTION mediumtext not null(f1 mediumtext not null) returns mediumtext not null
1649
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext not null(f1 mediumtext not null) returns mediumtext not null
1651
CREATE FUNCTION longtext not null(f1 longtext not null) returns longtext not null
1653
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext not null(f1 longtext not null) returns longtext not null
1654
return f1' at line 1
1655
CREATE FUNCTION tinyblob(f1 tinyblob) returns tinyblob
1657
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob(f1 tinyblob) returns tinyblob
1658
return f1' at line 1
1659
CREATE FUNCTION blob(f1 blob) returns blob
1661
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob(f1 blob) returns blob
1662
return f1' at line 1
1663
CREATE FUNCTION mediumblob(f1 mediumblob) returns mediumblob
1665
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob(f1 mediumblob) returns mediumblob
1666
return f1' at line 1
1667
CREATE FUNCTION longblob(f1 longblob) returns longblob
1669
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob(f1 longblob) returns longblob
1670
return f1' at line 1
1671
CREATE FUNCTION tinyblob not null(f1 tinyblob not null) returns tinyblob not null
1673
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob not null(f1 tinyblob not null) returns tinyblob not null
1674
return f1' at line 1
1675
CREATE FUNCTION blob not null(f1 blob not null) returns blob not null
1677
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob not null(f1 blob not null) returns blob not null
1678
return f1' at line 1
1679
CREATE FUNCTION mediumblob not null(f1 mediumblob not null) returns mediumblob not null
1681
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob not null(f1 mediumblob not null) returns mediumblob not null
1683
CREATE FUNCTION longblob not null(f1 longblob not null) returns longblob not null
1685
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob not null(f1 longblob not null) returns longblob not null
1686
return f1' at line 1
1687
CREATE FUNCTION binary(f1 binary) returns binary
1689
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary(f1 binary) returns binary
1690
return f1' at line 1
1691
CREATE FUNCTION binary not null(f1 binary not null) returns binary not null
1693
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null(f1 binary not null) returns binary not null
1694
return f1' at line 1
1695
CREATE FUNCTION tinyint(f1 tinyint) returns tinyint
1697
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint(f1 tinyint) returns tinyint
1698
return f1' at line 1
1699
CREATE FUNCTION tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
1701
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
1702
return f1' at line 1
1703
CREATE FUNCTION tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
1705
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
1706
return f1' at line 1
1707
CREATE FUNCTION tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
1709
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned' at line 1
1710
CREATE FUNCTION smallint(f1 smallint) returns smallint
1712
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint(f1 smallint) returns smallint
1713
return f1' at line 1
1714
CREATE FUNCTION smallint unsigned(f1 smallint unsigned) returns smallint unsigned
1716
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned(f1 smallint unsigned) returns smallint unsigned
1717
return f1' at line 1
1718
CREATE FUNCTION smallint zerofill(f1 smallint zerofill) returns smallint zerofill
1720
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill(f1 smallint zerofill) returns smallint zerofill
1721
return f1' at line 1
1722
CREATE FUNCTION smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsigned zerofill
1724
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsig' at line 1
1725
CREATE FUNCTION mediumint(f1 mediumint) returns mediumint
1727
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint(f1 mediumint) returns mediumint
1728
return f1' at line 1
1729
CREATE FUNCTION mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
1731
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
1732
return f1' at line 1
1733
CREATE FUNCTION mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
1735
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
1736
return f1' at line 1
1737
CREATE FUNCTION mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
1739
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint un' at line 1
1740
CREATE FUNCTION int(f1 int) returns int
1742
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int(f1 int) returns int
1743
return f1' at line 1
1744
CREATE FUNCTION int unsigned(f1 int unsigned) returns int unsigned
1746
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned(f1 int unsigned) returns int unsigned
1747
return f1' at line 1
1748
CREATE FUNCTION int zerofill(f1 int zerofill) returns int zerofill
1750
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill(f1 int zerofill) returns int zerofill
1751
return f1' at line 1
1752
CREATE FUNCTION int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill
1754
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill
1756
CREATE FUNCTION bigint(f1 bigint) returns bigint
1758
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint(f1 bigint) returns bigint
1759
return f1' at line 1
1760
CREATE FUNCTION bigint unsigned(f1 bigint unsigned) returns bigint unsigned
1762
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned(f1 bigint unsigned) returns bigint unsigned
1763
return f1' at line 1
1764
CREATE FUNCTION bigint zerofill(f1 bigint zerofill) returns bigint zerofill
1766
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill(f1 bigint zerofill) returns bigint zerofill
1767
return f1' at line 1
1768
CREATE FUNCTION bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned zerofill
1770
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned ze' at line 1
1771
CREATE FUNCTION decimal(f1 decimal) returns decimal
1773
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal(f1 decimal) returns decimal
1774
return f1' at line 1
1775
CREATE FUNCTION decimal unsigned(f1 decimal unsigned) returns decimal unsigned
1777
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned(f1 decimal unsigned) returns decimal unsigned
1778
return f1' at line 1
1779
CREATE FUNCTION decimal zerofill(f1 decimal zerofill) returns decimal zerofill
1781
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill(f1 decimal zerofill) returns decimal zerofill
1782
return f1' at line 1
1783
CREATE FUNCTION decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned zerofill
1785
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned' at line 1
1786
CREATE FUNCTION numeric(f1 numeric) returns numeric
1788
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric(f1 numeric) returns numeric
1789
return f1' at line 1
1790
CREATE FUNCTION numeric unsigned(f1 numeric unsigned) returns numeric unsigned
1792
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned(f1 numeric unsigned) returns numeric unsigned
1793
return f1' at line 1
1794
CREATE FUNCTION numeric zerofill(f1 numeric zerofill) returns numeric zerofill
1796
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill(f1 numeric zerofill) returns numeric zerofill
1797
return f1' at line 1
1798
CREATE FUNCTION numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned zerofill
1800
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned' at line 1
1801
CREATE FUNCTION real(f1 real) returns real
1803
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real(f1 real) returns real
1804
return f1' at line 1
1805
CREATE FUNCTION real unsigned(f1 real unsigned) returns real unsigned
1807
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned(f1 real unsigned) returns real unsigned
1808
return f1' at line 1
1809
CREATE FUNCTION real zerofill(f1 real zerofill) returns real zerofill
1811
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill(f1 real zerofill) returns real zerofill
1812
return f1' at line 1
1813
CREATE FUNCTION real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill
1815
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill' at line 1
1816
CREATE FUNCTION float(f1 float) returns float
1818
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(f1 float) returns float
1819
return f1' at line 1
1820
CREATE FUNCTION float unsigned(f1 float unsigned) returns float unsigned
1822
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned(f1 float unsigned) returns float unsigned
1823
return f1' at line 1
1824
CREATE FUNCTION float zerofill(f1 float zerofill) returns float zerofill
1826
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill(f1 float zerofill) returns float zerofill
1827
return f1' at line 1
1828
CREATE FUNCTION float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerofill
1830
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerof' at line 1
1831
CREATE FUNCTION date(f1 date) returns date
1834
CREATE FUNCTION time(f1 time) returns time
1837
CREATE FUNCTION datetime(f1 datetime) returns datetime
1839
DROP FUNCTION datetime;
1840
CREATE FUNCTION timestamp(f1 timestamp) returns timestamp
1842
DROP FUNCTION timestamp;
1843
CREATE FUNCTION year(f1 year) returns year
1846
CREATE FUNCTION year(3)(f1 year(3)) returns year(3)
1848
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '3)(f1 year(3)) returns year(3)
1849
return f1' at line 1
1850
CREATE FUNCTION year(4)(f1 year(4)) returns year(4)
1852
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4)(f1 year(4)) returns year(4)
1853
return f1' at line 1
1854
CREATE FUNCTION enum("1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
1856
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
1858
CREATE FUNCTION set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
1860
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
1862
DROP FUNCTION IF EXISTS fn1;
1864
Note 1305 FUNCTION fn1 does not exist
1865
CREATE FUNCTION fn1(char f1 ) returns char
1867
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char f1 ) returns char
1868
return f1' at line 1
1869
DROP FUNCTION IF EXISTS fn1;
1871
Note 1305 FUNCTION fn1 does not exist
1872
CREATE FUNCTION fn1(char binary f1 ) returns char binary
1874
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary f1 ) returns char binary
1875
return f1' at line 1
1876
DROP FUNCTION IF EXISTS fn1;
1878
Note 1305 FUNCTION fn1 does not exist
1879
CREATE FUNCTION fn1(char ascii f1 ) returns char ascii
1881
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii f1 ) returns char ascii
1882
return f1' at line 1
1883
DROP FUNCTION IF EXISTS fn1;
1885
Note 1305 FUNCTION fn1 does not exist
1886
CREATE FUNCTION fn1(char not null f1 ) returns char not null
1888
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char not null f1 ) returns char not null
1889
return f1' at line 1
1890
DROP FUNCTION IF EXISTS fn1;
1892
Note 1305 FUNCTION fn1 does not exist
1893
CREATE FUNCTION fn1(char binary not null f1 ) returns char binary not null
1895
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary not null f1 ) returns char binary not null
1896
return f1' at line 1
1897
DROP FUNCTION IF EXISTS fn1;
1899
Note 1305 FUNCTION fn1 does not exist
1900
CREATE FUNCTION fn1(char ascii not null f1 ) returns char ascii not null
1902
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii not null f1 ) returns char ascii not null
1903
return f1' at line 1
1904
DROP FUNCTION IF EXISTS fn1;
1906
Note 1305 FUNCTION fn1 does not exist
1907
CREATE FUNCTION fn1(tinytext f1 ) returns tinytext
1909
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext f1 ) returns tinytext
1910
return f1' at line 1
1911
DROP FUNCTION IF EXISTS fn1;
1913
Note 1305 FUNCTION fn1 does not exist
1914
CREATE FUNCTION fn1(text f1 ) returns text
1916
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns text
1917
return f1' at line 1
1918
DROP FUNCTION IF EXISTS fn1;
1920
Note 1305 FUNCTION fn1 does not exist
1921
CREATE FUNCTION fn1(mediumtext f1 ) returns mediumtext
1923
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext f1 ) returns mediumtext
1924
return f1' at line 1
1925
DROP FUNCTION IF EXISTS fn1;
1927
Note 1305 FUNCTION fn1 does not exist
1928
CREATE FUNCTION fn1(longtext f1 ) returns longtext
1930
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext f1 ) returns longtext
1931
return f1' at line 1
1932
DROP FUNCTION IF EXISTS fn1;
1934
Note 1305 FUNCTION fn1 does not exist
1935
CREATE FUNCTION fn1(tinytext not null f1 ) returns tinytext not null
1937
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext not null f1 ) returns tinytext not null
1938
return f1' at line 1
1939
DROP FUNCTION IF EXISTS fn1;
1941
Note 1305 FUNCTION fn1 does not exist
1942
CREATE FUNCTION fn1(text not null f1 ) returns text not null
1944
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null f1 ) returns text not null
1945
return f1' at line 1
1946
DROP FUNCTION IF EXISTS fn1;
1948
Note 1305 FUNCTION fn1 does not exist
1949
CREATE FUNCTION fn1(mediumtext not null f1 ) returns mediumtext not null
1951
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext not null f1 ) returns mediumtext not null
1952
return f1' at line 1
1953
DROP FUNCTION IF EXISTS fn1;
1955
Note 1305 FUNCTION fn1 does not exist
1956
CREATE FUNCTION fn1(longtext not null f1 ) returns longtext not null
1958
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext not null f1 ) returns longtext not null
1959
return f1' at line 1
1960
DROP FUNCTION IF EXISTS fn1;
1962
Note 1305 FUNCTION fn1 does not exist
1963
CREATE FUNCTION fn1(tinyblob f1 ) returns tinyblob
1965
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob f1 ) returns tinyblob
1966
return f1' at line 1
1967
DROP FUNCTION IF EXISTS fn1;
1969
Note 1305 FUNCTION fn1 does not exist
1970
CREATE FUNCTION fn1(blob f1 ) returns blob
1972
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob f1 ) returns blob
1973
return f1' at line 1
1974
DROP FUNCTION IF EXISTS fn1;
1976
Note 1305 FUNCTION fn1 does not exist
1977
CREATE FUNCTION fn1(mediumblob f1 ) returns mediumblob
1979
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob f1 ) returns mediumblob
1980
return f1' at line 1
1981
DROP FUNCTION IF EXISTS fn1;
1983
Note 1305 FUNCTION fn1 does not exist
1984
CREATE FUNCTION fn1(longblob f1 ) returns longblob
1986
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob f1 ) returns longblob
1987
return f1' at line 1
1988
DROP FUNCTION IF EXISTS fn1;
1990
Note 1305 FUNCTION fn1 does not exist
1991
CREATE FUNCTION fn1(tinyblob not null f1 ) returns tinyblob not null
1993
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob not null f1 ) returns tinyblob not null
1994
return f1' at line 1
1995
DROP FUNCTION IF EXISTS fn1;
1997
Note 1305 FUNCTION fn1 does not exist
1998
CREATE FUNCTION fn1(blob not null f1 ) returns blob not null
2000
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob not null f1 ) returns blob not null
2001
return f1' at line 1
2002
DROP FUNCTION IF EXISTS fn1;
2004
Note 1305 FUNCTION fn1 does not exist
2005
CREATE FUNCTION fn1(mediumblob not null f1 ) returns mediumblob not null
2007
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob not null f1 ) returns mediumblob not null
2008
return f1' at line 1
2009
DROP FUNCTION IF EXISTS fn1;
2011
Note 1305 FUNCTION fn1 does not exist
2012
CREATE FUNCTION fn1(longblob not null f1 ) returns longblob not null
2014
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob not null f1 ) returns longblob not null
2015
return f1' at line 1
2016
DROP FUNCTION IF EXISTS fn1;
2018
Note 1305 FUNCTION fn1 does not exist
2019
CREATE FUNCTION fn1(binary f1 ) returns binary
2021
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary f1 ) returns binary
2022
return f1' at line 1
2023
DROP FUNCTION IF EXISTS fn1;
2025
Note 1305 FUNCTION fn1 does not exist
2026
CREATE FUNCTION fn1(binary not null f1 ) returns binary not null
2028
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null f1 ) returns binary not null
2029
return f1' at line 1
2030
DROP FUNCTION IF EXISTS fn1;
2032
Note 1305 FUNCTION fn1 does not exist
2033
CREATE FUNCTION fn1(tinyint f1 ) returns tinyint
2035
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint f1 ) returns tinyint
2036
return f1' at line 1
2037
DROP FUNCTION IF EXISTS fn1;
2039
Note 1305 FUNCTION fn1 does not exist
2040
CREATE FUNCTION fn1(tinyint unsigned f1 ) returns tinyint unsigned
2042
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned f1 ) returns tinyint unsigned
2043
return f1' at line 1
2044
DROP FUNCTION IF EXISTS fn1;
2046
Note 1305 FUNCTION fn1 does not exist
2047
CREATE FUNCTION fn1(tinyint zerofill f1 ) returns tinyint zerofill
2049
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill f1 ) returns tinyint zerofill
2050
return f1' at line 1
2051
DROP FUNCTION IF EXISTS fn1;
2053
Note 1305 FUNCTION fn1 does not exist
2054
CREATE FUNCTION fn1(tinyint unsigned zerofill f1 ) returns tinyint unsigned zerofill
2056
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill f1 ) returns tinyint unsigned zerofill
2057
return f1' at line 1
2058
DROP FUNCTION IF EXISTS fn1;
2060
Note 1305 FUNCTION fn1 does not exist
2061
CREATE FUNCTION fn1(smallint f1 ) returns smallint
2063
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint f1 ) returns smallint
2064
return f1' at line 1
2065
DROP FUNCTION IF EXISTS fn1;
2067
Note 1305 FUNCTION fn1 does not exist
2068
CREATE FUNCTION fn1(smallint unsigned f1 ) returns smallint unsigned
2070
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned f1 ) returns smallint unsigned
2071
return f1' at line 1
2072
DROP FUNCTION IF EXISTS fn1;
2074
Note 1305 FUNCTION fn1 does not exist
2075
CREATE FUNCTION fn1(smallint zerofill f1 ) returns smallint zerofill
2077
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill f1 ) returns smallint zerofill
2078
return f1' at line 1
2079
DROP FUNCTION IF EXISTS fn1;
2081
Note 1305 FUNCTION fn1 does not exist
2082
CREATE FUNCTION fn1(smallint unsigned zerofill f1 ) returns smallint unsigned zerofill
2084
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill f1 ) returns smallint unsigned zerofill
2085
return f1' at line 1
2086
DROP FUNCTION IF EXISTS fn1;
2088
Note 1305 FUNCTION fn1 does not exist
2089
CREATE FUNCTION fn1(mediumint f1 ) returns mediumint
2091
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint f1 ) returns mediumint
2092
return f1' at line 1
2093
DROP FUNCTION IF EXISTS fn1;
2095
Note 1305 FUNCTION fn1 does not exist
2096
CREATE FUNCTION fn1(mediumint unsigned f1 ) returns mediumint unsigned
2098
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned f1 ) returns mediumint unsigned
2099
return f1' at line 1
2100
DROP FUNCTION IF EXISTS fn1;
2102
Note 1305 FUNCTION fn1 does not exist
2103
CREATE FUNCTION fn1(mediumint zerofill f1 ) returns mediumint zerofill
2105
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill f1 ) returns mediumint zerofill
2106
return f1' at line 1
2107
DROP FUNCTION IF EXISTS fn1;
2109
Note 1305 FUNCTION fn1 does not exist
2110
CREATE FUNCTION fn1(mediumint unsigned zerofill f1 ) returns mediumint unsigned zerofill
2112
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill f1 ) returns mediumint unsigned zerofill
2113
return f1' at line 1
2114
DROP FUNCTION IF EXISTS fn1;
2116
Note 1305 FUNCTION fn1 does not exist
2117
CREATE FUNCTION fn1(int f1 ) returns int
2119
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int f1 ) returns int
2120
return f1' at line 1
2121
DROP FUNCTION IF EXISTS fn1;
2123
Note 1305 FUNCTION fn1 does not exist
2124
CREATE FUNCTION fn1(int unsigned f1 ) returns int unsigned
2126
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned f1 ) returns int unsigned
2127
return f1' at line 1
2128
DROP FUNCTION IF EXISTS fn1;
2130
Note 1305 FUNCTION fn1 does not exist
2131
CREATE FUNCTION fn1(int zerofill f1 ) returns int zerofill
2133
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill f1 ) returns int zerofill
2134
return f1' at line 1
2135
DROP FUNCTION IF EXISTS fn1;
2137
Note 1305 FUNCTION fn1 does not exist
2138
CREATE FUNCTION fn1(int unsigned zerofill f1 ) returns int unsigned zerofill
2140
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill f1 ) returns int unsigned zerofill
2141
return f1' at line 1
2142
DROP FUNCTION IF EXISTS fn1;
2144
Note 1305 FUNCTION fn1 does not exist
2145
CREATE FUNCTION fn1(bigint f1 ) returns bigint
2147
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint f1 ) returns bigint
2148
return f1' at line 1
2149
DROP FUNCTION IF EXISTS fn1;
2151
Note 1305 FUNCTION fn1 does not exist
2152
CREATE FUNCTION fn1(bigint unsigned f1 ) returns bigint unsigned
2154
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned f1 ) returns bigint unsigned
2155
return f1' at line 1
2156
DROP FUNCTION IF EXISTS fn1;
2158
Note 1305 FUNCTION fn1 does not exist
2159
CREATE FUNCTION fn1(bigint zerofill f1 ) returns bigint zerofill
2161
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill f1 ) returns bigint zerofill
2162
return f1' at line 1
2163
DROP FUNCTION IF EXISTS fn1;
2165
Note 1305 FUNCTION fn1 does not exist
2166
CREATE FUNCTION fn1(bigint unsigned zerofill f1 ) returns bigint unsigned zerofill
2168
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill f1 ) returns bigint unsigned zerofill
2169
return f1' at line 1
2170
DROP FUNCTION IF EXISTS fn1;
2172
Note 1305 FUNCTION fn1 does not exist
2173
CREATE FUNCTION fn1(decimal f1 ) returns decimal
2175
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal f1 ) returns decimal
2176
return f1' at line 1
2177
DROP FUNCTION IF EXISTS fn1;
2179
Note 1305 FUNCTION fn1 does not exist
2180
CREATE FUNCTION fn1(decimal unsigned f1 ) returns decimal unsigned
2182
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned f1 ) returns decimal unsigned
2183
return f1' at line 1
2184
DROP FUNCTION IF EXISTS fn1;
2186
Note 1305 FUNCTION fn1 does not exist
2187
CREATE FUNCTION fn1(decimal zerofill f1 ) returns decimal zerofill
2189
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill f1 ) returns decimal zerofill
2190
return f1' at line 1
2191
DROP FUNCTION IF EXISTS fn1;
2193
Note 1305 FUNCTION fn1 does not exist
2194
CREATE FUNCTION fn1(decimal unsigned zerofill f1 ) returns decimal unsigned zerofill
2196
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill f1 ) returns decimal unsigned zerofill
2197
return f1' at line 1
2198
DROP FUNCTION IF EXISTS fn1;
2200
Note 1305 FUNCTION fn1 does not exist
2201
CREATE FUNCTION fn1(numeric f1 ) returns numeric
2203
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric f1 ) returns numeric
2204
return f1' at line 1
2205
DROP FUNCTION IF EXISTS fn1;
2207
Note 1305 FUNCTION fn1 does not exist
2208
CREATE FUNCTION fn1(numeric unsigned f1 ) returns numeric unsigned
2210
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned f1 ) returns numeric unsigned
2211
return f1' at line 1
2212
DROP FUNCTION IF EXISTS fn1;
2214
Note 1305 FUNCTION fn1 does not exist
2215
CREATE FUNCTION fn1(numeric zerofill f1 ) returns numeric zerofill
2217
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill f1 ) returns numeric zerofill
2218
return f1' at line 1
2219
DROP FUNCTION IF EXISTS fn1;
2221
Note 1305 FUNCTION fn1 does not exist
2222
CREATE FUNCTION fn1(numeric unsigned zerofill f1 ) returns numeric unsigned zerofill
2224
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill f1 ) returns numeric unsigned zerofill
2225
return f1' at line 1
2226
DROP FUNCTION IF EXISTS fn1;
2228
Note 1305 FUNCTION fn1 does not exist
2229
CREATE FUNCTION fn1(real f1 ) returns real
2231
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real f1 ) returns real
2232
return f1' at line 1
2233
DROP FUNCTION IF EXISTS fn1;
2235
Note 1305 FUNCTION fn1 does not exist
2236
CREATE FUNCTION fn1(real unsigned f1 ) returns real unsigned
2238
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned f1 ) returns real unsigned
2239
return f1' at line 1
2240
DROP FUNCTION IF EXISTS fn1;
2242
Note 1305 FUNCTION fn1 does not exist
2243
CREATE FUNCTION fn1(real zerofill f1 ) returns real zerofill
2245
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill f1 ) returns real zerofill
2246
return f1' at line 1
2247
DROP FUNCTION IF EXISTS fn1;
2249
Note 1305 FUNCTION fn1 does not exist
2250
CREATE FUNCTION fn1(real unsigned zerofill f1 ) returns real unsigned zerofill
2252
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill f1 ) returns real unsigned zerofill
2253
return f1' at line 1
2254
DROP FUNCTION IF EXISTS fn1;
2256
Note 1305 FUNCTION fn1 does not exist
2257
CREATE FUNCTION fn1(float f1 ) returns float
2259
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float f1 ) returns float
2260
return f1' at line 1
2261
DROP FUNCTION IF EXISTS fn1;
2263
Note 1305 FUNCTION fn1 does not exist
2264
CREATE FUNCTION fn1(float unsigned f1 ) returns float unsigned
2266
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned f1 ) returns float unsigned
2267
return f1' at line 1
2268
DROP FUNCTION IF EXISTS fn1;
2270
Note 1305 FUNCTION fn1 does not exist
2271
CREATE FUNCTION fn1(float zerofill f1 ) returns float zerofill
2273
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill f1 ) returns float zerofill
2274
return f1' at line 1
2275
DROP FUNCTION IF EXISTS fn1;
2277
Note 1305 FUNCTION fn1 does not exist
2278
CREATE FUNCTION fn1(float unsigned zerofill f1 ) returns float unsigned zerofill
2280
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill f1 ) returns float unsigned zerofill
2281
return f1' at line 1
2282
DROP FUNCTION IF EXISTS fn1;
2284
Note 1305 FUNCTION fn1 does not exist
2285
CREATE FUNCTION fn1(date f1 ) returns date
2287
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns date
2288
return f1' at line 1
2289
DROP FUNCTION IF EXISTS fn1;
2291
Note 1305 FUNCTION fn1 does not exist
2292
CREATE FUNCTION fn1(time f1 ) returns time
2294
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns time
2295
return f1' at line 1
2296
DROP FUNCTION IF EXISTS fn1;
2298
Note 1305 FUNCTION fn1 does not exist
2299
CREATE FUNCTION fn1(datetime f1 ) returns datetime
2301
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns datetime
2302
return f1' at line 1
2303
DROP FUNCTION IF EXISTS fn1;
2305
Note 1305 FUNCTION fn1 does not exist
2306
CREATE FUNCTION fn1(timestamp f1 ) returns timestamp
2308
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns timestamp
2309
return f1' at line 1
2310
DROP FUNCTION IF EXISTS fn1;
2312
Note 1305 FUNCTION fn1 does not exist
2313
CREATE FUNCTION fn1(year f1 ) returns year
2315
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 ) returns year
2316
return f1' at line 1
2317
DROP FUNCTION IF EXISTS fn1;
2319
Note 1305 FUNCTION fn1 does not exist
2320
CREATE FUNCTION fn1(year(3) f1 ) returns year(3)
2322
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) f1 ) returns year(3)
2323
return f1' at line 1
2324
DROP FUNCTION IF EXISTS fn1;
2326
Note 1305 FUNCTION fn1 does not exist
2327
CREATE FUNCTION fn1(year(4) f1 ) returns year(4)
2329
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) f1 ) returns year(4)
2330
return f1' at line 1
2331
DROP FUNCTION IF EXISTS fn1;
2333
Note 1305 FUNCTION fn1 does not exist
2334
CREATE FUNCTION fn1(enum("1enum", "2enum") f1 ) returns enum("1enum", "2enum")
2336
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") f1 ) returns enum("1enum", "2enum")
2337
return f1' at line 1
2338
DROP FUNCTION IF EXISTS fn1;
2340
Note 1305 FUNCTION fn1 does not exist
2341
CREATE FUNCTION fn1(set("1set", "2set") f1 ) returns set("1set", "2set")
2343
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") f1 ) returns set("1set", "2set")
2344
return f1' at line 1
2348
Ensure that a reference to a non-existent stored procedure is rejected with an
2349
appropriate error message
2350
--------------------------------------------------------------------------------
2351
DROP PROCEDURE IF EXISTS sp16;
2353
Note 1305 PROCEDURE sp16 does not exist
2355
ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
2356
CREATE DATABASE db1;
2358
CREATE PROCEDURE sp16()
2363
CALL db_storedproc.sp16();
2364
ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
2366
DROP PROCEDURE db1.sp16;
2371
Ensure that it is possible to drop, create and CALL/execute a procedure and a
2372
function with the same name, even in the same database
2373
--------------------------------------------------------------------------------
2375
DROP FUNCTION IF EXISTS sp1;
2377
Note 1305 FUNCTION sp1 does not exist
2378
DROP PROCEDURE IF EXISTS sp1;
2380
Note 1305 PROCEDURE sp1 does not exist
2381
CREATE PROCEDURE sp1 ()
2383
declare x enum( 'db1', 'test' ) default 'test';
2389
CREATE FUNCTION sp1 (y char) returns char return y;
2393
DROP DATABASE IF EXISTS db1;
2395
Note 1008 Can't drop database 'db1'; database doesn't exist
2396
CREATE DATABASE db1;
2398
CALL db_storedproc.sp1( );
2401
SELECT db_storedproc.sp1( 'a' );
2402
db_storedproc.sp1( 'a' )
2404
DROP FUNCTION db_storedproc.sp1;
2407
ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
2410
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
2412
ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
2418
Ensure that it is possible to alter a procedure and
2419
a function with the same name, in the same database
2420
--------------------------------------------------------------------------------
2422
DROP PROCEDURE IF EXISTS sp1;
2424
Note 1305 PROCEDURE sp1 does not exist
2425
DROP FUNCTION IF EXISTS sp1;
2427
Note 1305 FUNCTION sp1 does not exist
2430
CREATE PROCEDURE sp1()
2435
CREATE FUNCTION sp1 () returns int return 2.2;
2436
CALL db_storedproc.sp1();
2439
SELECT db_storedproc.sp1();
2442
DROP DATABASE IF EXISTS db1;
2444
Note 1008 Can't drop database 'db1'; database doesn't exist
2445
CREATE DATABASE db1;
2447
alter procedure db_storedproc.sp1 sql security invoker;
2448
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
2449
name type security_type
2450
sp1 FUNCTION DEFINER
2451
sp1 PROCEDURE INVOKER
2452
alter function db_storedproc.sp1 sql security invoker;
2453
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
2454
name type security_type
2455
sp1 FUNCTION INVOKER
2456
sp1 PROCEDURE INVOKER
2457
CALL db_storedproc.sp1();
2460
SELECT db_storedproc.sp1();
2464
alter procedure sp1 sql security definer;
2465
CALL db_storedproc.sp1();
2468
SELECT db_storedproc.sp1();
2471
alter function sp1 sql security definer;
2472
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
2473
name type security_type
2474
sp1 FUNCTION DEFINER
2475
sp1 PROCEDURE DEFINER
2476
CALL db_storedproc.sp1();
2479
SELECT db_storedproc.sp1();
2484
DROP PROCEDURE db_storedproc.sp1;
2485
DROP FUNCTION db_storedproc.sp1;
2489
verify altering procedure and function with the same name, does not affect
2490
properties of a procedure and a function with the same name in the different
2492
--------------------------------------------------------------------------------
2493
DROP DATABASE IF EXISTS db_storedproc_3122;
2494
CREATE DATABASE db_storedproc_3122;
2498
DROP PROCEDURE IF EXISTS sp1;
2500
Note 1305 PROCEDURE sp1 does not exist
2501
DROP FUNCTION IF EXISTS sp1;
2503
Note 1305 FUNCTION sp1 does not exist
2504
DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
2506
Note 1305 PROCEDURE sp1 does not exist
2507
DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
2509
Note 1305 FUNCTION sp1 does not exist
2510
CREATE PROCEDURE sp1()
2515
CREATE FUNCTION db_storedproc_3122.sp1() returns double return 2.2;
2519
SELECT db_storedproc_3122.sp1();
2520
db_storedproc_3122.sp1()
2522
USE db_storedproc_3122;
2523
CREATE PROCEDURE sp1 ()
2528
CREATE FUNCTION db_storedproc.sp1() returns double return 4.4;
2532
SELECT db_storedproc.sp1();
2535
alter procedure db_storedproc_3122.sp1 sql security invoker;
2536
alter function sp1 sql security invoker;
2537
SELECT db, name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
2538
db name type security_type
2539
db_storedproc sp1 FUNCTION DEFINER
2540
db_storedproc sp1 PROCEDURE DEFINER
2541
db_storedproc_3122 sp1 FUNCTION INVOKER
2542
db_storedproc_3122 sp1 PROCEDURE INVOKER
2543
CALL db_storedproc.sp1();
2546
SELECT db_storedproc.sp1();
2549
CALL db_storedproc_3122.sp1();
2552
SELECT db_storedproc_3122.sp1();
2553
db_storedproc_3122.sp1()
2556
DROP DATABASE db_storedproc_3122;
2557
DROP FUNCTION db_storedproc.sp1;
2558
DROP PROCEDURE db_storedproc.sp1;
2562
Ensure that it is possible to alter the comment of a procedure
2563
and a function with the same name, even in the same database
2564
--------------------------------------------------------------------------------
2567
DROP PROCEDURE IF EXISTS sp1;
2568
DROP FUNCTION IF EXISTS sp1;
2569
CREATE PROCEDURE sp1 () set @x= 1;
2570
CREATE FUNCTION sp1 () returns int return 2;
2571
DROP DATABASE IF EXISTS db_storedproc_3122;
2573
Note 1008 Can't drop database 'db_storedproc_3122'; database doesn't exist
2574
CREATE DATABASE db_storedproc_3122;
2575
USE db_storedproc_3122;
2576
CREATE PROCEDURE sp1 () set @x= 3;
2577
CREATE FUNCTION sp1 () returns int return 4;
2578
alter procedure sp1 sql security invoker comment 'this is a procedure';
2579
alter function sp1 sql security invoker comment 'this is a function';
2580
alter procedure sp1 sql security definer;
2581
alter function sp1 sql security definer;
2582
show CREATE PROCEDURE sp1;
2583
Procedure sql_mode Create Procedure
2584
sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`()
2585
COMMENT 'this is a procedure'
2587
show CREATE FUNCTION sp1;
2588
Function sql_mode Create Function
2589
sp1 CREATE DEFINER=`root`@`localhost` FUNCTION `sp1`() RETURNS int(11)
2590
COMMENT 'this is a function'
2593
DROP DATABASE db_storedproc_3122;
2594
DROP FUNCTION db_storedproc.sp1;
2595
DROP PROCEDURE db_storedproc.sp1;
2599
Ensure that it is not possible to create two procedures with same name
2601
--------------------------------------------------------------------------------
2605
DROP DATABASE IF EXISTS db1;
2606
CREATE DATABASE db1;
2607
DROP PROCEDURE IF EXISTS sp1;
2609
Note 1305 PROCEDURE sp1 does not exist
2610
CREATE PROCEDURE sp1 () set @x=1;
2611
CREATE PROCEDURE sp1 () set @x=2;
2612
ERROR 42000: PROCEDURE sp1 already exists
2618
CREATE PROCEDURE db_storedproc.sp1 () set @x=3;
2619
ERROR 42000: PROCEDURE sp1 already exists
2620
CALL db_storedproc.sp1();
2624
DROP PROCEDURE IF EXISTS db_storedproc.sp1;
2625
CREATE PROCEDURE db_storedproc.sp1 () set @x=1;
2626
CREATE PROCEDURE db_storedproc.sp1 () set @x=2;
2627
ERROR 42000: PROCEDURE sp1 already exists
2628
CALL db_storedproc.sp1();
2634
DROP PROCEDURE db_storedproc.sp1;
2638
Ensure that it is not possible to create two functions with same name in the
2640
--------------------------------------------------------------------------------
2642
DROP DATABASE IF EXISTS db1;
2644
Note 1008 Can't drop database 'db1'; database doesn't exist
2645
CREATE DATABASE db1;
2646
DROP FUNCTION IF EXISTS fn1;
2648
Note 1305 FUNCTION fn1 does not exist
2649
CREATE FUNCTION fn1 () returns int return 1;
2650
CREATE FUNCTION fn1 () returns int return 2;
2651
ERROR 42000: FUNCTION fn1 already exists
2656
CREATE FUNCTION db_storedproc.fn1 () returns int return 3;
2657
ERROR 42000: FUNCTION fn1 already exists
2658
SELECT db_storedproc.fn1();
2661
DROP FUNCTION IF EXISTS db_storedproc.fn1;
2662
CREATE FUNCTION db_storedproc.fn1 () returns int return 1;
2663
CREATE FUNCTION db_storedproc.fn1 () returns int return 2;
2664
ERROR 42000: FUNCTION fn1 already exists
2665
SELECT db_storedproc.fn1();
2670
DROP FUNCTION db_storedproc.fn1;
2674
Ensure that it is possible to create two or more procedures with the same name,
2675
providing each resides in different databases
2676
--------------------------------------------------------------------------------
2680
DROP PROCEDURE IF EXISTS sp1;
2682
Note 1305 PROCEDURE sp1 does not exist
2683
CREATE PROCEDURE sp1 () set @x= 1;
2684
DROP DATABASE IF EXISTS test3124;
2686
Note 1008 Can't drop database 'test3124'; database doesn't exist
2687
CREATE DATABASE test3124;
2689
CREATE PROCEDURE sp1 () set @y= 2;
2700
DROP DATABASE test3124;
2701
DROP PROCEDURE db_storedproc.sp1;
2705
Ensure that it is possible to create two or more functions with the same name,
2706
providing each resides in different databases.
2707
--------------------------------------------------------------------------------
2709
DROP FUNCTION IF EXISTS f1;
2711
Note 1305 FUNCTION f1 does not exist
2712
CREATE FUNCTION f1 () returns int return 1;
2713
DROP DATABASE IF EXISTS test3125;
2715
Note 1008 Can't drop database 'test3125'; database doesn't exist
2716
CREATE DATABASE test3125;
2718
CREATE FUNCTION f1 () returns int return 2;
2727
DROP DATABASE test3125;
2728
DROP FUNCTION db_storedproc.f1;
2732
Ensure that any invalid function name is never accepted, and that an appropriate
2733
error message is returned when the name is rejected. (invalid func name)
2734
--------------------------------------------------------------------------------
2735
CREATE FUNCTION !_fn1( f1 char(20) ) returns int
2737
SELECT * from t1 where f2 = f1;
2740
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_fn1( f1 char(20) ) returns int
2742
SELECT * from t1 where f2 = f1;
2743
return 1;' at line 1
2744
CREATE FUNCTION fn1( f1 char(20) ) return int
2746
SELECT * from t1 where f2 = f1;
2749
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return int
2751
SELECT * from t1 where f2 = f1;
2754
CREATE FUNCTION fn1() returns int
2756
CREATE FUNCTION procedure() returns int
2758
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure() returns int
2760
CREATE FUNCTION fn1(a char) returns int lang sql return 1;
2761
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql return 1' at line 1
2762
CREATE FUNCTION fn1(a char) returns int deterministic( return 1);
2763
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return 1)' at line 1
2764
CREATE FUNCTION fn1(a char) returns int non deterministic return 1;
2765
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic return 1' at line 1
2766
CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1;
2767
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'refiner return 1' at line 1
2768
DROP FUNCTION IF EXISTS fn1;
2772
Ensure that all clauses that should be supported are supported.
2774
--------------------------------------------------------------------------------
2777
DROP PROCEDURE IF EXISTS sp1;
2778
CREATE PROCEDURE sp1(cnt int(20))
2780
SELECT count(*) into cnt from t2;
2791
--------------------------------------------------------------------------------
2792
DROP PROCEDURE IF EXISTS sp1;
2793
CREATE PROCEDURE sp1( cnt int(20) )
2795
SELECT count(*) into cnt from t2;
2802
DROP PROCEDURE IF EXISTS sp1;
2803
CREATE PROCEDURE sp1( cnt int(20) )
2804
SELECT count(*) into cnt from t2;
2808
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT count(*) into cnt from t2;
2813
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
2814
DROP PROCEDURE IF EXISTS sp1;
2815
CREATE PROCEDURE sp1( cnt int(20) )
2817
SELECT count(*) into cnt from t2;
2821
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END
2822
SELECT count(*) into cnt from t2;
2827
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
2828
DROP PROCEDURE IF EXISTS sp1;
2829
CREATE PROCEDURE sp1( cnt int(20) )
2831
SELECT count(*) into cnt from t2;
2839
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10
2843
Ensure that every BEGIN statement is coupled with a terminating END statement.
2845
--------------------------------------------------------------------------------
2846
DROP PROCEDURE IF EXISTS sp1;
2847
CREATE PROCEDURE sp1( )
2851
SELECT f1, f2 into x, y from t2 limit 1;
2857
--------------------------------------------------------------------------------
2858
DROP PROCEDURE IF EXISTS sp1;
2859
CREATE PROCEDURE sp1()
2863
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add:BEGIN
2866
DROP PROCEDURE IF EXISTS sp1;
2867
CREATE PROCEDURE sp1()
2871
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all:BEGIN
2874
DROP PROCEDURE IF EXISTS sp1;
2875
CREATE PROCEDURE sp1()
2879
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
2882
DROP PROCEDURE IF EXISTS sp1;
2883
CREATE PROCEDURE sp1()
2887
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
2890
DROP PROCEDURE IF EXISTS sp1;
2891
CREATE PROCEDURE sp1()
2895
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and:BEGIN
2898
DROP PROCEDURE IF EXISTS sp1;
2899
CREATE PROCEDURE sp1()
2903
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as:BEGIN
2906
DROP PROCEDURE IF EXISTS sp1;
2907
CREATE PROCEDURE sp1()
2911
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc:BEGIN
2914
DROP PROCEDURE IF EXISTS sp1;
2915
CREATE PROCEDURE sp1()
2919
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive:BEGIN
2922
DROP PROCEDURE IF EXISTS sp1;
2923
CREATE PROCEDURE sp1()
2927
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before:BEGIN
2930
DROP PROCEDURE IF EXISTS sp1;
2931
CREATE PROCEDURE sp1()
2935
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between:BEGIN
2938
DROP PROCEDURE IF EXISTS sp1;
2939
CREATE PROCEDURE sp1()
2943
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint:BEGIN
2946
DROP PROCEDURE IF EXISTS sp1;
2947
CREATE PROCEDURE sp1()
2951
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary:BEGIN
2954
DROP PROCEDURE IF EXISTS sp1;
2955
CREATE PROCEDURE sp1()
2959
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob:BEGIN
2962
DROP PROCEDURE IF EXISTS sp1;
2963
CREATE PROCEDURE sp1()
2967
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both:BEGIN
2970
DROP PROCEDURE IF EXISTS sp1;
2971
CREATE PROCEDURE sp1()
2975
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by:BEGIN
2978
DROP PROCEDURE IF EXISTS sp1;
2979
CREATE PROCEDURE sp1()
2983
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
2986
DROP PROCEDURE IF EXISTS sp1;
2987
CREATE PROCEDURE sp1()
2991
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade:BEGIN
2994
DROP PROCEDURE IF EXISTS sp1;
2995
CREATE PROCEDURE sp1()
2999
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3002
DROP PROCEDURE IF EXISTS sp1;
3003
CREATE PROCEDURE sp1()
3007
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3010
DROP PROCEDURE IF EXISTS sp1;
3011
CREATE PROCEDURE sp1()
3015
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char:BEGIN
3018
DROP PROCEDURE IF EXISTS sp1;
3019
CREATE PROCEDURE sp1()
3023
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character:BEGIN
3026
DROP PROCEDURE IF EXISTS sp1;
3027
CREATE PROCEDURE sp1()
3031
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3034
DROP PROCEDURE IF EXISTS sp1;
3035
CREATE PROCEDURE sp1()
3039
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate:BEGIN
3042
DROP PROCEDURE IF EXISTS sp1;
3043
CREATE PROCEDURE sp1()
3047
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column:BEGIN
3050
DROP PROCEDURE IF EXISTS sp1;
3051
CREATE PROCEDURE sp1()
3055
DROP PROCEDURE IF EXISTS sp1;
3056
CREATE PROCEDURE sp1()
3060
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition:BEGIN
3063
DROP PROCEDURE IF EXISTS sp1;
3064
CREATE PROCEDURE sp1()
3068
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection:BEGIN
3071
DROP PROCEDURE IF EXISTS sp1;
3072
CREATE PROCEDURE sp1()
3076
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint:BEGIN
3079
DROP PROCEDURE IF EXISTS sp1;
3080
CREATE PROCEDURE sp1()
3084
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue:BEGIN
3087
DROP PROCEDURE IF EXISTS sp1;
3088
CREATE PROCEDURE sp1()
3092
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert:BEGIN
3095
DROP PROCEDURE IF EXISTS sp1;
3096
CREATE PROCEDURE sp1()
3100
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3103
DROP PROCEDURE IF EXISTS sp1;
3104
CREATE PROCEDURE sp1()
3108
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross:BEGIN
3111
DROP PROCEDURE IF EXISTS sp1;
3112
CREATE PROCEDURE sp1()
3116
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date:BEGIN
3119
DROP PROCEDURE IF EXISTS sp1;
3120
CREATE PROCEDURE sp1()
3124
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time:BEGIN
3127
DROP PROCEDURE IF EXISTS sp1;
3128
CREATE PROCEDURE sp1()
3129
current_timestamp:BEGIN
3132
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp:BEGIN
3135
DROP PROCEDURE IF EXISTS sp1;
3136
CREATE PROCEDURE sp1()
3140
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user:BEGIN
3143
DROP PROCEDURE IF EXISTS sp1;
3144
CREATE PROCEDURE sp1()
3148
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor:BEGIN
3151
DROP PROCEDURE IF EXISTS sp1;
3152
CREATE PROCEDURE sp1()
3156
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database:BEGIN
3159
DROP PROCEDURE IF EXISTS sp1;
3160
CREATE PROCEDURE sp1()
3164
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases:BEGIN
3167
DROP PROCEDURE IF EXISTS sp1;
3168
CREATE PROCEDURE sp1()
3172
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour:BEGIN
3175
DROP PROCEDURE IF EXISTS sp1;
3176
CREATE PROCEDURE sp1()
3177
day_microsecond:BEGIN
3180
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond:BEGIN
3183
DROP PROCEDURE IF EXISTS sp1;
3184
CREATE PROCEDURE sp1()
3188
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute:BEGIN
3191
DROP PROCEDURE IF EXISTS sp1;
3192
CREATE PROCEDURE sp1()
3196
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second:BEGIN
3199
DROP PROCEDURE IF EXISTS sp1;
3200
CREATE PROCEDURE sp1()
3204
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec:BEGIN
3207
DROP PROCEDURE IF EXISTS sp1;
3208
CREATE PROCEDURE sp1()
3212
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal:BEGIN
3215
DROP PROCEDURE IF EXISTS sp1;
3216
CREATE PROCEDURE sp1()
3220
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare:BEGIN
3223
DROP PROCEDURE IF EXISTS sp1;
3224
CREATE PROCEDURE sp1()
3228
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default:BEGIN
3231
DROP PROCEDURE IF EXISTS sp1;
3232
CREATE PROCEDURE sp1()
3236
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed:BEGIN
3239
DROP PROCEDURE IF EXISTS sp1;
3240
CREATE PROCEDURE sp1()
3244
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3247
DROP PROCEDURE IF EXISTS sp1;
3248
CREATE PROCEDURE sp1()
3252
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3255
DROP PROCEDURE IF EXISTS sp1;
3256
CREATE PROCEDURE sp1()
3260
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3263
DROP PROCEDURE IF EXISTS sp1;
3264
CREATE PROCEDURE sp1()
3268
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3271
DROP PROCEDURE IF EXISTS sp1;
3272
CREATE PROCEDURE sp1()
3276
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct:BEGIN
3279
DROP PROCEDURE IF EXISTS sp1;
3280
CREATE PROCEDURE sp1()
3284
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow:BEGIN
3287
DROP PROCEDURE IF EXISTS sp1;
3288
CREATE PROCEDURE sp1()
3292
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div:BEGIN
3295
DROP PROCEDURE IF EXISTS sp1;
3296
CREATE PROCEDURE sp1()
3300
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double:BEGIN
3303
DROP PROCEDURE IF EXISTS sp1;
3304
CREATE PROCEDURE sp1()
3308
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3311
DROP PROCEDURE IF EXISTS sp1;
3312
CREATE PROCEDURE sp1()
3316
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual:BEGIN
3319
DROP PROCEDURE IF EXISTS sp1;
3320
CREATE PROCEDURE sp1()
3324
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each:BEGIN
3327
DROP PROCEDURE IF EXISTS sp1;
3328
CREATE PROCEDURE sp1()
3332
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else:BEGIN
3335
DROP PROCEDURE IF EXISTS sp1;
3336
CREATE PROCEDURE sp1()
3340
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif:BEGIN
3343
DROP PROCEDURE IF EXISTS sp1;
3344
CREATE PROCEDURE sp1()
3348
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed:BEGIN
3351
DROP PROCEDURE IF EXISTS sp1;
3352
CREATE PROCEDURE sp1()
3356
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped:BEGIN
3359
DROP PROCEDURE IF EXISTS sp1;
3360
CREATE PROCEDURE sp1()
3364
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists:BEGIN
3367
DROP PROCEDURE IF EXISTS sp1;
3368
CREATE PROCEDURE sp1()
3372
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit:BEGIN
3375
DROP PROCEDURE IF EXISTS sp1;
3376
CREATE PROCEDURE sp1()
3380
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3383
DROP PROCEDURE IF EXISTS sp1;
3384
CREATE PROCEDURE sp1()
3388
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false:BEGIN
3391
DROP PROCEDURE IF EXISTS sp1;
3392
CREATE PROCEDURE sp1()
3396
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3399
DROP PROCEDURE IF EXISTS sp1;
3400
CREATE PROCEDURE sp1()
3404
DROP PROCEDURE IF EXISTS sp1;
3405
CREATE PROCEDURE sp1()
3409
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float:BEGIN
3412
DROP PROCEDURE IF EXISTS sp1;
3413
CREATE PROCEDURE sp1()
3417
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for:BEGIN
3420
DROP PROCEDURE IF EXISTS sp1;
3421
CREATE PROCEDURE sp1()
3425
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force:BEGIN
3428
DROP PROCEDURE IF EXISTS sp1;
3429
CREATE PROCEDURE sp1()
3433
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign:BEGIN
3436
DROP PROCEDURE IF EXISTS sp1;
3437
CREATE PROCEDURE sp1()
3441
DROP PROCEDURE IF EXISTS sp1;
3442
CREATE PROCEDURE sp1()
3446
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from:BEGIN
3449
DROP PROCEDURE IF EXISTS sp1;
3450
CREATE PROCEDURE sp1()
3454
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext:BEGIN
3457
DROP PROCEDURE IF EXISTS sp1;
3458
CREATE PROCEDURE sp1()
3462
DROP PROCEDURE IF EXISTS sp1;
3463
CREATE PROCEDURE sp1()
3467
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3470
DROP PROCEDURE IF EXISTS sp1;
3471
CREATE PROCEDURE sp1()
3475
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group:BEGIN
3478
DROP PROCEDURE IF EXISTS sp1;
3479
CREATE PROCEDURE sp1()
3483
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having:BEGIN
3486
DROP PROCEDURE IF EXISTS sp1;
3487
CREATE PROCEDURE sp1()
3491
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority:BEGIN
3494
DROP PROCEDURE IF EXISTS sp1;
3495
CREATE PROCEDURE sp1()
3496
hour_microsecond:BEGIN
3499
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond:BEGIN
3502
DROP PROCEDURE IF EXISTS sp1;
3503
CREATE PROCEDURE sp1()
3507
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute:BEGIN
3510
DROP PROCEDURE IF EXISTS sp1;
3511
CREATE PROCEDURE sp1()
3515
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second:BEGIN
3518
DROP PROCEDURE IF EXISTS sp1;
3519
CREATE PROCEDURE sp1()
3523
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3526
DROP PROCEDURE IF EXISTS sp1;
3527
CREATE PROCEDURE sp1()
3531
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore:BEGIN
3534
DROP PROCEDURE IF EXISTS sp1;
3535
CREATE PROCEDURE sp1()
3539
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in:BEGIN
3542
DROP PROCEDURE IF EXISTS sp1;
3543
CREATE PROCEDURE sp1()
3547
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index:BEGIN
3550
DROP PROCEDURE IF EXISTS sp1;
3551
CREATE PROCEDURE sp1()
3555
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile:BEGIN
3558
DROP PROCEDURE IF EXISTS sp1;
3559
CREATE PROCEDURE sp1()
3563
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner:BEGIN
3566
DROP PROCEDURE IF EXISTS sp1;
3567
CREATE PROCEDURE sp1()
3571
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout:BEGIN
3574
DROP PROCEDURE IF EXISTS sp1;
3575
CREATE PROCEDURE sp1()
3579
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive:BEGIN
3582
DROP PROCEDURE IF EXISTS sp1;
3583
CREATE PROCEDURE sp1()
3587
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3590
DROP PROCEDURE IF EXISTS sp1;
3591
CREATE PROCEDURE sp1()
3595
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int:BEGIN
3598
DROP PROCEDURE IF EXISTS sp1;
3599
CREATE PROCEDURE sp1()
3603
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer:BEGIN
3606
DROP PROCEDURE IF EXISTS sp1;
3607
CREATE PROCEDURE sp1()
3611
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval:BEGIN
3614
DROP PROCEDURE IF EXISTS sp1;
3615
CREATE PROCEDURE sp1()
3619
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into:BEGIN
3622
DROP PROCEDURE IF EXISTS sp1;
3623
CREATE PROCEDURE sp1()
3627
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is:BEGIN
3630
DROP PROCEDURE IF EXISTS sp1;
3631
CREATE PROCEDURE sp1()
3635
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3638
DROP PROCEDURE IF EXISTS sp1;
3639
CREATE PROCEDURE sp1()
3643
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join:BEGIN
3646
DROP PROCEDURE IF EXISTS sp1;
3647
CREATE PROCEDURE sp1()
3651
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key:BEGIN
3654
DROP PROCEDURE IF EXISTS sp1;
3655
CREATE PROCEDURE sp1()
3659
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys:BEGIN
3662
DROP PROCEDURE IF EXISTS sp1;
3663
CREATE PROCEDURE sp1()
3667
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3670
DROP PROCEDURE IF EXISTS sp1;
3671
CREATE PROCEDURE sp1()
3675
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading:BEGIN
3678
DROP PROCEDURE IF EXISTS sp1;
3679
CREATE PROCEDURE sp1()
3683
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3686
DROP PROCEDURE IF EXISTS sp1;
3687
CREATE PROCEDURE sp1()
3691
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left:BEGIN
3694
DROP PROCEDURE IF EXISTS sp1;
3695
CREATE PROCEDURE sp1()
3699
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like:BEGIN
3702
DROP PROCEDURE IF EXISTS sp1;
3703
CREATE PROCEDURE sp1()
3707
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit:BEGIN
3710
DROP PROCEDURE IF EXISTS sp1;
3711
CREATE PROCEDURE sp1()
3715
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines:BEGIN
3718
DROP PROCEDURE IF EXISTS sp1;
3719
CREATE PROCEDURE sp1()
3723
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3726
DROP PROCEDURE IF EXISTS sp1;
3727
CREATE PROCEDURE sp1()
3731
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime:BEGIN
3734
DROP PROCEDURE IF EXISTS sp1;
3735
CREATE PROCEDURE sp1()
3736
localtimestamp:BEGIN
3739
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp:BEGIN
3742
DROP PROCEDURE IF EXISTS sp1;
3743
CREATE PROCEDURE sp1()
3747
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3750
DROP PROCEDURE IF EXISTS sp1;
3751
CREATE PROCEDURE sp1()
3755
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long:BEGIN
3758
DROP PROCEDURE IF EXISTS sp1;
3759
CREATE PROCEDURE sp1()
3763
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob:BEGIN
3766
DROP PROCEDURE IF EXISTS sp1;
3767
CREATE PROCEDURE sp1()
3771
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext:BEGIN
3774
DROP PROCEDURE IF EXISTS sp1;
3775
CREATE PROCEDURE sp1()
3779
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3782
DROP PROCEDURE IF EXISTS sp1;
3783
CREATE PROCEDURE sp1()
3787
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority:BEGIN
3790
DROP PROCEDURE IF EXISTS sp1;
3791
CREATE PROCEDURE sp1()
3795
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match:BEGIN
3798
DROP PROCEDURE IF EXISTS sp1;
3799
CREATE PROCEDURE sp1()
3803
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob:BEGIN
3806
DROP PROCEDURE IF EXISTS sp1;
3807
CREATE PROCEDURE sp1()
3811
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint:BEGIN
3814
DROP PROCEDURE IF EXISTS sp1;
3815
CREATE PROCEDURE sp1()
3819
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext:BEGIN
3822
DROP PROCEDURE IF EXISTS sp1;
3823
CREATE PROCEDURE sp1()
3827
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint:BEGIN
3830
DROP PROCEDURE IF EXISTS sp1;
3831
CREATE PROCEDURE sp1()
3832
minute_microsecond:BEGIN
3835
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond:BEGIN
3838
DROP PROCEDURE IF EXISTS sp1;
3839
CREATE PROCEDURE sp1()
3843
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second:BEGIN
3846
DROP PROCEDURE IF EXISTS sp1;
3847
CREATE PROCEDURE sp1()
3851
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod:BEGIN
3854
DROP PROCEDURE IF EXISTS sp1;
3855
CREATE PROCEDURE sp1()
3859
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3862
DROP PROCEDURE IF EXISTS sp1;
3863
CREATE PROCEDURE sp1()
3867
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural:BEGIN
3870
DROP PROCEDURE IF EXISTS sp1;
3871
CREATE PROCEDURE sp1()
3875
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3878
DROP PROCEDURE IF EXISTS sp1;
3879
CREATE PROCEDURE sp1()
3880
no_write_to_binlog:BEGIN
3883
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog:BEGIN
3886
DROP PROCEDURE IF EXISTS sp1;
3887
CREATE PROCEDURE sp1()
3891
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null:BEGIN
3894
DROP PROCEDURE IF EXISTS sp1;
3895
CREATE PROCEDURE sp1()
3899
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric:BEGIN
3902
DROP PROCEDURE IF EXISTS sp1;
3903
CREATE PROCEDURE sp1()
3907
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on:BEGIN
3910
DROP PROCEDURE IF EXISTS sp1;
3911
CREATE PROCEDURE sp1()
3915
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
3918
DROP PROCEDURE IF EXISTS sp1;
3919
CREATE PROCEDURE sp1()
3923
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option:BEGIN
3926
DROP PROCEDURE IF EXISTS sp1;
3927
CREATE PROCEDURE sp1()
3931
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally:BEGIN
3934
DROP PROCEDURE IF EXISTS sp1;
3935
CREATE PROCEDURE sp1()
3939
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or:BEGIN
3942
DROP PROCEDURE IF EXISTS sp1;
3943
CREATE PROCEDURE sp1()
3947
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order:BEGIN
3950
DROP PROCEDURE IF EXISTS sp1;
3951
CREATE PROCEDURE sp1()
3955
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out:BEGIN
3958
DROP PROCEDURE IF EXISTS sp1;
3959
CREATE PROCEDURE sp1()
3963
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer:BEGIN
3966
DROP PROCEDURE IF EXISTS sp1;
3967
CREATE PROCEDURE sp1()
3971
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile:BEGIN
3974
DROP PROCEDURE IF EXISTS sp1;
3975
CREATE PROCEDURE sp1()
3979
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision:BEGIN
3982
DROP PROCEDURE IF EXISTS sp1;
3983
CREATE PROCEDURE sp1()
3987
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary:BEGIN
3990
DROP PROCEDURE IF EXISTS sp1;
3991
CREATE PROCEDURE sp1()
3995
DROP PROCEDURE IF EXISTS sp1;
3996
CREATE PROCEDURE sp1()
4000
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure:BEGIN
4003
DROP PROCEDURE IF EXISTS sp1;
4004
CREATE PROCEDURE sp1()
4008
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4011
DROP PROCEDURE IF EXISTS sp1;
4012
CREATE PROCEDURE sp1()
4016
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read:BEGIN
4019
DROP PROCEDURE IF EXISTS sp1;
4020
CREATE PROCEDURE sp1()
4024
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4027
DROP PROCEDURE IF EXISTS sp1;
4028
CREATE PROCEDURE sp1()
4032
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real:BEGIN
4035
DROP PROCEDURE IF EXISTS sp1;
4036
CREATE PROCEDURE sp1()
4040
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references:BEGIN
4043
DROP PROCEDURE IF EXISTS sp1;
4044
CREATE PROCEDURE sp1()
4048
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp:BEGIN
4051
DROP PROCEDURE IF EXISTS sp1;
4052
CREATE PROCEDURE sp1()
4056
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4059
DROP PROCEDURE IF EXISTS sp1;
4060
CREATE PROCEDURE sp1()
4064
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4067
DROP PROCEDURE IF EXISTS sp1;
4068
CREATE PROCEDURE sp1()
4072
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4075
DROP PROCEDURE IF EXISTS sp1;
4076
CREATE PROCEDURE sp1()
4080
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require:BEGIN
4083
DROP PROCEDURE IF EXISTS sp1;
4084
CREATE PROCEDURE sp1()
4088
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict:BEGIN
4091
DROP PROCEDURE IF EXISTS sp1;
4092
CREATE PROCEDURE sp1()
4096
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4099
DROP PROCEDURE IF EXISTS sp1;
4100
CREATE PROCEDURE sp1()
4104
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4107
DROP PROCEDURE IF EXISTS sp1;
4108
CREATE PROCEDURE sp1()
4112
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right:BEGIN
4115
DROP PROCEDURE IF EXISTS sp1;
4116
CREATE PROCEDURE sp1()
4120
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike:BEGIN
4123
DROP PROCEDURE IF EXISTS sp1;
4124
CREATE PROCEDURE sp1()
4128
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema:BEGIN
4131
DROP PROCEDURE IF EXISTS sp1;
4132
CREATE PROCEDURE sp1()
4136
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas:BEGIN
4139
DROP PROCEDURE IF EXISTS sp1;
4140
CREATE PROCEDURE sp1()
4141
second_microsecond:BEGIN
4144
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond:BEGIN
4147
DROP PROCEDURE IF EXISTS sp1;
4148
CREATE PROCEDURE sp1()
4152
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4155
DROP PROCEDURE IF EXISTS sp1;
4156
CREATE PROCEDURE sp1()
4160
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive:BEGIN
4163
DROP PROCEDURE IF EXISTS sp1;
4164
CREATE PROCEDURE sp1()
4168
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator:BEGIN
4171
DROP PROCEDURE IF EXISTS sp1;
4172
CREATE PROCEDURE sp1()
4176
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4179
DROP PROCEDURE IF EXISTS sp1;
4180
CREATE PROCEDURE sp1()
4184
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4187
DROP PROCEDURE IF EXISTS sp1;
4188
CREATE PROCEDURE sp1()
4192
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint:BEGIN
4195
DROP PROCEDURE IF EXISTS sp1;
4196
CREATE PROCEDURE sp1()
4200
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'soname:BEGIN
4203
DROP PROCEDURE IF EXISTS sp1;
4204
CREATE PROCEDURE sp1()
4208
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial:BEGIN
4211
DROP PROCEDURE IF EXISTS sp1;
4212
CREATE PROCEDURE sp1()
4216
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific:BEGIN
4219
DROP PROCEDURE IF EXISTS sp1;
4220
CREATE PROCEDURE sp1()
4224
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4227
DROP PROCEDURE IF EXISTS sp1;
4228
CREATE PROCEDURE sp1()
4232
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception:BEGIN
4235
DROP PROCEDURE IF EXISTS sp1;
4236
CREATE PROCEDURE sp1()
4240
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate:BEGIN
4243
DROP PROCEDURE IF EXISTS sp1;
4244
CREATE PROCEDURE sp1()
4248
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning:BEGIN
4251
DROP PROCEDURE IF EXISTS sp1;
4252
CREATE PROCEDURE sp1()
4253
sql_big_result:BEGIN
4256
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result:BEGIN
4259
DROP PROCEDURE IF EXISTS sp1;
4260
CREATE PROCEDURE sp1()
4261
sql_calc_found_rows:BEGIN
4264
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows:BEGIN
4267
DROP PROCEDURE IF EXISTS sp1;
4268
CREATE PROCEDURE sp1()
4269
sql_small_result:BEGIN
4272
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result:BEGIN
4275
DROP PROCEDURE IF EXISTS sp1;
4276
CREATE PROCEDURE sp1()
4280
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl:BEGIN
4283
DROP PROCEDURE IF EXISTS sp1;
4284
CREATE PROCEDURE sp1()
4288
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting:BEGIN
4291
DROP PROCEDURE IF EXISTS sp1;
4292
CREATE PROCEDURE sp1()
4296
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join:BEGIN
4299
DROP PROCEDURE IF EXISTS sp1;
4300
CREATE PROCEDURE sp1()
4304
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table:BEGIN
4307
DROP PROCEDURE IF EXISTS sp1;
4308
CREATE PROCEDURE sp1()
4312
DROP PROCEDURE IF EXISTS sp1;
4313
CREATE PROCEDURE sp1()
4317
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated:BEGIN
4320
DROP PROCEDURE IF EXISTS sp1;
4321
CREATE PROCEDURE sp1()
4325
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then:BEGIN
4328
DROP PROCEDURE IF EXISTS sp1;
4329
CREATE PROCEDURE sp1()
4333
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob:BEGIN
4336
DROP PROCEDURE IF EXISTS sp1;
4337
CREATE PROCEDURE sp1()
4341
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint:BEGIN
4344
DROP PROCEDURE IF EXISTS sp1;
4345
CREATE PROCEDURE sp1()
4349
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext:BEGIN
4352
DROP PROCEDURE IF EXISTS sp1;
4353
CREATE PROCEDURE sp1()
4357
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to:BEGIN
4360
DROP PROCEDURE IF EXISTS sp1;
4361
CREATE PROCEDURE sp1()
4365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing:BEGIN
4368
DROP PROCEDURE IF EXISTS sp1;
4369
CREATE PROCEDURE sp1()
4373
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger:BEGIN
4376
DROP PROCEDURE IF EXISTS sp1;
4377
CREATE PROCEDURE sp1()
4381
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true:BEGIN
4384
DROP PROCEDURE IF EXISTS sp1;
4385
CREATE PROCEDURE sp1()
4389
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo:BEGIN
4392
DROP PROCEDURE IF EXISTS sp1;
4393
CREATE PROCEDURE sp1()
4397
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union:BEGIN
4400
DROP PROCEDURE IF EXISTS sp1;
4401
CREATE PROCEDURE sp1()
4405
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique:BEGIN
4408
DROP PROCEDURE IF EXISTS sp1;
4409
CREATE PROCEDURE sp1()
4413
ERROR 0A000: UNLOCK is not allowed in stored procedures
4414
DROP PROCEDURE IF EXISTS sp1;
4415
CREATE PROCEDURE sp1()
4419
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned:BEGIN
4422
DROP PROCEDURE IF EXISTS sp1;
4423
CREATE PROCEDURE sp1()
4427
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4430
DROP PROCEDURE IF EXISTS sp1;
4431
CREATE PROCEDURE sp1()
4435
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage:BEGIN
4438
DROP PROCEDURE IF EXISTS sp1;
4439
CREATE PROCEDURE sp1()
4443
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4446
DROP PROCEDURE IF EXISTS sp1;
4447
CREATE PROCEDURE sp1()
4451
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using:BEGIN
4454
DROP PROCEDURE IF EXISTS sp1;
4455
CREATE PROCEDURE sp1()
4459
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date:BEGIN
4462
DROP PROCEDURE IF EXISTS sp1;
4463
CREATE PROCEDURE sp1()
4467
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time:BEGIN
4470
DROP PROCEDURE IF EXISTS sp1;
4471
CREATE PROCEDURE sp1()
4475
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp:BEGIN
4478
DROP PROCEDURE IF EXISTS sp1;
4479
CREATE PROCEDURE sp1()
4483
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values:BEGIN
4486
DROP PROCEDURE IF EXISTS sp1;
4487
CREATE PROCEDURE sp1()
4491
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary:BEGIN
4494
DROP PROCEDURE IF EXISTS sp1;
4495
CREATE PROCEDURE sp1()
4499
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar:BEGIN
4502
DROP PROCEDURE IF EXISTS sp1;
4503
CREATE PROCEDURE sp1()
4507
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter:BEGIN
4510
DROP PROCEDURE IF EXISTS sp1;
4511
CREATE PROCEDURE sp1()
4515
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying:BEGIN
4518
DROP PROCEDURE IF EXISTS sp1;
4519
CREATE PROCEDURE sp1()
4523
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when:BEGIN
4526
DROP PROCEDURE IF EXISTS sp1;
4527
CREATE PROCEDURE sp1()
4531
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where:BEGIN
4534
DROP PROCEDURE IF EXISTS sp1;
4535
CREATE PROCEDURE sp1()
4539
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4542
DROP PROCEDURE IF EXISTS sp1;
4543
CREATE PROCEDURE sp1()
4547
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with:BEGIN
4550
DROP PROCEDURE IF EXISTS sp1;
4551
CREATE PROCEDURE sp1()
4555
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write:BEGIN
4558
DROP PROCEDURE IF EXISTS sp1;
4559
CREATE PROCEDURE sp1()
4563
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor:BEGIN
4566
DROP PROCEDURE IF EXISTS sp1;
4567
CREATE PROCEDURE sp1()
4571
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month:BEGIN
4574
DROP PROCEDURE IF EXISTS sp1;
4575
CREATE PROCEDURE sp1()
4579
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill:BEGIN
4585
Ensure that the labels for multiple BEGIN an END work properly
4586
--------------------------------------------------------------------------------
4587
DROP PROCEDURE IF EXISTS sp1;
4588
CREATE PROCEDURE sp1( )
4597
SELECT f1, f2 into x, y from t2 limit 1;
4607
Warning 1265 Data truncated for column 'x' at row 1
4608
Warning 1265 Data truncated for column 'y' at row 1
4613
Ensure that the labels enclosing each BEGIN/END compound statement must match.
4614
--------------------------------------------------------------------------------
4615
DROP PROCEDURE IF EXISTS sp1;
4616
CREATE PROCEDURE sp1( )
4620
SELECT lf1, f1 into x, y from t2 limit 1;
4624
SELECT f1, f2 into x, y from t2 limit 1;
4626
END begin1_changed//
4627
ERROR 42000: End-label begin2_changed without match
4631
Ensure that it is possible to put a beginning label at the start of a
4632
BEGIN/END compound statement without also requiring an ending label
4633
at the END of the same statement.
4634
--------------------------------------------------------------------------------
4635
DROP PROCEDURE IF EXISTS sp1;
4636
CREATE PROCEDURE sp1( )
4640
SELECT f1, f2 into x, y from t2 limit 1;
4644
Warning 1265 Data truncated for column 'x' at row 1
4645
Warning 1265 Data truncated for column 'y' at row 1
4650
Ensure that it is not possible to put an ending label at the END of
4651
a BEGIN/END compound statement without also requiring a matching
4652
beginning label at the start of the same statement
4653
--------------------------------------------------------------------------------
4654
DROP PROCEDURE IF EXISTS sp1;
4655
CREATE PROCEDURE sp1( )
4659
SELECT f1, f2 into x, y from t2 limit 1;
4661
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'begin_label' at line 6
4665
Ensure that every beginning label must END with a colon(:)
4666
--------------------------------------------------------------------------------
4667
DROP PROCEDURE IF EXISTS sp1;
4668
CREATE PROCEDURE sp1( )
4672
SELECT f1, f2 into x, y from t2 limit 1;
4674
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BEGIN
4677
SELECT f1, f2 into x, y from t2 limit 1;
4682
Ensure that every beginning label with the same scope must be unique. (same label names)
4683
--------------------------------------------------------------------------------
4684
DROP PROCEDURE IF EXISTS sp6;
4685
CREATE PROCEDURE sp6( )
4686
begin_samelabel: BEGIN
4689
SELECT f1, f2 into x, y from t2 limit 1;
4690
begin_samelabel: BEGIN
4693
SELECT f1, f2 into x, y from t2 limit 1;
4694
END begin_samelabel;
4695
begin_samelabel: BEGIN
4698
SELECT f1, f2 into x, y from t2 limit 1;
4699
END begin_samelabel;
4700
END begin_samelabel//
4701
ERROR 42000: Redefining label begin_samelabel
4705
Ensure that the variables, cursors, conditions, and handlers declared for
4706
a stored procedure (with the declare statement) may only be properly defined
4707
--------------------------------------------------------------------------------
4708
DROP PROCEDURE IF EXISTS sp6;
4709
FIXME: Following test contains a known problem that will be checked again
4710
FIXME: after WL#2984 has been completed: DECIMAL(255,255) is not rejected
4711
CREATE PROCEDURE sp6( )
4713
declare x char default 'a';
4714
declare y integer default 1;
4715
declare z float default 1.1;
4716
declare a enum("value1", "value2") default 'value1';
4717
declare b decimal(255, 255) default 1.2e+12;
4718
declare c mediumtext default 'mediumtext';
4719
declare d datetime default '2005-02-02 12:12:12';
4720
declare e char default 'b';
4721
declare cur1 cursor for SELECT f1 from db_storedproc.t2;
4722
declare continue handler for sqlstate '02000' set @x2 = 1;
4725
SELECT x, y, z, a, b, c, d, e;
4728
ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
4730
ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
4731
DROP PROCEDURE IF EXISTS sp6;
4732
CREATE PROCEDURE sp6( )
4734
declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
4735
SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
4738
x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
4744
Ensure that the variables declared for a stored procedure (with the declare
4745
statement) may only be defined in the correct order.
4746
--------------------------------------------------------------------------------
4747
DROP PROCEDURE IF EXISTS sp6;
4748
CREATE PROCEDURE sp6( )
4750
declare x default '0' char;
4753
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default '0' char;
4756
DROP PROCEDURE IF EXISTS sp6;
4757
CREATE PROCEDURE sp6( )
4759
declare x char, integer default '0';
4762
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char, integer default '0';
4765
DROP PROCEDURE IF EXISTS sp6;
4766
CREATE PROCEDURE sp6( )
4768
declare x1, x2 char, integer default '0', 1;
4771
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char, integer default '0', 1;
4774
DROP PROCEDURE IF EXISTS sp6;
4775
CREATE PROCEDURE sp1( )
4779
SELECT f1, f2 into x, y from t2 limit 1;
4781
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
4783
SELECT f1, f2 into x, y from t2 limit 1;
4785
DROP PROCEDURE IF EXISTS sp6;
4786
CREATE PROCEDURE sp1( )
4788
declare char x, y1 integer default 0;
4790
SELECT f1, f2 into x, y from t2 limit 1;
4792
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x, y1 integer default 0;
4794
SELECT f1, f2 into x, y from t2 li' at line 3
4795
DROP PROCEDURE IF EXISTS sp6;
4796
CREATE PROCEDURE sp6( )
4798
declare x default 'a' char;
4800
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default 'a' char;
4802
DROP PROCEDURE IF EXISTS sp6;
4803
CREATE PROCEDURE sp6( )
4805
declare condition notable for sqlstate '42s22';
4807
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition notable for sqlstate '42s22';
4809
DROP PROCEDURE IF EXISTS sp6;
4810
CREATE PROCEDURE sp6( )
4812
declare condition for notable sqlstate '42s22';
4814
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for notable sqlstate '42s22';
4816
DROP PROCEDURE IF EXISTS sp6;
4817
CREATE PROCEDURE sp6( )
4819
declare condition for sqlstate notable '42s22';
4821
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate notable '42s22';
4823
DROP PROCEDURE IF EXISTS sp6;
4824
CREATE PROCEDURE sp6( )
4826
declare condition for sqlstate '42s22' notable;
4828
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '42s22' notable;
4830
DROP PROCEDURE IF EXISTS sp6;
4831
CREATE PROCEDURE sp6( )
4833
declare cursor cur1 for SELECT f1 from db_storedproc.t2;
4835
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2;
4837
DROP PROCEDURE IF EXISTS sp6;
4838
CREATE PROCEDURE sp6( )
4840
declare cursor for cur1 SELECT f1 from db_storedproc.t2;
4842
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2;
4844
DROP PROCEDURE IF EXISTS sp6;
4845
CREATE PROCEDURE sp6( )
4847
declare cursor for SELECT cur1 f1 from db_storedproc.t2;
4849
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2;
4851
DROP PROCEDURE IF EXISTS sp6;
4852
CREATE PROCEDURE sp6( )
4854
declare handler continue for sqlstate '02000' set @x2 = 1;
4856
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue for sqlstate '02000' set @x2 = 1;
4858
DROP PROCEDURE IF EXISTS sp6;
4859
CREATE PROCEDURE sp6( )
4861
declare handler exit for sqlstate '02000' set @x2 = 1;
4863
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1;
4865
DROP PROCEDURE IF EXISTS sp6;
4866
CREATE PROCEDURE sp6( )
4868
declare handler undo for sqlstate '02000' set @x2 = 1;
4870
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo for sqlstate '02000' set @x2 = 1;
4872
DROP PROCEDURE IF EXISTS sp1;
4873
CREATE PROCEDURE sp1( )
4876
SELECT f1 into x from tb1 limit 9998, 1;
4878
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
4879
SELECT f1 into x from tb1 limit 9998, 1;
4881
DROP PROCEDURE IF EXISTS sp1;
4882
CREATE PROCEDURE sp1( )
4884
declare char binary x;
4885
SELECT f2 into x from tb1 limit 9998, 1;
4887
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary x;
4888
SELECT f2 into x from tb1 limit 9998, 1;
4890
DROP PROCEDURE IF EXISTS sp1;
4891
CREATE PROCEDURE sp1( )
4893
declare char ascii x;
4894
SELECT f3 into x from tb1 limit 9998, 1;
4896
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii x;
4897
SELECT f3 into x from tb1 limit 9998, 1;
4899
DROP PROCEDURE IF EXISTS sp1;
4900
CREATE PROCEDURE sp1( )
4903
SELECT f4 into x from tb1 limit 9998, 1;
4905
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext x;
4906
SELECT f4 into x from tb1 limit 9998, 1;
4908
DROP PROCEDURE IF EXISTS sp1;
4909
CREATE PROCEDURE sp1( )
4912
SELECT f5 text into x from tb1 limit 9998, 1;
4914
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
4915
SELECT f5 text into x from tb1 limit 9998, 1;
4917
DROP PROCEDURE IF EXISTS sp1;
4918
CREATE PROCEDURE sp1( )
4920
declare mediumtext x;
4921
SELECT f6 into x from tb1 limit 9998, 1;
4923
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext x;
4924
SELECT f6 into x from tb1 limit 9998, 1;
4926
DROP PROCEDURE IF EXISTS sp1;
4927
CREATE PROCEDURE sp1( )
4930
SELECT f7 into x from tb1 limit 9998, 1;
4932
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext x;
4933
SELECT f7 into x from tb1 limit 9998, 1;
4935
DROP PROCEDURE IF EXISTS sp1;
4936
CREATE PROCEDURE sp1( )
4939
SELECT f8 into x from tb1 limit 9998, 1;
4941
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob x;
4942
SELECT f8 into x from tb1 limit 9998, 1;
4944
DROP PROCEDURE IF EXISTS sp1;
4945
CREATE PROCEDURE sp1( )
4948
SELECT f9 into x from tb1 limit 9998, 1;
4950
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob x;
4951
SELECT f9 into x from tb1 limit 9998, 1;
4953
DROP PROCEDURE IF EXISTS sp1;
4954
CREATE PROCEDURE sp1( )
4956
declare mediumblob x;
4957
SELECT f10 into x from tb1 limit 9998, 1;
4959
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob x;
4960
SELECT f10 into x from tb1 limit 9998, 1;
4962
DROP PROCEDURE IF EXISTS sp1;
4963
CREATE PROCEDURE sp1( )
4966
SELECT f11 into x from tb1 limit 9998, 1;
4968
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob x;
4969
SELECT f11 into x from tb1 limit 9998, 1;
4971
DROP PROCEDURE IF EXISTS sp1;
4972
CREATE PROCEDURE sp1( )
4975
SELECT f12 into x from tb1 limit 9998, 1;
4977
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary x;
4978
SELECT f12 into x from tb1 limit 9998, 1;
4980
DROP PROCEDURE IF EXISTS sp1;
4981
CREATE PROCEDURE sp1( )
4984
SELECT f13 into x from tb1 limit 9998, 1;
4986
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint x;
4987
SELECT f13 into x from tb1 limit 9998, 1;
4989
DROP PROCEDURE IF EXISTS sp1;
4990
CREATE PROCEDURE sp1( )
4992
declare tinyint unsigned x;
4993
SELECT f14 into x from tb1 limit 9998, 1;
4995
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned x;
4996
SELECT f14 into x from tb1 limit 9998, 1;
4998
DROP PROCEDURE IF EXISTS sp1;
4999
CREATE PROCEDURE sp1( )
5001
declare tinyint zerofill x;
5002
SELECT f15 into x from tb1 limit 9998, 1;
5004
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill x;
5005
SELECT f15 into x from tb1 limit 9998, 1;
5007
DROP PROCEDURE IF EXISTS sp1;
5008
CREATE PROCEDURE sp1( )
5010
declare tinyint unsigned zerofill x;
5011
SELECT f16 into x from tb1 limit 9998, 1;
5013
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill x;
5014
SELECT f16 into x from tb1 limit 9998, 1;
5016
DROP PROCEDURE IF EXISTS sp1;
5017
CREATE PROCEDURE sp1( )
5020
SELECT f17 into x from tb1 limit 9998, 1;
5022
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint x;
5023
SELECT f17 into x from tb1 limit 9998, 1;
5025
DROP PROCEDURE IF EXISTS sp1;
5026
CREATE PROCEDURE sp1( )
5028
declare smallint unsigned x;
5029
SELECT f18 into x from tb1 limit 9998, 1;
5031
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned x;
5032
SELECT f18 into x from tb1 limit 9998, 1;
5034
DROP PROCEDURE IF EXISTS sp1;
5035
CREATE PROCEDURE sp1( )
5037
declare smallint zerofill x;
5038
SELECT f19 into x from tb1 limit 9998, 1;
5040
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill x;
5041
SELECT f19 into x from tb1 limit 9998, 1;
5043
DROP PROCEDURE IF EXISTS sp1;
5044
CREATE PROCEDURE sp1( )
5046
declare smallint unsigned zerofill x;
5047
SELECT f20 into x from tb1 limit 9998, 1;
5049
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill x;
5050
SELECT f20 into x from tb1 limit 9998, 1;
5052
DROP PROCEDURE IF EXISTS sp1;
5053
CREATE PROCEDURE sp1( )
5055
declare mediumint x;
5056
SELECT f21 into x from tb1 limit 9998, 1;
5058
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint x;
5059
SELECT f21 into x from tb1 limit 9998, 1;
5061
DROP PROCEDURE IF EXISTS sp1;
5062
CREATE PROCEDURE sp1( )
5064
declare mediumint unsigned x;
5065
SELECT f22 into x from tb1 limit 9998, 1;
5067
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned x;
5068
SELECT f22 into x from tb1 limit 9998, 1;
5070
DROP PROCEDURE IF EXISTS sp1;
5071
CREATE PROCEDURE sp1( )
5073
declare mediumint zerofill x;
5074
SELECT f23 into x from tb1 limit 9998, 1;
5076
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill x;
5077
SELECT f23 into x from tb1 limit 9998, 1;
5079
DROP PROCEDURE IF EXISTS sp1;
5080
CREATE PROCEDURE sp1( )
5082
declare mediumint unsigned zerofill x;
5083
SELECT f24 into x from tb1 limit 9998, 1;
5085
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill x;
5086
SELECT f24 into x from tb1 limit 9998, 1;
5088
DROP PROCEDURE IF EXISTS sp1;
5089
CREATE PROCEDURE sp1( )
5092
SELECT f25 into x from tb1 limit 9998, 1;
5094
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int x;
5095
SELECT f25 into x from tb1 limit 9998, 1;
5097
DROP PROCEDURE IF EXISTS sp1;
5098
CREATE PROCEDURE sp1( )
5100
declare int unsigned x;
5101
SELECT f26 into x from tb1 limit 9998, 1;
5103
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned x;
5104
SELECT f26 into x from tb1 limit 9998, 1;
5106
DROP PROCEDURE IF EXISTS sp1;
5107
CREATE PROCEDURE sp1( )
5109
declare int zerofill x;
5110
SELECT f27 into x from tb1 limit 9998, 1;
5112
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill x;
5113
SELECT f27 into x from tb1 limit 9998, 1;
5115
DROP PROCEDURE IF EXISTS sp1;
5116
CREATE PROCEDURE sp1( )
5118
declare int unsigned zerofill x;
5119
SELECT f28 into x from tb1 limit 9998, 1;
5121
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill x;
5122
SELECT f28 into x from tb1 limit 9998, 1;
5124
DROP PROCEDURE IF EXISTS sp1;
5125
CREATE PROCEDURE sp1( )
5128
SELECT f29 into x from tb1 limit 9998, 1;
5130
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint x;
5131
SELECT f29 into x from tb1 limit 9998, 1;
5133
DROP PROCEDURE IF EXISTS sp1;
5134
CREATE PROCEDURE sp1( )
5136
declare bigint unsigned x;
5137
elect f30 into x from tb1 limit 9998, 1;
5139
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned x;
5140
elect f30 into x from tb1 limit 9998, 1;
5142
DROP PROCEDURE IF EXISTS sp1;
5143
CREATE PROCEDURE sp1( )
5145
declare bigint zerofill x;
5146
SELECT f31 into x from tb1 limit 9998, 1;
5148
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill x;
5149
SELECT f31 into x from tb1 limit 9998, 1;
5151
DROP PROCEDURE IF EXISTS sp1;
5152
CREATE PROCEDURE sp1( )
5154
declare bigint unsigned zerofill x;
5155
SELECT f32 into x from tb1 limit 9998, 1;
5157
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill x;
5158
SELECT f32 into x from tb1 limit 9998, 1;
5160
DROP PROCEDURE IF EXISTS sp1;
5161
CREATE PROCEDURE sp1( )
5164
SELECT f33 into x from tb1 limit 9998, 1;
5166
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal x;
5167
SELECT f33 into x from tb1 limit 9998, 1;
5169
DROP PROCEDURE IF EXISTS sp1;
5170
CREATE PROCEDURE sp1( )
5172
declare decimal unsigned x;
5173
SELECT f34 into x from tb1 limit 9998, 1;
5175
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned x;
5176
SELECT f34 into x from tb1 limit 9998, 1;
5178
DROP PROCEDURE IF EXISTS sp1;
5179
CREATE PROCEDURE sp1( )
5181
declare decimal zerofill x;
5182
SELECT f35 into x from tb1 limit 9998, 1;
5184
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill x;
5185
SELECT f35 into x from tb1 limit 9998, 1;
5187
DROP PROCEDURE IF EXISTS sp1;
5188
CREATE PROCEDURE sp1( )
5190
declare decimal unsigned zerofill not null x;
5191
SELECT f36 into x from tb1 limit 9998, 1;
5193
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill not null x;
5194
SELECT f36 into x from tb1 limit 9998, 1;' at line 3
5195
DROP PROCEDURE IF EXISTS sp1;
5196
CREATE PROCEDURE sp1( )
5198
declare decimal (0) not null x;
5199
SELECT f37 into x from tb1 limit 9998, 1;
5201
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) not null x;
5202
SELECT f37 into x from tb1 limit 9998, 1;
5204
DROP PROCEDURE IF EXISTS sp1;
5205
CREATE PROCEDURE sp1( )
5207
declare decimal (64) not null x;
5208
SELECT f38 into x from tb1 limit 9998, 1;
5210
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) not null x;
5211
SELECT f38 into x from tb1 limit 9998, 1;
5213
DROP PROCEDURE IF EXISTS sp1;
5214
CREATE PROCEDURE sp1( )
5216
declare decimal (0) unsigned not null x;
5217
SELECT f39 into x from tb1 limit 9998, 1;
5219
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned not null x;
5220
SELECT f39 into x from tb1 limit 9998, 1;
5222
DROP PROCEDURE IF EXISTS sp1;
5223
CREATE PROCEDURE sp1( )
5225
declare decimal (64) unsigned not null x;
5226
SELECT f40 into x from tb1 limit 9998, 1;
5228
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned not null x;
5229
SELECT f40 into x from tb1 limit 9998, 1;
5231
DROP PROCEDURE IF EXISTS sp1;
5232
CREATE PROCEDURE sp1( )
5234
declare decimal (0) zerofill not null x;
5235
SELECT f41 into x from tb1 limit 9998, 1;
5237
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) zerofill not null x;
5238
SELECT f41 into x from tb1 limit 9998, 1;
5240
DROP PROCEDURE IF EXISTS sp1;
5241
CREATE PROCEDURE sp1( )
5243
declare decimal (64) zerofill not null x;
5244
SELECT f42 into x from tb1 limit 9998, 1;
5246
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x;
5247
SELECT f42 into x from tb1 limit 9998, 1;
5249
DROP PROCEDURE IF EXISTS sp1;
5250
CREATE PROCEDURE sp1( )
5252
declare decimal (0) unsigned zerofill not null x;
5253
SELECT f43 into x from tb1 limit 9998, 1;
5255
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x;
5256
SELECT f43 into x from tb1 limit 9998' at line 3
5257
DROP PROCEDURE IF EXISTS sp1;
5258
CREATE PROCEDURE sp1( )
5260
declare decimal (64) unsigned zerofill not null x;
5261
SELECT f44 into x from tb1 limit 9998, 1;
5263
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x;
5264
SELECT f44 into x from tb1 limit 999' at line 3
5265
DROP PROCEDURE IF EXISTS sp1;
5266
CREATE PROCEDURE sp1( )
5268
declare decimal (00) not null x;
5269
SELECT f45 into x from tb1 limit 9998, 1;
5271
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) not null x;
5272
SELECT f45 into x from tb1 limit 9998, 1;
5274
DROP PROCEDURE IF EXISTS sp1;
5275
CREATE PROCEDURE sp1( )
5277
declare decimal (63, 30) not null x;
5278
SELECT f46 into x from tb1 limit 9998, 1;
5280
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) not null x;
5281
SELECT f46 into x from tb1 limit 9998, 1;
5283
DROP PROCEDURE IF EXISTS sp1;
5284
CREATE PROCEDURE sp1( )
5286
declare decimal (00) unsigned not null x;
5287
SELECT f47 into x from tb1 limit 9998, 1;
5289
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned not null x;
5290
SELECT f47 into x from tb1 limit 9998, 1;
5292
DROP PROCEDURE IF EXISTS sp1;
5293
CREATE PROCEDURE sp1( )
5295
declare decimal (63, 30) unsigned not null x;
5296
SELECT f48 into x from tb1 limit 9998, 1;
5298
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned not null x;
5299
SELECT f48 into x from tb1 limit 9998, 1;' at line 3
5300
DROP PROCEDURE IF EXISTS sp1;
5301
CREATE PROCEDURE sp1( )
5303
declare decimal (00) zerofill not null x;
5304
SELECT f49 into x from tb1 limit 9998, 1;
5306
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) zerofill not null x;
5307
SELECT f49 into x from tb1 limit 9998, 1;
5309
DROP PROCEDURE IF EXISTS sp1;
5310
CREATE PROCEDURE sp1( )
5312
declare decimal (63, 30) zerofill not null x;
5313
SELECT f50 into x from tb1 limit 9998, 1;
5315
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) zerofill not null x;
5316
SELECT f50 into x from tb1 limit 9998, 1;' at line 3
5317
DROP PROCEDURE IF EXISTS sp1;
5318
CREATE PROCEDURE sp1( )
5320
declare decimal (00) unsigned zerofill not null x;
5321
SELECT f51 into x from tb1 limit 9998, 1;
5323
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
5324
SELECT f51 into x from tb1 limit 999' at line 3
5325
DROP PROCEDURE IF EXISTS sp1;
5326
CREATE PROCEDURE sp1( )
5328
declare decimal (63, 30) unsigned zerofill not null x;
5329
SELECT f52 into x from tb1 limit 9998, 1;
5331
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x;
5332
SELECT f52 into x from tb1 limit' at line 3
5333
DROP PROCEDURE IF EXISTS sp1;
5334
CREATE PROCEDURE sp1( )
5336
declare numeric not null x;
5337
SELECT f53 into x from tb1 limit 9998, 1;
5339
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric not null x;
5340
SELECT f53 into x from tb1 limit 9998, 1;
5342
DROP PROCEDURE IF EXISTS sp1;
5343
CREATE PROCEDURE sp1( )
5345
declare numeric unsigned not null x;
5346
SELECT f54 into x from tb1 limit 9998, 1;
5348
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned not null x;
5349
SELECT f54 into x from tb1 limit 9998, 1;
5351
DROP PROCEDURE IF EXISTS sp1;
5352
CREATE PROCEDURE sp1( )
5354
declare numeric zerofill not null x;
5355
SELECT f55 into x from tb1 limit 9998, 1;
5357
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill not null x;
5358
SELECT f55 into x from tb1 limit 9998, 1;
5360
DROP PROCEDURE IF EXISTS sp1;
5361
CREATE PROCEDURE sp1( )
5363
declare numeric unsigned zerofill not null x;
5364
SELECT f56 into x from tb1 limit 9998, 1;
5366
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill not null x;
5367
SELECT f56 into x from tb1 limit 9998, 1;' at line 3
5368
DROP PROCEDURE IF EXISTS sp1;
5369
CREATE PROCEDURE sp1( )
5371
declare numeric (0) not null x;
5372
SELECT f57 into x from tb1 limit 9998, 1;
5374
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) not null x;
5375
SELECT f57 into x from tb1 limit 9998, 1;
5377
DROP PROCEDURE IF EXISTS sp1;
5378
CREATE PROCEDURE sp1( )
5380
declare numeric (64) not nul x;
5381
SELECT f58 into x from tb1 limit 9998, 1;
5383
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) not nul x;
5384
SELECT f58 into x from tb1 limit 9998, 1;
5386
DROP PROCEDURE IF EXISTS sp1;
5387
CREATE PROCEDURE sp1( )
5389
declare numeric (0) unsigned x;
5390
SELECT f59 into x from tb2 limit 9998, 1;
5392
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned x;
5393
SELECT f59 into x from tb2 limit 9998, 1;
5395
DROP PROCEDURE IF EXISTS sp1;
5396
CREATE PROCEDURE sp1( )
5398
declare numeric (64) unsigned x;
5399
SELECT f60 into x from tb2 limit 9998, 1;
5401
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned x;
5402
SELECT f60 into x from tb2 limit 9998, 1;
5404
DROP PROCEDURE IF EXISTS sp1;
5405
CREATE PROCEDURE sp1( )
5407
declare numeric (0) zerofill x;
5408
SELECT f61 into x from tb2 limit 9998, 1;
5410
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) zerofill x;
5411
SELECT f61 into x from tb2 limit 9998, 1;
5413
DROP PROCEDURE IF EXISTS sp1;
5414
CREATE PROCEDURE sp1( )
5416
declare numeric (64) zerofill x;
5417
SELECT f62 into x from tb2 limit 9998, 1;
5419
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x;
5420
SELECT f62 into x from tb2 limit 9998, 1;
5422
DROP PROCEDURE IF EXISTS sp1;
5423
CREATE PROCEDURE sp1( )
5425
declare numeric (0) unsigned zerofill x;
5426
SELECT f63 into x from tb2 limit 9998, 1;
5428
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned zerofill x;
5429
SELECT f63 into x from tb2 limit 9998, 1;
5431
DROP PROCEDURE IF EXISTS sp1;
5432
CREATE PROCEDURE sp1( )
5434
declare numeric (64) unsigned zerofill x;
5435
SELECT f64 into x from tb2 limit 9998, 1;
5437
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned zerofill x;
5438
SELECT f64 into x from tb2 limit 9998, 1;
5440
DROP PROCEDURE IF EXISTS sp1;
5441
CREATE PROCEDURE sp1( )
5443
declare numeric (00) x;
5444
SELECT f65 into x from tb2 limit 9998, 1;
5446
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) x;
5447
SELECT f65 into x from tb2 limit 9998, 1;
5449
DROP PROCEDURE IF EXISTS sp1;
5450
CREATE PROCEDURE sp1( )
5452
declare numeric (63, 30) x;
5453
SELECT f66 into x from tb2 limit 9998, 1;
5455
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) x;
5456
SELECT f66 into x from tb2 limit 9998, 1;
5458
DROP PROCEDURE IF EXISTS sp1;
5459
CREATE PROCEDURE sp1( )
5461
declare numeric (00) unsigned x;
5462
SELECT f67 into x from tb2 limit 9998, 1;
5464
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned x;
5465
SELECT f67 into x from tb2 limit 9998, 1;
5467
DROP PROCEDURE IF EXISTS sp1;
5468
CREATE PROCEDURE sp1( )
5470
declare numeric (63, 30) unsigned x;
5471
SELECT f68 into x from tb2 limit 9998, 1;
5473
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned x;
5474
SELECT f68 into x from tb2 limit 9998, 1;
5476
DROP PROCEDURE IF EXISTS sp1;
5477
CREATE PROCEDURE sp1( )
5479
declare numeric (00) zerofill x;
5480
SELECT f69 into x from tb2 limit 9998, 1;
5482
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x;
5483
SELECT f69 into x from tb2 limit 9998, 1;
5485
DROP PROCEDURE IF EXISTS sp1;
5486
CREATE PROCEDURE sp1( )
5488
declare numeric (63, 30) zerofill x;
5489
SELECT f70 into x from tb2 limit 9998, 1;
5491
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) zerofill x;
5492
SELECT f70 into x from tb2 limit 9998, 1;
5494
DROP PROCEDURE IF EXISTS sp1;
5495
CREATE PROCEDURE sp1( )
5497
declare numeric (00) unsigned zerofill x;
5498
SELECT f71 into x from tb2 limit 9998, 1;
5500
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned zerofill x;
5501
SELECT f71 into x from tb2 limit 9998, 1;
5503
DROP PROCEDURE IF EXISTS sp1;
5504
CREATE PROCEDURE sp1( )
5506
declare numeric (63, 30) unsigned zerofill x;
5507
SELECT f72 into x from tb2 limit 9998, 1;
5509
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x;
5510
SELECT f72 into x from tb2 limit 9998, 1;' at line 3
5511
DROP PROCEDURE IF EXISTS sp1;
5512
CREATE PROCEDURE sp1( )
5515
SELECT f73 into x from tb2 limit 9998, 1;
5517
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x;
5518
SELECT f73 into x from tb2 limit 9998, 1;
5520
DROP PROCEDURE IF EXISTS sp1;
5521
CREATE PROCEDURE sp1( )
5523
declare real unsigned x;
5524
SELECT f74 into x from tb2 limit 9998, 1;
5526
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned x;
5527
SELECT f74 into x from tb2 limit 9998, 1;
5529
DROP PROCEDURE IF EXISTS sp1;
5530
CREATE PROCEDURE sp1( )
5532
declare real zerofill x;
5533
SELECT f75 into x from tb2 limit 9998, 1;
5535
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill x;
5536
SELECT f75 into x from tb2 limit 9998, 1;
5538
DROP PROCEDURE IF EXISTS sp1;
5539
CREATE PROCEDURE sp1( )
5541
declare real unsigned zerofill x;
5542
SELECT f76 into x from tb2 limit 9998, 1;
5544
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill x;
5545
SELECT f76 into x from tb2 limit 9998, 1;
5547
DROP PROCEDURE IF EXISTS sp1;
5548
CREATE PROCEDURE sp1( )
5551
SELECT f77 into x from tb2 limit 9998, 1;
5553
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double x;
5554
SELECT f77 into x from tb2 limit 9998, 1;
5556
DROP PROCEDURE IF EXISTS sp1;
5557
CREATE PROCEDURE sp1( )
5559
declare double unsigned x;
5560
SELECT f78 into x from tb2 limit 9998, 1;
5562
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned x;
5563
SELECT f78 into x from tb2 limit 9998, 1;
5565
DROP PROCEDURE IF EXISTS sp1;
5566
CREATE PROCEDURE sp1( )
5568
declare double zerofill x;
5569
SELECT f79 into x from tb2 limit 9998, 1;
5571
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double zerofill x;
5572
SELECT f79 into x from tb2 limit 9998, 1;
5574
DROP PROCEDURE IF EXISTS sp1;
5575
CREATE PROCEDURE sp1( )
5577
declare double unsigned zerofill x;
5578
SELECT f80 into x from tb2 limit 9998, 1;
5580
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x;
5581
SELECT f80 into x from tb2 limit 9998, 1;
5583
DROP PROCEDURE IF EXISTS sp1;
5584
CREATE PROCEDURE sp1( )
5586
declare float not null x;
5587
SELECT f81 into x from tb2 limit 9998, 1;
5589
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float not null x;
5590
SELECT f81 into x from tb2 limit 9998, 1;
5592
DROP PROCEDURE IF EXISTS sp1;
5593
CREATE PROCEDURE sp1( )
5595
declare float unsigned not null x;
5596
SELECT f82 into x from tb2 limit 9998, 1;
5598
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned not null x;
5599
SELECT f82 into x from tb2 limit 9998, 1;
5601
DROP PROCEDURE IF EXISTS sp1;
5602
CREATE PROCEDURE sp1( )
5604
declare float zerofill not null x;
5605
SELECT f83 into x from tb2 limit 9998, 1;
5607
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill not null x;
5608
SELECT f83 into x from tb2 limit 9998, 1;
5610
DROP PROCEDURE IF EXISTS sp1;
5611
CREATE PROCEDURE sp1( )
5613
declare float unsigned zerofill not null x;
5614
SELECT f84 into x from tb2 limit 9998, 1;
5616
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill not null x;
5617
SELECT f84 into x from tb2 limit 9998, 1;
5619
DROP PROCEDURE IF EXISTS sp1;
5620
CREATE PROCEDURE sp1( )
5622
declare float(0) not null x;
5623
SELECT f85 into x from tb2 limit 9998, 1;
5625
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) not null x;
5626
SELECT f85 into x from tb2 limit 9998, 1;
5628
DROP PROCEDURE IF EXISTS sp1;
5629
CREATE PROCEDURE sp1( )
5631
declare float(23) not null x;
5632
SELECT f86 into x from tb2 limit 9998, 1;
5634
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) not null x;
5635
SELECT f86 into x from tb2 limit 9998, 1;
5637
DROP PROCEDURE IF EXISTS sp1;
5638
CREATE PROCEDURE sp1( )
5640
declare float(0) unsigned not null x;
5641
SELECT f87 into x from tb2 limit 9998, 1;
5643
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned not null x;
5644
SELECT f87 into x from tb2 limit 9998, 1;
5646
DROP PROCEDURE IF EXISTS sp1;
5647
CREATE PROCEDURE sp1( )
5649
declare float(23) unsigned not null x;
5650
SELECT f88 into x from tb2 limit 9998, 1;
5652
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned not null x;
5653
SELECT f88 into x from tb2 limit 9998, 1;
5655
DROP PROCEDURE IF EXISTS sp1;
5656
CREATE PROCEDURE sp1( )
5658
declare float(0) zerofill not null x;
5659
SELECT f89 into x from tb2 limit 9998, 1;
5661
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) zerofill not null x;
5662
SELECT f89 into x from tb2 limit 9998, 1;
5664
DROP PROCEDURE IF EXISTS sp1;
5665
CREATE PROCEDURE sp1( )
5667
declare float(23) zerofill not null x;
5668
SELECT f90 into x from tb2 limit 9998, 1;
5670
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) zerofill not null x;
5671
SELECT f90 into x from tb2 limit 9998, 1;
5673
DROP PROCEDURE IF EXISTS sp1;
5674
CREATE PROCEDURE sp1( )
5676
declare float(0) unsigned zerofill not null x;
5677
SELECT f91 into x from tb2 limit 9998, 1;
5679
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned zerofill not null x;
5680
SELECT f91 into x from tb2 limit 9998, 1' at line 3
5681
DROP PROCEDURE IF EXISTS sp1;
5682
CREATE PROCEDURE sp1( )
5684
declare float(23) unsigned zerofill not null x;
5685
SELECT f92 into x from tb2 limit 9998, 1;
5687
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned zerofill not null x;
5688
SELECT f92 into x from tb2 limit 9998, ' at line 3
5689
DROP PROCEDURE IF EXISTS sp1;
5690
CREATE PROCEDURE sp1( )
5692
declare float(24) not null x;
5693
SELECT f93 into x from tb2 limit 9998, 1;
5695
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) not null x;
5696
SELECT f93 into x from tb2 limit 9998, 1;
5698
DROP PROCEDURE IF EXISTS sp1;
5699
CREATE PROCEDURE sp1( )
5701
declare float(53) not null x;
5702
SELECT f94 into x from tb2 limit 9998, 1;
5704
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) not null x;
5705
SELECT f94 into x from tb2 limit 9998, 1;
5707
DROP PROCEDURE IF EXISTS sp1;
5708
CREATE PROCEDURE sp1( )
5710
declare float(24) unsigned not null x;
5711
SELECT f95 into x from tb2 limit 9998, 1;
5713
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned not null x;
5714
SELECT f95 into x from tb2 limit 9998, 1;
5716
DROP PROCEDURE IF EXISTS sp1;
5717
CREATE PROCEDURE sp1( )
5719
declare float(53) unsigned not null x;
5720
SELECT f96 into x from tb2 limit 9998, 1;
5722
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned not null x;
5723
SELECT f96 into x from tb2 limit 9998, 1;
5725
DROP PROCEDURE IF EXISTS sp1;
5726
CREATE PROCEDURE sp1( )
5728
declare float(24) zerofill not null x;
5729
SELECT f97 into x from tb2 limit 9998, 1;
5731
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) zerofill not null x;
5732
SELECT f97 into x from tb2 limit 9998, 1;
5734
DROP PROCEDURE IF EXISTS sp1;
5735
CREATE PROCEDURE sp1( )
5737
declare float(53) zerofill not null x;
5738
SELECT f98 into x from tb2 limit 9998, 1;
5740
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) zerofill not null x;
5741
SELECT f98 into x from tb2 limit 9998, 1;
5743
DROP PROCEDURE IF EXISTS sp1;
5744
CREATE PROCEDURE sp1( )
5746
declare float(24) unsigned zerofill not null x;
5747
SELECT f99 into x from tb2 limit 9998, 1;
5749
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
5750
SELECT f99 into x from tb2 limit 9998, ' at line 3
5751
DROP PROCEDURE IF EXISTS sp1;
5752
CREATE PROCEDURE sp1( )
5754
declare float(53) unsigned zerofill not null x;
5755
SELECT f100 into x from tb2 limit 9998, 1;
5757
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned zerofill not null x;
5758
SELECT f100 into x from tb2 limit 9998,' at line 3
5759
DROP PROCEDURE IF EXISTS sp1;
5760
CREATE PROCEDURE sp1( )
5762
declare date not null x;
5763
SELECT f101 into x from tb2 limit 9998, 1;
5765
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
5766
SELECT f101 into x from tb2 limit 9998, 1;
5768
DROP PROCEDURE IF EXISTS sp1;
5769
CREATE PROCEDURE sp1( )
5771
declare time not null x;
5772
SELECT f102 into x from tb2 limit 9998, 1;
5774
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
5775
SELECT f102 into x from tb2 limit 9998, 1;
5777
DROP PROCEDURE IF EXISTS sp1;
5778
CREATE PROCEDURE sp1( )
5780
declare datetime not null x;
5781
SELECT f103 into x from tb2 limit 9998, 1;
5783
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
5784
SELECT f103 into x from tb2 limit 9998, 1;
5786
DROP PROCEDURE IF EXISTS sp1;
5787
CREATE PROCEDURE sp1( )
5789
declare timestamp not null x;
5790
SELECT f104 into x from tb2 limit 9998, 1;
5792
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
5793
SELECT f104 into x from tb2 limit 9998, 1;
5795
DROP PROCEDURE IF EXISTS sp1;
5796
CREATE PROCEDURE sp1( )
5798
declare year not null x;
5799
SELECT f105 into x from tb2 limit 9998, 1;
5801
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
5802
SELECT f105 into x from tb2 limit 9998, 1;
5804
DROP PROCEDURE IF EXISTS sp1;
5805
CREATE PROCEDURE sp1( )
5807
declare year(3) not null x;
5808
SELECT f106 into x from tb2 limit 9998, 1;
5810
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) not null x;
5811
SELECT f106 into x from tb2 limit 9998, 1;
5813
DROP PROCEDURE IF EXISTS sp1;
5814
CREATE PROCEDURE sp1( )
5816
declare year(4) not null x;
5817
SELECT f107 into x from tb2 limit 9998, 1;
5819
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) not null x;
5820
SELECT f107 into x from tb2 limit 9998, 1;
5822
DROP PROCEDURE IF EXISTS sp1;
5823
CREATE PROCEDURE sp1( )
5825
declare enum("1enum", "2enum") not null x;
5826
SELECT f108 into x from tb2 limit 9998, 1;
5828
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x;
5829
SELECT f108 into x from tb2 limit 9998, 1;
5831
DROP PROCEDURE IF EXISTS sp1;
5832
CREATE PROCEDURE sp1( )
5834
declare set("1set", "2set") not nul x;
5835
SELECT f109 into x from tb2 limit 9998, 1;
5837
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") not nul x;
5838
SELECT f109 into x from tb2 limit 9998, 1;
5843
Ensure that the handlers declared for a stored procedure (with the declare
5844
statement) may only be defined in the correct order
5845
--------------------------------------------------------------------------------
5846
DROP PROCEDURE IF EXISTS sp1;
5847
CREATE PROCEDURE sp1()
5849
declare continue handler for sqlstate '23000' set @x2 = 1;
5852
ERROR 42000: Variable or condition declaration after cursor or handler declaration
5853
DROP PROCEDURE IF EXISTS sp1;
5854
CREATE PROCEDURE sp1()
5856
declare continue handler for sqlstate '23000' set @x2 = 1;
5859
ERROR 42000: Variable or condition declaration after cursor or handler declaration
5860
DROP PROCEDURE IF EXISTS sp6;
5861
CREATE PROCEDURE sp6( )
5863
declare cursor1 cursor for SELECT f1 from tb1;
5866
ERROR 42000: Variable or condition declaration after cursor or handler declaration
5867
DROP PROCEDURE IF EXISTS sp6;
5868
CREATE PROCEDURE sp6( )
5870
declare cursor1 cursor for SELECT f1 from tb1;
5871
declare sqlcondition condition for sqlstate '02000';
5873
ERROR 42000: Variable or condition declaration after cursor or handler declaration
5874
DROP PROCEDURE IF EXISTS sp6;
5875
CREATE PROCEDURE sp6( )
5877
declare sqlcondition condition for sqlstate '02000';
5878
declare continue handler for sqlcondition set @x=1;
5879
declare cursor1 cursor for SELECT f1 from tb1;
5881
ERROR 42000: Cursor declaration after handler declaration
5885
Ensure that the declare statement can declare multiple variables both separately
5886
and all at once from a variable list. (multiple declaration)
5887
--------------------------------------------------------------------------------
5888
DROP PROCEDURE IF EXISTS sp1;
5889
CREATE PROCEDURE sp1( )
5891
declare x, y, z char default null;
5897
DROP PROCEDURE IF EXISTS sp1;
5898
CREATE PROCEDURE sp1( )
5900
declare x, y, z char ascii default null;
5906
DROP PROCEDURE IF EXISTS sp1;
5907
CREATE PROCEDURE sp1( )
5909
declare x, y, z tinytext default null;
5915
DROP PROCEDURE IF EXISTS sp1;
5916
CREATE PROCEDURE sp1( )
5918
declare x, y, z text default null;
5924
DROP PROCEDURE IF EXISTS sp1;
5925
CREATE PROCEDURE sp1( )
5927
declare x, y, z mediumtext default null;
5933
DROP PROCEDURE IF EXISTS sp1;
5934
CREATE PROCEDURE sp1( )
5936
declare x, y, z longtext default null;
5942
DROP PROCEDURE IF EXISTS sp1;
5943
CREATE PROCEDURE sp1( )
5945
declare x, y, z tinyblob default null;
5951
DROP PROCEDURE IF EXISTS sp1;
5952
CREATE PROCEDURE sp1( )
5954
declare x, y, z blob default null;
5960
DROP PROCEDURE IF EXISTS sp1;
5961
CREATE PROCEDURE sp1( )
5963
declare x, y, z mediumblob default null;
5969
DROP PROCEDURE IF EXISTS sp1;
5970
CREATE PROCEDURE sp1( )
5972
declare x, y, z longblob default null;
5978
DROP PROCEDURE IF EXISTS sp1;
5979
CREATE PROCEDURE sp1( )
5981
declare x, y, z binary default null;
5987
DROP PROCEDURE IF EXISTS sp1;
5988
CREATE PROCEDURE sp1( )
5990
declare x, y, z tinyint default -126;
5996
DROP PROCEDURE IF EXISTS sp1;
5997
CREATE PROCEDURE sp1( )
5999
declare x, y, z tinyint unsigned default 253;
6005
DROP PROCEDURE IF EXISTS sp1;
6006
CREATE PROCEDURE sp1( )
6008
declare x, y, z tinyint zerofill default -1;
6015
Warning 1264 Out of range value adjusted for column 'x' at row 1
6016
Warning 1264 Out of range value adjusted for column 'y' at row 1
6017
Warning 1264 Out of range value adjusted for column 'z' at row 1
6018
DROP PROCEDURE IF EXISTS sp1;
6019
CREATE PROCEDURE sp1( )
6021
declare x, y, z tinyint unsigned zerofill default 1;
6027
DROP PROCEDURE IF EXISTS sp1;
6028
CREATE PROCEDURE sp1( )
6030
declare x, y, z smallint default -32768;
6035
-32768 -32768 -32768
6036
DROP PROCEDURE IF EXISTS sp1;
6037
CREATE PROCEDURE sp1( )
6039
declare x, y, z smallint unsigned default 65535;
6045
DROP PROCEDURE IF EXISTS sp1;
6046
CREATE PROCEDURE sp1( )
6048
declare x, y, z smallint zerofill default -1;
6055
Warning 1264 Out of range value adjusted for column 'x' at row 1
6056
Warning 1264 Out of range value adjusted for column 'y' at row 1
6057
Warning 1264 Out of range value adjusted for column 'z' at row 1
6058
DROP PROCEDURE IF EXISTS sp1;
6059
CREATE PROCEDURE sp1( )
6061
declare x, y, z smallint unsigned zerofill default 1;
6067
DROP PROCEDURE IF EXISTS sp1;
6068
CREATE PROCEDURE sp1( )
6070
declare x, y, z mediumint default -8388608;
6075
-8388608 -8388608 -8388608
6076
DROP PROCEDURE IF EXISTS sp1;
6077
CREATE PROCEDURE sp1( )
6079
declare x, y, z mediumint unsigned default 16777215;
6084
16777215 16777215 16777215
6085
DROP PROCEDURE IF EXISTS sp1;
6086
CREATE PROCEDURE sp1( )
6088
declare x, y, z mediumint zerofill default -1;
6093
00000000 00000000 00000000
6095
Warning 1264 Out of range value adjusted for column 'x' at row 1
6096
Warning 1264 Out of range value adjusted for column 'y' at row 1
6097
Warning 1264 Out of range value adjusted for column 'z' at row 1
6098
DROP PROCEDURE IF EXISTS sp1;
6099
CREATE PROCEDURE sp1( )
6101
declare x, y, z mediumint unsigned zerofill default 1;
6106
00000001 00000001 00000001
6107
DROP PROCEDURE IF EXISTS sp1;
6108
CREATE PROCEDURE sp1( )
6110
declare x, y, z int default -2147483648;
6115
-2147483648 -2147483648 -2147483648
6116
DROP PROCEDURE IF EXISTS sp1;
6117
CREATE PROCEDURE sp1( )
6119
declare x, y, z int unsigned default 4294967295;
6124
4294967295 4294967295 4294967295
6125
DROP PROCEDURE IF EXISTS sp1;
6126
CREATE PROCEDURE sp1( )
6128
declare x, y, z int zerofill default -1;
6133
0000000000 0000000000 0000000000
6135
Warning 1264 Out of range value adjusted for column 'x' at row 1
6136
Warning 1264 Out of range value adjusted for column 'y' at row 1
6137
Warning 1264 Out of range value adjusted for column 'z' at row 1
6138
DROP PROCEDURE IF EXISTS sp1;
6139
CREATE PROCEDURE sp1( )
6141
declare x, y, z int unsigned zerofill default 1;
6146
0000000001 0000000001 0000000001
6147
DROP PROCEDURE IF EXISTS sp1;
6148
CREATE PROCEDURE sp1( )
6150
declare x, y, z bigint default -9223372036854775808;
6155
-9223372036854775808 -9223372036854775808 -9223372036854775808
6156
DROP PROCEDURE IF EXISTS sp1;
6157
CREATE PROCEDURE sp1( )
6159
declare x, y, z bigint unsigned default 18446744073709551615;
6164
18446744073709551615 18446744073709551615 18446744073709551615
6165
DROP PROCEDURE IF EXISTS sp1;
6166
CREATE PROCEDURE sp1( )
6168
declare x, y, z bigint zerofill default -1;
6173
00000000000000000000 00000000000000000000 00000000000000000000
6175
Warning 1264 Out of range value adjusted for column 'x' at row 1
6176
Warning 1264 Out of range value adjusted for column 'y' at row 1
6177
Warning 1264 Out of range value adjusted for column 'z' at row 1
6178
DROP PROCEDURE IF EXISTS sp1;
6179
CREATE PROCEDURE sp1( )
6181
declare x, y, z bigint unsigned zerofill default 1;
6186
00000000000000000001 00000000000000000001 00000000000000000001
6187
DROP PROCEDURE IF EXISTS sp1;
6188
CREATE PROCEDURE sp1( )
6190
declare x, y, z decimal default -34028234660123456789012345678901234567;
6195
-9999999999 -9999999999 -9999999999
6197
Warning 1264 Out of range value adjusted for column 'x' at row 1
6198
Warning 1264 Out of range value adjusted for column 'y' at row 1
6199
Warning 1264 Out of range value adjusted for column 'z' at row 1
6200
DROP PROCEDURE IF EXISTS sp1;
6201
CREATE PROCEDURE sp1( )
6203
declare x, y, z decimal unsigned default 1.175494351e-38;
6206
FIXME: Following test contains a known problem that will be checked again
6207
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6212
Note 1265 Data truncated for column 'x' at row 1
6213
Note 1265 Data truncated for column 'y' at row 1
6214
Note 1265 Data truncated for column 'z' at row 1
6215
DROP PROCEDURE IF EXISTS sp1;
6216
CREATE PROCEDURE sp1( )
6218
declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
6223
0000000000 0000000000 0000000000
6225
Warning 1264 Out of range value adjusted for column 'x' at row 1
6226
Warning 1264 Out of range value adjusted for column 'y' at row 1
6227
Warning 1264 Out of range value adjusted for column 'z' at row 1
6228
DROP PROCEDURE IF EXISTS sp1;
6229
CREATE PROCEDURE sp1( )
6231
declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
6234
FIXME: Following test contains a known problem that will be checked again
6235
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6238
0000000000 0000000000 0000000000
6240
Note 1265 Data truncated for column 'x' at row 1
6241
Note 1265 Data truncated for column 'y' at row 1
6242
Note 1265 Data truncated for column 'z' at row 1
6243
DROP PROCEDURE IF EXISTS sp1;
6244
CREATE PROCEDURE sp1( )
6246
declare x, y, z numeric default 1.175494351e-38;
6249
FIXME: Following test contains a known problem that will be checked again
6250
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6255
Note 1265 Data truncated for column 'x' at row 1
6256
Note 1265 Data truncated for column 'y' at row 1
6257
Note 1265 Data truncated for column 'z' at row 1
6258
DROP PROCEDURE IF EXISTS sp1;
6259
CREATE PROCEDURE sp1( )
6261
declare x, y, z numeric unsigned default 1.175494351e-38;
6264
FIXME: Following test contains a known problem that will be checked again
6265
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6270
Note 1265 Data truncated for column 'x' at row 1
6271
Note 1265 Data truncated for column 'y' at row 1
6272
Note 1265 Data truncated for column 'z' at row 1
6273
DROP PROCEDURE IF EXISTS sp1;
6274
CREATE PROCEDURE sp1( )
6276
declare x, y, z numeric zerofill default 1.175494351e-38;
6279
FIXME: Following test contains a known problem that will be checked again
6280
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6283
0000000000 0000000000 0000000000
6285
Note 1265 Data truncated for column 'x' at row 1
6286
Note 1265 Data truncated for column 'y' at row 1
6287
Note 1265 Data truncated for column 'z' at row 1
6288
DROP PROCEDURE IF EXISTS sp1;
6289
CREATE PROCEDURE sp1( )
6291
declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
6294
FIXME: Following test contains a known problem that will be checked again
6295
FIXME: after WL#2984 has been completed: default (10,0) for DECIMAL not checked
6298
0000000000 0000000000 0000000000
6300
Note 1265 Data truncated for column 'x' at row 1
6301
Note 1265 Data truncated for column 'y' at row 1
6302
Note 1265 Data truncated for column 'z' at row 1
6303
DROP PROCEDURE IF EXISTS sp1;
6304
CREATE PROCEDURE sp1( )
6306
declare x, y, z real default 1.175494351e-38;
6311
1.175494351e-38 1.175494351e-38 1.175494351e-38
6312
DROP PROCEDURE IF EXISTS sp1;
6313
CREATE PROCEDURE sp1( )
6315
declare x, y, z real unsigned default 1.175494351e-38;
6320
1.175494351e-38 1.175494351e-38 1.175494351e-38
6321
DROP PROCEDURE IF EXISTS sp1;
6322
CREATE PROCEDURE sp1( )
6324
declare x, y, z real zerofill default 1.175494351e-38;
6329
00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
6330
DROP PROCEDURE IF EXISTS sp1;
6331
CREATE PROCEDURE sp1( )
6333
declare x, y, z real unsigned zerofill default 1.175494351e-38;
6338
00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
6339
DROP PROCEDURE IF EXISTS sp1;
6340
CREATE PROCEDURE sp1( )
6342
declare x, y, z float default 1.175494351e-38;
6347
1.17549e-38 1.17549e-38 1.17549e-38
6348
DROP PROCEDURE IF EXISTS sp1;
6349
CREATE PROCEDURE sp1( )
6351
declare x, y, z float unsigned default 1.175494351e-38;
6356
1.17549e-38 1.17549e-38 1.17549e-38
6357
DROP PROCEDURE IF EXISTS sp1;
6358
CREATE PROCEDURE sp1( )
6360
declare x, y, z float zerofill default 1.175494351e-38;
6365
01.17549e-38 01.17549e-38 01.17549e-38
6366
DROP PROCEDURE IF EXISTS sp1;
6367
CREATE PROCEDURE sp1( )
6369
declare x, y, z float unsigned zerofill default 1.175494351e-38;
6374
01.17549e-38 01.17549e-38 01.17549e-38
6375
DROP PROCEDURE IF EXISTS sp1;
6376
CREATE PROCEDURE sp1( )
6378
declare x, y, z date default '2005-02-02';
6383
2005-02-02 2005-02-02 2005-02-02
6384
DROP PROCEDURE IF EXISTS sp1;
6385
CREATE PROCEDURE sp1( )
6387
declare x, y, z time default '12:20:12';
6392
12:20:12 12:20:12 12:20:12
6393
DROP PROCEDURE IF EXISTS sp1;
6394
CREATE PROCEDURE sp1( )
6396
declare x, y, z datetime default '2005-02-02 12:20:12';
6401
2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
6402
DROP PROCEDURE IF EXISTS sp1;
6403
CREATE PROCEDURE sp1( )
6405
declare x, y, z timestamp default '20050202122012';
6410
2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
6411
DROP PROCEDURE IF EXISTS sp1;
6412
CREATE PROCEDURE sp1( )
6414
declare x, y, z year default 2005;
6420
DROP PROCEDURE IF EXISTS sp1;
6421
CREATE PROCEDURE sp1( )
6423
declare x, y, z year(3) default 2005;
6429
DROP PROCEDURE IF EXISTS sp1;
6430
CREATE PROCEDURE sp1( )
6432
declare x, y, z year(4) default 2005;
6438
DROP PROCEDURE IF EXISTS sp1;
6439
CREATE PROCEDURE sp1( )
6441
declare x, y, z enum("1enum", "2enum") default "2enum";
6447
DROP PROCEDURE IF EXISTS sp1;
6448
CREATE PROCEDURE sp1( )
6450
declare x, y, z set("1set", "2set") default "2set";
6460
Ensure that the declare statement can declare multiple variables both separately
6461
and all at once from a variable list. (multiple declaration).
6462
--------------------------------------------------------------------------------
6463
DROP PROCEDURE IF EXISTS sp6;
6464
CREATE PROCEDURE sp6( )
6466
declare a, b char default '2';
6467
declare c, d float default 1.3;
6468
declare e, f text default 'text';
6469
declare g, h enum("value1", "value2" ) default 'value1';
6470
declare i, j datetime default '2005-02-02 12:12:12';
6471
declare k, l blob default 'blob';
6472
SELECT a, b, c, d, e, f, g, h, k, l;
6476
2 2 1.3 1.3 text text value1 value1 blob blob
6481
Ensure that the invalid variable declarations are rejected, with an appropriate
6483
--------------------------------------------------------------------------------
6484
DROP PROCEDURE IF EXISTS sp1;
6485
CREATE PROCEDURE sp1( )
6488
SELECT f2 into x from t2 limit 1;
6490
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
6491
SELECT f2 into x from t2 limit 1;
6493
DROP PROCEDURE IF EXISTS sp1;
6494
CREATE PROCEDURE sp1()
6498
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add char;
6500
DROP PROCEDURE IF EXISTS sp1;
6501
CREATE PROCEDURE sp1()
6505
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all char;
6507
DROP PROCEDURE IF EXISTS sp1;
6508
CREATE PROCEDURE sp1()
6512
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter char;
6514
DROP PROCEDURE IF EXISTS sp1;
6515
CREATE PROCEDURE sp1()
6517
declare analyze char;
6519
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char;
6521
DROP PROCEDURE IF EXISTS sp1;
6522
CREATE PROCEDURE sp1()
6526
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and char;
6528
DROP PROCEDURE IF EXISTS sp1;
6529
CREATE PROCEDURE sp1()
6533
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as char;
6535
DROP PROCEDURE IF EXISTS sp1;
6536
CREATE PROCEDURE sp1()
6540
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc char;
6542
DROP PROCEDURE IF EXISTS sp1;
6543
CREATE PROCEDURE sp1()
6545
declare asensitive char;
6547
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive char;
6549
DROP PROCEDURE IF EXISTS sp1;
6550
CREATE PROCEDURE sp1()
6552
declare before char;
6554
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before char;
6556
DROP PROCEDURE IF EXISTS sp1;
6557
CREATE PROCEDURE sp1()
6559
declare between char;
6561
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between char;
6563
DROP PROCEDURE IF EXISTS sp1;
6564
CREATE PROCEDURE sp1()
6566
declare bigint char;
6568
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint char;
6570
DROP PROCEDURE IF EXISTS sp1;
6571
CREATE PROCEDURE sp1()
6573
declare binary char;
6575
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary char;
6577
DROP PROCEDURE IF EXISTS sp1;
6578
CREATE PROCEDURE sp1()
6582
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char;
6584
DROP PROCEDURE IF EXISTS sp1;
6585
CREATE PROCEDURE sp1()
6589
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both char;
6591
DROP PROCEDURE IF EXISTS sp1;
6592
CREATE PROCEDURE sp1()
6596
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by char;
6598
DROP PROCEDURE IF EXISTS sp1;
6599
CREATE PROCEDURE sp1()
6603
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CALL char;
6605
DROP PROCEDURE IF EXISTS sp1;
6606
CREATE PROCEDURE sp1()
6608
declare cascade char;
6610
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade char;
6612
DROP PROCEDURE IF EXISTS sp1;
6613
CREATE PROCEDURE sp1()
6617
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case char;
6619
DROP PROCEDURE IF EXISTS sp1;
6620
CREATE PROCEDURE sp1()
6622
declare change char;
6624
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change char;
6626
DROP PROCEDURE IF EXISTS sp1;
6627
CREATE PROCEDURE sp1()
6631
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char char;
6633
DROP PROCEDURE IF EXISTS sp1;
6634
CREATE PROCEDURE sp1()
6636
declare character char;
6638
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character char;
6640
DROP PROCEDURE IF EXISTS sp1;
6641
CREATE PROCEDURE sp1()
6645
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char;
6647
DROP PROCEDURE IF EXISTS sp1;
6648
CREATE PROCEDURE sp1()
6650
declare collate char;
6652
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate char;
6654
DROP PROCEDURE IF EXISTS sp1;
6655
CREATE PROCEDURE sp1()
6657
declare column char;
6659
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column char;
6661
DROP PROCEDURE IF EXISTS sp1;
6662
CREATE PROCEDURE sp1()
6664
declare columns char;
6666
DROP PROCEDURE IF EXISTS sp1;
6667
CREATE PROCEDURE sp1()
6669
declare condition char;
6671
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition char;
6673
DROP PROCEDURE IF EXISTS sp1;
6674
CREATE PROCEDURE sp1()
6676
declare connection char;
6678
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection char;
6680
DROP PROCEDURE IF EXISTS sp1;
6681
CREATE PROCEDURE sp1()
6683
declare constraint char;
6685
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint char;
6687
DROP PROCEDURE IF EXISTS sp1;
6688
CREATE PROCEDURE sp1()
6690
declare continue char;
6692
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
6694
DROP PROCEDURE IF EXISTS sp1;
6695
CREATE PROCEDURE sp1()
6697
declare convert char;
6699
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert char;
6701
DROP PROCEDURE IF EXISTS sp1;
6702
CREATE PROCEDURE sp1()
6704
declare create char;
6706
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create char;
6708
DROP PROCEDURE IF EXISTS sp1;
6709
CREATE PROCEDURE sp1()
6713
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross char;
6715
DROP PROCEDURE IF EXISTS sp1;
6716
CREATE PROCEDURE sp1()
6718
declare current_date char;
6720
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char;
6722
DROP PROCEDURE IF EXISTS sp1;
6723
CREATE PROCEDURE sp1()
6725
declare current_time char;
6727
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time char;
6729
DROP PROCEDURE IF EXISTS sp1;
6730
CREATE PROCEDURE sp1()
6732
declare current_timestamp char;
6734
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp char;
6736
DROP PROCEDURE IF EXISTS sp1;
6737
CREATE PROCEDURE sp1()
6739
declare current_user char;
6741
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user char;
6743
DROP PROCEDURE IF EXISTS sp1;
6744
CREATE PROCEDURE sp1()
6746
declare cursor char;
6748
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor char;
6750
DROP PROCEDURE IF EXISTS sp1;
6751
CREATE PROCEDURE sp1()
6753
declare database char;
6755
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database char;
6757
DROP PROCEDURE IF EXISTS sp1;
6758
CREATE PROCEDURE sp1()
6760
declare databases char;
6762
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases char;
6764
DROP PROCEDURE IF EXISTS sp1;
6765
CREATE PROCEDURE sp1()
6767
declare day_hour char;
6769
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour char;
6771
DROP PROCEDURE IF EXISTS sp1;
6772
CREATE PROCEDURE sp1()
6774
declare day_microsecond char;
6776
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond char;
6778
DROP PROCEDURE IF EXISTS sp1;
6779
CREATE PROCEDURE sp1()
6781
declare day_minute char;
6783
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute char;
6785
DROP PROCEDURE IF EXISTS sp1;
6786
CREATE PROCEDURE sp1()
6788
declare day_second char;
6790
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second char;
6792
DROP PROCEDURE IF EXISTS sp1;
6793
CREATE PROCEDURE sp1()
6797
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec char;
6799
DROP PROCEDURE IF EXISTS sp1;
6800
CREATE PROCEDURE sp1()
6802
declare decimal char;
6804
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal char;
6806
DROP PROCEDURE IF EXISTS sp1;
6807
CREATE PROCEDURE sp1()
6809
declare declare char;
6811
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare char;
6813
DROP PROCEDURE IF EXISTS sp1;
6814
CREATE PROCEDURE sp1()
6816
declare default char;
6818
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default char;
6820
DROP PROCEDURE IF EXISTS sp1;
6821
CREATE PROCEDURE sp1()
6823
declare delayed char;
6825
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed char;
6827
DROP PROCEDURE IF EXISTS sp1;
6828
CREATE PROCEDURE sp1()
6830
declare delete char;
6832
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete char;
6834
DROP PROCEDURE IF EXISTS sp1;
6835
CREATE PROCEDURE sp1()
6839
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc char;
6841
DROP PROCEDURE IF EXISTS sp1;
6842
CREATE PROCEDURE sp1()
6844
declare describe char;
6846
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char;
6848
DROP PROCEDURE IF EXISTS sp1;
6849
CREATE PROCEDURE sp1()
6851
declare deterministic char;
6853
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic char;
6855
DROP PROCEDURE IF EXISTS sp1;
6856
CREATE PROCEDURE sp1()
6858
declare distinct char;
6860
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct char;
6862
DROP PROCEDURE IF EXISTS sp1;
6863
CREATE PROCEDURE sp1()
6865
declare distinctrow char;
6867
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow char;
6869
DROP PROCEDURE IF EXISTS sp1;
6870
CREATE PROCEDURE sp1()
6874
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div char;
6876
DROP PROCEDURE IF EXISTS sp1;
6877
CREATE PROCEDURE sp1()
6879
declare double char;
6881
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double char;
6883
DROP PROCEDURE IF EXISTS sp1;
6884
CREATE PROCEDURE sp1()
6888
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop char;
6890
DROP PROCEDURE IF EXISTS sp1;
6891
CREATE PROCEDURE sp1()
6895
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual char;
6897
DROP PROCEDURE IF EXISTS sp1;
6898
CREATE PROCEDURE sp1()
6902
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each char;
6904
DROP PROCEDURE IF EXISTS sp1;
6905
CREATE PROCEDURE sp1()
6909
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else char;
6911
DROP PROCEDURE IF EXISTS sp1;
6912
CREATE PROCEDURE sp1()
6914
declare elseif char;
6916
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif char;
6918
DROP PROCEDURE IF EXISTS sp1;
6919
CREATE PROCEDURE sp1()
6921
declare enclosed char;
6923
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed char;
6925
DROP PROCEDURE IF EXISTS sp1;
6926
CREATE PROCEDURE sp1()
6928
declare escaped char;
6930
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char;
6932
DROP PROCEDURE IF EXISTS sp1;
6933
CREATE PROCEDURE sp1()
6935
declare exists char;
6937
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists char;
6939
DROP PROCEDURE IF EXISTS sp1;
6940
CREATE PROCEDURE sp1()
6944
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
6946
DROP PROCEDURE IF EXISTS sp1;
6947
CREATE PROCEDURE sp1()
6949
declare explain char;
6951
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain char;
6953
DROP PROCEDURE IF EXISTS sp1;
6954
CREATE PROCEDURE sp1()
6958
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false char;
6960
DROP PROCEDURE IF EXISTS sp1;
6961
CREATE PROCEDURE sp1()
6965
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch char;
6967
DROP PROCEDURE IF EXISTS sp1;
6968
CREATE PROCEDURE sp1()
6970
declare fields char;
6972
DROP PROCEDURE IF EXISTS sp1;
6973
CREATE PROCEDURE sp1()
6977
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float char;
6979
DROP PROCEDURE IF EXISTS sp1;
6980
CREATE PROCEDURE sp1()
6984
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for char;
6986
DROP PROCEDURE IF EXISTS sp1;
6987
CREATE PROCEDURE sp1()
6991
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force char;
6993
DROP PROCEDURE IF EXISTS sp1;
6994
CREATE PROCEDURE sp1()
6996
declare foreign char;
6998
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign char;
7000
DROP PROCEDURE IF EXISTS sp1;
7001
CREATE PROCEDURE sp1()
7005
DROP PROCEDURE IF EXISTS sp1;
7006
CREATE PROCEDURE sp1()
7010
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from char;
7012
DROP PROCEDURE IF EXISTS sp1;
7013
CREATE PROCEDURE sp1()
7015
declare fulltext char;
7017
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext char;
7019
DROP PROCEDURE IF EXISTS sp1;
7020
CREATE PROCEDURE sp1()
7024
DROP PROCEDURE IF EXISTS sp1;
7025
CREATE PROCEDURE sp1()
7029
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant char;
7031
DROP PROCEDURE IF EXISTS sp1;
7032
CREATE PROCEDURE sp1()
7036
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group char;
7038
DROP PROCEDURE IF EXISTS sp1;
7039
CREATE PROCEDURE sp1()
7041
declare having char;
7043
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having char;
7045
DROP PROCEDURE IF EXISTS sp1;
7046
CREATE PROCEDURE sp1()
7048
declare high_priority char;
7050
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority char;
7052
DROP PROCEDURE IF EXISTS sp1;
7053
CREATE PROCEDURE sp1()
7055
declare hour_microsecond char;
7057
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond char;
7059
DROP PROCEDURE IF EXISTS sp1;
7060
CREATE PROCEDURE sp1()
7062
declare hour_minute char;
7064
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute char;
7066
DROP PROCEDURE IF EXISTS sp1;
7067
CREATE PROCEDURE sp1()
7069
declare hour_second char;
7071
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second char;
7073
DROP PROCEDURE IF EXISTS sp1;
7074
CREATE PROCEDURE sp1()
7078
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if char;
7080
DROP PROCEDURE IF EXISTS sp1;
7081
CREATE PROCEDURE sp1()
7083
declare ignore char;
7085
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore char;
7087
DROP PROCEDURE IF EXISTS sp1;
7088
CREATE PROCEDURE sp1()
7092
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in char;
7094
DROP PROCEDURE IF EXISTS sp1;
7095
CREATE PROCEDURE sp1()
7099
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index char;
7101
DROP PROCEDURE IF EXISTS sp1;
7102
CREATE PROCEDURE sp1()
7104
declare infile char;
7106
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile char;
7108
DROP PROCEDURE IF EXISTS sp1;
7109
CREATE PROCEDURE sp1()
7113
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner char;
7115
DROP PROCEDURE IF EXISTS sp1;
7116
CREATE PROCEDURE sp1()
7120
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout char;
7122
DROP PROCEDURE IF EXISTS sp1;
7123
CREATE PROCEDURE sp1()
7125
declare insensitive char;
7127
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive char;
7129
DROP PROCEDURE IF EXISTS sp1;
7130
CREATE PROCEDURE sp1()
7132
declare insert char;
7134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert char;
7136
DROP PROCEDURE IF EXISTS sp1;
7137
CREATE PROCEDURE sp1()
7141
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int char;
7143
DROP PROCEDURE IF EXISTS sp1;
7144
CREATE PROCEDURE sp1()
7146
declare integer char;
7148
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer char;
7150
DROP PROCEDURE IF EXISTS sp1;
7151
CREATE PROCEDURE sp1()
7153
declare interval char;
7155
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval char;
7157
DROP PROCEDURE IF EXISTS sp1;
7158
CREATE PROCEDURE sp1()
7162
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into char;
7164
DROP PROCEDURE IF EXISTS sp1;
7165
CREATE PROCEDURE sp1()
7169
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is char;
7171
DROP PROCEDURE IF EXISTS sp1;
7172
CREATE PROCEDURE sp1()
7174
declare iterate char;
7176
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate char;
7178
DROP PROCEDURE IF EXISTS sp1;
7179
CREATE PROCEDURE sp1()
7183
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join char;
7185
DROP PROCEDURE IF EXISTS sp1;
7186
CREATE PROCEDURE sp1()
7190
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key char;
7192
DROP PROCEDURE IF EXISTS sp1;
7193
CREATE PROCEDURE sp1()
7197
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char;
7199
DROP PROCEDURE IF EXISTS sp1;
7200
CREATE PROCEDURE sp1()
7204
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill char;
7206
DROP PROCEDURE IF EXISTS sp1;
7207
CREATE PROCEDURE sp1()
7209
declare leading char;
7211
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading char;
7213
DROP PROCEDURE IF EXISTS sp1;
7214
CREATE PROCEDURE sp1()
7218
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave char;
7220
DROP PROCEDURE IF EXISTS sp1;
7221
CREATE PROCEDURE sp1()
7225
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left char;
7227
DROP PROCEDURE IF EXISTS sp1;
7228
CREATE PROCEDURE sp1()
7232
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like char;
7234
DROP PROCEDURE IF EXISTS sp1;
7235
CREATE PROCEDURE sp1()
7239
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit char;
7241
DROP PROCEDURE IF EXISTS sp1;
7242
CREATE PROCEDURE sp1()
7246
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines char;
7248
DROP PROCEDURE IF EXISTS sp1;
7249
CREATE PROCEDURE sp1()
7253
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load char;
7255
DROP PROCEDURE IF EXISTS sp1;
7256
CREATE PROCEDURE sp1()
7258
declare localtime char;
7260
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime char;
7262
DROP PROCEDURE IF EXISTS sp1;
7263
CREATE PROCEDURE sp1()
7265
declare localtimestamp char;
7267
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp char;
7269
DROP PROCEDURE IF EXISTS sp1;
7270
CREATE PROCEDURE sp1()
7274
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock char;
7276
DROP PROCEDURE IF EXISTS sp1;
7277
CREATE PROCEDURE sp1()
7281
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char;
7283
DROP PROCEDURE IF EXISTS sp1;
7284
CREATE PROCEDURE sp1()
7286
declare longblob char;
7288
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob char;
7290
DROP PROCEDURE IF EXISTS sp1;
7291
CREATE PROCEDURE sp1()
7293
declare longtext char;
7295
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext char;
7297
DROP PROCEDURE IF EXISTS sp1;
7298
CREATE PROCEDURE sp1()
7302
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop char;
7304
DROP PROCEDURE IF EXISTS sp1;
7305
CREATE PROCEDURE sp1()
7307
declare low_priority char;
7309
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority char;
7311
DROP PROCEDURE IF EXISTS sp1;
7312
CREATE PROCEDURE sp1()
7316
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match char;
7318
DROP PROCEDURE IF EXISTS sp1;
7319
CREATE PROCEDURE sp1()
7321
declare mediumblob char;
7323
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob char;
7325
DROP PROCEDURE IF EXISTS sp1;
7326
CREATE PROCEDURE sp1()
7328
declare mediumint char;
7330
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint char;
7332
DROP PROCEDURE IF EXISTS sp1;
7333
CREATE PROCEDURE sp1()
7335
declare mediumtext char;
7337
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext char;
7339
DROP PROCEDURE IF EXISTS sp1;
7340
CREATE PROCEDURE sp1()
7342
declare middleint char;
7344
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char;
7346
DROP PROCEDURE IF EXISTS sp1;
7347
CREATE PROCEDURE sp1()
7349
declare minute_microsecond char;
7351
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond char;
7353
DROP PROCEDURE IF EXISTS sp1;
7354
CREATE PROCEDURE sp1()
7356
declare minute_second char;
7358
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second char;
7360
DROP PROCEDURE IF EXISTS sp1;
7361
CREATE PROCEDURE sp1()
7365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char;
7367
DROP PROCEDURE IF EXISTS sp1;
7368
CREATE PROCEDURE sp1()
7370
declare modifies char;
7372
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies char;
7374
DROP PROCEDURE IF EXISTS sp1;
7375
CREATE PROCEDURE sp1()
7377
declare natural char;
7379
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural char;
7381
DROP PROCEDURE IF EXISTS sp1;
7382
CREATE PROCEDURE sp1()
7386
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not char;
7388
DROP PROCEDURE IF EXISTS sp1;
7389
CREATE PROCEDURE sp1()
7391
declare no_write_to_binlog char;
7393
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog char;
7395
DROP PROCEDURE IF EXISTS sp1;
7396
CREATE PROCEDURE sp1()
7400
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null char;
7402
DROP PROCEDURE IF EXISTS sp1;
7403
CREATE PROCEDURE sp1()
7405
declare numeric char;
7407
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric char;
7409
DROP PROCEDURE IF EXISTS sp1;
7410
CREATE PROCEDURE sp1()
7414
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on char;
7416
DROP PROCEDURE IF EXISTS sp1;
7417
CREATE PROCEDURE sp1()
7419
declare optimize char;
7421
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize char;
7423
DROP PROCEDURE IF EXISTS sp1;
7424
CREATE PROCEDURE sp1()
7426
declare option char;
7428
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option char;
7430
DROP PROCEDURE IF EXISTS sp1;
7431
CREATE PROCEDURE sp1()
7433
declare optionally char;
7435
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char;
7437
DROP PROCEDURE IF EXISTS sp1;
7438
CREATE PROCEDURE sp1()
7442
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or char;
7444
DROP PROCEDURE IF EXISTS sp1;
7445
CREATE PROCEDURE sp1()
7449
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order char;
7451
DROP PROCEDURE IF EXISTS sp1;
7452
CREATE PROCEDURE sp1()
7456
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char;
7458
DROP PROCEDURE IF EXISTS sp1;
7459
CREATE PROCEDURE sp1()
7463
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer char;
7465
DROP PROCEDURE IF EXISTS sp1;
7466
CREATE PROCEDURE sp1()
7468
declare outfile char;
7470
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile char;
7472
DROP PROCEDURE IF EXISTS sp1;
7473
CREATE PROCEDURE sp1()
7475
declare precision char;
7477
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision char;
7479
DROP PROCEDURE IF EXISTS sp1;
7480
CREATE PROCEDURE sp1()
7482
declare primary char;
7484
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary char;
7486
DROP PROCEDURE IF EXISTS sp1;
7487
CREATE PROCEDURE sp1()
7489
declare privileges char;
7491
DROP PROCEDURE IF EXISTS sp1;
7492
CREATE PROCEDURE sp1()
7494
declare procedure char;
7496
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure char;
7498
DROP PROCEDURE IF EXISTS sp1;
7499
CREATE PROCEDURE sp1()
7503
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge char;
7505
DROP PROCEDURE IF EXISTS sp1;
7506
CREATE PROCEDURE sp1()
7510
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read char;
7512
DROP PROCEDURE IF EXISTS sp1;
7513
CREATE PROCEDURE sp1()
7517
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads char;
7519
DROP PROCEDURE IF EXISTS sp1;
7520
CREATE PROCEDURE sp1()
7524
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real char;
7526
DROP PROCEDURE IF EXISTS sp1;
7527
CREATE PROCEDURE sp1()
7529
declare references char;
7531
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references char;
7533
DROP PROCEDURE IF EXISTS sp1;
7534
CREATE PROCEDURE sp1()
7536
declare regexp char;
7538
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp char;
7540
DROP PROCEDURE IF EXISTS sp1;
7541
CREATE PROCEDURE sp1()
7543
declare rename char;
7545
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename char;
7547
DROP PROCEDURE IF EXISTS sp1;
7548
CREATE PROCEDURE sp1()
7550
declare repeat char;
7552
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat char;
7554
DROP PROCEDURE IF EXISTS sp1;
7555
CREATE PROCEDURE sp1()
7557
declare replace char;
7559
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace char;
7561
DROP PROCEDURE IF EXISTS sp1;
7563
Note 1305 PROCEDURE sp1 does not exist
7564
CREATE PROCEDURE sp1()
7566
declare require char;
7568
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require char;
7570
DROP PROCEDURE IF EXISTS sp1;
7572
Note 1305 PROCEDURE sp1 does not exist
7573
CREATE PROCEDURE sp1()
7575
declare restrict char;
7577
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict char;
7579
DROP PROCEDURE IF EXISTS sp1;
7581
Note 1305 PROCEDURE sp1 does not exist
7582
CREATE PROCEDURE sp1()
7584
declare return char;
7586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return char;
7588
DROP PROCEDURE IF EXISTS sp1;
7590
Note 1305 PROCEDURE sp1 does not exist
7591
CREATE PROCEDURE sp1()
7593
declare revoke char;
7595
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke char;
7597
DROP PROCEDURE IF EXISTS sp1;
7599
Note 1305 PROCEDURE sp1 does not exist
7600
CREATE PROCEDURE sp1()
7604
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char;
7606
DROP PROCEDURE IF EXISTS sp1;
7608
Note 1305 PROCEDURE sp1 does not exist
7609
CREATE PROCEDURE sp1()
7613
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike char;
7615
DROP PROCEDURE IF EXISTS sp1;
7617
Note 1305 PROCEDURE sp1 does not exist
7618
CREATE PROCEDURE sp1()
7620
declare schema char;
7622
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema char;
7624
DROP PROCEDURE IF EXISTS sp1;
7626
Note 1305 PROCEDURE sp1 does not exist
7627
CREATE PROCEDURE sp1()
7629
declare schemas char;
7631
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas char;
7633
DROP PROCEDURE IF EXISTS sp1;
7635
Note 1305 PROCEDURE sp1 does not exist
7636
CREATE PROCEDURE sp1()
7638
declare second_microsecond char;
7640
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond char;
7642
DROP PROCEDURE IF EXISTS sp1;
7644
Note 1305 PROCEDURE sp1 does not exist
7645
CREATE PROCEDURE sp1()
7647
declare SELECT char;
7649
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT char;
7651
DROP PROCEDURE IF EXISTS sp1;
7653
Note 1305 PROCEDURE sp1 does not exist
7654
CREATE PROCEDURE sp1()
7656
declare sensitive char;
7658
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive char;
7660
DROP PROCEDURE IF EXISTS sp1;
7662
Note 1305 PROCEDURE sp1 does not exist
7663
CREATE PROCEDURE sp1()
7665
declare separator char;
7667
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator char;
7669
DROP PROCEDURE IF EXISTS sp1;
7671
Note 1305 PROCEDURE sp1 does not exist
7672
CREATE PROCEDURE sp1()
7676
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char;
7678
DROP PROCEDURE IF EXISTS sp1;
7680
Note 1305 PROCEDURE sp1 does not exist
7681
CREATE PROCEDURE sp1()
7685
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show char;
7687
DROP PROCEDURE IF EXISTS sp1;
7689
Note 1305 PROCEDURE sp1 does not exist
7690
CREATE PROCEDURE sp1()
7692
declare smallint char;
7694
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint char;
7696
DROP PROCEDURE IF EXISTS sp1;
7698
Note 1305 PROCEDURE sp1 does not exist
7699
CREATE PROCEDURE sp1()
7701
declare soname char;
7703
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'soname char;
7705
DROP PROCEDURE IF EXISTS sp1;
7707
Note 1305 PROCEDURE sp1 does not exist
7708
CREATE PROCEDURE sp1()
7710
declare spatial char;
7712
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial char;
7714
DROP PROCEDURE IF EXISTS sp1;
7716
Note 1305 PROCEDURE sp1 does not exist
7717
CREATE PROCEDURE sp1()
7719
declare specific char;
7721
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific char;
7723
DROP PROCEDURE IF EXISTS sp1;
7725
Note 1305 PROCEDURE sp1 does not exist
7726
CREATE PROCEDURE sp1()
7730
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql char;
7732
DROP PROCEDURE IF EXISTS sp1;
7734
Note 1305 PROCEDURE sp1 does not exist
7735
CREATE PROCEDURE sp1()
7737
declare sqlexception char;
7739
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception char;
7741
DROP PROCEDURE IF EXISTS sp1;
7743
Note 1305 PROCEDURE sp1 does not exist
7744
CREATE PROCEDURE sp1()
7746
declare sqlstate char;
7748
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate char;
7750
DROP PROCEDURE IF EXISTS sp1;
7752
Note 1305 PROCEDURE sp1 does not exist
7753
CREATE PROCEDURE sp1()
7755
declare sqlwarning char;
7757
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning char;
7759
DROP PROCEDURE IF EXISTS sp1;
7761
Note 1305 PROCEDURE sp1 does not exist
7762
CREATE PROCEDURE sp1()
7764
declare sql_big_result char;
7766
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result char;
7768
DROP PROCEDURE IF EXISTS sp1;
7770
Note 1305 PROCEDURE sp1 does not exist
7771
CREATE PROCEDURE sp1()
7773
declare sql_calc_found_rows char;
7775
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows char;
7777
DROP PROCEDURE IF EXISTS sp1;
7779
Note 1305 PROCEDURE sp1 does not exist
7780
CREATE PROCEDURE sp1()
7782
declare sql_small_result char;
7784
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result char;
7786
DROP PROCEDURE IF EXISTS sp1;
7788
Note 1305 PROCEDURE sp1 does not exist
7789
CREATE PROCEDURE sp1()
7793
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl char;
7795
DROP PROCEDURE IF EXISTS sp1;
7797
Note 1305 PROCEDURE sp1 does not exist
7798
CREATE PROCEDURE sp1()
7800
declare starting char;
7802
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting char;
7804
DROP PROCEDURE IF EXISTS sp1;
7806
Note 1305 PROCEDURE sp1 does not exist
7807
CREATE PROCEDURE sp1()
7809
declare straight_join char;
7811
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join char;
7813
DROP PROCEDURE IF EXISTS sp1;
7815
Note 1305 PROCEDURE sp1 does not exist
7816
CREATE PROCEDURE sp1()
7820
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table char;
7822
DROP PROCEDURE IF EXISTS sp1;
7824
Note 1305 PROCEDURE sp1 does not exist
7825
CREATE PROCEDURE sp1()
7827
declare tables char;
7829
DROP PROCEDURE IF EXISTS sp1;
7830
CREATE PROCEDURE sp1()
7832
declare terminated char;
7834
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated char;
7836
DROP PROCEDURE IF EXISTS sp1;
7838
Note 1305 PROCEDURE sp1 does not exist
7839
CREATE PROCEDURE sp1()
7843
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char;
7845
DROP PROCEDURE IF EXISTS sp1;
7847
Note 1305 PROCEDURE sp1 does not exist
7848
CREATE PROCEDURE sp1()
7850
declare tinyblob char;
7852
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob char;
7854
DROP PROCEDURE IF EXISTS sp1;
7856
Note 1305 PROCEDURE sp1 does not exist
7857
CREATE PROCEDURE sp1()
7859
declare tinyint char;
7861
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint char;
7863
DROP PROCEDURE IF EXISTS sp1;
7865
Note 1305 PROCEDURE sp1 does not exist
7866
CREATE PROCEDURE sp1()
7868
declare tinytext char;
7870
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext char;
7872
DROP PROCEDURE IF EXISTS sp1;
7874
Note 1305 PROCEDURE sp1 does not exist
7875
CREATE PROCEDURE sp1()
7879
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to char;
7881
DROP PROCEDURE IF EXISTS sp1;
7883
Note 1305 PROCEDURE sp1 does not exist
7884
CREATE PROCEDURE sp1()
7886
declare trailing char;
7888
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing char;
7890
DROP PROCEDURE IF EXISTS sp1;
7892
Note 1305 PROCEDURE sp1 does not exist
7893
CREATE PROCEDURE sp1()
7895
declare trigger char;
7897
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger char;
7899
DROP PROCEDURE IF EXISTS sp1;
7901
Note 1305 PROCEDURE sp1 does not exist
7902
CREATE PROCEDURE sp1()
7906
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true char;
7908
DROP PROCEDURE IF EXISTS sp1;
7910
Note 1305 PROCEDURE sp1 does not exist
7911
CREATE PROCEDURE sp1()
7915
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo char;
7917
DROP PROCEDURE IF EXISTS sp1;
7919
Note 1305 PROCEDURE sp1 does not exist
7920
CREATE PROCEDURE sp1()
7924
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union char;
7926
DROP PROCEDURE IF EXISTS sp1;
7928
Note 1305 PROCEDURE sp1 does not exist
7929
CREATE PROCEDURE sp1()
7931
declare unique char;
7933
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char;
7935
DROP PROCEDURE IF EXISTS sp1;
7937
Note 1305 PROCEDURE sp1 does not exist
7938
CREATE PROCEDURE sp1()
7940
declare unlock char;
7942
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock char;
7944
DROP PROCEDURE IF EXISTS sp1;
7946
Note 1305 PROCEDURE sp1 does not exist
7947
CREATE PROCEDURE sp1()
7949
declare unsigned char;
7951
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned char;
7953
DROP PROCEDURE IF EXISTS sp1;
7955
Note 1305 PROCEDURE sp1 does not exist
7956
CREATE PROCEDURE sp1()
7958
declare update char;
7960
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update char;
7962
DROP PROCEDURE IF EXISTS sp1;
7964
Note 1305 PROCEDURE sp1 does not exist
7965
CREATE PROCEDURE sp1()
7969
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage char;
7971
DROP PROCEDURE IF EXISTS sp1;
7973
Note 1305 PROCEDURE sp1 does not exist
7974
CREATE PROCEDURE sp1()
7978
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USE char;
7980
DROP PROCEDURE IF EXISTS sp1;
7982
Note 1305 PROCEDURE sp1 does not exist
7983
CREATE PROCEDURE sp1()
7987
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using char;
7989
DROP PROCEDURE IF EXISTS sp1;
7991
Note 1305 PROCEDURE sp1 does not exist
7992
CREATE PROCEDURE sp1()
7994
declare utc_date char;
7996
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date char;
7998
DROP PROCEDURE IF EXISTS sp1;
8000
Note 1305 PROCEDURE sp1 does not exist
8001
CREATE PROCEDURE sp1()
8003
declare utc_time char;
8005
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time char;
8007
DROP PROCEDURE IF EXISTS sp1;
8009
Note 1305 PROCEDURE sp1 does not exist
8010
CREATE PROCEDURE sp1()
8012
declare utc_timestamp char;
8014
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp char;
8016
DROP PROCEDURE IF EXISTS sp1;
8018
Note 1305 PROCEDURE sp1 does not exist
8019
CREATE PROCEDURE sp1()
8021
declare values char;
8023
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char;
8025
DROP PROCEDURE IF EXISTS sp1;
8027
Note 1305 PROCEDURE sp1 does not exist
8028
CREATE PROCEDURE sp1()
8030
declare varbinary char;
8032
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary char;
8034
DROP PROCEDURE IF EXISTS sp1;
8036
Note 1305 PROCEDURE sp1 does not exist
8037
CREATE PROCEDURE sp1()
8039
declare varchar char;
8041
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar char;
8043
DROP PROCEDURE IF EXISTS sp1;
8045
Note 1305 PROCEDURE sp1 does not exist
8046
CREATE PROCEDURE sp1()
8048
declare varcharacter char;
8050
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter char;
8052
DROP PROCEDURE IF EXISTS sp1;
8054
Note 1305 PROCEDURE sp1 does not exist
8055
CREATE PROCEDURE sp1()
8057
declare varying char;
8059
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying char;
8061
DROP PROCEDURE IF EXISTS sp1;
8063
Note 1305 PROCEDURE sp1 does not exist
8064
CREATE PROCEDURE sp1()
8068
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when char;
8070
DROP PROCEDURE IF EXISTS sp1;
8072
Note 1305 PROCEDURE sp1 does not exist
8073
CREATE PROCEDURE sp1()
8077
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where char;
8079
DROP PROCEDURE IF EXISTS sp1;
8081
Note 1305 PROCEDURE sp1 does not exist
8082
CREATE PROCEDURE sp1()
8086
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while char;
8088
DROP PROCEDURE IF EXISTS sp1;
8090
Note 1305 PROCEDURE sp1 does not exist
8091
CREATE PROCEDURE sp1()
8095
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with char;
8097
DROP PROCEDURE IF EXISTS sp1;
8099
Note 1305 PROCEDURE sp1 does not exist
8100
CREATE PROCEDURE sp1()
8104
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write char;
8106
DROP PROCEDURE IF EXISTS sp1;
8108
Note 1305 PROCEDURE sp1 does not exist
8109
CREATE PROCEDURE sp1()
8113
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor char;
8115
DROP PROCEDURE IF EXISTS sp1;
8117
Note 1305 PROCEDURE sp1 does not exist
8118
CREATE PROCEDURE sp1()
8120
declare year_month char;
8122
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month char;
8124
DROP PROCEDURE IF EXISTS sp1;
8126
Note 1305 PROCEDURE sp1 does not exist
8127
CREATE PROCEDURE sp1()
8129
declare zerofill char;
8131
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill char;
8136
Ensure that every possible type of condition may be declared for a stored procedure
8137
( covered in more detail in handlers section.)
8138
--------------------------------------------------------------------------------
8139
DROP PROCEDURE IF EXISTS sp1;
8141
Note 1305 PROCEDURE sp1 does not exist
8142
CREATE PROCEDURE sp1()
8144
declare cond1 condition for sqlstate 'HY000';
8145
declare cond2 condition for sqlstate '23000';
8146
declare cond3 condition for sqlstate 'HY001';
8147
declare cond4 condition for sqlstate '08004';
8148
declare cond5 condition for sqlstate '08S01';
8149
declare cond6 condition for sqlstate '42000';
8150
declare cond7 condition for sqlstate '28000';
8151
declare cond8 condition for sqlstate '3D000';
8152
declare cond9 condition for sqlstate '42S01';
8153
declare cond10 condition for sqlstate '42S02';
8154
declare cond11 condition for sqlstate '42S22';
8155
declare cond12 condition for sqlstate '21S01';
8156
declare cond13 condition for sqlstate '42S21';
8157
declare cond14 condition for sqlstate '42S12';
8158
declare cond15 condition for sqlstate '22004';
8159
declare cond16 condition for sqlstate '25000';
8160
declare cond17 condition for sqlstate '40001';
8161
declare cond18 condition for sqlstate '21000';
8162
declare cond19 condition for sqlstate '01000';
8163
declare cond20 condition for sqlstate '22003';
8164
declare cond21 condition for sqlstate '22007';
8165
declare cond22 condition for sqlstate '0A000';
8166
declare cond23 condition for sqlstate '70100';
8167
declare cond24 condition for sqlstate '2F005';
8168
declare cond25 condition for sqlstate '24000';
8169
declare cond26 condition for sqlstate '02000';
8170
declare continue handler for cond2 set @x2 = 1;
8171
declare continue handler for cond1 set @x2 = 1;
8172
declare continue handler for cond3 set @x2 = 1;
8173
declare continue handler for cond4 set @x2 = 1;
8174
declare continue handler for cond5 set @x2 = 1;
8175
declare continue handler for cond7 set @x2 = 1;
8176
declare continue handler for cond6 set @x2 = 1;
8177
declare continue handler for cond8 set @x2 = 1;
8178
declare continue handler for cond9 set @x2 = 1;
8179
declare continue handler for cond10 set @x2 = 1;
8180
declare continue handler for cond11 set @x2 = 1;
8181
declare continue handler for cond12 set @x2 = 1;
8182
declare continue handler for cond13 set @x2 = 1;
8183
declare continue handler for cond14 set @x2 = 1;
8184
declare continue handler for cond15 set @x2 = 1;
8185
declare continue handler for cond16 set @x2 = 1;
8186
declare continue handler for cond17 set @x2 = 1;
8187
declare continue handler for cond18 set @x2 = 1;
8188
declare continue handler for cond19 set @x2 = 1;
8189
declare continue handler for cond20 set @x2 = 1;
8190
declare continue handler for cond21 set @x2 = 1;
8191
declare continue handler for cond22 set @x2 = 1;
8192
declare continue handler for cond23 set @x2 = 1;
8193
declare continue handler for cond24 set @x2 = 1;
8194
declare continue handler for cond25 set @x2 = 1;
8195
declare continue handler for cond26 set @x2 = 1;
8197
insert into t2 values (1);
8199
insert into t2 values (1);
8204
DROP PROCEDURE IF EXISTS sp1;
8206
Note 1305 PROCEDURE sp1 does not exist
8207
CREATE PROCEDURE sp1( )
8211
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
8213
DROP PROCEDURE IF EXISTS sp1;
8215
Note 1305 PROCEDURE sp1 does not exist
8216
CREATE PROCEDURE sp1( )
8220
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char1;
8222
DROP PROCEDURE IF EXISTS sp1;
8224
Note 1305 PROCEDURE sp1 does not exist
8225
CREATE PROCEDURE sp1( )
8227
declare add condition for sqlstate '02000';
8228
declare exit handler for add set @var2 = 1;
8230
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add condition for sqlstate '02000';
8231
declare exit handler for add set @var2 = 1;
8233
DROP PROCEDURE IF EXISTS sp1;
8235
Note 1305 PROCEDURE sp1 does not exist
8236
CREATE PROCEDURE sp1( )
8238
declare all condition for sqlstate '02000';
8239
declare exit handler for all set @var2 = 1;
8241
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all condition for sqlstate '02000';
8242
declare exit handler for all set @var2 = 1;
8244
DROP PROCEDURE IF EXISTS sp1;
8246
Note 1305 PROCEDURE sp1 does not exist
8247
CREATE PROCEDURE sp1( )
8249
declare alter condition for sqlstate '02000';
8250
declare exit handler for alter set @var2 = 1;
8252
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter condition for sqlstate '02000';
8253
declare exit handler for alter set @var2 =' at line 3
8254
DROP PROCEDURE IF EXISTS sp1;
8256
Note 1305 PROCEDURE sp1 does not exist
8257
CREATE PROCEDURE sp1( )
8259
declare analyze condition for sqlstate '02000';
8260
declare exit handler for analyze set @var2 = 1;
8262
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze condition for sqlstate '02000';
8263
declare exit handler for analyze set @va' at line 3
8264
DROP PROCEDURE IF EXISTS sp1;
8266
Note 1305 PROCEDURE sp1 does not exist
8267
CREATE PROCEDURE sp1( )
8269
declare and condition for sqlstate '02000';
8270
declare exit handler for and set @var2 = 1;
8272
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and condition for sqlstate '02000';
8273
declare exit handler for and set @var2 = 1;
8275
DROP PROCEDURE IF EXISTS sp1;
8277
Note 1305 PROCEDURE sp1 does not exist
8278
CREATE PROCEDURE sp1( )
8280
declare as condition for sqlstate '02000';
8281
declare exit handler for as set @var2 = 1;
8283
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as condition for sqlstate '02000';
8284
declare exit handler for as set @var2 = 1;
8286
DROP PROCEDURE IF EXISTS sp1;
8288
Note 1305 PROCEDURE sp1 does not exist
8289
CREATE PROCEDURE sp1( )
8291
declare asc condition for sqlstate '02000';
8292
declare exit handler for asc set @var2 = 1;
8294
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc condition for sqlstate '02000';
8295
declare exit handler for asc set @var2 = 1;
8297
DROP PROCEDURE IF EXISTS sp1;
8299
Note 1305 PROCEDURE sp1 does not exist
8300
CREATE PROCEDURE sp1( )
8302
declare asensitive condition for sqlstate '02000';
8303
declare exit handler for asensitive set @var2 = 1;
8305
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive condition for sqlstate '02000';
8306
declare exit handler for asensitive s' at line 3
8307
DROP PROCEDURE IF EXISTS sp1;
8309
Note 1305 PROCEDURE sp1 does not exist
8310
CREATE PROCEDURE sp1( )
8312
declare before condition for sqlstate '02000';
8313
declare exit handler for before set @var2 = 1;
8315
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before condition for sqlstate '02000';
8316
declare exit handler for before set @var2' at line 3
8317
DROP PROCEDURE IF EXISTS sp1;
8319
Note 1305 PROCEDURE sp1 does not exist
8320
CREATE PROCEDURE sp1( )
8322
declare between condition for sqlstate '02000';
8323
declare exit handler for between set @var2 = 1;
8325
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between condition for sqlstate '02000';
8326
declare exit handler for between set @va' at line 3
8327
DROP PROCEDURE IF EXISTS sp1;
8329
Note 1305 PROCEDURE sp1 does not exist
8330
CREATE PROCEDURE sp1( )
8332
declare bigint condition for sqlstate '02000';
8333
declare exit handler for bigint set @var2 = 1;
8335
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint condition for sqlstate '02000';
8336
declare exit handler for bigint set @var2' at line 3
8337
DROP PROCEDURE IF EXISTS sp1;
8339
Note 1305 PROCEDURE sp1 does not exist
8340
CREATE PROCEDURE sp1( )
8342
declare binary condition for sqlstate '02000';
8343
declare exit handler for binary set @var2 = 1;
8345
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary condition for sqlstate '02000';
8346
declare exit handler for binary set @var2' at line 3
8347
DROP PROCEDURE IF EXISTS sp1;
8349
Note 1305 PROCEDURE sp1 does not exist
8350
CREATE PROCEDURE sp1( )
8352
declare blob condition for sqlstate '02000';
8353
declare exit handler for blob set @var2 = 1;
8355
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob condition for sqlstate '02000';
8356
declare exit handler for blob set @var2 = 1' at line 3
8357
DROP PROCEDURE IF EXISTS sp1;
8359
Note 1305 PROCEDURE sp1 does not exist
8360
CREATE PROCEDURE sp1( )
8362
declare both condition for sqlstate '02000';
8363
declare exit handler for both set @var2 = 1;
8365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both condition for sqlstate '02000';
8366
declare exit handler for both set @var2 = 1' at line 3
8367
DROP PROCEDURE IF EXISTS sp1;
8369
Note 1305 PROCEDURE sp1 does not exist
8370
CREATE PROCEDURE sp1( )
8372
declare by condition for sqlstate '02000';
8373
declare exit handler for by set @var2 = 1;
8375
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by condition for sqlstate '02000';
8376
declare exit handler for by set @var2 = 1;
8378
DROP PROCEDURE IF EXISTS sp1;
8380
Note 1305 PROCEDURE sp1 does not exist
8381
CREATE PROCEDURE sp1( )
8383
declare CALL condition for sqlstate '02000';
8384
declare exit handler for CALL set @var2 = 1;
8386
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CALL condition for sqlstate '02000';
8387
declare exit handler for CALL set @var2 = 1' at line 3
8388
DROP PROCEDURE IF EXISTS sp1;
8390
Note 1305 PROCEDURE sp1 does not exist
8391
CREATE PROCEDURE sp1( )
8393
declare cascade condition for sqlstate '02000';
8394
declare exit handler for cascade set @var2 = 1;
8396
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade condition for sqlstate '02000';
8397
declare exit handler for cascade set @va' at line 3
8398
DROP PROCEDURE IF EXISTS sp1;
8400
Note 1305 PROCEDURE sp1 does not exist
8401
CREATE PROCEDURE sp1( )
8403
declare case condition for sqlstate '02000';
8404
declare exit handler for case set @var2 = 1;
8406
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case condition for sqlstate '02000';
8407
declare exit handler for case set @var2 = 1' at line 3
8408
DROP PROCEDURE IF EXISTS sp1;
8410
Note 1305 PROCEDURE sp1 does not exist
8411
CREATE PROCEDURE sp1( )
8413
declare change condition for sqlstate '02000';
8414
declare exit handler for change set @var2 = 1;
8416
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change condition for sqlstate '02000';
8417
declare exit handler for change set @var2' at line 3
8418
DROP PROCEDURE IF EXISTS sp1;
8420
Note 1305 PROCEDURE sp1 does not exist
8421
CREATE PROCEDURE sp1( )
8423
declare char condition for sqlstate '02000';
8424
declare exit handler for char set @var2 = 1;
8426
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char condition for sqlstate '02000';
8427
declare exit handler for char set @var2 = 1' at line 3
8428
DROP PROCEDURE IF EXISTS sp1;
8430
Note 1305 PROCEDURE sp1 does not exist
8431
CREATE PROCEDURE sp1( )
8433
declare character condition for sqlstate '02000';
8434
declare exit handler for character set @var2 = 1;
8436
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character condition for sqlstate '02000';
8437
declare exit handler for character set' at line 3
8438
DROP PROCEDURE IF EXISTS sp1;
8440
Note 1305 PROCEDURE sp1 does not exist
8441
CREATE PROCEDURE sp1( )
8443
declare check condition for sqlstate '02000';
8444
declare exit handler for check set @var2 = 1;
8446
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check condition for sqlstate '02000';
8447
declare exit handler for check set @var2 =' at line 3
8448
DROP PROCEDURE IF EXISTS sp1;
8450
Note 1305 PROCEDURE sp1 does not exist
8451
CREATE PROCEDURE sp1( )
8453
declare collate condition for sqlstate '02000';
8454
declare exit handler for collate set @var2 = 1;
8456
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate condition for sqlstate '02000';
8457
declare exit handler for collate set @va' at line 3
8458
DROP PROCEDURE IF EXISTS sp1;
8460
Note 1305 PROCEDURE sp1 does not exist
8461
CREATE PROCEDURE sp1( )
8463
declare column condition for sqlstate '02000';
8464
declare exit handler for column set @var2 = 1;
8466
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column condition for sqlstate '02000';
8467
declare exit handler for column set @var2' at line 3
8468
DROP PROCEDURE IF EXISTS sp1;
8470
Note 1305 PROCEDURE sp1 does not exist
8471
CREATE PROCEDURE sp1( )
8473
declare condition condition for sqlstate '02000';
8474
declare exit handler for condition set @var2 = 1;
8476
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition condition for sqlstate '02000';
8477
declare exit handler for condition set' at line 3
8478
DROP PROCEDURE IF EXISTS sp1;
8480
Note 1305 PROCEDURE sp1 does not exist
8481
CREATE PROCEDURE sp1( )
8483
declare connection condition for sqlstate '02000';
8484
declare exit handler for connection set @var2 = 1;
8486
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection condition for sqlstate '02000';
8487
declare exit handler for connection s' at line 3
8488
DROP PROCEDURE IF EXISTS sp1;
8490
Note 1305 PROCEDURE sp1 does not exist
8491
CREATE PROCEDURE sp1( )
8493
declare constraint condition for sqlstate '02000';
8494
declare exit handler for constraint set @var2 = 1;
8496
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint condition for sqlstate '02000';
8497
declare exit handler for constraint s' at line 3
8498
DROP PROCEDURE IF EXISTS sp1;
8500
Note 1305 PROCEDURE sp1 does not exist
8501
CREATE PROCEDURE sp1( )
8503
declare continue condition for sqlstate '02000';
8504
declare exit handler for continue set @var2 = 1;
8506
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
8507
declare exit handler for continue set @var2 = 1;' at line 3
8508
DROP PROCEDURE IF EXISTS sp1;
8510
Note 1305 PROCEDURE sp1 does not exist
8511
CREATE PROCEDURE sp1( )
8513
declare convert condition for sqlstate '02000';
8514
declare exit handler for convert set @var2 = 1;
8516
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000';
8517
declare exit handler for convert set @va' at line 3
8518
DROP PROCEDURE IF EXISTS sp1;
8520
Note 1305 PROCEDURE sp1 does not exist
8521
CREATE PROCEDURE sp1( )
8523
declare create condition for sqlstate '02000';
8524
declare exit handler for create set @var2 = 1;
8526
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000';
8527
declare exit handler for create set @var2' at line 3
8528
DROP PROCEDURE IF EXISTS sp1;
8530
Note 1305 PROCEDURE sp1 does not exist
8531
CREATE PROCEDURE sp1( )
8533
declare cross condition for sqlstate '02000';
8534
declare exit handler for cross set @var2 = 1;
8536
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000';
8537
declare exit handler for cross set @var2 =' at line 3
8538
DROP PROCEDURE IF EXISTS sp1;
8540
Note 1305 PROCEDURE sp1 does not exist
8541
CREATE PROCEDURE sp1( )
8543
declare current_date condition for sqlstate '02000';
8544
declare exit handler for current_date set @var2 = 1;
8546
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000';
8547
declare exit handler for current_da' at line 3
8548
DROP PROCEDURE IF EXISTS sp1;
8550
Note 1305 PROCEDURE sp1 does not exist
8551
CREATE PROCEDURE sp1( )
8553
declare current_time condition for sqlstate '02000';
8554
declare exit handler for current_time set @var2 = 1;
8556
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000';
8557
declare exit handler for current_ti' at line 3
8558
DROP PROCEDURE IF EXISTS sp1;
8560
Note 1305 PROCEDURE sp1 does not exist
8561
CREATE PROCEDURE sp1( )
8563
declare current_timestamp condition for sqlstate '02000';
8564
declare exit handler for current_timestamp set @var2 = 1;
8566
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
8567
declare exit handler for curre' at line 3
8568
DROP PROCEDURE IF EXISTS sp1;
8570
Note 1305 PROCEDURE sp1 does not exist
8571
CREATE PROCEDURE sp1( )
8573
declare current_user condition for sqlstate '02000';
8574
declare exit handler for current_user set @var2 = 1;
8576
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000';
8577
declare exit handler for current_us' at line 3
8578
DROP PROCEDURE IF EXISTS sp1;
8580
Note 1305 PROCEDURE sp1 does not exist
8581
CREATE PROCEDURE sp1( )
8583
declare cursor condition for sqlstate '02000';
8584
declare exit handler for cursor set @var2 = 1;
8586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor condition for sqlstate '02000';
8587
declare exit handler for cursor set @var2' at line 3
8588
DROP PROCEDURE IF EXISTS sp1;
8590
Note 1305 PROCEDURE sp1 does not exist
8591
CREATE PROCEDURE sp1( )
8593
declare database condition for sqlstate '02000';
8594
declare exit handler for database set @var2 = 1;
8596
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database condition for sqlstate '02000';
8597
declare exit handler for database set @' at line 3
8598
DROP PROCEDURE IF EXISTS sp1;
8600
Note 1305 PROCEDURE sp1 does not exist
8601
CREATE PROCEDURE sp1( )
8603
declare databases condition for sqlstate '02000';
8604
declare exit handler for databases set @var2 = 1;
8606
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases condition for sqlstate '02000';
8607
declare exit handler for databases set' at line 3
8608
DROP PROCEDURE IF EXISTS sp1;
8610
Note 1305 PROCEDURE sp1 does not exist
8611
CREATE PROCEDURE sp1( )
8613
declare day_hour condition for sqlstate '02000';
8614
declare exit handler for day_hour set @var2 = 1;
8616
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour condition for sqlstate '02000';
8617
declare exit handler for day_hour set @' at line 3
8618
DROP PROCEDURE IF EXISTS sp1;
8620
Note 1305 PROCEDURE sp1 does not exist
8621
CREATE PROCEDURE sp1( )
8623
declare day_microsecond condition for sqlstate '02000';
8624
declare exit handler for day_microsecond set @var2 = 1;
8626
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000';
8627
declare exit handler for day_mic' at line 3
8628
DROP PROCEDURE IF EXISTS sp1;
8630
Note 1305 PROCEDURE sp1 does not exist
8631
CREATE PROCEDURE sp1( )
8633
declare day_minute condition for sqlstate '02000';
8634
declare exit handler for day_minute set @var2 = 1;
8636
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute condition for sqlstate '02000';
8637
declare exit handler for day_minute s' at line 3
8638
DROP PROCEDURE IF EXISTS sp1;
8640
Note 1305 PROCEDURE sp1 does not exist
8641
CREATE PROCEDURE sp1( )
8643
declare day_second condition for sqlstate '02000';
8644
declare exit handler for day_second set @var2 = 1;
8646
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second condition for sqlstate '02000';
8647
declare exit handler for day_second s' at line 3
8648
DROP PROCEDURE IF EXISTS sp1;
8650
Note 1305 PROCEDURE sp1 does not exist
8651
CREATE PROCEDURE sp1( )
8653
declare dec condition for sqlstate '02000';
8654
declare exit handler for dec set @var2 = 1;
8656
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec condition for sqlstate '02000';
8657
declare exit handler for dec set @var2 = 1;
8659
DROP PROCEDURE IF EXISTS sp1;
8661
Note 1305 PROCEDURE sp1 does not exist
8662
CREATE PROCEDURE sp1( )
8664
declare decimal condition for sqlstate '02000';
8665
declare exit handler for decimal set @var2 = 1;
8667
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal condition for sqlstate '02000';
8668
declare exit handler for decimal set @va' at line 3
8669
DROP PROCEDURE IF EXISTS sp1;
8671
Note 1305 PROCEDURE sp1 does not exist
8672
CREATE PROCEDURE sp1( )
8674
declare declare condition for sqlstate '02000';
8675
declare exit handler for declare set @var2 = 1;
8677
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare condition for sqlstate '02000';
8678
declare exit handler for declare set @va' at line 3
8679
DROP PROCEDURE IF EXISTS sp1;
8681
Note 1305 PROCEDURE sp1 does not exist
8682
CREATE PROCEDURE sp1( )
8684
declare default condition for sqlstate '02000';
8685
declare exit handler for default set @var2 = 1;
8687
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default condition for sqlstate '02000';
8688
declare exit handler for default set @va' at line 3
8689
DROP PROCEDURE IF EXISTS sp1;
8691
Note 1305 PROCEDURE sp1 does not exist
8692
CREATE PROCEDURE sp1( )
8694
declare delayed condition for sqlstate '02000';
8695
declare exit handler for delayed set @var2 = 1;
8697
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed condition for sqlstate '02000';
8698
declare exit handler for delayed set @va' at line 3
8699
DROP PROCEDURE IF EXISTS sp1;
8701
Note 1305 PROCEDURE sp1 does not exist
8702
CREATE PROCEDURE sp1( )
8704
declare delete condition for sqlstate '02000';
8705
declare exit handler for delete set @var2 = 1;
8707
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete condition for sqlstate '02000';
8708
declare exit handler for delete set @var2' at line 3
8709
DROP PROCEDURE IF EXISTS sp1;
8711
Note 1305 PROCEDURE sp1 does not exist
8712
CREATE PROCEDURE sp1( )
8714
declare desc condition for sqlstate '02000';
8715
declare exit handler for desc set @var2 = 1;
8717
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc condition for sqlstate '02000';
8718
declare exit handler for desc set @var2 = 1' at line 3
8719
DROP PROCEDURE IF EXISTS sp1;
8721
Note 1305 PROCEDURE sp1 does not exist
8722
CREATE PROCEDURE sp1( )
8724
declare describe condition for sqlstate '02000';
8725
declare exit handler for describe set @var2 = 1;
8727
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe condition for sqlstate '02000';
8728
declare exit handler for describe set @' at line 3
8729
DROP PROCEDURE IF EXISTS sp1;
8731
Note 1305 PROCEDURE sp1 does not exist
8732
CREATE PROCEDURE sp1( )
8734
declare deterministic condition for sqlstate '02000';
8735
declare exit handler for deterministic set @var2 = 1;
8737
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic condition for sqlstate '02000';
8738
declare exit handler for determini' at line 3
8739
DROP PROCEDURE IF EXISTS sp1;
8741
Note 1305 PROCEDURE sp1 does not exist
8742
CREATE PROCEDURE sp1( )
8744
declare distinct condition for sqlstate '02000';
8745
declare exit handler for distinct set @var2 = 1;
8747
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct condition for sqlstate '02000';
8748
declare exit handler for distinct set @' at line 3
8749
DROP PROCEDURE IF EXISTS sp1;
8751
Note 1305 PROCEDURE sp1 does not exist
8752
CREATE PROCEDURE sp1( )
8754
declare distinctrow condition for sqlstate '02000';
8755
declare exit handler for distinctrow set @var2 = 1;
8757
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow condition for sqlstate '02000';
8758
declare exit handler for distinctrow' at line 3
8759
DROP PROCEDURE IF EXISTS sp1;
8761
Note 1305 PROCEDURE sp1 does not exist
8762
CREATE PROCEDURE sp1( )
8764
declare div condition for sqlstate '02000';
8765
declare exit handler for div set @var2 = 1;
8767
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div condition for sqlstate '02000';
8768
declare exit handler for div set @var2 = 1;
8770
DROP PROCEDURE IF EXISTS sp1;
8772
Note 1305 PROCEDURE sp1 does not exist
8773
CREATE PROCEDURE sp1( )
8775
declare double condition for sqlstate '02000';
8776
declare exit handler for double set @var2 = 1;
8778
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double condition for sqlstate '02000';
8779
declare exit handler for double set @var2' at line 3
8780
DROP PROCEDURE IF EXISTS sp1;
8782
Note 1305 PROCEDURE sp1 does not exist
8783
CREATE PROCEDURE sp1( )
8785
declare drop condition for sqlstate '02000';
8786
declare exit handler for drop set @var2 = 1;
8788
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop condition for sqlstate '02000';
8789
declare exit handler for drop set @var2 = 1' at line 3
8790
DROP PROCEDURE IF EXISTS sp1;
8792
Note 1305 PROCEDURE sp1 does not exist
8793
CREATE PROCEDURE sp1( )
8795
declare dual condition for sqlstate '02000';
8796
declare exit handler for dual set @var2 = 1;
8798
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual condition for sqlstate '02000';
8799
declare exit handler for dual set @var2 = 1' at line 3
8800
DROP PROCEDURE IF EXISTS sp1;
8802
Note 1305 PROCEDURE sp1 does not exist
8803
CREATE PROCEDURE sp1( )
8805
declare each condition for sqlstate '02000';
8806
declare exit handler for each set @var2 = 1;
8808
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each condition for sqlstate '02000';
8809
declare exit handler for each set @var2 = 1' at line 3
8810
DROP PROCEDURE IF EXISTS sp1;
8812
Note 1305 PROCEDURE sp1 does not exist
8813
CREATE PROCEDURE sp1( )
8815
declare else condition for sqlstate '02000';
8816
declare exit handler for else set @var2 = 1;
8818
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else condition for sqlstate '02000';
8819
declare exit handler for else set @var2 = 1' at line 3
8820
DROP PROCEDURE IF EXISTS sp1;
8822
Note 1305 PROCEDURE sp1 does not exist
8823
CREATE PROCEDURE sp1( )
8825
declare elseif condition for sqlstate '02000';
8826
declare exit handler for elseif set @var2 = 1;
8828
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif condition for sqlstate '02000';
8829
declare exit handler for elseif set @var2' at line 3
8830
DROP PROCEDURE IF EXISTS sp1;
8832
Note 1305 PROCEDURE sp1 does not exist
8833
CREATE PROCEDURE sp1( )
8835
declare enclosed condition for sqlstate '02000';
8836
declare exit handler for enclosed set @var2 = 1;
8838
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed condition for sqlstate '02000';
8839
declare exit handler for enclosed set @' at line 3
8840
DROP PROCEDURE IF EXISTS sp1;
8842
Note 1305 PROCEDURE sp1 does not exist
8843
CREATE PROCEDURE sp1( )
8845
declare escaped condition for sqlstate '02000';
8846
declare exit handler for escaped set @var2 = 1;
8848
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped condition for sqlstate '02000';
8849
declare exit handler for escaped set @va' at line 3
8850
DROP PROCEDURE IF EXISTS sp1;
8852
Note 1305 PROCEDURE sp1 does not exist
8853
CREATE PROCEDURE sp1( )
8855
declare exists condition for sqlstate '02000';
8856
declare exit handler for exists set @var2 = 1;
8858
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists condition for sqlstate '02000';
8859
declare exit handler for exists set @var2' at line 3
8860
DROP PROCEDURE IF EXISTS sp1;
8862
Note 1305 PROCEDURE sp1 does not exist
8863
CREATE PROCEDURE sp1( )
8865
declare exit condition for sqlstate '02000';
8866
declare exit handler for exit set @var2 = 1;
8868
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
8869
declare exit handler for exit set @var2 = 1;
8871
DROP PROCEDURE IF EXISTS sp1;
8873
Note 1305 PROCEDURE sp1 does not exist
8874
CREATE PROCEDURE sp1( )
8876
declare explain condition for sqlstate '02000';
8877
declare exit handler for explain set @var2 = 1;
8879
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain condition for sqlstate '02000';
8880
declare exit handler for explain set @va' at line 3
8881
DROP PROCEDURE IF EXISTS sp1;
8883
Note 1305 PROCEDURE sp1 does not exist
8884
CREATE PROCEDURE sp1( )
8886
declare false condition for sqlstate '02000';
8887
declare exit handler for false set @var2 = 1;
8889
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false condition for sqlstate '02000';
8890
declare exit handler for false set @var2 =' at line 3
8891
DROP PROCEDURE IF EXISTS sp1;
8893
Note 1305 PROCEDURE sp1 does not exist
8894
CREATE PROCEDURE sp1( )
8896
declare fetch condition for sqlstate '02000';
8897
declare exit handler for fetch set @var2 = 1;
8899
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch condition for sqlstate '02000';
8900
declare exit handler for fetch set @var2 =' at line 3
8901
DROP PROCEDURE IF EXISTS sp1;
8903
Note 1305 PROCEDURE sp1 does not exist
8904
CREATE PROCEDURE sp1( )
8906
declare fields condition for sqlstate '02000';
8907
declare exit handler for fields set @var2 = 1;
8909
DROP PROCEDURE IF EXISTS sp1;
8910
CREATE PROCEDURE sp1( )
8912
declare float condition for sqlstate '02000';
8913
declare exit handler for float set @var2 = 1;
8915
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float condition for sqlstate '02000';
8916
declare exit handler for float set @var2 =' at line 3
8917
DROP PROCEDURE IF EXISTS sp1;
8919
Note 1305 PROCEDURE sp1 does not exist
8920
CREATE PROCEDURE sp1( )
8922
declare for condition for sqlstate '02000';
8923
declare exit handler for for set @var2 = 1;
8925
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for condition for sqlstate '02000';
8926
declare exit handler for for set @var2 = 1;
8928
DROP PROCEDURE IF EXISTS sp1;
8930
Note 1305 PROCEDURE sp1 does not exist
8931
CREATE PROCEDURE sp1( )
8933
declare force condition for sqlstate '02000';
8934
declare exit handler for force set @var2 = 1;
8936
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force condition for sqlstate '02000';
8937
declare exit handler for force set @var2 =' at line 3
8938
DROP PROCEDURE IF EXISTS sp1;
8940
Note 1305 PROCEDURE sp1 does not exist
8941
CREATE PROCEDURE sp1( )
8943
declare foreign condition for sqlstate '02000';
8944
declare exit handler for foreign set @var2 = 1;
8946
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign condition for sqlstate '02000';
8947
declare exit handler for foreign set @va' at line 3
8948
DROP PROCEDURE IF EXISTS sp1;
8950
Note 1305 PROCEDURE sp1 does not exist
8951
CREATE PROCEDURE sp1( )
8953
declare found condition for sqlstate '02000';
8954
declare exit handler for found set @var2 = 1;
8956
DROP PROCEDURE IF EXISTS sp1;
8957
CREATE PROCEDURE sp1( )
8959
declare from condition for sqlstate '02000';
8960
declare exit handler for from set @var2 = 1;
8962
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from condition for sqlstate '02000';
8963
declare exit handler for from set @var2 = 1' at line 3
8964
DROP PROCEDURE IF EXISTS sp1;
8966
Note 1305 PROCEDURE sp1 does not exist
8967
CREATE PROCEDURE sp1( )
8969
declare fulltext condition for sqlstate '02000';
8970
declare exit handler for fulltext set @var2 = 1;
8972
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext condition for sqlstate '02000';
8973
declare exit handler for fulltext set @' at line 3
8974
DROP PROCEDURE IF EXISTS sp1;
8976
Note 1305 PROCEDURE sp1 does not exist
8977
CREATE PROCEDURE sp1( )
8979
declare goto condition for sqlstate '02000';
8980
declare exit handler for goto set @var2 = 1;
8982
DROP PROCEDURE IF EXISTS sp1;
8983
CREATE PROCEDURE sp1( )
8985
declare grant condition for sqlstate '02000';
8986
declare exit handler for grant set @var2 = 1;
8988
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000';
8989
declare exit handler for grant set @var2 =' at line 3
8990
DROP PROCEDURE IF EXISTS sp1;
8992
Note 1305 PROCEDURE sp1 does not exist
8993
CREATE PROCEDURE sp1( )
8995
declare group condition for sqlstate '02000';
8996
declare exit handler for group set @var2 = 1;
8998
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group condition for sqlstate '02000';
8999
declare exit handler for group set @var2 =' at line 3
9000
DROP PROCEDURE IF EXISTS sp1;
9002
Note 1305 PROCEDURE sp1 does not exist
9003
CREATE PROCEDURE sp1( )
9005
declare having condition for sqlstate '02000';
9006
declare exit handler for having set @var2 = 1;
9008
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having condition for sqlstate '02000';
9009
declare exit handler for having set @var2' at line 3
9010
DROP PROCEDURE IF EXISTS sp1;
9012
Note 1305 PROCEDURE sp1 does not exist
9013
CREATE PROCEDURE sp1( )
9015
declare high_priority condition for sqlstate '02000';
9016
declare exit handler for high_priority set @var2 = 1;
9018
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority condition for sqlstate '02000';
9019
declare exit handler for high_prio' at line 3
9020
DROP PROCEDURE IF EXISTS sp1;
9022
Note 1305 PROCEDURE sp1 does not exist
9023
CREATE PROCEDURE sp1( )
9025
declare hour_microsecond condition for sqlstate '02000';
9026
declare exit handler for hour_microsecond set @var2 = 1;
9028
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000';
9029
declare exit handler for hour_m' at line 3
9030
DROP PROCEDURE IF EXISTS sp1;
9032
Note 1305 PROCEDURE sp1 does not exist
9033
CREATE PROCEDURE sp1( )
9035
declare hour_minute condition for sqlstate '02000';
9036
declare exit handler for hour_minute set @var2 = 1;
9038
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute condition for sqlstate '02000';
9039
declare exit handler for hour_minute' at line 3
9040
DROP PROCEDURE IF EXISTS sp1;
9042
Note 1305 PROCEDURE sp1 does not exist
9043
CREATE PROCEDURE sp1( )
9045
declare hour_second condition for sqlstate '02000';
9046
declare exit handler for hour_second set @var2 = 1;
9048
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second condition for sqlstate '02000';
9049
declare exit handler for hour_second' at line 3
9050
DROP PROCEDURE IF EXISTS sp1;
9052
Note 1305 PROCEDURE sp1 does not exist
9053
CREATE PROCEDURE sp1( )
9055
declare if condition for sqlstate '02000';
9056
declare exit handler for if set @var2 = 1;
9058
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if condition for sqlstate '02000';
9059
declare exit handler for if set @var2 = 1;
9061
DROP PROCEDURE IF EXISTS sp1;
9063
Note 1305 PROCEDURE sp1 does not exist
9064
CREATE PROCEDURE sp1( )
9066
declare ignore condition for sqlstate '02000';
9067
declare exit handler for ignore set @var2 = 1;
9069
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore condition for sqlstate '02000';
9070
declare exit handler for ignore set @var2' at line 3
9071
DROP PROCEDURE IF EXISTS sp1;
9073
Note 1305 PROCEDURE sp1 does not exist
9074
CREATE PROCEDURE sp1( )
9076
declare in condition for sqlstate '02000';
9077
declare exit handler for in set @var2 = 1;
9079
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in condition for sqlstate '02000';
9080
declare exit handler for in set @var2 = 1;
9082
DROP PROCEDURE IF EXISTS sp1;
9084
Note 1305 PROCEDURE sp1 does not exist
9085
CREATE PROCEDURE sp1( )
9087
declare index condition for sqlstate '02000';
9088
declare exit handler for index set @var2 = 1;
9090
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index condition for sqlstate '02000';
9091
declare exit handler for index set @var2 =' at line 3
9092
DROP PROCEDURE IF EXISTS sp1;
9094
Note 1305 PROCEDURE sp1 does not exist
9095
CREATE PROCEDURE sp1( )
9097
declare infile condition for sqlstate '02000';
9098
declare exit handler for infile set @var2 = 1;
9100
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000';
9101
declare exit handler for infile set @var2' at line 3
9102
DROP PROCEDURE IF EXISTS sp1;
9104
Note 1305 PROCEDURE sp1 does not exist
9105
CREATE PROCEDURE sp1( )
9107
declare inner condition for sqlstate '02000';
9108
declare exit handler for inner set @var2 = 1;
9110
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner condition for sqlstate '02000';
9111
declare exit handler for inner set @var2 =' at line 3
9112
DROP PROCEDURE IF EXISTS sp1;
9114
Note 1305 PROCEDURE sp1 does not exist
9115
CREATE PROCEDURE sp1( )
9117
declare inout condition for sqlstate '02000';
9118
declare exit handler for inout set @var2 = 1;
9120
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout condition for sqlstate '02000';
9121
declare exit handler for inout set @var2 =' at line 3
9122
DROP PROCEDURE IF EXISTS sp1;
9124
Note 1305 PROCEDURE sp1 does not exist
9125
CREATE PROCEDURE sp1( )
9127
declare insensitive condition for sqlstate '02000';
9128
declare exit handler for insensitive set @var2 = 1;
9130
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive condition for sqlstate '02000';
9131
declare exit handler for insensitive' at line 3
9132
DROP PROCEDURE IF EXISTS sp1;
9134
Note 1305 PROCEDURE sp1 does not exist
9135
CREATE PROCEDURE sp1( )
9137
declare insert condition for sqlstate '02000';
9138
declare exit handler for insert set @var2 = 1;
9140
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert condition for sqlstate '02000';
9141
declare exit handler for insert set @var2' at line 3
9142
DROP PROCEDURE IF EXISTS sp1;
9144
Note 1305 PROCEDURE sp1 does not exist
9145
CREATE PROCEDURE sp1( )
9147
declare int condition for sqlstate '02000';
9148
declare exit handler for int set @var2 = 1;
9150
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int condition for sqlstate '02000';
9151
declare exit handler for int set @var2 = 1;
9153
DROP PROCEDURE IF EXISTS sp1;
9155
Note 1305 PROCEDURE sp1 does not exist
9156
CREATE PROCEDURE sp1( )
9158
declare integer condition for sqlstate '02000';
9159
declare exit handler for integer set @var2 = 1;
9161
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer condition for sqlstate '02000';
9162
declare exit handler for integer set @va' at line 3
9163
DROP PROCEDURE IF EXISTS sp1;
9165
Note 1305 PROCEDURE sp1 does not exist
9166
CREATE PROCEDURE sp1( )
9168
declare interval condition for sqlstate '02000';
9169
declare exit handler for interval set @var2 = 1;
9171
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval condition for sqlstate '02000';
9172
declare exit handler for interval set @' at line 3
9173
DROP PROCEDURE IF EXISTS sp1;
9175
Note 1305 PROCEDURE sp1 does not exist
9176
CREATE PROCEDURE sp1( )
9178
declare into condition for sqlstate '02000';
9179
declare exit handler for into set @var2 = 1;
9181
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into condition for sqlstate '02000';
9182
declare exit handler for into set @var2 = 1' at line 3
9183
DROP PROCEDURE IF EXISTS sp1;
9185
Note 1305 PROCEDURE sp1 does not exist
9186
CREATE PROCEDURE sp1( )
9188
declare is condition for sqlstate '02000';
9189
declare exit handler for is set @var2 = 1;
9191
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is condition for sqlstate '02000';
9192
declare exit handler for is set @var2 = 1;
9194
DROP PROCEDURE IF EXISTS sp1;
9196
Note 1305 PROCEDURE sp1 does not exist
9197
CREATE PROCEDURE sp1( )
9199
declare iterate condition for sqlstate '02000';
9200
declare exit handler for iterate set @var2 = 1;
9202
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate condition for sqlstate '02000';
9203
declare exit handler for iterate set @va' at line 3
9204
DROP PROCEDURE IF EXISTS sp1;
9206
Note 1305 PROCEDURE sp1 does not exist
9207
CREATE PROCEDURE sp1( )
9209
declare join condition for sqlstate '02000';
9210
declare exit handler for join set @var2 = 1;
9212
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000';
9213
declare exit handler for join set @var2 = 1' at line 3
9214
DROP PROCEDURE IF EXISTS sp1;
9216
Note 1305 PROCEDURE sp1 does not exist
9217
CREATE PROCEDURE sp1( )
9219
declare key condition for sqlstate '02000';
9220
declare exit handler for key set @var2 = 1;
9222
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key condition for sqlstate '02000';
9223
declare exit handler for key set @var2 = 1;
9225
DROP PROCEDURE IF EXISTS sp1;
9227
Note 1305 PROCEDURE sp1 does not exist
9228
CREATE PROCEDURE sp1( )
9230
declare keys condition for sqlstate '02000';
9231
declare exit handler for keys set @var2 = 1;
9233
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys condition for sqlstate '02000';
9234
declare exit handler for keys set @var2 = 1' at line 3
9235
DROP PROCEDURE IF EXISTS sp1;
9237
Note 1305 PROCEDURE sp1 does not exist
9238
CREATE PROCEDURE sp1( )
9240
declare kill condition for sqlstate '02000';
9241
declare exit handler for kill set @var2 = 1;
9243
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill condition for sqlstate '02000';
9244
declare exit handler for kill set @var2 = 1' at line 3
9245
DROP PROCEDURE IF EXISTS sp1;
9247
Note 1305 PROCEDURE sp1 does not exist
9248
CREATE PROCEDURE sp1( )
9250
declare leading condition for sqlstate '02000';
9251
declare exit handler for leading set @var2 = 1;
9253
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading condition for sqlstate '02000';
9254
declare exit handler for leading set @va' at line 3
9255
DROP PROCEDURE IF EXISTS sp1;
9257
Note 1305 PROCEDURE sp1 does not exist
9258
CREATE PROCEDURE sp1( )
9260
declare leave condition for sqlstate '02000';
9261
declare exit handler for leave set @var2 = 1;
9263
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave condition for sqlstate '02000';
9264
declare exit handler for leave set @var2 =' at line 3
9265
DROP PROCEDURE IF EXISTS sp1;
9267
Note 1305 PROCEDURE sp1 does not exist
9268
CREATE PROCEDURE sp1( )
9270
declare left condition for sqlstate '02000';
9271
declare exit handler for left set @var2 = 1;
9273
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left condition for sqlstate '02000';
9274
declare exit handler for left set @var2 = 1' at line 3
9275
DROP PROCEDURE IF EXISTS sp1;
9277
Note 1305 PROCEDURE sp1 does not exist
9278
CREATE PROCEDURE sp1( )
9280
declare like condition for sqlstate '02000';
9281
declare exit handler for like set @var2 = 1;
9283
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like condition for sqlstate '02000';
9284
declare exit handler for like set @var2 = 1' at line 3
9285
DROP PROCEDURE IF EXISTS sp1;
9287
Note 1305 PROCEDURE sp1 does not exist
9288
CREATE PROCEDURE sp1( )
9290
declare limit condition for sqlstate '02000';
9291
declare exit handler for limit set @var2 = 1;
9293
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000';
9294
declare exit handler for limit set @var2 =' at line 3
9295
DROP PROCEDURE IF EXISTS sp1;
9297
Note 1305 PROCEDURE sp1 does not exist
9298
CREATE PROCEDURE sp1( )
9300
declare lines condition for sqlstate '02000';
9301
declare exit handler for lines set @var2 = 1;
9303
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines condition for sqlstate '02000';
9304
declare exit handler for lines set @var2 =' at line 3
9305
DROP PROCEDURE IF EXISTS sp1;
9307
Note 1305 PROCEDURE sp1 does not exist
9308
CREATE PROCEDURE sp1( )
9310
declare load condition for sqlstate '02000';
9311
declare exit handler for load set @var2 = 1;
9313
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load condition for sqlstate '02000';
9314
declare exit handler for load set @var2 = 1' at line 3
9315
DROP PROCEDURE IF EXISTS sp1;
9317
Note 1305 PROCEDURE sp1 does not exist
9318
CREATE PROCEDURE sp1( )
9320
declare localtime condition for sqlstate '02000';
9321
declare exit handler for localtime set @var2 = 1;
9323
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime condition for sqlstate '02000';
9324
declare exit handler for localtime set' at line 3
9325
DROP PROCEDURE IF EXISTS sp1;
9327
Note 1305 PROCEDURE sp1 does not exist
9328
CREATE PROCEDURE sp1( )
9330
declare localtimestamp condition for sqlstate '02000';
9331
declare exit handler for localtimestamp set @var2 = 1;
9333
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000';
9334
declare exit handler for localtim' at line 3
9335
DROP PROCEDURE IF EXISTS sp1;
9337
Note 1305 PROCEDURE sp1 does not exist
9338
CREATE PROCEDURE sp1( )
9340
declare lock condition for sqlstate '02000';
9341
declare exit handler for lock set @var2 = 1;
9343
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock condition for sqlstate '02000';
9344
declare exit handler for lock set @var2 = 1' at line 3
9345
DROP PROCEDURE IF EXISTS sp1;
9347
Note 1305 PROCEDURE sp1 does not exist
9348
CREATE PROCEDURE sp1( )
9350
declare long condition for sqlstate '02000';
9351
declare exit handler for long set @var2 = 1;
9353
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long condition for sqlstate '02000';
9354
declare exit handler for long set @var2 = 1' at line 3
9355
DROP PROCEDURE IF EXISTS sp1;
9357
Note 1305 PROCEDURE sp1 does not exist
9358
CREATE PROCEDURE sp1( )
9360
declare longblob condition for sqlstate '02000';
9361
declare exit handler for longblob set @var2 = 1;
9363
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob condition for sqlstate '02000';
9364
declare exit handler for longblob set @' at line 3
9365
DROP PROCEDURE IF EXISTS sp1;
9367
Note 1305 PROCEDURE sp1 does not exist
9368
CREATE PROCEDURE sp1( )
9370
declare longtext condition for sqlstate '02000';
9371
declare exit handler for longtext set @var2 = 1;
9373
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000';
9374
declare exit handler for longtext set @' at line 3
9375
DROP PROCEDURE IF EXISTS sp1;
9377
Note 1305 PROCEDURE sp1 does not exist
9378
CREATE PROCEDURE sp1( )
9380
declare loop condition for sqlstate '02000';
9381
declare exit handler for loop set @var2 = 1;
9383
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop condition for sqlstate '02000';
9384
declare exit handler for loop set @var2 = 1' at line 3
9385
DROP PROCEDURE IF EXISTS sp1;
9387
Note 1305 PROCEDURE sp1 does not exist
9388
CREATE PROCEDURE sp1( )
9390
declare low_priority condition for sqlstate '02000';
9391
declare exit handler for low_priority set @var2 = 1;
9393
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority condition for sqlstate '02000';
9394
declare exit handler for low_priori' at line 3
9395
DROP PROCEDURE IF EXISTS sp1;
9397
Note 1305 PROCEDURE sp1 does not exist
9398
CREATE PROCEDURE sp1( )
9400
declare match condition for sqlstate '02000';
9401
declare exit handler for match set @var2 = 1;
9403
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match condition for sqlstate '02000';
9404
declare exit handler for match set @var2 =' at line 3
9405
DROP PROCEDURE IF EXISTS sp1;
9407
Note 1305 PROCEDURE sp1 does not exist
9408
CREATE PROCEDURE sp1( )
9410
declare mediumblob condition for sqlstate '02000';
9411
declare exit handler for mediumblob set @var2 = 1;
9413
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob condition for sqlstate '02000';
9414
declare exit handler for mediumblob s' at line 3
9415
DROP PROCEDURE IF EXISTS sp1;
9417
Note 1305 PROCEDURE sp1 does not exist
9418
CREATE PROCEDURE sp1( )
9420
declare mediumint condition for sqlstate '02000';
9421
declare exit handler for mediumint set @var2 = 1;
9423
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint condition for sqlstate '02000';
9424
declare exit handler for mediumint set' at line 3
9425
DROP PROCEDURE IF EXISTS sp1;
9427
Note 1305 PROCEDURE sp1 does not exist
9428
CREATE PROCEDURE sp1( )
9430
declare mediumtext condition for sqlstate '02000';
9431
declare exit handler for mediumtext set @var2 = 1;
9433
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext condition for sqlstate '02000';
9434
declare exit handler for mediumtext s' at line 3
9435
DROP PROCEDURE IF EXISTS sp1;
9437
Note 1305 PROCEDURE sp1 does not exist
9438
CREATE PROCEDURE sp1( )
9440
declare middleint condition for sqlstate '02000';
9441
declare exit handler for middleint set @var2 = 1;
9443
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint condition for sqlstate '02000';
9444
declare exit handler for middleint set' at line 3
9445
DROP PROCEDURE IF EXISTS sp1;
9447
Note 1305 PROCEDURE sp1 does not exist
9448
CREATE PROCEDURE sp1( )
9450
declare minute_microsecond condition for sqlstate '02000';
9451
declare exit handler for minute_microsecond set @var2 = 1;
9453
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
9454
declare exit handler for minu' at line 3
9455
DROP PROCEDURE IF EXISTS sp1;
9457
Note 1305 PROCEDURE sp1 does not exist
9458
CREATE PROCEDURE sp1( )
9460
declare minute_second condition for sqlstate '02000';
9461
declare exit handler for minute_second set @var2 = 1;
9463
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second condition for sqlstate '02000';
9464
declare exit handler for minute_se' at line 3
9465
DROP PROCEDURE IF EXISTS sp1;
9467
Note 1305 PROCEDURE sp1 does not exist
9468
CREATE PROCEDURE sp1( )
9470
declare mod condition for sqlstate '02000';
9471
declare exit handler for mod set @var2 = 1;
9473
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod condition for sqlstate '02000';
9474
declare exit handler for mod set @var2 = 1;
9476
DROP PROCEDURE IF EXISTS sp1;
9478
Note 1305 PROCEDURE sp1 does not exist
9479
CREATE PROCEDURE sp1( )
9481
declare modifies condition for sqlstate '02000';
9482
declare exit handler for modifies set @var2 = 1;
9484
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies condition for sqlstate '02000';
9485
declare exit handler for modifies set @' at line 3
9486
DROP PROCEDURE IF EXISTS sp1;
9488
Note 1305 PROCEDURE sp1 does not exist
9489
CREATE PROCEDURE sp1( )
9491
declare natural condition for sqlstate '02000';
9492
declare exit handler for natural set @var2 = 1;
9494
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural condition for sqlstate '02000';
9495
declare exit handler for natural set @va' at line 3
9496
DROP PROCEDURE IF EXISTS sp1;
9498
Note 1305 PROCEDURE sp1 does not exist
9499
CREATE PROCEDURE sp1( )
9501
declare not condition for sqlstate '02000';
9502
declare exit handler for not set @var2 = 1;
9504
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not condition for sqlstate '02000';
9505
declare exit handler for not set @var2 = 1;
9507
DROP PROCEDURE IF EXISTS sp1;
9509
Note 1305 PROCEDURE sp1 does not exist
9510
CREATE PROCEDURE sp1( )
9512
declare no_write_to_binlog condition for sqlstate '02000';
9513
declare exit handler for no_write_to_binlog set @var2 = 1;
9515
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000';
9516
declare exit handler for no_w' at line 3
9517
DROP PROCEDURE IF EXISTS sp1;
9519
Note 1305 PROCEDURE sp1 does not exist
9520
CREATE PROCEDURE sp1( )
9522
declare null condition for sqlstate '02000';
9523
declare exit handler for null set @var2 = 1;
9525
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000';
9526
declare exit handler for null set @var2 = 1' at line 3
9527
DROP PROCEDURE IF EXISTS sp1;
9529
Note 1305 PROCEDURE sp1 does not exist
9530
CREATE PROCEDURE sp1( )
9532
declare numeric condition for sqlstate '02000';
9533
declare exit handler for numeric set @var2 = 1;
9535
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric condition for sqlstate '02000';
9536
declare exit handler for numeric set @va' at line 3
9537
DROP PROCEDURE IF EXISTS sp1;
9539
Note 1305 PROCEDURE sp1 does not exist
9540
CREATE PROCEDURE sp1( )
9542
declare on condition for sqlstate '02000';
9543
declare exit handler for on set @var2 = 1;
9545
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on condition for sqlstate '02000';
9546
declare exit handler for on set @var2 = 1;
9548
DROP PROCEDURE IF EXISTS sp1;
9550
Note 1305 PROCEDURE sp1 does not exist
9551
CREATE PROCEDURE sp1( )
9553
declare optimize condition for sqlstate '02000';
9554
declare exit handler for optimize set @var2 = 1;
9556
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize condition for sqlstate '02000';
9557
declare exit handler for optimize set @' at line 3
9558
DROP PROCEDURE IF EXISTS sp1;
9560
Note 1305 PROCEDURE sp1 does not exist
9561
CREATE PROCEDURE sp1( )
9563
declare option condition for sqlstate '02000';
9564
declare exit handler for option set @var2 = 1;
9566
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option condition for sqlstate '02000';
9567
declare exit handler for option set @var2' at line 3
9568
DROP PROCEDURE IF EXISTS sp1;
9570
Note 1305 PROCEDURE sp1 does not exist
9571
CREATE PROCEDURE sp1( )
9573
declare optionally condition for sqlstate '02000';
9574
declare exit handler for optionally set @var2 = 1;
9576
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally condition for sqlstate '02000';
9577
declare exit handler for optionally s' at line 3
9578
DROP PROCEDURE IF EXISTS sp1;
9580
Note 1305 PROCEDURE sp1 does not exist
9581
CREATE PROCEDURE sp1( )
9583
declare or condition for sqlstate '02000';
9584
declare exit handler for or set @var2 = 1;
9586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or condition for sqlstate '02000';
9587
declare exit handler for or set @var2 = 1;
9589
DROP PROCEDURE IF EXISTS sp1;
9591
Note 1305 PROCEDURE sp1 does not exist
9592
CREATE PROCEDURE sp1( )
9594
declare order condition for sqlstate '02000';
9595
declare exit handler for order set @var2 = 1;
9597
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000';
9598
declare exit handler for order set @var2 =' at line 3
9599
DROP PROCEDURE IF EXISTS sp1;
9601
Note 1305 PROCEDURE sp1 does not exist
9602
CREATE PROCEDURE sp1( )
9604
declare out condition for sqlstate '02000';
9605
declare exit handler for out set @var2 = 1;
9607
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out condition for sqlstate '02000';
9608
declare exit handler for out set @var2 = 1;
9610
DROP PROCEDURE IF EXISTS sp1;
9612
Note 1305 PROCEDURE sp1 does not exist
9613
CREATE PROCEDURE sp1( )
9615
declare outer condition for sqlstate '02000';
9616
declare exit handler for outer set @var2 = 1;
9618
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer condition for sqlstate '02000';
9619
declare exit handler for outer set @var2 =' at line 3
9620
DROP PROCEDURE IF EXISTS sp1;
9622
Note 1305 PROCEDURE sp1 does not exist
9623
CREATE PROCEDURE sp1( )
9625
declare outfile condition for sqlstate '02000';
9626
declare exit handler for outfile set @var2 = 1;
9628
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile condition for sqlstate '02000';
9629
declare exit handler for outfile set @va' at line 3
9630
DROP PROCEDURE IF EXISTS sp1;
9632
Note 1305 PROCEDURE sp1 does not exist
9633
CREATE PROCEDURE sp1( )
9635
declare precision condition for sqlstate '02000';
9636
declare exit handler for precision set @var2 = 1;
9638
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision condition for sqlstate '02000';
9639
declare exit handler for precision set' at line 3
9640
DROP PROCEDURE IF EXISTS sp1;
9642
Note 1305 PROCEDURE sp1 does not exist
9643
CREATE PROCEDURE sp1( )
9645
declare primary condition for sqlstate '02000';
9646
declare exit handler for primary set @var2 = 1;
9648
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary condition for sqlstate '02000';
9649
declare exit handler for primary set @va' at line 3
9650
DROP PROCEDURE IF EXISTS sp1;
9652
Note 1305 PROCEDURE sp1 does not exist
9653
CREATE PROCEDURE sp1( )
9655
declare privileges condition for sqlstate '02000';
9656
declare exit handler for privileges set @var2 = 1;
9658
DROP PROCEDURE IF EXISTS sp1;
9659
CREATE PROCEDURE sp1( )
9661
declare procedure condition for sqlstate '02000';
9662
declare exit handler for procedure set @var2 = 1;
9664
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure condition for sqlstate '02000';
9665
declare exit handler for procedure set' at line 3
9666
DROP PROCEDURE IF EXISTS sp1;
9668
Note 1305 PROCEDURE sp1 does not exist
9669
CREATE PROCEDURE sp1( )
9671
declare purge condition for sqlstate '02000';
9672
declare exit handler for purge set @var2 = 1;
9674
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge condition for sqlstate '02000';
9675
declare exit handler for purge set @var2 =' at line 3
9676
DROP PROCEDURE IF EXISTS sp1;
9678
Note 1305 PROCEDURE sp1 does not exist
9679
CREATE PROCEDURE sp1( )
9681
declare read condition for sqlstate '02000';
9682
declare exit handler for read set @var2 = 1;
9684
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read condition for sqlstate '02000';
9685
declare exit handler for read set @var2 = 1' at line 3
9686
DROP PROCEDURE IF EXISTS sp1;
9688
Note 1305 PROCEDURE sp1 does not exist
9689
CREATE PROCEDURE sp1( )
9691
declare reads condition for sqlstate '02000';
9692
declare exit handler for reads set @var2 = 1;
9694
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads condition for sqlstate '02000';
9695
declare exit handler for reads set @var2 =' at line 3
9696
DROP PROCEDURE IF EXISTS sp1;
9698
Note 1305 PROCEDURE sp1 does not exist
9699
CREATE PROCEDURE sp1( )
9701
declare real condition for sqlstate '02000';
9702
declare exit handler for real set @var2 = 1;
9704
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real condition for sqlstate '02000';
9705
declare exit handler for real set @var2 = 1' at line 3
9706
DROP PROCEDURE IF EXISTS sp1;
9708
Note 1305 PROCEDURE sp1 does not exist
9709
CREATE PROCEDURE sp1( )
9711
declare references condition for sqlstate '02000';
9712
declare exit handler for references set @var2 = 1;
9714
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references condition for sqlstate '02000';
9715
declare exit handler for references s' at line 3
9716
DROP PROCEDURE IF EXISTS sp1;
9718
Note 1305 PROCEDURE sp1 does not exist
9719
CREATE PROCEDURE sp1( )
9721
declare regexp condition for sqlstate '02000';
9722
declare exit handler for regexp set @var2 = 1;
9724
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp condition for sqlstate '02000';
9725
declare exit handler for regexp set @var2' at line 3
9726
DROP PROCEDURE IF EXISTS sp1;
9728
Note 1305 PROCEDURE sp1 does not exist
9729
CREATE PROCEDURE sp1( )
9731
declare rename condition for sqlstate '02000';
9732
declare exit handler for rename set @var2 = 1;
9734
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000';
9735
declare exit handler for rename set @var2' at line 3
9736
DROP PROCEDURE IF EXISTS sp1;
9738
Note 1305 PROCEDURE sp1 does not exist
9739
CREATE PROCEDURE sp1( )
9741
declare repeat condition for sqlstate '02000';
9742
declare exit handler for repeat set @var2 = 1;
9744
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat condition for sqlstate '02000';
9745
declare exit handler for repeat set @var2' at line 3
9746
DROP PROCEDURE IF EXISTS sp1;
9748
Note 1305 PROCEDURE sp1 does not exist
9749
CREATE PROCEDURE sp1( )
9751
declare replace condition for sqlstate '02000';
9752
declare exit handler for replace set @var2 = 1;
9754
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace condition for sqlstate '02000';
9755
declare exit handler for replace set @va' at line 3
9756
DROP PROCEDURE IF EXISTS sp1;
9758
Note 1305 PROCEDURE sp1 does not exist
9759
CREATE PROCEDURE sp1( )
9761
declare require condition for sqlstate '02000';
9762
declare exit handler for require set @var2 = 1;
9764
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require condition for sqlstate '02000';
9765
declare exit handler for require set @va' at line 3
9766
DROP PROCEDURE IF EXISTS sp1;
9768
Note 1305 PROCEDURE sp1 does not exist
9769
CREATE PROCEDURE sp1( )
9771
declare restrict condition for sqlstate '02000';
9772
declare exit handler for restrict set @var2 = 1;
9774
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict condition for sqlstate '02000';
9775
declare exit handler for restrict set @' at line 3
9776
DROP PROCEDURE IF EXISTS sp1;
9778
Note 1305 PROCEDURE sp1 does not exist
9779
CREATE PROCEDURE sp1( )
9781
declare return condition for sqlstate '02000';
9782
declare exit handler for return set @var2 = 1;
9784
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return condition for sqlstate '02000';
9785
declare exit handler for return set @var2' at line 3
9786
DROP PROCEDURE IF EXISTS sp1;
9788
Note 1305 PROCEDURE sp1 does not exist
9789
CREATE PROCEDURE sp1( )
9791
declare revoke condition for sqlstate '02000';
9792
declare exit handler for revoke set @var2 = 1;
9794
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke condition for sqlstate '02000';
9795
declare exit handler for revoke set @var2' at line 3
9796
DROP PROCEDURE IF EXISTS sp1;
9798
Note 1305 PROCEDURE sp1 does not exist
9799
CREATE PROCEDURE sp1( )
9801
declare right condition for sqlstate '02000';
9802
declare exit handler for right set @var2 = 1;
9804
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right condition for sqlstate '02000';
9805
declare exit handler for right set @var2 =' at line 3
9806
DROP PROCEDURE IF EXISTS sp1;
9808
Note 1305 PROCEDURE sp1 does not exist
9809
CREATE PROCEDURE sp1( )
9811
declare rlike condition for sqlstate '02000';
9812
declare exit handler for rlike set @var2 = 1;
9814
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike condition for sqlstate '02000';
9815
declare exit handler for rlike set @var2 =' at line 3
9816
DROP PROCEDURE IF EXISTS sp1;
9818
Note 1305 PROCEDURE sp1 does not exist
9819
CREATE PROCEDURE sp1( )
9821
declare schema condition for sqlstate '02000';
9822
declare exit handler for schema set @var2 = 1;
9824
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000';
9825
declare exit handler for schema set @var2' at line 3
9826
DROP PROCEDURE IF EXISTS sp1;
9828
Note 1305 PROCEDURE sp1 does not exist
9829
CREATE PROCEDURE sp1( )
9831
declare schemas condition for sqlstate '02000';
9832
declare exit handler for schemas set @var2 = 1;
9834
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas condition for sqlstate '02000';
9835
declare exit handler for schemas set @va' at line 3
9836
DROP PROCEDURE IF EXISTS sp1;
9838
Note 1305 PROCEDURE sp1 does not exist
9839
CREATE PROCEDURE sp1( )
9841
declare second_microsecond condition for sqlstate '02000';
9842
declare exit handler for second_microsecond set @var2 = 1;
9844
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000';
9845
declare exit handler for seco' at line 3
9846
DROP PROCEDURE IF EXISTS sp1;
9848
Note 1305 PROCEDURE sp1 does not exist
9849
CREATE PROCEDURE sp1( )
9851
declare SELECT condition for sqlstate '02000';
9852
declare exit handler for SELECT set @var2 = 1;
9854
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT condition for sqlstate '02000';
9855
declare exit handler for SELECT set @var2' at line 3
9856
DROP PROCEDURE IF EXISTS sp1;
9858
Note 1305 PROCEDURE sp1 does not exist
9859
CREATE PROCEDURE sp1( )
9861
declare sensitive condition for sqlstate '02000';
9862
declare exit handler for sensitive set @var2 = 1;
9864
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive condition for sqlstate '02000';
9865
declare exit handler for sensitive set' at line 3
9866
DROP PROCEDURE IF EXISTS sp1;
9868
Note 1305 PROCEDURE sp1 does not exist
9869
CREATE PROCEDURE sp1( )
9871
declare separator condition for sqlstate '02000';
9872
declare exit handler for separator set @var2 = 1;
9874
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator condition for sqlstate '02000';
9875
declare exit handler for separator set' at line 3
9876
DROP PROCEDURE IF EXISTS sp1;
9878
Note 1305 PROCEDURE sp1 does not exist
9879
CREATE PROCEDURE sp1( )
9881
declare set condition for sqlstate '02000';
9882
declare exit handler for set set @var2 = 1;
9884
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set condition for sqlstate '02000';
9885
declare exit handler for set set @var2 = 1;
9887
DROP PROCEDURE IF EXISTS sp1;
9889
Note 1305 PROCEDURE sp1 does not exist
9890
CREATE PROCEDURE sp1( )
9892
declare show condition for sqlstate '02000';
9893
declare exit handler for show set @var2 = 1;
9895
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show condition for sqlstate '02000';
9896
declare exit handler for show set @var2 = 1' at line 3
9897
DROP PROCEDURE IF EXISTS sp1;
9899
Note 1305 PROCEDURE sp1 does not exist
9900
CREATE PROCEDURE sp1( )
9902
declare smallint condition for sqlstate '02000';
9903
declare exit handler for smallint set @var2 = 1;
9905
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000';
9906
declare exit handler for smallint set @' at line 3
9907
DROP PROCEDURE IF EXISTS sp1;
9909
Note 1305 PROCEDURE sp1 does not exist
9910
CREATE PROCEDURE sp1( )
9912
declare soname condition for sqlstate '02000';
9913
declare exit handler for soname set @var2 = 1;
9915
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'soname condition for sqlstate '02000';
9916
declare exit handler for soname set @var2' at line 3
9917
DROP PROCEDURE IF EXISTS sp1;
9919
Note 1305 PROCEDURE sp1 does not exist
9920
CREATE PROCEDURE sp1( )
9922
declare spatial condition for sqlstate '02000';
9923
declare exit handler for spatial set @var2 = 1;
9925
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial condition for sqlstate '02000';
9926
declare exit handler for spatial set @va' at line 3
9927
DROP PROCEDURE IF EXISTS sp1;
9929
Note 1305 PROCEDURE sp1 does not exist
9930
CREATE PROCEDURE sp1( )
9932
declare specific condition for sqlstate '02000';
9933
declare exit handler for specific set @var2 = 1;
9935
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific condition for sqlstate '02000';
9936
declare exit handler for specific set @' at line 3
9937
DROP PROCEDURE IF EXISTS sp1;
9939
Note 1305 PROCEDURE sp1 does not exist
9940
CREATE PROCEDURE sp1( )
9942
declare sql condition for sqlstate '02000';
9943
declare exit handler for sql set @var2 = 1;
9945
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql condition for sqlstate '02000';
9946
declare exit handler for sql set @var2 = 1;
9948
DROP PROCEDURE IF EXISTS sp1;
9950
Note 1305 PROCEDURE sp1 does not exist
9951
CREATE PROCEDURE sp1( )
9953
declare sqlexception condition for sqlstate '02000';
9954
declare exit handler for sqlexception set @var2 = 1;
9956
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception condition for sqlstate '02000';
9957
declare exit handler for sqlexcepti' at line 3
9958
DROP PROCEDURE IF EXISTS sp1;
9960
Note 1305 PROCEDURE sp1 does not exist
9961
CREATE PROCEDURE sp1( )
9963
declare sqlstate condition for sqlstate '02000';
9964
declare exit handler for sqlstate set @var2 = 1;
9966
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate condition for sqlstate '02000';
9967
declare exit handler for sqlstate set @' at line 3
9968
DROP PROCEDURE IF EXISTS sp1;
9970
Note 1305 PROCEDURE sp1 does not exist
9971
CREATE PROCEDURE sp1( )
9973
declare sqlwarning condition for sqlstate '02000';
9974
declare exit handler for sqlwarning set @var2 = 1;
9976
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000';
9977
declare exit handler for sqlwarning s' at line 3
9978
DROP PROCEDURE IF EXISTS sp1;
9980
Note 1305 PROCEDURE sp1 does not exist
9981
CREATE PROCEDURE sp1( )
9983
declare sql_big_result condition for sqlstate '02000';
9984
declare exit handler for sql_big_result set @var2 = 1;
9986
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000';
9987
declare exit handler for sql_big_' at line 3
9988
DROP PROCEDURE IF EXISTS sp1;
9990
Note 1305 PROCEDURE sp1 does not exist
9991
CREATE PROCEDURE sp1( )
9993
declare sql_calc_found_rows condition for sqlstate '02000';
9994
declare exit handler for sql_calc_found_rows set @var2 = 1;
9996
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
9997
declare exit handler for sql' at line 3
9998
DROP PROCEDURE IF EXISTS sp1;
10000
Note 1305 PROCEDURE sp1 does not exist
10001
CREATE PROCEDURE sp1( )
10003
declare sql_small_result condition for sqlstate '02000';
10004
declare exit handler for sql_small_result set @var2 = 1;
10006
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000';
10007
declare exit handler for sql_sm' at line 3
10008
DROP PROCEDURE IF EXISTS sp1;
10010
Note 1305 PROCEDURE sp1 does not exist
10011
CREATE PROCEDURE sp1( )
10013
declare ssl condition for sqlstate '02000';
10014
declare exit handler for ssl set @var2 = 1;
10016
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl condition for sqlstate '02000';
10017
declare exit handler for ssl set @var2 = 1;
10019
DROP PROCEDURE IF EXISTS sp1;
10021
Note 1305 PROCEDURE sp1 does not exist
10022
CREATE PROCEDURE sp1( )
10024
declare starting condition for sqlstate '02000';
10025
declare exit handler for starting set @var2 = 1;
10027
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting condition for sqlstate '02000';
10028
declare exit handler for starting set @' at line 3
10029
DROP PROCEDURE IF EXISTS sp1;
10031
Note 1305 PROCEDURE sp1 does not exist
10032
CREATE PROCEDURE sp1( )
10034
declare straight_join condition for sqlstate '02000';
10035
declare exit handler for straight_join set @var2 = 1;
10037
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join condition for sqlstate '02000';
10038
declare exit handler for straight_' at line 3
10039
DROP PROCEDURE IF EXISTS sp1;
10041
Note 1305 PROCEDURE sp1 does not exist
10042
CREATE PROCEDURE sp1( )
10044
declare table condition for sqlstate '02000';
10045
declare exit handler for table set @var2 = 1;
10047
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table condition for sqlstate '02000';
10048
declare exit handler for table set @var2 =' at line 3
10049
DROP PROCEDURE IF EXISTS sp1;
10051
Note 1305 PROCEDURE sp1 does not exist
10052
CREATE PROCEDURE sp1( )
10054
declare tables condition for sqlstate '02000';
10055
declare exit handler for tables set @var2 = 1;
10057
DROP PROCEDURE IF EXISTS sp1;
10058
CREATE PROCEDURE sp1( )
10060
declare terminated condition for sqlstate '02000';
10061
declare exit handler for terminated set @var2 = 1;
10063
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated condition for sqlstate '02000';
10064
declare exit handler for terminated s' at line 3
10065
DROP PROCEDURE IF EXISTS sp1;
10067
Note 1305 PROCEDURE sp1 does not exist
10068
CREATE PROCEDURE sp1( )
10070
declare then condition for sqlstate '02000';
10071
declare exit handler for then set @var2 = 1;
10073
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then condition for sqlstate '02000';
10074
declare exit handler for then set @var2 = 1' at line 3
10075
DROP PROCEDURE IF EXISTS sp1;
10077
Note 1305 PROCEDURE sp1 does not exist
10078
CREATE PROCEDURE sp1( )
10080
declare tinyblob condition for sqlstate '02000';
10081
declare exit handler for tinyblob set @var2 = 1;
10083
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
10084
declare exit handler for tinyblob set @' at line 3
10085
DROP PROCEDURE IF EXISTS sp1;
10087
Note 1305 PROCEDURE sp1 does not exist
10088
CREATE PROCEDURE sp1( )
10090
declare tinyint condition for sqlstate '02000';
10091
declare exit handler for tinyint set @var2 = 1;
10093
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint condition for sqlstate '02000';
10094
declare exit handler for tinyint set @va' at line 3
10095
DROP PROCEDURE IF EXISTS sp1;
10097
Note 1305 PROCEDURE sp1 does not exist
10098
CREATE PROCEDURE sp1( )
10100
declare tinytext condition for sqlstate '02000';
10101
declare exit handler for tinytext set @var2 = 1;
10103
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext condition for sqlstate '02000';
10104
declare exit handler for tinytext set @' at line 3
10105
DROP PROCEDURE IF EXISTS sp1;
10107
Note 1305 PROCEDURE sp1 does not exist
10108
CREATE PROCEDURE sp1( )
10110
declare to condition for sqlstate '02000';
10111
declare exit handler for to set @var2 = 1;
10113
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to condition for sqlstate '02000';
10114
declare exit handler for to set @var2 = 1;
10116
DROP PROCEDURE IF EXISTS sp1;
10118
Note 1305 PROCEDURE sp1 does not exist
10119
CREATE PROCEDURE sp1( )
10121
declare trailing condition for sqlstate '02000';
10122
declare exit handler for trailing set @var2 = 1;
10124
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing condition for sqlstate '02000';
10125
declare exit handler for trailing set @' at line 3
10126
DROP PROCEDURE IF EXISTS sp1;
10128
Note 1305 PROCEDURE sp1 does not exist
10129
CREATE PROCEDURE sp1( )
10131
declare trigger condition for sqlstate '02000';
10132
declare exit handler for trigger set @var2 = 1;
10134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger condition for sqlstate '02000';
10135
declare exit handler for trigger set @va' at line 3
10136
DROP PROCEDURE IF EXISTS sp1;
10138
Note 1305 PROCEDURE sp1 does not exist
10139
CREATE PROCEDURE sp1( )
10141
declare true condition for sqlstate '02000';
10142
declare exit handler for true set @var2 = 1;
10144
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true condition for sqlstate '02000';
10145
declare exit handler for true set @var2 = 1' at line 3
10146
DROP PROCEDURE IF EXISTS sp1;
10148
Note 1305 PROCEDURE sp1 does not exist
10149
CREATE PROCEDURE sp1( )
10151
declare undo condition for sqlstate '02000';
10152
declare exit handler for undo set @var2 = 1;
10154
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo condition for sqlstate '02000';
10155
declare exit handler for undo set @var2 = 1' at line 3
10156
DROP PROCEDURE IF EXISTS sp1;
10158
Note 1305 PROCEDURE sp1 does not exist
10159
CREATE PROCEDURE sp1( )
10161
declare union condition for sqlstate '02000';
10162
declare exit handler for union set @var2 = 1;
10164
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000';
10165
declare exit handler for union set @var2 =' at line 3
10166
DROP PROCEDURE IF EXISTS sp1;
10168
Note 1305 PROCEDURE sp1 does not exist
10169
CREATE PROCEDURE sp1( )
10171
declare unique condition for sqlstate '02000';
10172
declare exit handler for unique set @var2 = 1;
10174
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique condition for sqlstate '02000';
10175
declare exit handler for unique set @var2' at line 3
10176
DROP PROCEDURE IF EXISTS sp1;
10178
Note 1305 PROCEDURE sp1 does not exist
10179
CREATE PROCEDURE sp1( )
10181
declare unlock condition for sqlstate '02000';
10182
declare exit handler for unlock set @var2 = 1;
10184
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock condition for sqlstate '02000';
10185
declare exit handler for unlock set @var2' at line 3
10186
DROP PROCEDURE IF EXISTS sp1;
10188
Note 1305 PROCEDURE sp1 does not exist
10189
CREATE PROCEDURE sp1( )
10191
declare unsigned condition for sqlstate '02000';
10192
declare exit handler for unsigned set @var2 = 1;
10194
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned condition for sqlstate '02000';
10195
declare exit handler for unsigned set @' at line 3
10196
DROP PROCEDURE IF EXISTS sp1;
10198
Note 1305 PROCEDURE sp1 does not exist
10199
CREATE PROCEDURE sp1( )
10201
declare update condition for sqlstate '02000';
10202
declare exit handler for update set @var2 = 1;
10204
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update condition for sqlstate '02000';
10205
declare exit handler for update set @var2' at line 3
10206
DROP PROCEDURE IF EXISTS sp1;
10208
Note 1305 PROCEDURE sp1 does not exist
10209
CREATE PROCEDURE sp1( )
10211
declare usage condition for sqlstate '02000';
10212
declare exit handler for usage set @var2 = 1;
10214
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage condition for sqlstate '02000';
10215
declare exit handler for usage set @var2 =' at line 3
10216
DROP PROCEDURE IF EXISTS sp1;
10218
Note 1305 PROCEDURE sp1 does not exist
10219
CREATE PROCEDURE sp1( )
10221
declare USE condition for sqlstate '02000';
10222
declare exit handler for USE set @var2 = 1;
10224
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USE condition for sqlstate '02000';
10225
declare exit handler for USE set @var2 = 1;
10227
DROP PROCEDURE IF EXISTS sp1;
10229
Note 1305 PROCEDURE sp1 does not exist
10230
CREATE PROCEDURE sp1( )
10232
declare using condition for sqlstate '02000';
10233
declare exit handler for using set @var2 = 1;
10235
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using condition for sqlstate '02000';
10236
declare exit handler for using set @var2 =' at line 3
10237
DROP PROCEDURE IF EXISTS sp1;
10239
Note 1305 PROCEDURE sp1 does not exist
10240
CREATE PROCEDURE sp1( )
10242
declare utc_date condition for sqlstate '02000';
10243
declare exit handler for utc_date set @var2 = 1;
10245
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
10246
declare exit handler for utc_date set @' at line 3
10247
DROP PROCEDURE IF EXISTS sp1;
10249
Note 1305 PROCEDURE sp1 does not exist
10250
CREATE PROCEDURE sp1( )
10252
declare utc_time condition for sqlstate '02000';
10253
declare exit handler for utc_time set @var2 = 1;
10255
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time condition for sqlstate '02000';
10256
declare exit handler for utc_time set @' at line 3
10257
DROP PROCEDURE IF EXISTS sp1;
10259
Note 1305 PROCEDURE sp1 does not exist
10260
CREATE PROCEDURE sp1( )
10262
declare utc_timestamp condition for sqlstate '02000';
10263
declare exit handler for utc_timestamp set @var2 = 1;
10265
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000';
10266
declare exit handler for utc_times' at line 3
10267
DROP PROCEDURE IF EXISTS sp1;
10269
Note 1305 PROCEDURE sp1 does not exist
10270
CREATE PROCEDURE sp1( )
10272
declare values condition for sqlstate '02000';
10273
declare exit handler for values set @var2 = 1;
10275
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values condition for sqlstate '02000';
10276
declare exit handler for values set @var2' at line 3
10277
DROP PROCEDURE IF EXISTS sp1;
10279
Note 1305 PROCEDURE sp1 does not exist
10280
CREATE PROCEDURE sp1( )
10282
declare varbinary condition for sqlstate '02000';
10283
declare exit handler for varbinary set @var2 = 1;
10285
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary condition for sqlstate '02000';
10286
declare exit handler for varbinary set' at line 3
10287
DROP PROCEDURE IF EXISTS sp1;
10289
Note 1305 PROCEDURE sp1 does not exist
10290
CREATE PROCEDURE sp1( )
10292
declare varchar condition for sqlstate '02000';
10293
declare exit handler for varchar set @var2 = 1;
10295
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar condition for sqlstate '02000';
10296
declare exit handler for varchar set @va' at line 3
10297
DROP PROCEDURE IF EXISTS sp1;
10299
Note 1305 PROCEDURE sp1 does not exist
10300
CREATE PROCEDURE sp1( )
10302
declare varcharacter condition for sqlstate '02000';
10303
declare exit handler for varcharacter set @var2 = 1;
10305
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter condition for sqlstate '02000';
10306
declare exit handler for varcharact' at line 3
10307
DROP PROCEDURE IF EXISTS sp1;
10309
Note 1305 PROCEDURE sp1 does not exist
10310
CREATE PROCEDURE sp1( )
10312
declare varying condition for sqlstate '02000';
10313
declare exit handler for varying set @var2 = 1;
10315
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying condition for sqlstate '02000';
10316
declare exit handler for varying set @va' at line 3
10317
DROP PROCEDURE IF EXISTS sp1;
10319
Note 1305 PROCEDURE sp1 does not exist
10320
CREATE PROCEDURE sp1( )
10322
declare when condition for sqlstate '02000';
10323
declare exit handler for when set @var2 = 1;
10325
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when condition for sqlstate '02000';
10326
declare exit handler for when set @var2 = 1' at line 3
10327
DROP PROCEDURE IF EXISTS sp1;
10329
Note 1305 PROCEDURE sp1 does not exist
10330
CREATE PROCEDURE sp1( )
10332
declare where condition for sqlstate '02000';
10333
declare exit handler for where set @var2 = 1;
10335
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000';
10336
declare exit handler for where set @var2 =' at line 3
10337
DROP PROCEDURE IF EXISTS sp1;
10339
Note 1305 PROCEDURE sp1 does not exist
10340
CREATE PROCEDURE sp1( )
10342
declare while condition for sqlstate '02000';
10343
declare exit handler for while set @var2 = 1;
10345
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while condition for sqlstate '02000';
10346
declare exit handler for while set @var2 =' at line 3
10347
DROP PROCEDURE IF EXISTS sp1;
10349
Note 1305 PROCEDURE sp1 does not exist
10350
CREATE PROCEDURE sp1( )
10352
declare with condition for sqlstate '02000';
10353
declare exit handler for with set @var2 = 1;
10355
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with condition for sqlstate '02000';
10356
declare exit handler for with set @var2 = 1' at line 3
10357
DROP PROCEDURE IF EXISTS sp1;
10359
Note 1305 PROCEDURE sp1 does not exist
10360
CREATE PROCEDURE sp1( )
10362
declare write condition for sqlstate '02000';
10363
declare exit handler for write set @var2 = 1;
10365
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write condition for sqlstate '02000';
10366
declare exit handler for write set @var2 =' at line 3
10367
DROP PROCEDURE IF EXISTS sp1;
10369
Note 1305 PROCEDURE sp1 does not exist
10370
CREATE PROCEDURE sp1( )
10372
declare xor condition for sqlstate '02000';
10373
declare exit handler for xor set @var2 = 1;
10375
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor condition for sqlstate '02000';
10376
declare exit handler for xor set @var2 = 1;
10378
DROP PROCEDURE IF EXISTS sp1;
10380
Note 1305 PROCEDURE sp1 does not exist
10381
CREATE PROCEDURE sp1( )
10383
declare year_month condition for sqlstate '02000';
10384
declare exit handler for year_month set @var2 = 1;
10386
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month condition for sqlstate '02000';
10387
declare exit handler for year_month s' at line 3
10388
DROP PROCEDURE IF EXISTS sp1;
10390
Note 1305 PROCEDURE sp1 does not exist
10391
CREATE PROCEDURE sp1( )
10393
declare zerofill condition for sqlstate '02000';
10394
declare exit handler for zerofill set @var2 = 1;
10396
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill condition for sqlstate '02000';
10397
declare exit handler for zerofill set @' at line 3
10401
Ensure that every possible type of handler may be declared for
10402
a stored procedure (continue- handler_type ).
10403
--------------------------------------------------------------------------------
10404
DROP PROCEDURE IF EXISTS sp1;
10406
Note 1305 PROCEDURE sp1 does not exist
10407
CREATE PROCEDURE sp1()
10409
declare continue handler for sqlstate '23000' set @x2 = 1;
10411
insert into t2(f1) values (1);
10413
insert into t2(f1) values (1);
10417
DROP PROCEDURE sp1;
10418
DROP PROCEDURE IF EXISTS handler1;
10420
Note 1305 PROCEDURE handler1 does not exist
10421
CREATE PROCEDURE handler1()
10423
declare undo handler for sqlstate '23000' set @x2 = 1;
10425
insert into t values (1);
10427
insert into t values (1);
10430
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
10432
insert into t values ' at line 3
10433
DROP PROCEDURE IF EXISTS handler1;
10435
Note 1305 PROCEDURE handler1 does not exist
10436
CREATE PROCEDURE handler1()
10438
declare continueinv handler for sqlstate '2300' set @x2 = 1;
10440
insert into t values (1);
10442
insert into t values (1);
10445
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
10447
insert into t values (1);
10449
DROP PROCEDURE IF EXISTS handler1;
10451
Note 1305 PROCEDURE handler1 does not exist
10452
CREATE PROCEDURE handler1()
10454
declare undoinv handler for sqlstate '2300' set @x2 = 1;
10456
insert into t values (1);
10458
insert into t values (1);
10461
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
10463
insert into t values (1);
10465
DROP PROCEDURE IF EXISTS handler1;
10467
Note 1305 PROCEDURE handler1 does not exist
10468
CREATE PROCEDURE handler1 ()
10470
declare exitinv handler for sqlstate '2300' set @x2 = 1;
10472
insert into t values (1);
10474
insert into t values (1);
10477
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
10479
insert into t values (1);
10481
DROP PROCEDURE IF EXISTS sp1;
10483
Note 1305 PROCEDURE sp1 does not exist
10484
CREATE PROCEDURE sp1( )
10486
declare add handler for sqlstate '02000' set @var2 = 1;
10488
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1;
10490
DROP PROCEDURE IF EXISTS sp1;
10492
Note 1305 PROCEDURE sp1 does not exist
10493
CREATE PROCEDURE sp1( )
10495
declare all handler for sqlstate '02000' set @var2 = 1;
10497
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1;
10499
DROP PROCEDURE IF EXISTS sp1;
10501
Note 1305 PROCEDURE sp1 does not exist
10502
CREATE PROCEDURE sp1( )
10504
declare alter handler for sqlstate '02000' set @var2 = 1;
10506
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1;
10508
DROP PROCEDURE IF EXISTS sp1;
10510
Note 1305 PROCEDURE sp1 does not exist
10511
CREATE PROCEDURE sp1( )
10513
declare analyze handler for sqlstate '02000' set @var2 = 1;
10515
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1;
10517
DROP PROCEDURE IF EXISTS sp1;
10519
Note 1305 PROCEDURE sp1 does not exist
10520
CREATE PROCEDURE sp1( )
10522
declare and handler for sqlstate '02000' set @var2 = 1;
10524
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1;
10526
DROP PROCEDURE IF EXISTS sp1;
10528
Note 1305 PROCEDURE sp1 does not exist
10529
CREATE PROCEDURE sp1( )
10531
declare as handler for sqlstate '02000' set @var2 = 1;
10533
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1;
10535
DROP PROCEDURE IF EXISTS sp1;
10537
Note 1305 PROCEDURE sp1 does not exist
10538
CREATE PROCEDURE sp1( )
10540
declare asc handler for sqlstate '02000' set @var2 = 1;
10542
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1;
10544
DROP PROCEDURE IF EXISTS sp1;
10546
Note 1305 PROCEDURE sp1 does not exist
10547
CREATE PROCEDURE sp1( )
10549
declare asensitive handler for sqlstate '02000' set @var2 = 1;
10551
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1;
10553
DROP PROCEDURE IF EXISTS sp1;
10555
Note 1305 PROCEDURE sp1 does not exist
10556
CREATE PROCEDURE sp1( )
10558
declare before handler for sqlstate '02000' set @var2 = 1;
10560
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1;
10562
DROP PROCEDURE IF EXISTS sp1;
10564
Note 1305 PROCEDURE sp1 does not exist
10565
CREATE PROCEDURE sp1( )
10567
declare between handler for sqlstate '02000' set @var2 = 1;
10569
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1;
10571
DROP PROCEDURE IF EXISTS sp1;
10573
Note 1305 PROCEDURE sp1 does not exist
10574
CREATE PROCEDURE sp1( )
10576
declare bigint handler for sqlstate '02000' set @var2 = 1;
10578
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1;
10580
DROP PROCEDURE IF EXISTS sp1;
10582
Note 1305 PROCEDURE sp1 does not exist
10583
CREATE PROCEDURE sp1( )
10585
declare binary handler for sqlstate '02000' set @var2 = 1;
10587
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1;
10589
DROP PROCEDURE IF EXISTS sp1;
10591
Note 1305 PROCEDURE sp1 does not exist
10592
CREATE PROCEDURE sp1( )
10594
declare blob handler for sqlstate '02000' set @var2 = 1;
10596
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1;
10598
DROP PROCEDURE IF EXISTS sp1;
10600
Note 1305 PROCEDURE sp1 does not exist
10601
CREATE PROCEDURE sp1( )
10603
declare both handler for sqlstate '02000' set @var2 = 1;
10605
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1;
10607
DROP PROCEDURE IF EXISTS sp1;
10609
Note 1305 PROCEDURE sp1 does not exist
10610
CREATE PROCEDURE sp1( )
10612
declare by handler for sqlstate '02000' set @var2 = 1;
10614
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1;
10616
DROP PROCEDURE IF EXISTS sp1;
10618
Note 1305 PROCEDURE sp1 does not exist
10619
CREATE PROCEDURE sp1( )
10621
declare CALL handler for sqlstate '02000' set @var2 = 1;
10623
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CALL handler for sqlstate '02000' set @var2 = 1;
10625
DROP PROCEDURE IF EXISTS sp1;
10627
Note 1305 PROCEDURE sp1 does not exist
10628
CREATE PROCEDURE sp1( )
10630
declare cascade handler for sqlstate '02000' set @var2 = 1;
10632
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1;
10634
DROP PROCEDURE IF EXISTS sp1;
10636
Note 1305 PROCEDURE sp1 does not exist
10637
CREATE PROCEDURE sp1( )
10639
declare case handler for sqlstate '02000' set @var2 = 1;
10641
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1;
10643
DROP PROCEDURE IF EXISTS sp1;
10645
Note 1305 PROCEDURE sp1 does not exist
10646
CREATE PROCEDURE sp1( )
10648
declare change handler for sqlstate '02000' set @var2 = 1;
10650
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1;
10652
DROP PROCEDURE IF EXISTS sp1;
10654
Note 1305 PROCEDURE sp1 does not exist
10655
CREATE PROCEDURE sp1( )
10657
declare char handler for sqlstate '02000' set @var2 = 1;
10659
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1;
10661
DROP PROCEDURE IF EXISTS sp1;
10663
Note 1305 PROCEDURE sp1 does not exist
10664
CREATE PROCEDURE sp1( )
10666
declare character handler for sqlstate '02000' set @var2 = 1;
10668
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1;
10670
DROP PROCEDURE IF EXISTS sp1;
10672
Note 1305 PROCEDURE sp1 does not exist
10673
CREATE PROCEDURE sp1( )
10675
declare check handler for sqlstate '02000' set @var2 = 1;
10677
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1;
10679
DROP PROCEDURE IF EXISTS sp1;
10681
Note 1305 PROCEDURE sp1 does not exist
10682
CREATE PROCEDURE sp1( )
10684
declare collate handler for sqlstate '02000' set @var2 = 1;
10686
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1;
10688
DROP PROCEDURE IF EXISTS sp1;
10690
Note 1305 PROCEDURE sp1 does not exist
10691
CREATE PROCEDURE sp1( )
10693
declare column handler for sqlstate '02000' set @var2 = 1;
10695
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1;
10697
DROP PROCEDURE IF EXISTS sp1;
10699
Note 1305 PROCEDURE sp1 does not exist
10700
CREATE PROCEDURE sp1( )
10702
declare columns handler for sqlstate '02000' set @var2 = 1;
10704
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
10706
DROP PROCEDURE IF EXISTS sp1;
10708
Note 1305 PROCEDURE sp1 does not exist
10709
CREATE PROCEDURE sp1( )
10711
declare condition handler for sqlstate '02000' set @var2 = 1;
10713
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1;
10715
DROP PROCEDURE IF EXISTS sp1;
10717
Note 1305 PROCEDURE sp1 does not exist
10718
CREATE PROCEDURE sp1( )
10720
declare connection handler for sqlstate '02000' set @var2 = 1;
10722
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'connection handler for sqlstate '02000' set @var2 = 1;
10724
DROP PROCEDURE IF EXISTS sp1;
10726
Note 1305 PROCEDURE sp1 does not exist
10727
CREATE PROCEDURE sp1( )
10729
declare constraint handler for sqlstate '02000' set @var2 = 1;
10731
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1;
10733
DROP PROCEDURE IF EXISTS sp1;
10735
Note 1305 PROCEDURE sp1 does not exist
10736
CREATE PROCEDURE sp1( )
10738
declare convert handler for sqlstate '02000' set @var2 = 1;
10740
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1;
10742
DROP PROCEDURE IF EXISTS sp1;
10744
Note 1305 PROCEDURE sp1 does not exist
10745
CREATE PROCEDURE sp1( )
10747
declare create handler for sqlstate '02000' set @var2 = 1;
10749
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1;
10751
DROP PROCEDURE IF EXISTS sp1;
10753
Note 1305 PROCEDURE sp1 does not exist
10754
CREATE PROCEDURE sp1( )
10756
declare cross handler for sqlstate '02000' set @var2 = 1;
10758
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1;
10760
DROP PROCEDURE IF EXISTS sp1;
10762
Note 1305 PROCEDURE sp1 does not exist
10763
CREATE PROCEDURE sp1( )
10765
declare current_date handler for sqlstate '02000' set @var2 = 1;
10767
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1;
10769
DROP PROCEDURE IF EXISTS sp1;
10771
Note 1305 PROCEDURE sp1 does not exist
10772
CREATE PROCEDURE sp1( )
10774
declare current_time handler for sqlstate '02000' set @var2 = 1;
10776
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1;
10778
DROP PROCEDURE IF EXISTS sp1;
10780
Note 1305 PROCEDURE sp1 does not exist
10781
CREATE PROCEDURE sp1( )
10783
declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
10785
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
10787
DROP PROCEDURE IF EXISTS sp1;
10789
Note 1305 PROCEDURE sp1 does not exist
10790
CREATE PROCEDURE sp1( )
10792
declare current_user handler for sqlstate '02000' set @var2 = 1;
10794
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1;
10796
DROP PROCEDURE IF EXISTS sp1;
10798
Note 1305 PROCEDURE sp1 does not exist
10799
CREATE PROCEDURE sp1( )
10801
declare cursor handler for sqlstate '02000' set @var2 = 1;
10803
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1;
10805
DROP PROCEDURE IF EXISTS sp1;
10807
Note 1305 PROCEDURE sp1 does not exist
10808
CREATE PROCEDURE sp1( )
10810
declare database handler for sqlstate '02000' set @var2 = 1;
10812
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1;
10814
DROP PROCEDURE IF EXISTS sp1;
10816
Note 1305 PROCEDURE sp1 does not exist
10817
CREATE PROCEDURE sp1( )
10819
declare databases handler for sqlstate '02000' set @var2 = 1;
10821
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1;
10823
DROP PROCEDURE IF EXISTS sp1;
10825
Note 1305 PROCEDURE sp1 does not exist
10826
CREATE PROCEDURE sp1( )
10828
declare day_hour handler for sqlstate '02000' set @var2 = 1;
10830
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1;
10832
DROP PROCEDURE IF EXISTS sp1;
10834
Note 1305 PROCEDURE sp1 does not exist
10835
CREATE PROCEDURE sp1( )
10837
declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
10839
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
10841
DROP PROCEDURE IF EXISTS sp1;
10843
Note 1305 PROCEDURE sp1 does not exist
10844
CREATE PROCEDURE sp1( )
10846
declare day_minute handler for sqlstate '02000' set @var2 = 1;
10848
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1;
10850
DROP PROCEDURE IF EXISTS sp1;
10852
Note 1305 PROCEDURE sp1 does not exist
10853
CREATE PROCEDURE sp1( )
10855
declare day_second handler for sqlstate '02000' set @var2 = 1;
10857
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1;
10859
DROP PROCEDURE IF EXISTS sp1;
10861
Note 1305 PROCEDURE sp1 does not exist
10862
CREATE PROCEDURE sp1( )
10864
declare dec handler for sqlstate '02000' set @var2 = 1;
10866
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1;
10868
DROP PROCEDURE IF EXISTS sp1;
10870
Note 1305 PROCEDURE sp1 does not exist
10871
CREATE PROCEDURE sp1( )
10873
declare decimal handler for sqlstate '02000' set @var2 = 1;
10875
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1;
10877
DROP PROCEDURE IF EXISTS sp1;
10879
Note 1305 PROCEDURE sp1 does not exist
10880
CREATE PROCEDURE sp1( )
10882
declare declare handler for sqlstate '02000' set @var2 = 1;
10884
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1;
10886
DROP PROCEDURE IF EXISTS sp1;
10888
Note 1305 PROCEDURE sp1 does not exist
10889
CREATE PROCEDURE sp1( )
10891
declare default handler for sqlstate '02000' set @var2 = 1;
10893
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1;
10895
DROP PROCEDURE IF EXISTS sp1;
10897
Note 1305 PROCEDURE sp1 does not exist
10898
CREATE PROCEDURE sp1( )
10900
declare delayed handler for sqlstate '02000' set @var2 = 1;
10902
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1;
10904
DROP PROCEDURE IF EXISTS sp1;
10906
Note 1305 PROCEDURE sp1 does not exist
10907
CREATE PROCEDURE sp1( )
10909
declare delete handler for sqlstate '02000' set @var2 = 1;
10911
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1;
10913
DROP PROCEDURE IF EXISTS sp1;
10915
Note 1305 PROCEDURE sp1 does not exist
10916
CREATE PROCEDURE sp1( )
10918
declare desc handler for sqlstate '02000' set @var2 = 1;
10920
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1;
10922
DROP PROCEDURE IF EXISTS sp1;
10924
Note 1305 PROCEDURE sp1 does not exist
10925
CREATE PROCEDURE sp1( )
10927
declare describe handler for sqlstate '02000' set @var2 = 1;
10929
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1;
10931
DROP PROCEDURE IF EXISTS sp1;
10933
Note 1305 PROCEDURE sp1 does not exist
10934
CREATE PROCEDURE sp1( )
10936
declare deterministic handler for sqlstate '02000' set @var2 = 1;
10938
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1;
10940
DROP PROCEDURE IF EXISTS sp1;
10942
Note 1305 PROCEDURE sp1 does not exist
10943
CREATE PROCEDURE sp1( )
10945
declare distinct handler for sqlstate '02000' set @var2 = 1;
10947
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1;
10949
DROP PROCEDURE IF EXISTS sp1;
10951
Note 1305 PROCEDURE sp1 does not exist
10952
CREATE PROCEDURE sp1( )
10954
declare distinctrow handler for sqlstate '02000' set @var2 = 1;
10956
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1;
10958
DROP PROCEDURE IF EXISTS sp1;
10960
Note 1305 PROCEDURE sp1 does not exist
10961
CREATE PROCEDURE sp1( )
10963
declare div handler for sqlstate '02000' set @var2 = 1;
10965
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1;
10967
DROP PROCEDURE IF EXISTS sp1;
10969
Note 1305 PROCEDURE sp1 does not exist
10970
CREATE PROCEDURE sp1( )
10972
declare double handler for sqlstate '02000' set @var2 = 1;
10974
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1;
10976
DROP PROCEDURE IF EXISTS sp1;
10978
Note 1305 PROCEDURE sp1 does not exist
10979
CREATE PROCEDURE sp1( )
10981
declare drop handler for sqlstate '02000' set @var2 = 1;
10983
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1;
10985
DROP PROCEDURE IF EXISTS sp1;
10987
Note 1305 PROCEDURE sp1 does not exist
10988
CREATE PROCEDURE sp1( )
10990
declare dual handler for sqlstate '02000' set @var2 = 1;
10992
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1;
10994
DROP PROCEDURE IF EXISTS sp1;
10996
Note 1305 PROCEDURE sp1 does not exist
10997
CREATE PROCEDURE sp1( )
10999
declare each handler for sqlstate '02000' set @var2 = 1;
11001
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1;
11003
DROP PROCEDURE IF EXISTS sp1;
11005
Note 1305 PROCEDURE sp1 does not exist
11006
CREATE PROCEDURE sp1( )
11008
declare else handler for sqlstate '02000' set @var2 = 1;
11010
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1;
11012
DROP PROCEDURE IF EXISTS sp1;
11014
Note 1305 PROCEDURE sp1 does not exist
11015
CREATE PROCEDURE sp1( )
11017
declare elseif handler for sqlstate '02000' set @var2 = 1;
11019
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1;
11021
DROP PROCEDURE IF EXISTS sp1;
11023
Note 1305 PROCEDURE sp1 does not exist
11024
CREATE PROCEDURE sp1( )
11026
declare enclosed handler for sqlstate '02000' set @var2 = 1;
11028
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1;
11030
DROP PROCEDURE IF EXISTS sp1;
11032
Note 1305 PROCEDURE sp1 does not exist
11033
CREATE PROCEDURE sp1( )
11035
declare escaped handler for sqlstate '02000' set @var2 = 1;
11037
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1;
11039
DROP PROCEDURE IF EXISTS sp1;
11041
Note 1305 PROCEDURE sp1 does not exist
11042
CREATE PROCEDURE sp1( )
11044
declare exists handler for sqlstate '02000' set @var2 = 1;
11046
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1;
11048
DROP PROCEDURE IF EXISTS sp1;
11050
Note 1305 PROCEDURE sp1 does not exist
11051
CREATE PROCEDURE sp1( )
11053
declare explain handler for sqlstate '02000' set @var2 = 1;
11055
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1;
11057
DROP PROCEDURE IF EXISTS sp1;
11059
Note 1305 PROCEDURE sp1 does not exist
11060
CREATE PROCEDURE sp1( )
11062
declare false handler for sqlstate '02000' set @var2 = 1;
11064
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1;
11066
DROP PROCEDURE IF EXISTS sp1;
11068
Note 1305 PROCEDURE sp1 does not exist
11069
CREATE PROCEDURE sp1( )
11071
declare fetch handler for sqlstate '02000' set @var2 = 1;
11073
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1;
11075
DROP PROCEDURE IF EXISTS sp1;
11077
Note 1305 PROCEDURE sp1 does not exist
11078
CREATE PROCEDURE sp1( )
11080
declare fields handler for sqlstate '02000' set @var2 = 1;
11082
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
11084
DROP PROCEDURE IF EXISTS sp1;
11086
Note 1305 PROCEDURE sp1 does not exist
11087
CREATE PROCEDURE sp1( )
11089
declare float handler for sqlstate '02000' set @var2 = 1;
11091
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1;
11093
DROP PROCEDURE IF EXISTS sp1;
11095
Note 1305 PROCEDURE sp1 does not exist
11096
CREATE PROCEDURE sp1( )
11098
declare for handler for sqlstate '02000' set @var2 = 1;
11100
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1;
11102
DROP PROCEDURE IF EXISTS sp1;
11104
Note 1305 PROCEDURE sp1 does not exist
11105
CREATE PROCEDURE sp1( )
11107
declare force handler for sqlstate '02000' set @var2 = 1;
11109
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1;
11111
DROP PROCEDURE IF EXISTS sp1;
11113
Note 1305 PROCEDURE sp1 does not exist
11114
CREATE PROCEDURE sp1( )
11116
declare foreign handler for sqlstate '02000' set @var2 = 1;
11118
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1;
11120
DROP PROCEDURE IF EXISTS sp1;
11122
Note 1305 PROCEDURE sp1 does not exist
11123
CREATE PROCEDURE sp1( )
11125
declare found handler for sqlstate '02000' set @var2 = 1;
11127
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
11129
DROP PROCEDURE IF EXISTS sp1;
11131
Note 1305 PROCEDURE sp1 does not exist
11132
CREATE PROCEDURE sp1( )
11134
declare from handler for sqlstate '02000' set @var2 = 1;
11136
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1;
11138
DROP PROCEDURE IF EXISTS sp1;
11140
Note 1305 PROCEDURE sp1 does not exist
11141
CREATE PROCEDURE sp1( )
11143
declare fulltext handler for sqlstate '02000' set @var2 = 1;
11145
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1;
11147
DROP PROCEDURE IF EXISTS sp1;
11149
Note 1305 PROCEDURE sp1 does not exist
11150
CREATE PROCEDURE sp1( )
11152
declare goto handler for sqlstate '02000' set @var2 = 1;
11154
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
11156
DROP PROCEDURE IF EXISTS sp1;
11158
Note 1305 PROCEDURE sp1 does not exist
11159
CREATE PROCEDURE sp1( )
11161
declare grant handler for sqlstate '02000' set @var2 = 1;
11163
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1;
11165
DROP PROCEDURE IF EXISTS sp1;
11167
Note 1305 PROCEDURE sp1 does not exist
11168
CREATE PROCEDURE sp1( )
11170
declare group handler for sqlstate '02000' set @var2 = 1;
11172
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1;
11174
DROP PROCEDURE IF EXISTS sp1;
11176
Note 1305 PROCEDURE sp1 does not exist
11177
CREATE PROCEDURE sp1( )
11179
declare having handler for sqlstate '02000' set @var2 = 1;
11181
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1;
11183
DROP PROCEDURE IF EXISTS sp1;
11185
Note 1305 PROCEDURE sp1 does not exist
11186
CREATE PROCEDURE sp1( )
11188
declare high_priority handler for sqlstate '02000' set @var2 = 1;
11190
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1;
11192
DROP PROCEDURE IF EXISTS sp1;
11194
Note 1305 PROCEDURE sp1 does not exist
11195
CREATE PROCEDURE sp1( )
11197
declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
11199
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1;
11201
DROP PROCEDURE IF EXISTS sp1;
11203
Note 1305 PROCEDURE sp1 does not exist
11204
CREATE PROCEDURE sp1( )
11206
declare hour_minute handler for sqlstate '02000' set @var2 = 1;
11208
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1;
11210
DROP PROCEDURE IF EXISTS sp1;
11212
Note 1305 PROCEDURE sp1 does not exist
11213
CREATE PROCEDURE sp1( )
11215
declare hour_second handler for sqlstate '02000' set @var2 = 1;
11217
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1;
11219
DROP PROCEDURE IF EXISTS sp1;
11221
Note 1305 PROCEDURE sp1 does not exist
11222
CREATE PROCEDURE sp1( )
11224
declare if handler for sqlstate '02000' set @var2 = 1;
11226
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1;
11228
DROP PROCEDURE IF EXISTS sp1;
11230
Note 1305 PROCEDURE sp1 does not exist
11231
CREATE PROCEDURE sp1( )
11233
declare ignore handler for sqlstate '02000' set @var2 = 1;
11235
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1;
11237
DROP PROCEDURE IF EXISTS sp1;
11239
Note 1305 PROCEDURE sp1 does not exist
11240
CREATE PROCEDURE sp1( )
11242
declare in handler for sqlstate '02000' set @var2 = 1;
11244
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1;
11246
DROP PROCEDURE IF EXISTS sp1;
11248
Note 1305 PROCEDURE sp1 does not exist
11249
CREATE PROCEDURE sp1( )
11251
declare index handler for sqlstate '02000' set @var2 = 1;
11253
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1;
11255
DROP PROCEDURE IF EXISTS sp1;
11257
Note 1305 PROCEDURE sp1 does not exist
11258
CREATE PROCEDURE sp1( )
11260
declare infile handler for sqlstate '02000' set @var2 = 1;
11262
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1;
11264
DROP PROCEDURE IF EXISTS sp1;
11266
Note 1305 PROCEDURE sp1 does not exist
11267
CREATE PROCEDURE sp1( )
11269
declare inner handler for sqlstate '02000' set @var2 = 1;
11271
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1;
11273
DROP PROCEDURE IF EXISTS sp1;
11275
Note 1305 PROCEDURE sp1 does not exist
11276
CREATE PROCEDURE sp1( )
11278
declare inout handler for sqlstate '02000' set @var2 = 1;
11280
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1;
11282
DROP PROCEDURE IF EXISTS sp1;
11284
Note 1305 PROCEDURE sp1 does not exist
11285
CREATE PROCEDURE sp1( )
11287
declare insensitive handler for sqlstate '02000' set @var2 = 1;
11289
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1;
11291
DROP PROCEDURE IF EXISTS sp1;
11293
Note 1305 PROCEDURE sp1 does not exist
11294
CREATE PROCEDURE sp1( )
11296
declare insert handler for sqlstate '02000' set @var2 = 1;
11298
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1;
11300
DROP PROCEDURE IF EXISTS sp1;
11302
Note 1305 PROCEDURE sp1 does not exist
11303
CREATE PROCEDURE sp1( )
11305
declare int handler for sqlstate '02000' set @var2 = 1;
11307
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1;
11309
DROP PROCEDURE IF EXISTS sp1;
11311
Note 1305 PROCEDURE sp1 does not exist
11312
CREATE PROCEDURE sp1( )
11314
declare integer handler for sqlstate '02000' set @var2 = 1;
11316
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1;
11318
DROP PROCEDURE IF EXISTS sp1;
11320
Note 1305 PROCEDURE sp1 does not exist
11321
CREATE PROCEDURE sp1( )
11323
declare interval handler for sqlstate '02000' set @var2 = 1;
11325
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1;
11327
DROP PROCEDURE IF EXISTS sp1;
11329
Note 1305 PROCEDURE sp1 does not exist
11330
CREATE PROCEDURE sp1( )
11332
declare into handler for sqlstate '02000' set @var2 = 1;
11334
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1;
11336
DROP PROCEDURE IF EXISTS sp1;
11338
Note 1305 PROCEDURE sp1 does not exist
11339
CREATE PROCEDURE sp1( )
11341
declare is handler for sqlstate '02000' set @var2 = 1;
11343
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1;
11345
DROP PROCEDURE IF EXISTS sp1;
11347
Note 1305 PROCEDURE sp1 does not exist
11348
CREATE PROCEDURE sp1( )
11350
declare iterate handler for sqlstate '02000' set @var2 = 1;
11352
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1;
11354
DROP PROCEDURE IF EXISTS sp1;
11356
Note 1305 PROCEDURE sp1 does not exist
11357
CREATE PROCEDURE sp1( )
11359
declare join handler for sqlstate '02000' set @var2 = 1;
11361
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1;
11363
DROP PROCEDURE IF EXISTS sp1;
11365
Note 1305 PROCEDURE sp1 does not exist
11366
CREATE PROCEDURE sp1( )
11368
declare key handler for sqlstate '02000' set @var2 = 1;
11370
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
11372
DROP PROCEDURE IF EXISTS sp1;
11374
Note 1305 PROCEDURE sp1 does not exist
11375
CREATE PROCEDURE sp1( )
11377
declare keys handler for sqlstate '02000' set @var2 = 1;
11379
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1;
11381
DROP PROCEDURE IF EXISTS sp1;
11383
Note 1305 PROCEDURE sp1 does not exist
11384
CREATE PROCEDURE sp1( )
11386
declare kill handler for sqlstate '02000' set @var2 = 1;
11388
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1;
11390
DROP PROCEDURE IF EXISTS sp1;
11392
Note 1305 PROCEDURE sp1 does not exist
11393
CREATE PROCEDURE sp1( )
11395
declare leading handler for sqlstate '02000' set @var2 = 1;
11397
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1;
11399
DROP PROCEDURE IF EXISTS sp1;
11401
Note 1305 PROCEDURE sp1 does not exist
11402
CREATE PROCEDURE sp1( )
11404
declare leave handler for sqlstate '02000' set @var2 = 1;
11406
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1;
11408
DROP PROCEDURE IF EXISTS sp1;
11410
Note 1305 PROCEDURE sp1 does not exist
11411
CREATE PROCEDURE sp1( )
11413
declare left handler for sqlstate '02000' set @var2 = 1;
11415
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1;
11417
DROP PROCEDURE IF EXISTS sp1;
11419
Note 1305 PROCEDURE sp1 does not exist
11420
CREATE PROCEDURE sp1( )
11422
declare like handler for sqlstate '02000' set @var2 = 1;
11424
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1;
11426
DROP PROCEDURE IF EXISTS sp1;
11428
Note 1305 PROCEDURE sp1 does not exist
11429
CREATE PROCEDURE sp1( )
11431
declare limit handler for sqlstate '02000' set @var2 = 1;
11433
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1;
11435
DROP PROCEDURE IF EXISTS sp1;
11437
Note 1305 PROCEDURE sp1 does not exist
11438
CREATE PROCEDURE sp1( )
11440
declare lines handler for sqlstate '02000' set @var2 = 1;
11442
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1;
11444
DROP PROCEDURE IF EXISTS sp1;
11446
Note 1305 PROCEDURE sp1 does not exist
11447
CREATE PROCEDURE sp1( )
11449
declare load handler for sqlstate '02000' set @var2 = 1;
11451
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1;
11453
DROP PROCEDURE IF EXISTS sp1;
11455
Note 1305 PROCEDURE sp1 does not exist
11456
CREATE PROCEDURE sp1( )
11458
declare localtime handler for sqlstate '02000' set @var2 = 1;
11460
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1;
11462
DROP PROCEDURE IF EXISTS sp1;
11464
Note 1305 PROCEDURE sp1 does not exist
11465
CREATE PROCEDURE sp1( )
11467
declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
11469
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1;
11471
DROP PROCEDURE IF EXISTS sp1;
11473
Note 1305 PROCEDURE sp1 does not exist
11474
CREATE PROCEDURE sp1( )
11476
declare lock handler for sqlstate '02000' set @var2 = 1;
11478
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1;
11480
DROP PROCEDURE IF EXISTS sp1;
11482
Note 1305 PROCEDURE sp1 does not exist
11483
CREATE PROCEDURE sp1( )
11485
declare long handler for sqlstate '02000' set @var2 = 1;
11487
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1;
11489
DROP PROCEDURE IF EXISTS sp1;
11491
Note 1305 PROCEDURE sp1 does not exist
11492
CREATE PROCEDURE sp1( )
11494
declare longblob handler for sqlstate '02000' set @var2 = 1;
11496
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1;
11498
DROP PROCEDURE IF EXISTS sp1;
11500
Note 1305 PROCEDURE sp1 does not exist
11501
CREATE PROCEDURE sp1( )
11503
declare longtext handler for sqlstate '02000' set @var2 = 1;
11505
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext handler for sqlstate '02000' set @var2 = 1;
11507
DROP PROCEDURE IF EXISTS sp1;
11509
Note 1305 PROCEDURE sp1 does not exist
11510
CREATE PROCEDURE sp1( )
11512
declare loop handler for sqlstate '02000' set @var2 = 1;
11514
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop handler for sqlstate '02000' set @var2 = 1;
11516
DROP PROCEDURE IF EXISTS sp1;
11518
Note 1305 PROCEDURE sp1 does not exist
11519
CREATE PROCEDURE sp1( )
11521
declare low_priority handler for sqlstate '02000' set @var2 = 1;
11523
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority handler for sqlstate '02000' set @var2 = 1;
11525
DROP PROCEDURE IF EXISTS sp1;
11527
Note 1305 PROCEDURE sp1 does not exist
11528
CREATE PROCEDURE sp1( )
11530
declare match handler for sqlstate '02000' set @var2 = 1;
11532
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match handler for sqlstate '02000' set @var2 = 1;
11534
DROP PROCEDURE IF EXISTS sp1;
11536
Note 1305 PROCEDURE sp1 does not exist
11537
CREATE PROCEDURE sp1( )
11539
declare mediumblob handler for sqlstate '02000' set @var2 = 1;
11541
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob handler for sqlstate '02000' set @var2 = 1;
11543
DROP PROCEDURE IF EXISTS sp1;
11545
Note 1305 PROCEDURE sp1 does not exist
11546
CREATE PROCEDURE sp1( )
11548
declare mediumint handler for sqlstate '02000' set @var2 = 1;
11550
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint handler for sqlstate '02000' set @var2 = 1;
11552
DROP PROCEDURE IF EXISTS sp1;
11554
Note 1305 PROCEDURE sp1 does not exist
11555
CREATE PROCEDURE sp1( )
11557
declare mediumtext handler for sqlstate '02000' set @var2 = 1;
11559
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext handler for sqlstate '02000' set @var2 = 1;
11561
DROP PROCEDURE IF EXISTS sp1;
11563
Note 1305 PROCEDURE sp1 does not exist
11564
CREATE PROCEDURE sp1( )
11566
declare middleint handler for sqlstate '02000' set @var2 = 1;
11568
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint handler for sqlstate '02000' set @var2 = 1;
11570
DROP PROCEDURE IF EXISTS sp1;
11572
Note 1305 PROCEDURE sp1 does not exist
11573
CREATE PROCEDURE sp1( )
11575
declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
11577
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond handler for sqlstate '02000' set @var2 = 1;
11579
DROP PROCEDURE IF EXISTS sp1;
11581
Note 1305 PROCEDURE sp1 does not exist
11582
CREATE PROCEDURE sp1( )
11584
declare minute_second handler for sqlstate '02000' set @var2 = 1;
11586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second handler for sqlstate '02000' set @var2 = 1;
11588
DROP PROCEDURE IF EXISTS sp1;
11590
Note 1305 PROCEDURE sp1 does not exist
11591
CREATE PROCEDURE sp1( )
11593
declare mod handler for sqlstate '02000' set @var2 = 1;
11595
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod handler for sqlstate '02000' set @var2 = 1;
11597
DROP PROCEDURE IF EXISTS sp1;
11599
Note 1305 PROCEDURE sp1 does not exist
11600
CREATE PROCEDURE sp1( )
11602
declare modifies handler for sqlstate '02000' set @var2 = 1;
11604
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies handler for sqlstate '02000' set @var2 = 1;
11606
DROP PROCEDURE IF EXISTS sp1;
11608
Note 1305 PROCEDURE sp1 does not exist
11609
CREATE PROCEDURE sp1( )
11611
declare natural handler for sqlstate '02000' set @var2 = 1;
11613
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural handler for sqlstate '02000' set @var2 = 1;
11615
DROP PROCEDURE IF EXISTS sp1;
11617
Note 1305 PROCEDURE sp1 does not exist
11618
CREATE PROCEDURE sp1( )
11620
declare not handler for sqlstate '02000' set @var2 = 1;
11622
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
11624
DROP PROCEDURE IF EXISTS sp1;
11626
Note 1305 PROCEDURE sp1 does not exist
11627
CREATE PROCEDURE sp1( )
11629
declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
11631
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
11633
DROP PROCEDURE IF EXISTS sp1;
11635
Note 1305 PROCEDURE sp1 does not exist
11636
CREATE PROCEDURE sp1( )
11638
declare null handler for sqlstate '02000' set @var2 = 1;
11640
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null handler for sqlstate '02000' set @var2 = 1;
11642
DROP PROCEDURE IF EXISTS sp1;
11644
Note 1305 PROCEDURE sp1 does not exist
11645
CREATE PROCEDURE sp1( )
11647
declare numeric handler for sqlstate '02000' set @var2 = 1;
11649
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric handler for sqlstate '02000' set @var2 = 1;
11651
DROP PROCEDURE IF EXISTS sp1;
11653
Note 1305 PROCEDURE sp1 does not exist
11654
CREATE PROCEDURE sp1( )
11656
declare on handler for sqlstate '02000' set @var2 = 1;
11658
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on handler for sqlstate '02000' set @var2 = 1;
11660
DROP PROCEDURE IF EXISTS sp1;
11662
Note 1305 PROCEDURE sp1 does not exist
11663
CREATE PROCEDURE sp1( )
11665
declare optimize handler for sqlstate '02000' set @var2 = 1;
11667
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize handler for sqlstate '02000' set @var2 = 1;
11669
DROP PROCEDURE IF EXISTS sp1;
11671
Note 1305 PROCEDURE sp1 does not exist
11672
CREATE PROCEDURE sp1( )
11674
declare option handler for sqlstate '02000' set @var2 = 1;
11676
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option handler for sqlstate '02000' set @var2 = 1;
11678
DROP PROCEDURE IF EXISTS sp1;
11680
Note 1305 PROCEDURE sp1 does not exist
11681
CREATE PROCEDURE sp1( )
11683
declare optionally handler for sqlstate '02000' set @var2 = 1;
11685
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally handler for sqlstate '02000' set @var2 = 1;
11687
DROP PROCEDURE IF EXISTS sp1;
11689
Note 1305 PROCEDURE sp1 does not exist
11690
CREATE PROCEDURE sp1( )
11692
declare or handler for sqlstate '02000' set @var2 = 1;
11694
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or handler for sqlstate '02000' set @var2 = 1;
11696
DROP PROCEDURE IF EXISTS sp1;
11698
Note 1305 PROCEDURE sp1 does not exist
11699
CREATE PROCEDURE sp1( )
11701
declare order handler for sqlstate '02000' set @var2 = 1;
11703
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order handler for sqlstate '02000' set @var2 = 1;
11705
DROP PROCEDURE IF EXISTS sp1;
11707
Note 1305 PROCEDURE sp1 does not exist
11708
CREATE PROCEDURE sp1( )
11710
declare out handler for sqlstate '02000' set @var2 = 1;
11712
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
11714
DROP PROCEDURE IF EXISTS sp1;
11716
Note 1305 PROCEDURE sp1 does not exist
11717
CREATE PROCEDURE sp1( )
11719
declare outer handler for sqlstate '02000' set @var2 = 1;
11721
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer handler for sqlstate '02000' set @var2 = 1;
11723
DROP PROCEDURE IF EXISTS sp1;
11725
Note 1305 PROCEDURE sp1 does not exist
11726
CREATE PROCEDURE sp1( )
11728
declare outfile handler for sqlstate '02000' set @var2 = 1;
11730
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile handler for sqlstate '02000' set @var2 = 1;
11732
DROP PROCEDURE IF EXISTS sp1;
11734
Note 1305 PROCEDURE sp1 does not exist
11735
CREATE PROCEDURE sp1( )
11737
declare precision handler for sqlstate '02000' set @var2 = 1;
11739
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
11741
DROP PROCEDURE IF EXISTS sp1;
11743
Note 1305 PROCEDURE sp1 does not exist
11744
CREATE PROCEDURE sp1( )
11746
declare primary handler for sqlstate '02000' set @var2 = 1;
11748
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary handler for sqlstate '02000' set @var2 = 1;
11750
DROP PROCEDURE IF EXISTS sp1;
11752
Note 1305 PROCEDURE sp1 does not exist
11753
CREATE PROCEDURE sp1( )
11755
declare privileges handler for sqlstate '02000' set @var2 = 1;
11757
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
11759
DROP PROCEDURE IF EXISTS sp1;
11761
Note 1305 PROCEDURE sp1 does not exist
11762
CREATE PROCEDURE sp1( )
11764
declare procedure handler for sqlstate '02000' set @var2 = 1;
11766
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure handler for sqlstate '02000' set @var2 = 1;
11768
DROP PROCEDURE IF EXISTS sp1;
11770
Note 1305 PROCEDURE sp1 does not exist
11771
CREATE PROCEDURE sp1( )
11773
declare purge handler for sqlstate '02000' set @var2 = 1;
11775
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge handler for sqlstate '02000' set @var2 = 1;
11777
DROP PROCEDURE IF EXISTS sp1;
11779
Note 1305 PROCEDURE sp1 does not exist
11780
CREATE PROCEDURE sp1( )
11782
declare read handler for sqlstate '02000' set @var2 = 1;
11784
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read handler for sqlstate '02000' set @var2 = 1;
11786
DROP PROCEDURE IF EXISTS sp1;
11788
Note 1305 PROCEDURE sp1 does not exist
11789
CREATE PROCEDURE sp1( )
11791
declare reads handler for sqlstate '02000' set @var2 = 1;
11793
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads handler for sqlstate '02000' set @var2 = 1;
11795
DROP PROCEDURE IF EXISTS sp1;
11797
Note 1305 PROCEDURE sp1 does not exist
11798
CREATE PROCEDURE sp1( )
11800
declare real handler for sqlstate '02000' set @var2 = 1;
11802
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real handler for sqlstate '02000' set @var2 = 1;
11804
DROP PROCEDURE IF EXISTS sp1;
11806
Note 1305 PROCEDURE sp1 does not exist
11807
CREATE PROCEDURE sp1( )
11809
declare references handler for sqlstate '02000' set @var2 = 1;
11811
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references handler for sqlstate '02000' set @var2 = 1;
11813
DROP PROCEDURE IF EXISTS sp1;
11815
Note 1305 PROCEDURE sp1 does not exist
11816
CREATE PROCEDURE sp1( )
11818
declare regexp handler for sqlstate '02000' set @var2 = 1;
11820
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp handler for sqlstate '02000' set @var2 = 1;
11822
DROP PROCEDURE IF EXISTS sp1;
11824
Note 1305 PROCEDURE sp1 does not exist
11825
CREATE PROCEDURE sp1( )
11827
declare rename handler for sqlstate '02000' set @var2 = 1;
11829
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename handler for sqlstate '02000' set @var2 = 1;
11831
DROP PROCEDURE IF EXISTS sp1;
11833
Note 1305 PROCEDURE sp1 does not exist
11834
CREATE PROCEDURE sp1( )
11836
declare repeat handler for sqlstate '02000' set @var2 = 1;
11838
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat handler for sqlstate '02000' set @var2 = 1;
11840
DROP PROCEDURE IF EXISTS sp1;
11842
Note 1305 PROCEDURE sp1 does not exist
11843
CREATE PROCEDURE sp1( )
11845
declare replace handler for sqlstate '02000' set @var2 = 1;
11847
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace handler for sqlstate '02000' set @var2 = 1;
11849
DROP PROCEDURE IF EXISTS sp1;
11851
Note 1305 PROCEDURE sp1 does not exist
11852
CREATE PROCEDURE sp1( )
11854
declare require handler for sqlstate '02000' set @var2 = 1;
11856
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require handler for sqlstate '02000' set @var2 = 1;
11858
DROP PROCEDURE IF EXISTS sp1;
11860
Note 1305 PROCEDURE sp1 does not exist
11861
CREATE PROCEDURE sp1( )
11863
declare restrict handler for sqlstate '02000' set @var2 = 1;
11865
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict handler for sqlstate '02000' set @var2 = 1;
11867
DROP PROCEDURE IF EXISTS sp1;
11869
Note 1305 PROCEDURE sp1 does not exist
11870
CREATE PROCEDURE sp1( )
11872
declare return handler for sqlstate '02000' set @var2 = 1;
11874
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return handler for sqlstate '02000' set @var2 = 1;
11876
DROP PROCEDURE IF EXISTS sp1;
11878
Note 1305 PROCEDURE sp1 does not exist
11879
CREATE PROCEDURE sp1( )
11881
declare revoke handler for sqlstate '02000' set @var2 = 1;
11883
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke handler for sqlstate '02000' set @var2 = 1;
11885
DROP PROCEDURE IF EXISTS sp1;
11887
Note 1305 PROCEDURE sp1 does not exist
11888
CREATE PROCEDURE sp1( )
11890
declare right handler for sqlstate '02000' set @var2 = 1;
11892
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right handler for sqlstate '02000' set @var2 = 1;
11894
DROP PROCEDURE IF EXISTS sp1;
11896
Note 1305 PROCEDURE sp1 does not exist
11897
CREATE PROCEDURE sp1( )
11899
declare rlike handler for sqlstate '02000' set @var2 = 1;
11901
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike handler for sqlstate '02000' set @var2 = 1;
11903
DROP PROCEDURE IF EXISTS sp1;
11905
Note 1305 PROCEDURE sp1 does not exist
11906
CREATE PROCEDURE sp1( )
11908
declare schema handler for sqlstate '02000' set @var2 = 1;
11910
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema handler for sqlstate '02000' set @var2 = 1;
11912
DROP PROCEDURE IF EXISTS sp1;
11914
Note 1305 PROCEDURE sp1 does not exist
11915
CREATE PROCEDURE sp1( )
11917
declare schemas handler for sqlstate '02000' set @var2 = 1;
11919
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas handler for sqlstate '02000' set @var2 = 1;
11921
DROP PROCEDURE IF EXISTS sp1;
11923
Note 1305 PROCEDURE sp1 does not exist
11924
CREATE PROCEDURE sp1( )
11926
declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
11928
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond handler for sqlstate '02000' set @var2 = 1;
11930
DROP PROCEDURE IF EXISTS sp1;
11932
Note 1305 PROCEDURE sp1 does not exist
11933
CREATE PROCEDURE sp1( )
11935
declare SELECT handler for sqlstate '02000' set @var2 = 1;
11937
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT handler for sqlstate '02000' set @var2 = 1;
11939
DROP PROCEDURE IF EXISTS sp1;
11941
Note 1305 PROCEDURE sp1 does not exist
11942
CREATE PROCEDURE sp1( )
11944
declare sensitive handler for sqlstate '02000' set @var2 = 1;
11946
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive handler for sqlstate '02000' set @var2 = 1;
11948
DROP PROCEDURE IF EXISTS sp1;
11950
Note 1305 PROCEDURE sp1 does not exist
11951
CREATE PROCEDURE sp1( )
11953
declare separator handler for sqlstate '02000' set @var2 = 1;
11955
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator handler for sqlstate '02000' set @var2 = 1;
11957
DROP PROCEDURE IF EXISTS sp1;
11959
Note 1305 PROCEDURE sp1 does not exist
11960
CREATE PROCEDURE sp1( )
11962
declare set handler for sqlstate '02000' set @var2 = 1;
11964
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set handler for sqlstate '02000' set @var2 = 1;
11966
DROP PROCEDURE IF EXISTS sp1;
11968
Note 1305 PROCEDURE sp1 does not exist
11969
CREATE PROCEDURE sp1( )
11971
declare show handler for sqlstate '02000' set @var2 = 1;
11973
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show handler for sqlstate '02000' set @var2 = 1;
11975
DROP PROCEDURE IF EXISTS sp1;
11977
Note 1305 PROCEDURE sp1 does not exist
11978
CREATE PROCEDURE sp1( )
11980
declare smallint handler for sqlstate '02000' set @var2 = 1;
11982
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint handler for sqlstate '02000' set @var2 = 1;
11984
DROP PROCEDURE IF EXISTS sp1;
11986
Note 1305 PROCEDURE sp1 does not exist
11987
CREATE PROCEDURE sp1( )
11989
declare soname handler for sqlstate '02000' set @var2 = 1;
11991
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'soname handler for sqlstate '02000' set @var2 = 1;
11993
DROP PROCEDURE IF EXISTS sp1;
11995
Note 1305 PROCEDURE sp1 does not exist
11996
CREATE PROCEDURE sp1( )
11998
declare spatial handler for sqlstate '02000' set @var2 = 1;
12000
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial handler for sqlstate '02000' set @var2 = 1;
12002
DROP PROCEDURE IF EXISTS sp1;
12004
Note 1305 PROCEDURE sp1 does not exist
12005
CREATE PROCEDURE sp1( )
12007
declare specific handler for sqlstate '02000' set @var2 = 1;
12009
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific handler for sqlstate '02000' set @var2 = 1;
12011
DROP PROCEDURE IF EXISTS sp1;
12013
Note 1305 PROCEDURE sp1 does not exist
12014
CREATE PROCEDURE sp1( )
12016
declare sql handler for sqlstate '02000' set @var2 = 1;
12018
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql handler for sqlstate '02000' set @var2 = 1;
12020
DROP PROCEDURE IF EXISTS sp1;
12022
Note 1305 PROCEDURE sp1 does not exist
12023
CREATE PROCEDURE sp1( )
12025
declare sqlexception handler for sqlstate '02000' set @var2 = 1;
12027
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception handler for sqlstate '02000' set @var2 = 1;
12029
DROP PROCEDURE IF EXISTS sp1;
12031
Note 1305 PROCEDURE sp1 does not exist
12032
CREATE PROCEDURE sp1( )
12034
declare sqlstate handler for sqlstate '02000' set @var2 = 1;
12036
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate handler for sqlstate '02000' set @var2 = 1;
12038
DROP PROCEDURE IF EXISTS sp1;
12040
Note 1305 PROCEDURE sp1 does not exist
12041
CREATE PROCEDURE sp1( )
12043
declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
12045
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning handler for sqlstate '02000' set @var2 = 1;
12047
DROP PROCEDURE IF EXISTS sp1;
12049
Note 1305 PROCEDURE sp1 does not exist
12050
CREATE PROCEDURE sp1( )
12052
declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
12054
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result handler for sqlstate '02000' set @var2 = 1;
12056
DROP PROCEDURE IF EXISTS sp1;
12058
Note 1305 PROCEDURE sp1 does not exist
12059
CREATE PROCEDURE sp1( )
12061
declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
12063
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
12065
DROP PROCEDURE IF EXISTS sp1;
12067
Note 1305 PROCEDURE sp1 does not exist
12068
CREATE PROCEDURE sp1( )
12070
declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
12072
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result handler for sqlstate '02000' set @var2 = 1;
12074
DROP PROCEDURE IF EXISTS sp1;
12076
Note 1305 PROCEDURE sp1 does not exist
12077
CREATE PROCEDURE sp1( )
12079
declare ssl handler for sqlstate '02000' set @var2 = 1;
12081
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl handler for sqlstate '02000' set @var2 = 1;
12083
DROP PROCEDURE IF EXISTS sp1;
12085
Note 1305 PROCEDURE sp1 does not exist
12086
CREATE PROCEDURE sp1( )
12088
declare starting handler for sqlstate '02000' set @var2 = 1;
12090
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting handler for sqlstate '02000' set @var2 = 1;
12092
DROP PROCEDURE IF EXISTS sp1;
12094
Note 1305 PROCEDURE sp1 does not exist
12095
CREATE PROCEDURE sp1( )
12097
declare straight_join handler for sqlstate '02000' set @var2 = 1;
12099
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join handler for sqlstate '02000' set @var2 = 1;
12101
DROP PROCEDURE IF EXISTS sp1;
12103
Note 1305 PROCEDURE sp1 does not exist
12104
CREATE PROCEDURE sp1( )
12106
declare table handler for sqlstate '02000' set @var2 = 1;
12108
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table handler for sqlstate '02000' set @var2 = 1;
12110
DROP PROCEDURE IF EXISTS sp1;
12112
Note 1305 PROCEDURE sp1 does not exist
12113
CREATE PROCEDURE sp1( )
12115
declare tables handler for sqlstate '02000' set @var2 = 1;
12117
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
12119
DROP PROCEDURE IF EXISTS sp1;
12121
Note 1305 PROCEDURE sp1 does not exist
12122
CREATE PROCEDURE sp1( )
12124
declare terminated handler for sqlstate '02000' set @var2 = 1;
12126
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated handler for sqlstate '02000' set @var2 = 1;
12128
DROP PROCEDURE IF EXISTS sp1;
12130
Note 1305 PROCEDURE sp1 does not exist
12131
CREATE PROCEDURE sp1( )
12133
declare then handler for sqlstate '02000' set @var2 = 1;
12135
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then handler for sqlstate '02000' set @var2 = 1;
12137
DROP PROCEDURE IF EXISTS sp1;
12139
Note 1305 PROCEDURE sp1 does not exist
12140
CREATE PROCEDURE sp1( )
12142
declare tinyblob handler for sqlstate '02000' set @var2 = 1;
12144
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob handler for sqlstate '02000' set @var2 = 1;
12146
DROP PROCEDURE IF EXISTS sp1;
12148
Note 1305 PROCEDURE sp1 does not exist
12149
CREATE PROCEDURE sp1( )
12151
declare tinyint handler for sqlstate '02000' set @var2 = 1;
12153
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint handler for sqlstate '02000' set @var2 = 1;
12155
DROP PROCEDURE IF EXISTS sp1;
12157
Note 1305 PROCEDURE sp1 does not exist
12158
CREATE PROCEDURE sp1( )
12160
declare tinytext handler for sqlstate '02000' set @var2 = 1;
12162
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext handler for sqlstate '02000' set @var2 = 1;
12164
DROP PROCEDURE IF EXISTS sp1;
12166
Note 1305 PROCEDURE sp1 does not exist
12167
CREATE PROCEDURE sp1( )
12169
declare to handler for sqlstate '02000' set @var2 = 1;
12171
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to handler for sqlstate '02000' set @var2 = 1;
12173
DROP PROCEDURE IF EXISTS sp1;
12175
Note 1305 PROCEDURE sp1 does not exist
12176
CREATE PROCEDURE sp1( )
12178
declare trailing handler for sqlstate '02000' set @var2 = 1;
12180
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing handler for sqlstate '02000' set @var2 = 1;
12182
DROP PROCEDURE IF EXISTS sp1;
12184
Note 1305 PROCEDURE sp1 does not exist
12185
CREATE PROCEDURE sp1( )
12187
declare trigger handler for sqlstate '02000' set @var2 = 1;
12189
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger handler for sqlstate '02000' set @var2 = 1;
12191
DROP PROCEDURE IF EXISTS sp1;
12193
Note 1305 PROCEDURE sp1 does not exist
12194
CREATE PROCEDURE sp1( )
12196
declare true handler for sqlstate '02000' set @var2 = 1;
12198
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true handler for sqlstate '02000' set @var2 = 1;
12200
DROP PROCEDURE IF EXISTS sp1;
12202
Note 1305 PROCEDURE sp1 does not exist
12203
CREATE PROCEDURE sp1( )
12205
declare undo handler for sqlstate '02000' set @var2 = 1;
12207
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '02000' set @var2 = 1;
12209
DROP PROCEDURE IF EXISTS sp1;
12211
Note 1305 PROCEDURE sp1 does not exist
12212
CREATE PROCEDURE sp1( )
12214
declare union handler for sqlstate '02000' set @var2 = 1;
12216
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union handler for sqlstate '02000' set @var2 = 1;
12218
DROP PROCEDURE IF EXISTS sp1;
12220
Note 1305 PROCEDURE sp1 does not exist
12221
CREATE PROCEDURE sp1( )
12223
declare unique handler for sqlstate '02000' set @var2 = 1;
12225
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique handler for sqlstate '02000' set @var2 = 1;
12227
DROP PROCEDURE IF EXISTS sp1;
12229
Note 1305 PROCEDURE sp1 does not exist
12230
CREATE PROCEDURE sp1( )
12232
declare unlock handler for sqlstate '02000' set @var2 = 1;
12234
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock handler for sqlstate '02000' set @var2 = 1;
12236
DROP PROCEDURE IF EXISTS sp1;
12238
Note 1305 PROCEDURE sp1 does not exist
12239
CREATE PROCEDURE sp1( )
12241
declare unsigned handler for sqlstate '02000' set @var2 = 1;
12243
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned handler for sqlstate '02000' set @var2 = 1;
12245
DROP PROCEDURE IF EXISTS sp1;
12247
Note 1305 PROCEDURE sp1 does not exist
12248
CREATE PROCEDURE sp1( )
12250
declare update handler for sqlstate '02000' set @var2 = 1;
12252
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update handler for sqlstate '02000' set @var2 = 1;
12254
DROP PROCEDURE IF EXISTS sp1;
12256
Note 1305 PROCEDURE sp1 does not exist
12257
CREATE PROCEDURE sp1( )
12259
declare usage handler for sqlstate '02000' set @var2 = 1;
12261
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage handler for sqlstate '02000' set @var2 = 1;
12263
DROP PROCEDURE IF EXISTS sp1;
12265
Note 1305 PROCEDURE sp1 does not exist
12266
CREATE PROCEDURE sp1( )
12268
declare USE handler for sqlstate '02000' set @var2 = 1;
12270
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USE handler for sqlstate '02000' set @var2 = 1;
12272
DROP PROCEDURE IF EXISTS sp1;
12274
Note 1305 PROCEDURE sp1 does not exist
12275
CREATE PROCEDURE sp1( )
12277
declare using handler for sqlstate '02000' set @var2 = 1;
12279
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using handler for sqlstate '02000' set @var2 = 1;
12281
DROP PROCEDURE IF EXISTS sp1;
12283
Note 1305 PROCEDURE sp1 does not exist
12284
CREATE PROCEDURE sp1( )
12286
declare utc_date handler for sqlstate '02000' set @var2 = 1;
12288
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date handler for sqlstate '02000' set @var2 = 1;
12290
DROP PROCEDURE IF EXISTS sp1;
12292
Note 1305 PROCEDURE sp1 does not exist
12293
CREATE PROCEDURE sp1( )
12295
declare utc_time handler for sqlstate '02000' set @var2 = 1;
12297
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time handler for sqlstate '02000' set @var2 = 1;
12299
DROP PROCEDURE IF EXISTS sp1;
12301
Note 1305 PROCEDURE sp1 does not exist
12302
CREATE PROCEDURE sp1( )
12304
declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
12306
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp handler for sqlstate '02000' set @var2 = 1;
12308
DROP PROCEDURE IF EXISTS sp1;
12310
Note 1305 PROCEDURE sp1 does not exist
12311
CREATE PROCEDURE sp1( )
12313
declare values handler for sqlstate '02000' set @var2 = 1;
12315
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values handler for sqlstate '02000' set @var2 = 1;
12317
DROP PROCEDURE IF EXISTS sp1;
12319
Note 1305 PROCEDURE sp1 does not exist
12320
CREATE PROCEDURE sp1( )
12322
declare varbinary handler for sqlstate '02000' set @var2 = 1;
12324
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary handler for sqlstate '02000' set @var2 = 1;
12326
DROP PROCEDURE IF EXISTS sp1;
12328
Note 1305 PROCEDURE sp1 does not exist
12329
CREATE PROCEDURE sp1( )
12331
declare varchar handler for sqlstate '02000' set @var2 = 1;
12333
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar handler for sqlstate '02000' set @var2 = 1;
12335
DROP PROCEDURE IF EXISTS sp1;
12337
Note 1305 PROCEDURE sp1 does not exist
12338
CREATE PROCEDURE sp1( )
12340
declare varcharacter handler for sqlstate '02000' set @var2 = 1;
12342
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter handler for sqlstate '02000' set @var2 = 1;
12344
DROP PROCEDURE IF EXISTS sp1;
12346
Note 1305 PROCEDURE sp1 does not exist
12347
CREATE PROCEDURE sp1( )
12349
declare varying handler for sqlstate '02000' set @var2 = 1;
12351
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying handler for sqlstate '02000' set @var2 = 1;
12353
DROP PROCEDURE IF EXISTS sp1;
12355
Note 1305 PROCEDURE sp1 does not exist
12356
CREATE PROCEDURE sp1( )
12358
declare when handler for sqlstate '02000' set @var2 = 1;
12360
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when handler for sqlstate '02000' set @var2 = 1;
12362
DROP PROCEDURE IF EXISTS sp1;
12364
Note 1305 PROCEDURE sp1 does not exist
12365
CREATE PROCEDURE sp1( )
12367
declare where handler for sqlstate '02000' set @var2 = 1;
12369
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where handler for sqlstate '02000' set @var2 = 1;
12371
DROP PROCEDURE IF EXISTS sp1;
12373
Note 1305 PROCEDURE sp1 does not exist
12374
CREATE PROCEDURE sp1( )
12376
declare while handler for sqlstate '02000' set @var2 = 1;
12378
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while handler for sqlstate '02000' set @var2 = 1;
12380
DROP PROCEDURE IF EXISTS sp1;
12382
Note 1305 PROCEDURE sp1 does not exist
12383
CREATE PROCEDURE sp1( )
12385
declare with handler for sqlstate '02000' set @var2 = 1;
12387
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
12389
DROP PROCEDURE IF EXISTS sp1;
12391
Note 1305 PROCEDURE sp1 does not exist
12392
CREATE PROCEDURE sp1( )
12394
declare write handler for sqlstate '02000' set @var2 = 1;
12396
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write handler for sqlstate '02000' set @var2 = 1;
12398
DROP PROCEDURE IF EXISTS sp1;
12400
Note 1305 PROCEDURE sp1 does not exist
12401
CREATE PROCEDURE sp1( )
12403
declare xor handler for sqlstate '02000' set @var2 = 1;
12405
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor handler for sqlstate '02000' set @var2 = 1;
12407
DROP PROCEDURE IF EXISTS sp1;
12409
Note 1305 PROCEDURE sp1 does not exist
12410
CREATE PROCEDURE sp1( )
12412
declare year_month handler for sqlstate '02000' set @var2 = 1;
12414
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month handler for sqlstate '02000' set @var2 = 1;
12416
DROP PROCEDURE IF EXISTS sp1;
12418
Note 1305 PROCEDURE sp1 does not exist
12419
CREATE PROCEDURE sp1( )
12421
declare zerofill handler for sqlstate '02000' set @var2 = 1;
12423
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill handler for sqlstate '02000' set @var2 = 1;
12428
--------------------------------------------------------------------------------
12431
DROP PROCEDURE IF EXISTS sp1;
12432
CREATE PROCEDURE sp1()
12436
declare cond1 condition for sqlstate '42000';
12437
declare cur1 cursor for SELECT f1 from t2 limit 1;
12438
declare continue handler for cond1 set @x = 4;
12444
declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
12445
declare continue handler for sqlstate '42000' set @x = 3;
12463
Warning 1265 Data truncated for column 'y' at row 3
12464
Warning 1265 Data truncated for column 'y' at row 1
12468
DROP PROCEDURE sp1;
12471
--------------------------------------------------------------------------------
12474
DROP PROCEDURE IF EXISTS sp1;
12476
Note 1305 PROCEDURE sp1 does not exist
12477
CREATE PROCEDURE sp1()
12479
declare continue handler for sqlstate '42000' set @x2 = 1;
12480
set session sort_buffer_size = 10 * 1024 * 1024;
12481
SELECT @@sort_buffer_size;
12484
set global sort_buffer_size = 2 * 1024 * 1024;
12485
SELECT @@sort_buffer_size;
12486
set @@sort_buffer_size = 10 * 1024 * 1024;
12487
SELECT @@sort_buffer_size;
12501
--------------------------------------------------------------------------------
12502
DROP PROCEDURE IF EXISTS sp1;
12503
CREATE PROCEDURE sp1()
12505
declare xx char default 'x';
12506
declare xy char default 'y';
12507
declare xz char default 'z';
12508
set @xx = xx, @xy = xy;
12510
SELECT @xx, @xy, @xz;
12515
DROP PROCEDURE sp1;
12518
--------------------------------------------------------------------------------
12520
DROP PROCEDURE IF EXISTS sp1;
12522
Note 1305 PROCEDURE sp1 does not exist
12523
CREATE PROCEDURE sp1()
12534
Warning 1264 Out of range value adjusted for column 'xx' at row 1
12535
DROP PROCEDURE IF EXISTS sp1;
12536
CREATE PROCEDURE sp1()
12546
DROP PROCEDURE sp1;
12548
Testcase 4.2.31 - a:
12549
--------------------------------------------------------------------------------
12551
DROP PROCEDURE IF EXISTS sp1;
12553
Note 1305 PROCEDURE sp1 does not exist
12554
CREATE PROCEDURE sp1()
12562
Warning 1265 Data truncated for column 'xx' at row 1
12566
DROP PROCEDURE sp1;
12568
Testcase 4.2.31 - b:
12569
--------------------------------------------------------------------------------
12570
DROP PROCEDURE IF EXISTS sp1;
12572
Note 1305 PROCEDURE sp1 does not exist
12573
CREATE PROCEDURE sp1()
12583
Warning 1265 Data truncated for column 'xx' at row 1
12584
DROP PROCEDURE IF EXISTS sp1;
12585
CREATE PROCEDURE sp1()
12594
DROP PROCEDURE sp1;
12596
Testcase 4.2.31 - c:
12597
--------------------------------------------------------------------------------
12598
DROP PROCEDURE IF EXISTS sp1;
12600
Note 1305 PROCEDURE sp1 does not exist
12601
CREATE PROCEDURE sp1()
12603
declare xx datetime;
12609
0000-00-00 00:00:00
12611
Warning 1264 Out of range value adjusted for column 'xx' at row 1
12612
DROP PROCEDURE IF EXISTS sp1;
12613
CREATE PROCEDURE sp1()
12615
declare xx datetime;
12616
set xx = '2006-06-06 01:01:01';
12621
2006-06-06 01:01:01
12622
DROP PROCEDURE sp1;
12624
Testcase 4.2.31 - d:
12625
--------------------------------------------------------------------------------
12626
DROP PROCEDURE IF EXISTS sp1;
12628
Note 1305 PROCEDURE sp1 does not exist
12629
CREATE PROCEDURE sp1()
12631
declare xx varchar(20);
12632
set xx = "abcdefghijk";
12638
DROP PROCEDURE sp1;
12640
Testcase 4.2.31 - e:
12641
--------------------------------------------------------------------------------
12642
DROP PROCEDURE IF EXISTS sp1;
12644
Note 1305 PROCEDURE sp1 does not exist
12645
CREATE PROCEDURE sp1()
12647
declare xx tinyint;
12655
Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
12656
DROP PROCEDURE IF EXISTS sp1;
12657
CREATE PROCEDURE sp1()
12659
declare xx tinyint;
12666
DROP PROCEDURE sp1;
12669
--------------------------------------------------------------------------------
12670
DROP PROCEDURE IF EXISTS sp1;
12672
Note 1305 PROCEDURE sp1 does not exist
12673
CREATE PROCEDURE sp1( )
12675
declare x integer; declare y integer;
12676
SELECT sal, f2 into x, y from t2 limit 1;
12677
set @x=x; set @y=y;
12679
DROP PROCEDURE IF EXISTS sp1;
12680
CREATE PROCEDURE sp1()
12682
declare x char ascii;
12683
SELECT f1 into x from t2 limit 1;
12687
Warning 1265 Data truncated for column 'x' at row 1
12688
DROP PROCEDURE IF EXISTS sp1;
12689
CREATE PROCEDURE sp1()
12691
declare x tinytext;
12692
SELECT f1 into x from t2 limit 1;
12695
DROP PROCEDURE IF EXISTS sp1;
12696
CREATE PROCEDURE sp1()
12699
SELECT f1 into x from t2 limit 1;
12702
DROP PROCEDURE IF EXISTS sp1;
12703
CREATE PROCEDURE sp1()
12705
declare x mediumtext;
12706
SELECT f1 into x from t2 limit 1;
12709
DROP PROCEDURE IF EXISTS sp1;
12710
CREATE PROCEDURE sp1()
12712
declare x longtext;
12713
SELECT f1 into x from t2 limit 1;
12716
DROP PROCEDURE IF EXISTS sp1;
12717
CREATE PROCEDURE sp1()
12719
declare x tinyblob;
12720
SELECT f1 into x from t2 limit 1;
12723
DROP PROCEDURE IF EXISTS sp1;
12724
CREATE PROCEDURE sp1()
12727
SELECT f1 into x from t2 limit 1;
12730
DROP PROCEDURE IF EXISTS sp1;
12731
CREATE PROCEDURE sp1()
12733
declare x mediumblob;
12734
SELECT f1 into x from t2 limit 1;
12737
DROP PROCEDURE IF EXISTS sp1;
12738
CREATE PROCEDURE sp1()
12740
declare x longblob;
12741
SELECT f1 into x from t2 limit 1;
12744
DROP PROCEDURE IF EXISTS sp1;
12745
CREATE PROCEDURE sp1()
12748
SELECT f1 into x from t2 limit 1;
12752
Warning 1265 Data truncated for column 'x' at row 1
12753
DROP PROCEDURE IF EXISTS sp1;
12754
CREATE PROCEDURE sp1()
12757
SELECT f1 into x from t2 limit 1;
12761
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12762
DROP PROCEDURE IF EXISTS sp1;
12763
CREATE PROCEDURE sp1()
12765
declare x tinyint unsigned;
12766
SELECT f1 into x from t2 limit 1;
12770
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12771
DROP PROCEDURE IF EXISTS sp1;
12772
CREATE PROCEDURE sp1()
12774
declare x tinyint zerofill;
12775
SELECT f1 into x from t2 limit 1;
12779
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12780
DROP PROCEDURE IF EXISTS sp1;
12781
CREATE PROCEDURE sp1()
12783
declare x tinyint unsigned zerofill;
12784
SELECT f1 into x from t2 limit 1;
12788
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12789
DROP PROCEDURE IF EXISTS sp1;
12790
CREATE PROCEDURE sp1()
12792
declare x smallint;
12793
SELECT f1 into x from t2 limit 1;
12797
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12798
DROP PROCEDURE IF EXISTS sp1;
12799
CREATE PROCEDURE sp1()
12801
declare x smallint unsigned;
12802
SELECT f1 into x from t2 limit 1;
12806
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12807
DROP PROCEDURE IF EXISTS sp1;
12808
CREATE PROCEDURE sp1()
12810
declare x smallint zerofill;
12811
SELECT f1 into x from t2 limit 1;
12815
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12816
DROP PROCEDURE IF EXISTS sp1;
12817
CREATE PROCEDURE sp1()
12819
declare x smallint unsigned zerofill;
12820
SELECT f1 into x from t2 limit 1;
12824
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12825
DROP PROCEDURE IF EXISTS sp1;
12826
CREATE PROCEDURE sp1()
12828
declare x mediumint;
12829
SELECT f1 into x from t2 limit 1;
12833
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12834
DROP PROCEDURE IF EXISTS sp1;
12835
CREATE PROCEDURE sp1()
12837
declare x mediumint unsigned;
12838
SELECT f1 into x from t2 limit 1;
12842
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12843
DROP PROCEDURE IF EXISTS sp1;
12844
CREATE PROCEDURE sp1()
12846
declare x mediumint zerofill;
12847
SELECT f1 into x from t2 limit 1;
12851
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12852
DROP PROCEDURE IF EXISTS sp1;
12853
CREATE PROCEDURE sp1()
12855
declare x mediumint unsigned zerofill;
12856
SELECT f1 into x from t2 limit 1;
12860
Warning 1366 Incorrect integer value: 'a`' for column 'x' at row 1
12861
DROP PROCEDURE IF EXISTS sp1;
12862
CREATE PROCEDURE sp1()
12865
SELECT f1 into x from t2 limit 1;
12869
Warning 1264 Out of range value adjusted for column 'x' at row 1
12870
DROP PROCEDURE IF EXISTS sp1;
12871
CREATE PROCEDURE sp1()
12873
declare x int unsigned;
12874
SELECT f1 into x from t2 limit 1;
12878
Warning 1264 Out of range value adjusted for column 'x' at row 1
12879
DROP PROCEDURE IF EXISTS sp1;
12880
CREATE PROCEDURE sp1()
12882
declare x int zerofill;
12883
SELECT f1 into x from t2 limit 1;
12887
Warning 1264 Out of range value adjusted for column 'x' at row 1
12888
DROP PROCEDURE IF EXISTS sp1;
12889
CREATE PROCEDURE sp1()
12891
declare x int unsigned zerofill;
12892
SELECT f1 into x from t2 limit 1;
12896
Warning 1264 Out of range value adjusted for column 'x' at row 1
12897
DROP PROCEDURE IF EXISTS sp1;
12898
CREATE PROCEDURE sp1()
12901
SELECT f1 into x from t2 limit 1;
12905
Warning 1264 Out of range value adjusted for column 'x' at row 1
12906
DROP PROCEDURE IF EXISTS sp1;
12907
CREATE PROCEDURE sp1()
12909
declare x bigint unsigned;
12910
SELECT f1 into x from t2 limit 1;
12914
Warning 1264 Out of range value adjusted for column 'x' at row 1
12915
DROP PROCEDURE IF EXISTS sp1;
12916
CREATE PROCEDURE sp1()
12918
declare x bigint zerofill;
12919
SELECT f1 into x from t2 limit 1;
12923
Warning 1264 Out of range value adjusted for column 'x' at row 1
12924
DROP PROCEDURE IF EXISTS sp1;
12925
CREATE PROCEDURE sp1()
12927
declare x bigint unsigned zerofill;
12928
SELECT f1 into x from t2 limit 1;
12932
Warning 1264 Out of range value adjusted for column 'x' at row 1
12933
DROP PROCEDURE IF EXISTS sp1;
12934
CREATE PROCEDURE sp1()
12937
SELECT f1 into x from t2 limit 1;
12941
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12942
DROP PROCEDURE IF EXISTS sp1;
12943
CREATE PROCEDURE sp1()
12945
declare x decimal unsigned;
12946
SELECT f1 into x from t2 limit 1;
12950
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12951
DROP PROCEDURE IF EXISTS sp1;
12952
CREATE PROCEDURE sp1()
12954
declare x decimal zerofill;
12955
SELECT f1 into x from t2 limit 1;
12959
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12960
DROP PROCEDURE IF EXISTS sp1;
12961
CREATE PROCEDURE sp1()
12963
declare x decimal unsigned zerofill;
12964
SELECT f1 into x from t2 limit 1;
12968
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12969
DROP PROCEDURE IF EXISTS sp1;
12970
CREATE PROCEDURE sp1()
12973
SELECT f1 into x from t2 limit 1;
12977
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12978
DROP PROCEDURE IF EXISTS sp1;
12979
CREATE PROCEDURE sp1()
12981
declare x numeric unsigned;
12982
SELECT f1 into x from t2 limit 1;
12986
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12987
DROP PROCEDURE IF EXISTS sp1;
12988
CREATE PROCEDURE sp1()
12990
declare x numeric zerofill;
12991
SELECT f1 into x from t2 limit 1;
12995
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
12996
DROP PROCEDURE IF EXISTS sp1;
12997
CREATE PROCEDURE sp1()
12999
declare x numeric unsigned zerofill;
13000
SELECT f1 into x from t2 limit 1;
13004
Warning 1366 Incorrect decimal value: 'a` a` !?x???a` x???' for column 'x' at row 1
13005
DROP PROCEDURE IF EXISTS sp1;
13006
CREATE PROCEDURE sp1()
13009
SELECT f1 into x from t2 limit 1;
13013
Warning 1265 Data truncated for column 'x' at row 1
13014
DROP PROCEDURE IF EXISTS sp1;
13015
CREATE PROCEDURE sp1()
13017
declare x real unsigned;
13018
SELECT f1 into x from t2 limit 1;
13022
Warning 1265 Data truncated for column 'x' at row 1
13023
DROP PROCEDURE IF EXISTS sp1;
13024
CREATE PROCEDURE sp1()
13026
declare x real zerofill;
13027
SELECT f1 into x from t2 limit 1;
13031
Warning 1265 Data truncated for column 'x' at row 1
13032
DROP PROCEDURE IF EXISTS sp1;
13033
CREATE PROCEDURE sp1()
13035
declare x real unsigned zerofill;
13036
SELECT f1 into x from t2 limit 1;
13040
Warning 1265 Data truncated for column 'x' at row 1
13041
DROP PROCEDURE IF EXISTS sp1;
13042
CREATE PROCEDURE sp1()
13045
SELECT f1 into x from t2 limit 1;
13049
Warning 1265 Data truncated for column 'x' at row 1
13050
DROP PROCEDURE IF EXISTS sp1;
13051
CREATE PROCEDURE sp1()
13053
declare x float unsigned;
13054
SELECT f1 into x from t2 limit 1;
13058
Warning 1265 Data truncated for column 'x' at row 1
13059
DROP PROCEDURE IF EXISTS sp1;
13060
CREATE PROCEDURE sp1()
13062
declare x float zerofill;
13063
SELECT f1 into x from t2 limit 1;
13067
Warning 1265 Data truncated for column 'x' at row 1
13068
DROP PROCEDURE IF EXISTS sp1;
13069
CREATE PROCEDURE sp1()
13071
declare x float unsigned zerofill;
13072
SELECT f1 into x from t2 limit 1;
13076
Warning 1265 Data truncated for column 'x' at row 1
13077
DROP PROCEDURE IF EXISTS sp1;
13078
CREATE PROCEDURE sp1()
13081
SELECT f1 into x from t2 limit 1;
13085
Warning 1265 Data truncated for column 'x' at row 1
13086
DROP PROCEDURE IF EXISTS sp1;
13087
CREATE PROCEDURE sp1()
13090
SELECT f1 into x from t2 limit 1;
13094
Warning 1265 Data truncated for column 'x' at row 1
13095
DROP PROCEDURE IF EXISTS sp1;
13096
CREATE PROCEDURE sp1()
13098
declare x datetime;
13099
SELECT f1 into x from t2 limit 1;
13103
Warning 1264 Out of range value adjusted for column 'x' at row 1
13104
DROP PROCEDURE IF EXISTS sp1;
13105
CREATE PROCEDURE sp1()
13107
declare x timestamp;
13108
SELECT f1 into x from t2 limit 1;
13112
Warning 1265 Data truncated for column 'x' at row 1
13113
DROP PROCEDURE IF EXISTS sp1;
13114
CREATE PROCEDURE sp1()
13117
SELECT f1 into x from t2 limit 1;
13121
Warning 1264 Out of range value adjusted for column 'x' at row 1
13122
DROP PROCEDURE IF EXISTS sp1;
13123
CREATE PROCEDURE sp1()
13126
SELECT f1 into x from t2 limit 1;
13130
Warning 1264 Out of range value adjusted for column 'x' at row 1
13131
DROP PROCEDURE IF EXISTS sp1;
13132
CREATE PROCEDURE sp1()
13135
SELECT f1 into x from t2 limit 1;
13139
Warning 1264 Out of range value adjusted for column 'x' at row 1
13140
DROP PROCEDURE IF EXISTS sp1;
13141
CREATE PROCEDURE sp1()
13143
declare x enum("1enum", "2enum");
13144
SELECT f1 into x from t2 limit 1;
13148
Warning 1265 Data truncated for column 'x' at row 1
13149
DROP PROCEDURE IF EXISTS sp1;
13150
CREATE PROCEDURE sp1()
13152
declare x set("1set", "2set");
13153
SELECT f1 into x from t2 limit 1;
13157
Warning 1265 Data truncated for column 'x' at row 1
13158
DROP PROCEDURE sp1;
13161
--------------------------------------------------------------------------------
13162
DROP PROCEDURE IF EXISTS sp1;
13164
Note 1305 PROCEDURE sp1 does not exist
13165
CREATE PROCEDURE sp1()
13167
declare notable condition for sqlstate '42S02';
13168
declare continue handler for notable set @x2=1;
13170
insert into t2(f1) values (1);
13172
insert into t2(f1) values (1);
13176
DROP PROCEDURE sp1;
13179
--------------------------------------------------------------------------------
13180
DROP PROCEDURE IF EXISTS sp1;
13182
Note 1305 PROCEDURE sp1 does not exist
13183
CREATE PROCEDURE sp1()
13185
declare cond1 condition for sqlstate '42000';
13186
declare cond1 condition for sqlstate '23000';
13187
declare continue handler for cond1 set @var2 = 1;
13188
insert into tnull values(1);
13190
ERROR 42000: Duplicate condition: cond1
13193
--------------------------------------------------------------------------------
13194
DROP PROCEDURE IF EXISTS sp1;
13196
Note 1305 PROCEDURE sp1 does not exist
13197
CREATE PROCEDURE sp1()
13199
declare cond1 condition for sqlstate '1';
13200
declare continue handler for cond1 set @var2 = 1;
13201
insert into tnull values( 1);
13203
ERROR 42000: Bad SQLSTATE: '1'
13204
DROP PROCEDURE IF EXISTS sp1;
13205
CREATE PROCEDURE sp1()
13207
declare cond1 condition for sqlstate '12';
13208
declare continue handler for cond1 set @var2 = 1;
13209
insert into tnull values( 1);
13211
ERROR 42000: Bad SQLSTATE: '12'
13212
DROP PROCEDURE IF EXISTS sp1;
13213
CREATE PROCEDURE sp1()
13215
declare cond1 condition for sqlstate '123';
13216
declare continue handler for cond1 set @var2 = 1;
13217
insert into tnull values( 1);
13219
ERROR 42000: Bad SQLSTATE: '123'
13220
DROP PROCEDURE IF EXISTS sp1;
13221
CREATE PROCEDURE sp1()
13223
declare cond1 condition for sqlstate '1234';
13224
declare continue handler for cond1 set @var2 = 1;
13225
insert into tnull values( 1);
13227
ERROR 42000: Bad SQLSTATE: '1234'
13228
DROP PROCEDURE IF EXISTS sp1;
13229
CREATE PROCEDURE sp1()
13231
declare cond1 condition for sqlstate '123456';
13232
declare continue handler for cond1 set @var2 = 1;
13233
insert into tnull values( 1);
13235
ERROR 42000: Bad SQLSTATE: '123456'
13238
--------------------------------------------------------------------------------
13239
DROP PROCEDURE IF EXISTS sp1;
13240
CREATE PROCEDURE sp1()
13242
declare cond1 condition for sqlstate 'abcdefghi';
13243
declare continue handler for cond1 set @var2 = 1;
13244
insert into tnull values( 1);
13246
ERROR 42000: Bad SQLSTATE: 'abcdefghi'
13247
DROP PROCEDURE IF EXISTS sp1;
13248
CREATE PROCEDURE sp1()
13250
declare cond1 condition for sqlstate '42000test';
13251
declare continue handler for cond1 set @var2 = 1;
13252
insert into tnull values( 1);
13254
ERROR 42000: Bad SQLSTATE: '42000test'
13255
DROP PROCEDURE IF EXISTS sp1;
13256
CREATE PROCEDURE sp1()
13258
declare cond1 condition for sqlstate '00000@#$%^&';
13259
declare continue handler for cond1 set @var2 = 1;
13260
insert into tnull values( 1);
13262
ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
13263
DROP PROCEDURE IF EXISTS sp1;
13264
CREATE PROCEDURE sp1()
13266
declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
13267
declare continue handler for cond1 set @var2 = 1;
13268
insert into tnull values( 1);
13270
ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
13271
DROP PROCEDURE IF EXISTS sp1;
13272
CREATE PROCEDURE sp1()
13274
declare cond1 condition for sqlstate 'null';
13275
declare continue handler for cond1 set @var2 = 1;
13276
insert into tnull values( 1);
13278
ERROR 42000: Bad SQLSTATE: 'null'
13279
DROP PROCEDURE IF EXISTS sp1;
13280
CREATE PROCEDURE sp1()
13282
declare cond1 condition for sqlstate ' ';
13283
declare continue handler for cond1 set @var2 = 1;
13284
insert into tnull values( 1);
13286
ERROR 42000: Bad SQLSTATE: ' '
13287
DROP PROCEDURE IF EXISTS sp1;
13288
CREATE PROCEDURE sp1()
13290
declare cond1 condition for sqlstate 1234567890;
13291
declare continue handler for cond1 set @var2 = 1;
13292
insert into tnull values( 1);
13294
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234567890;
13295
declare continue handler for cond1 set @var2 = 1;
13296
insert into tnull ' at line 3
13297
DROP PROCEDURE IF EXISTS sp1;
13298
CREATE PROCEDURE sp1()
13300
declare cond1 condition for sqlstate '2005-03-03';
13301
declare continue handler for cond1 set @var2 = 1;
13302
insert into tnull values( 1);
13304
ERROR 42000: Bad SQLSTATE: '2005-03-03'
13307
--------------------------------------------------------------------------------
13308
DROP PROCEDURE IF EXISTS sp1;
13309
CREATE PROCEDURE sp1()
13311
declare cond1 condition for sqlstate '00000';
13312
declare continue handler for cond1 set @var2 = 1;
13319
DROP PROCEDURE sp1;
13322
--------------------------------------------------------------------------------
13323
DROP PROCEDURE IF EXISTS sp1;
13324
CREATE PROCEDURE handler1 ()
13326
declare continue handler for sqlstate '23000' set @varr1 = 5;
13327
declare continue handler for sqlstate '23000' set @varr3 = 7;
13329
ERROR 42000: Duplicate handler declared in the same block
13330
DROP PROCEDURE IF EXISTS handler1;
13332
Note 1305 PROCEDURE handler1 does not exist
13333
CREATE PROCEDURE handler1 ()
13335
declare mycondition condition for sqlstate '23000';
13336
declare continue handler for mycondition set @varr3 = 7;
13337
declare continue handler for sqlstate '23000' set @varr3 = 7;
13339
ERROR 42000: Duplicate handler declared in the same block
13342
--------------------------------------------------------------------------------
13343
DROP PROCEDURE IF EXISTS sp1;
13344
CREATE PROCEDURE sp1()
13346
declare continue handler for sqlstate '1' set @var2 = 1;
13348
ERROR 42000: Bad SQLSTATE: '1'
13349
DROP PROCEDURE IF EXISTS sp1;
13350
CREATE PROCEDURE sp1()
13352
declare continue handler for sqlstate '12' set @var2 = 1;
13354
ERROR 42000: Bad SQLSTATE: '12'
13355
DROP PROCEDURE IF EXISTS sp1;
13356
CREATE PROCEDURE sp1()
13358
declare continue handler for sqlstate '123' set @var2 = 1;
13360
ERROR 42000: Bad SQLSTATE: '123'
13361
DROP PROCEDURE IF EXISTS sp1;
13362
CREATE PROCEDURE sp1()
13364
declare continue handler for sqlstate '1234' set @var2 = 1;
13366
ERROR 42000: Bad SQLSTATE: '1234'
13367
DROP PROCEDURE IF EXISTS sp1;
13368
CREATE PROCEDURE sp1()
13370
declare continue handler for sqlstate '123456' set @var2 = 1;
13372
ERROR 42000: Bad SQLSTATE: '123456'
13375
--------------------------------------------------------------------------------
13376
DROP PROCEDURE IF EXISTS sp1;
13377
CREATE PROCEDURE sp1()
13379
declare continue handler for sqlstate '42s0200test' set @var2 = 1;
13380
insert into tnull values( 1);
13383
ERROR 42000: Bad SQLSTATE: '42s0200test'
13386
--------------------------------------------------------------------------------
13387
DROP PROCEDURE IF EXISTS sp1;
13388
CREATE PROCEDURE sp1()
13390
declare continue handler for sqlstate '00000' set @var2 = 1;
13397
DROP PROCEDURE sp1;
13400
--------------------------------------------------------------------------------
13401
DROP PROCEDURE IF EXISTS sp1;
13402
CREATE PROCEDURE sp1( )
13404
declare done int default 0;
13405
declare count integer default 20;
13406
declare newf1 char(20);
13407
declare newf2 char(20);
13408
declare newf3 char(20);
13409
declare newf4 integer;
13410
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13411
declare cur1 cursor for SELECT f1, f2 from t2;
13412
declare continue handler for sqlstate '02000' set done = 1;
13415
set count = count - 1;
13416
while count <> 0 do
13417
fetch cur1 into newf1, newlf1, newf3, newsal;
13418
set count = count - 1;
13423
ERROR 42000: Duplicate cursor: cur1
13426
--------------------------------------------------------------------------------
13427
DROP PROCEDURE IF EXISTS sp1;
13428
CREATE PROCEDURE sp1( )
13430
declare done int default 0;
13431
declare count integer default 20;
13432
declare newf1 char(20);
13433
declare newf2 char(20);
13434
declare newf3 char(20);
13435
declare newf4 integer;
13436
declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
13437
declare continue handler for sqlstate '02000' set done = 1;
13440
set count = count - 1;
13441
while count <> 0 do
13442
fetch cur1 into newf1, newlf1, newf3, newsal;
13443
set count = count - 1;
13448
ERROR 42000: Cursor SELECT must not have INTO
13451
--------------------------------------------------------------------------------
13454
--------------------------------------------------------------------------------
13455
DROP PROCEDURE IF EXISTS sp1;
13456
CREATE PROCEDURE sp1( )
13458
declare done int default 0;
13459
declare count integer default 20;
13460
declare newf1 char(20);
13461
declare newf2 char(20);
13462
declare newf3 char(20);
13463
declare newf4 integer;
13464
declare continue handler for sqlstate '02000' set done = 1;
13467
set count = count - 1;
13468
while count <> 0 do
13469
fetch cur1 into newf1, newf2, newf4, newf3;
13470
set count = count - 1;
13475
ERROR 42000: Undefined CURSOR: cur1
13476
DROP PROCEDURE IF EXISTS sp1;
13477
CREATE PROCEDURE sp1( )
13479
declare done int default 0;
13480
declare count integer default 0;
13481
declare newf1 char(20);
13482
declare newf2 char(20);
13483
declare newf3 char(20);
13484
declare newf4 integer;
13485
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13486
declare continue handler for sqlstate '02000' set done = 1;
13491
set count = count - 1;
13492
while count <> 0 do
13493
fetch cur1 into newf1, newf2, newf3, newf4;
13494
set count = count - 1;
13501
ERROR 24000: Cursor is already open
13504
--------------------------------------------------------------------------------
13505
DROP PROCEDURE IF EXISTS sp1;
13506
CREATE PROCEDURE sp1( )
13508
declare done int default 0;
13509
declare count integer default 20;
13510
declare newf1 char(20);
13511
declare newf2 char(20);
13512
declare newf3 char(20);
13513
declare newf4 integer;
13514
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
13515
declare continue handler for sqlstate '02000' set done = 1;
13519
set count = count - 1;
13520
while count <> 0 do
13521
fetch cur1 into newf1, newf2, newf4, newf3;
13522
set count = count - 1;
13528
ERROR 24000: Cursor is already open
13529
DROP PROCEDURE sp1;
13532
--------------------------------------------------------------------------------
13533
DROP PROCEDURE IF EXISTS sp1;
13535
Note 1305 PROCEDURE sp1 does not exist
13536
CREATE PROCEDURE sp1( )
13538
declare done int default 0;
13539
declare count integer default 20;
13540
declare newf1 char(20);
13541
declare newf2 char(20);
13542
declare newf3 char(20);
13543
declare newf4 integer;
13544
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
13545
declare cur2 cursor for SELECT f1, f2 from t2;
13546
declare continue handler for sqlstate '02000' set done = 1;
13549
set count = count - 1;
13550
while count <> 0 do
13551
fetch cur1 into newf1, newf2, newf4, newf3;
13552
set count = count - 1;
13558
ERROR 24000: Cursor is not open
13559
DROP PROCEDURE sp1;
13562
--------------------------------------------------------------------------------
13563
DROP PROCEDURE IF EXISTS sp1;
13565
Note 1305 PROCEDURE sp1 does not exist
13566
CREATE PROCEDURE sp1( )
13568
declare done int default 0;
13569
declare count integer default 20;
13570
declare newf1 char(20);
13571
declare newf2 char(20);
13572
declare newf3 char(20);
13573
declare newf4 integer;
13574
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13575
declare continue handler for sqlstate '02000' set done = 1;
13577
set count = count - 1;
13578
while count <> 0 do
13579
fetch cur1 into newf1, newf2, newf4, newf3;
13580
set count = count - 1;
13587
ERROR 24000: Cursor is not open
13588
DROP PROCEDURE IF EXISTS sp1;
13589
CREATE PROCEDURE sp1( )
13591
declare done int default 0;
13592
declare count integer default 0;
13593
declare newf1 char(20);
13594
declare newf2 char(20);
13595
declare newf3 char(20);
13596
declare newf4 integer;
13597
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13598
declare continue handler for sqlstate '02000' set done = 1;
13601
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13602
set count = count - 1;
13603
while count <> 0 do
13604
fetch cur1 into newf1, newf2, newf3, newf4;
13605
set count = count - 1;
13613
ERROR 24000: Cursor is not open
13614
DROP PROCEDURE sp1;
13617
--------------------------------------------------------------------------------
13618
DROP PROCEDURE IF EXISTS sp1;
13620
Note 1305 PROCEDURE sp1 does not exist
13621
CREATE PROCEDURE sp1( )
13623
declare done int default 0;
13624
declare count integer default 20;
13625
declare newf1 char(20);
13626
declare newf2 char(20);
13627
declare newf3 char(20);
13628
declare newf4 integer;
13629
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13630
declare continue handler for sqlstate '02000' set done = 1;
13634
set count = count - 1;
13635
while count <> 0 do
13636
fetch cur1 into newf1, newf2, newf4, newf3;
13637
set count = count - 1;
13642
ERROR 24000: Cursor is not open
13643
DROP PROCEDURE IF EXISTS sp1;
13644
CREATE PROCEDURE sp1( )
13646
declare done int default 0;
13647
declare count integer default 0;
13648
declare newf1 char(20);
13649
declare newf2 char(20);
13650
declare newf3 char(20);
13651
declare newf4 integer;
13652
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13653
declare continue handler for sqlstate '02000' set done = 1;
13657
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13660
fetch cur1 into newf1, newf2, newf3, newf4;
13663
ERROR 24000: Cursor is not open
13664
DROP PROCEDURE sp1;
13667
--------------------------------------------------------------------------------
13668
DROP PROCEDURE IF EXISTS sp1;
13670
Note 1305 PROCEDURE sp1 does not exist
13671
CREATE PROCEDURE sp1( )
13673
declare done int default 0;
13674
declare count integer default 20;
13675
declare newf2 char(20);
13676
declare newf1 date;
13677
declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
13678
declare continue handler for sqlstate '02000' set done = 1;
13681
set count = count - 1;
13682
while count <> 0 do
13683
fetch cur1 into newf1, newf2;
13687
set count = count - 1;
13731
DROP PROCEDURE sp1;
13734
--------------------------------------------------------------------------------
13735
DROP PROCEDURE IF EXISTS sp1;
13737
Note 1305 PROCEDURE sp1 does not exist
13738
CREATE PROCEDURE sp1()
13740
declare done int default 0;
13741
declare count integer default 20;
13742
declare newf1 char(20);
13743
declare newf2 char(20);
13744
declare newf3 char(20);
13745
declare newf4 integer;
13746
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13747
declare continue handler for sqlstate '02000' set done = 1;
13751
set count = count - 1;
13752
while count <> 0 do
13753
fetch cur1 into newf1, newf2, newf4, newf3;
13754
set count = count - 1;
13760
ERROR 24000: Cursor is not open
13761
DROP PROCEDURE IF EXISTS sp1;
13762
CREATE PROCEDURE sp1( )
13764
declare done int default 0;
13765
declare count integer default 0;
13766
declare newf1 char(20);
13767
declare newf2 char(20);
13768
declare newf3 char(20);
13769
declare newf4 integer;
13770
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13771
declare continue handler for sqlstate '02000' set done = 1;
13773
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
13779
ERROR 24000: Cursor is not open
13780
DROP PROCEDURE sp1;
13783
--------------------------------------------------------------------------------
13784
DROP PROCEDURE IF EXISTS sp1;
13786
Note 1305 PROCEDURE sp1 does not exist
13787
CREATE PROCEDURE sp1( )
13789
declare done int default 0;
13790
declare count integer default 20;
13791
declare newf1 char(20);
13792
declare newf2 char(20);
13793
declare newf3 char(20);
13794
declare newf4 integer;
13795
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13799
fetch cur1 into newf1, newf2, newf4, newf3;
13801
fetch cur1 into newf1, newf2, newf4, newf3;
13805
ERROR 02000: No data - zero rows fetched, selected, or processed
13806
DROP PROCEDURE sp1;
13809
--------------------------------------------------------------------------------
13810
DROP PROCEDURE IF EXISTS sp1;
13812
Note 1305 PROCEDURE sp1 does not exist
13813
CREATE PROCEDURE sp1( )
13815
declare done int default 0;
13816
declare count integer default 20;
13817
declare newf1 char(20);
13818
declare newf2 char(20);
13819
declare newf3 char(20);
13820
declare newf4 integer;
13821
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13824
fetch cur1 into newf1, newf2, newf4, newf3;
13826
fetch cur1 into newf1, newf2, newf4, newf3;
13831
ERROR 02000: No data - zero rows fetched, selected, or processed
13832
DROP PROCEDURE sp1;
13835
--------------------------------------------------------------------------------
13836
DROP PROCEDURE IF EXISTS sp1;
13838
Note 1305 PROCEDURE sp1 does not exist
13839
CREATE PROCEDURE sp1( )
13841
declare done int default 0;
13842
declare count integer default 20;
13843
declare newf1 char(20);
13844
declare newf2 char(20);
13845
declare newf3 char(20);
13846
declare newf4 integer;
13847
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13848
declare continue handler for sqlstate '02000' set done = 1;
13851
set count = count - 1;
13852
while count <> 0 do
13853
fetch cur1 into newf1, newf2, newf4, newf3;
13854
set count = count - 1;
13857
fetch cur1 into newf1, newf2, newf4, newf3;
13861
ERROR 24000: Cursor is not open
13862
DROP PROCEDURE sp1;
13865
--------------------------------------------------------------------------------
13866
DROP PROCEDURE IF EXISTS sp1;
13868
Note 1305 PROCEDURE sp1 does not exist
13869
CREATE PROCEDURE sp1( )
13871
declare done int default 0;
13872
declare count integer default 20;
13873
declare newf1 char(20);
13874
declare newf2 char(20);
13875
declare newf3 char(20);
13876
declare newf4 integer;
13877
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
13878
declare continue handler for sqlstate '02000' set done = 1;
13881
set count = count - 1;
13882
while count <> 0 do
13883
fetch cur1 into newf1, newf2, newf4, newf3;
13884
set count = count - 1;
13889
DROP PROCEDURE sp1;
13892
--------------------------------------------------------------------------------
13893
create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
13894
create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
13895
DROP PROCEDURE IF EXISTS sp1;
13897
Note 1305 PROCEDURE sp1 does not exist
13898
CREATE PROCEDURE sp1( )
13900
declare done int default 0;
13901
declare count integer default 20;
13902
declare newf1 char(20);
13903
declare newf2 char(20);
13904
declare newf3 char(20);
13905
declare newf4 integer;
13906
declare newf21 char(20);
13907
declare newf22 char(20);
13908
declare newf23 char(20);
13909
declare newf24 integer;
13910
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
13911
declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
13912
declare continue handler for sqlstate '02000' set done = 1;
13918
while count <> 0 do
13919
fetch cur1 into newf1, newf2, newf4, newf3;
13920
set count = count - 1;
13923
insert into temp1 values(newf1, newf2, newf4, newf3);
13927
while count <> 0 do
13928
fetch cur2 into newf21, newf22, newf24, newf23;
13929
set count = count - 1;
13932
insert into temp2 values(newf21, newf22, newf24, newf23);
13936
SELECT * from temp1;
13938
agaaaaaaa agaaaaaaa -4993 agaaaaaaa
13939
SELECT * from temp2;
13941
NULL NULL NULL NULL
13942
DROP PROCEDURE sp1;
13946
Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
13947
. IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
13948
--------------------------------------------------------------------------------
13952
--------------------------------------------------------------------------------
13953
DROP PROCEDURE IF EXISTS sp1;
13954
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
13955
CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
13956
middleinitial CHAR,
13957
lastname VARCHAR(50),
13958
age_averylongfieldname_averylongname_1234569 int,
13959
COMMENT TEXT) ENGINE=innodb;
13960
INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
13961
VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
13962
CREATE PROCEDURE sp1(a int)
13964
declare itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx char;
13965
declare itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx varchar(100);
13966
declare itisjustamediumsizeintintegervariablename integer;
13967
set itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
13968
set itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx = 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
13969
set itisjustamediumsizeintintegervariablename = 5;
13973
set @comment='value of a is greater than 100';
13976
set @comment='value of a is less than 50';
13978
set @comment='value of a is less than 25';
13980
set @comment='value of a is greater than 50 and less than 100';
13983
set @comment='value of a is 100';
13985
if itisjustamediumsizeintintegervariablename = 0 then leave label1;
13987
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
13988
values( itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
13989
concat(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx, ' ', a),
13991
set itisjustamediumsizeintintegervariablename = itisjustamediumsizeintintegervariablename - 1;
14001
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
14002
ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
14003
middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
14004
a aaaaaaaaaabbbbbbbbc 0 default
14005
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14006
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14007
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14008
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14009
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14010
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14011
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14012
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14013
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14014
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14015
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14016
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14017
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14018
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14019
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14020
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14021
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14022
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14023
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14024
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14025
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14026
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14027
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14028
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14029
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14030
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14031
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14032
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14033
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14034
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14035
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14036
DROP PROCEDURE sp1;
14039
--------------------------------------------------------------------------------
14040
DROP PROCEDURE IF EXISTS sp2;
14041
CREATE PROCEDURE sp2( action char(20) )
14043
declare v1 char(20);
14044
declare v2 char(20);
14045
declare count integer;
14047
set v2 = 'address';
14049
case when action = 'delete' then
14050
insert into t3 values(v1, v2, count);
14051
delete from t3 where f1=v1;
14052
when action = 'insert' then
14054
insert into t3 values(v1, v2, count);
14055
set count = count + 1;
14060
insert into t3 values(v1, v2, count);
14061
if count > 5 then leave label1;
14063
set count = count + 1;
14068
insert into t3 values(v1, v2, count);
14069
set count = count + 1;
14072
label1: while count < 5 do
14073
insert into t3 values(v1, v2, count);
14074
if count > 5 then leave label1;
14076
set count = count + 1;
14079
set @dummystring = 'temp value';
14082
CALL sp2( 'insert' );
14083
SELECT * from t3 where f3 <=5 && f3 >= 0;
14103
SELECT count(*) from t3;
14106
CALL sp2( 'delete' );
14107
SELECT count(*) from t3;
14111
SELECT @dummystring;
14114
DROP PROCEDURE sp2;
14118
Ensure that all sub-clauses that should not be supported are disallowed with
14119
an appropriate error message. (case)
14120
--------------------------------------------------------------------------------
14121
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14122
DROP PROCEDURE IF EXISTS sp3;
14123
create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
14124
CREATE PROCEDURE sp3( action char(20) )
14127
when action = 'delete' then
14128
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14130
set @dummystring = 'temp value';
14134
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case
14135
when action = 'delete' then
14136
delete from res_t3_itisalongname_1381742_itsav' at line 3
14137
DROP PROCEDURE IF EXISTS sp3;
14138
CREATE PROCEDURE sp3( action char(20) )
14142
action = 'delete' then
14143
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14145
set @dummystring = 'temp value';
14150
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then
14151
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14154
DROP PROCEDURE IF EXISTS sp3;
14155
CREATE PROCEDURE sp3( action char(20) )
14158
when action = 'delete' then
14159
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14160
then action = 'truncate' when
14161
truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14163
set @dummystring = 'temp value';
14167
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then action = 'truncate' when
14168
truncate from res_t3_itisalongname_1381742_itsave' at line 6
14169
DROP PROCEDURE IF EXISTS sp3;
14170
CREATE PROCEDURE sp3( action char(20) )
14172
declare v1 char(20);
14173
declare v2 char(20);
14174
declare count integer;
14181
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14184
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when 'delete' then
14185
delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 10
14186
DROP PROCEDURE IF EXISTS sp3;
14187
CREATE PROCEDURE sp3( action char(20) )
14189
declare count int default 1;
14190
declare done int default 0;
14191
declare continue handler for sqlstate 'HY000' set done=1;
14194
when action = 'delete' then
14196
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14198
when action = 'insert' then
14199
label2: while count < 10 do
14201
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
14202
values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
14209
set @dummystring = 'temp value';
14216
SELECT count, done;
14218
DROP PROCEDURE sp3;
14219
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14222
--------------------------------------------------------------------------------
14223
DROP PROCEDURE IF EXISTS sp4;
14224
CREATE PROCEDURE sp4()
14229
if count > 10 then leave label1;
14231
set count = count + 1;
14232
elseif count > 20 then
14238
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
14244
DROP PROCEDURE IF EXISTS sp4;
14245
CREATE PROCEDURE sp4()
14251
set count = count + 1;
14258
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else
14259
set count = count + 1;
14263
iterate lab' at line 6
14264
DROP PROCEDURE IF EXISTS sp4;
14265
CREATE PROCEDURE sp4()
14270
elseif count > 20 then
14278
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
14283
iterate lab' at line 6
14284
DROP PROCEDURE IF EXISTS sp4;
14285
CREATE PROCEDURE sp4()
14298
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END if;
14303
iterate label1;' at line 6
14304
DROP PROCEDURE IF EXISTS sp4;
14305
CREATE PROCEDURE sp4()
14307
declare i int default 10;
14321
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare count int;
14327
DROP PROCEDURE IF EXISTS sp4;
14328
CREATE PROCEDURE sp4()
14330
declare idummy int default 10;
14337
declare idummy2 int default 10;
14351
ERROR 42S22: Unknown column 'idummy2' in 'field list'
14352
DROP PROCEDURE sp4;
14355
--------------------------------------------------------------------------------
14356
DROP PROCEDURE IF EXISTS sp5;
14357
CREATE PROCEDURE sp5()
14359
declare count integer default 1;
14364
when count = 1 then
14365
set count = count + 1;
14368
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else
14370
when count = 1 then
14371
set count = count + 1;
14374
DROP PROCEDURE IF EXISTS sp5;
14375
CREATE PROCEDURE sp5(count int)
14377
when case count = 1 then
14379
when count = 2 then
14380
set count = count + 1;
14383
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when case count = 1 then
14385
when count = 2 then
14386
set count = count' at line 3
14387
DROP PROCEDURE IF EXISTS sp5;
14388
CREATE PROCEDURE sp5(count int)
14391
when count = 1 then
14393
when count = 2 then
14394
set count = count + 1;
14397
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case;
14398
when count = 1 then
14400
when count = 2 then
14401
set count = coun' at line 3
14402
DROP PROCEDURE IF EXISTS sp5;
14403
CREATE PROCEDURE sp5(count int)
14405
when count = 1 then
14407
case when count = 2 then
14408
set count = count + 1;
14411
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when count = 1 then
14413
case when count = 2 then
14414
set count = count' at line 3
14418
Ensure that all supported sub-clauses are supported only in the correct order (repeat).
14419
--------------------------------------------------------------------------------
14420
DROP PROCEDURE IF EXISTS sp6;
14421
CREATE PROCEDURE sp6()
14423
declare count1 integer default 1;
14425
set count1 = count1 + 1;
14426
if count1 > 5 then leave label1; END if;
14430
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
14433
DROP PROCEDURE IF EXISTS sp6;
14434
CREATE PROCEDURE sp6()
14436
declare count1 integer default 1;
14437
label1: until count1 > 5
14439
set count1 = count1 + 1;
14440
if count1 > 5 then leave label1; END if;
14443
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'until count1 > 5
14445
set count1 = count1 + 1;
14446
if count1 > 5 then leave label1' at line 4
14447
DROP PROCEDURE IF EXISTS sp6;
14448
CREATE PROCEDURE sp6()
14450
declare count1 integer default 1;
14452
set count1 = count1 + 1;
14453
if count1 > 5 then leave label1; END if;
14457
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat
14458
set count1 = count1 + 1;
14459
if count1 > 5 then leave label1; END if;
14461
DROP PROCEDURE IF EXISTS sp6;
14462
CREATE PROCEDURE sp6()
14464
declare count1 integer default 1;
14466
set count1 = count1 + 1;
14467
if count1 > 5 then leave label1; END if;
14470
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
14472
DROP PROCEDURE IF EXISTS sp6;
14473
CREATE PROCEDURE sp6()
14475
declare count1 integer default 1;
14477
set count1 = count1 + 1;
14478
if count1 > 5 then leave label1; END if;
14483
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
14487
DROP PROCEDURE IF EXISTS sp6;
14488
CREATE PROCEDURE sp6()
14490
declare count1 integer default 1;
14492
set count1 = count1;
14497
DROP PROCEDURE sp6;
14500
--------------------------------------------------------------------------------
14501
DROP PROCEDURE IF EXISTS sp7;
14502
CREATE PROCEDURE sp7()
14505
set @dummystring = 'temp value';
14506
if count > 10 then leave label1;
14511
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate;
14514
DROP PROCEDURE IF EXISTS sp7;
14515
CREATE PROCEDURE sp7()
14518
set @dummystring = 'temp value';
14519
if count > 10 then leave label1;
14524
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END loop;
14525
set @dummystring = 'temp value';
14526
if count > 10 then leave label1;
14528
DROP PROCEDURE IF EXISTS sp7;
14529
CREATE PROCEDURE sp7()
14531
label1: iterate label1;
14533
set @dummystring = 'temp value';
14534
if count > 10 then leave label1;
14538
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate label1;
14540
set @dummystring = 'temp value';
14541
if count > 10 then leave l' at line 3
14544
--------------------------------------------------------------------------------
14545
DROP PROCEDURE IF EXISTS sp8;
14546
CREATE PROCEDURE sp8()
14548
declare v1 int default 5;
14553
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while v1 > 0
14557
DROP PROCEDURE IF EXISTS sp8;
14558
CREATE PROCEDURE sp8()
14560
declare v1 int default 5;
14565
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'do v1 > 0 while
14569
DROP PROCEDURE IF EXISTS sp8;
14570
CREATE PROCEDURE sp8()
14572
declare v1 int default 5;
14577
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while;
14583
--------------------------------------------------------------------------------
14584
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14585
DROP PROCEDURE IF EXISTS sp12;
14586
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
14587
CREATE PROCEDURE sp12( )
14589
declare count1 integer default 1;
14590
declare count2 int;
14592
if count1 > 2 then leave label1;
14594
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14596
if count2 > 2 then leave label2;
14598
set count2 = count2 + 1;
14600
set count1 = count1 + 1;
14604
ERROR 42000: End-label label2 without match
14605
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14608
--------------------------------------------------------------------------------
14609
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14610
DROP PROCEDURE IF EXISTS sp13;
14611
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
14612
CREATE PROCEDURE sp13( )
14614
declare count1 integer default 1;
14616
if count1 > 2 then leave lable1;
14618
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14619
set count1 = count1 + 1;
14624
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14628
DROP PROCEDURE sp13;
14629
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14632
--------------------------------------------------------------------------------
14633
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14634
DROP PROCEDURE IF EXISTS sp14;
14635
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
14636
CREATE PROCEDURE sp14( )
14638
declare count1 integer default 1;
14640
if count1 > 2 then leave lable1;
14642
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14643
set count1 = count1 + 1;
14647
ERROR 42000: LEAVE with no matching label: lable1
14648
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14651
--------------------------------------------------------------------------------
14652
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14653
DROP PROCEDURE IF EXISTS sp15;
14654
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
14655
CREATE PROCEDURE sp15( )
14657
declare count1 integer default 1;
14659
if count1 > 2 then leave lable1;
14661
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14662
set count1 = count1 + 1;
14666
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop
14667
if count1 > 2 then leave lable1;
14669
insert into res_t3_itisalongname_1' at line 4
14673
Ensure that every beginning label with the same scope must be unique.
14674
--------------------------------------------------------------------------------
14675
DROP PROCEDURE IF EXISTS sp16;
14676
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14677
CREATE PROCEDURE sp16( )
14679
declare count1 integer default 1;
14680
declare count2 integer default 1;
14682
set count1 = count1 + 1;
14685
set count2 = count2 + 1;
14686
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
14692
ERROR 42000: Redefining label label1
14693
DROP PROCEDURE IF EXISTS sp16;
14694
CREATE PROCEDURE sp16( )
14696
declare count1 integer default 1;
14697
declare count2 integer default 1;
14698
declare count3 integer default 1;
14700
set count1 = count1 + 1;
14702
set count2 = count2 + 1;
14710
set count3 = count3 + 1;
14715
ERROR 42000: Redefining label label1
14718
--------------------------------------------------------------------------------
14721
--------------------------------------------------------------------------------
14722
DROP PROCEDURE IF EXISTS sp18;
14723
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14724
CREATE PROCEDURE sp18( )
14726
declare count1 integer default 1;
14728
set count1 = count1 + 1;
14729
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14733
ERROR 42000: End-label label2 without match
14736
--------------------------------------------------------------------------------
14737
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14738
DROP PROCEDURE IF EXISTS sp19;
14739
CREATE PROCEDURE sp19( )
14741
declare count1 integer default 1;
14743
set count1 = count1 + 1;
14744
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14749
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14752
DROP PROCEDURE sp19;
14755
--------------------------------------------------------------------------------
14756
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14757
DROP PROCEDURE IF EXISTS sp20;
14758
CREATE PROCEDURE sp20( )
14760
declare count1 integer default 1;
14762
set count1 = count1 + 1;
14763
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14767
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
14771
--------------------------------------------------------------------------------
14774
--------------------------------------------------------------------------------
14775
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14776
DROP PROCEDURE IF EXISTS sp22;
14777
CREATE PROCEDURE sp22( )
14779
declare count1 integer default 1;
14780
declare count2 integer default 1;
14781
while count1 < 3 do
14782
set count1 = count1 + 1;
14784
label1: while count2 < 3 do
14785
set count2 = count2 + 1;
14786
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14790
ERROR 42000: End-label label2 without match
14793
--------------------------------------------------------------------------------
14794
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14795
DROP PROCEDURE IF EXISTS sp23;
14796
CREATE PROCEDURE sp23( )
14798
declare count1 integer default 1;
14799
declare count2 integer default 1;
14800
while count1 < 3 do
14801
set count1 = count1 + 1;
14803
while count2 < 3 do
14804
set count2 = count2 + 1;
14805
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14809
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
14814
--------------------------------------------------------------------------------
14815
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14816
DROP PROCEDURE IF EXISTS sp25;
14817
CREATE PROCEDURE sp25( )
14819
declare count1 integer default 1;
14820
declare count2 integer default 1;
14821
while count1 < 3 do
14822
set count1 = count1 + 1;
14824
label1: while count2 < 3 do
14825
set count2 = count2 + 1;
14826
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
14831
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
14837
DROP PROCEDURE sp25;
14838
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14840
Section 3.1.4 - Checks for the global nature of stored procedures:
14841
--------------------------------------------------------------------------------
14845
--------------------------------------------------------------------------------
14846
DROP PROCEDURE IF EXISTS sp1;
14847
DROP DATABASE IF EXISTS d40401;
14848
CREATE PROCEDURE sp1 ( n char(20) )
14852
CREATE DATABASE d40401;
14854
CALL db_storedproc.sp1('abcd');
14858
DROP PROCEDURE sp1;
14859
DROP DATABASE d40401;
14862
--------------------------------------------------------------------------------
14863
DROP FUNCTION IF EXISTS fn1;
14864
DROP FUNCTION IF EXISTS fn11;
14865
DROP DATABASE IF EXISTS d40402;
14866
CREATE FUNCTION fn1(n int) returns int
14872
CREATE DATABASE d40402;
14874
SELECT db_storedproc.fn1(100);
14875
db_storedproc.fn1(100)
14877
SELECT db_storedproc.fn1(1000);
14878
db_storedproc.fn1(1000)
14880
CREATE FUNCTION db_storedproc.fn11(n int) returns int
14886
SELECT db_storedproc.fn11(100);
14887
db_storedproc.fn11(100)
14889
SELECT db_storedproc.fn11(1000);
14890
db_storedproc.fn11(1000)
14894
DROP FUNCTION fn11;
14895
DROP DATABASE d40402;
14898
--------------------------------------------------------------------------------
14899
DROP DATABASE IF EXISTS d1;
14900
DROP DATABASE IF EXISTS d2;
14901
CREATE DATABASE d1;
14902
CREATE DATABASE d2;
14904
create table res_t41(a char(5), b char(10));
14905
insert into res_t41 values('abcde', 'a!@#$%^&*(');
14907
create table res_t42(a char(5), b char(10));
14909
CREATE PROCEDURE sp2(n char (20))
14911
SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
14912
insert into d2.res_t42 values (@a, @b);
14915
CALL d1.sp2('a!@#$%^&*(');
14918
SELECT * from d1.res_t41;
14921
SELECT * from res_t42;
14929
--------------------------------------------------------------------------------
14930
DROP DATABASE IF EXISTS d1;
14931
CREATE DATABASE d1;
14933
CREATE PROCEDURE sp3()
14937
ERROR 0A000: USE is not allowed in stored procedures
14942
--------------------------------------------------------------------------------
14943
DROP DATABASE IF EXISTS d1;
14944
CREATE DATABASE d1;
14946
create table t43(a char(5), b char(10));
14947
insert into t43 values('abcde', 'a!@#$%^&*(');
14948
CREATE PROCEDURE d1.sp4()
14949
SELECT * from d1.t43;
14950
SELECT * from mysql.proc where specific_name = 'sp4';
14951
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
14952
d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created
14955
CREATE DATABASE d1;
14957
create table t44(a char(5), b char(10));
14958
SELECT * from mysql.proc where specific_name = 'sp4';
14959
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
14964
--------------------------------------------------------------------------------
14966
DROP PROCEDURE IF EXISTS sp5;
14967
CREATE PROCEDURE sp5()
14968
SELECT * from db_storedproc.t4 limit 0, 10;
14969
SELECT db from mysql.proc where specific_name = 'sp5';
14972
DROP PROCEDURE sp5;
14975
--------------------------------------------------------------------------------
14977
drop table IF EXISTS t46;
14978
DROP PROCEDURE IF EXISTS sp6;
14979
create table t46(f1 char(20), f2 char(20));
14980
insert into t46 values ('abcd', 'wxyz');
14981
CREATE PROCEDURE db_storedproc.sp6()
14982
SELECT * from db_storedproc.t4 limit 0, 10;
14983
SELECT db from mysql.proc where specific_name = 'sp6';
14987
DROP PROCEDURE sp6;
14990
--------------------------------------------------------------------------------
14991
DROP DATABASE IF EXISTS d1;
14992
DROP DATABASE IF EXISTS d2;
14993
CREATE DATABASE d1;
14994
CREATE DATABASE d2;
14996
CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
14997
SELECT * from t1 where t1.f1 = n;
14999
alter procedure d1.sp8 sql security definer comment 'updated';
15000
SELECT * from mysql.proc where specific_name='sp8' and db='d1';
15001
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
15002
d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created updated
15005
--------------------------------------------------------------------------------
15007
DROP FUNCTION IF EXISTS fn1;
15008
DROP FUNCTION IF EXISTS fn11;
15009
CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
15016
alter function d1.fn2 sql security definer comment 'updated';
15017
SELECT * from mysql.proc where specific_name='fn2' and db='d1';
15018
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
15019
d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
15023
END root@localhost modified created updated
15026
--------------------------------------------------------------------------------
15028
CREATE PROCEDURE sp9 ( n char(20) )
15029
SELECT * from t1 where t1.f1 = n;
15031
DROP PROCEDURE d1.sp9;
15032
SELECT * from mysql.proc where specific_name='sp9' and db='d1';
15033
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
15036
--------------------------------------------------------------------------------
15038
CREATE FUNCTION d1.fn3(n int) returns int
15045
DROP FUNCTION d1.fn3;
15046
SELECT * from mysql.proc where specific_name='fn3' and db='d1';
15047
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment
15052
Section 3.1.5 - Parameter use checks:
15053
Functions with all data types
15054
--------------------------------------------------------------------------------
15055
SELECT 1 as 'bug_dec_num';
15060
FIXME: There are differences with datatypes DECIMAL and NUMERIC if large
15061
FIXME: exponent values are used. The diffs are shown only on some machines like
15062
FIXME: AIX52 and HPUX11. Until this has been solved we use numbers that
15063
FIXME: *should* be equal to the exponent representation but have no exponents
15064
FIXME: and use the specified count of *0*s instead.
15065
FIXME: In the source file these tests are marked with the comment hpux11
15067
--------------------------------------------------------------------------------
15068
DROP DATABASE IF EXISTS d1;
15069
CREATE DATABASE d1;
15071
DROP FUNCTION IF EXISTS fn1;
15072
CREATE FUNCTION fn1( f1 bigint) returns bigint
15074
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15077
SELECT fn1(-9.22e+18);
15079
-9220000000000000000
15080
DROP FUNCTION IF EXISTS fn2;
15081
CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
15083
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15086
SELECT fn2(1.84e+19);
15089
DROP FUNCTION IF EXISTS fn3;
15090
CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
15092
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15095
SELECT fn3(1.84e+17);
15098
DROP FUNCTION IF EXISTS fn4;
15099
CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
15101
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15104
SELECT fn4(-9.22e+15);
15108
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15109
DROP FUNCTION IF EXISTS fn5;
15110
CREATE FUNCTION fn5( f1 decimal) returns decimal
15112
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15115
SELECT fn5(-1.00e+09);
15118
DROP FUNCTION IF EXISTS fn6;
15119
CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
15121
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15124
SELECT fn6(-1.00e+09);
15127
DROP FUNCTION IF EXISTS fn7;
15128
CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
15130
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15133
SELECT fn7(99999999999);
15137
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15138
Note 1265 Data truncated for column 'f1' at row 1
15139
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15140
DROP FUNCTION IF EXISTS fn8;
15141
CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
15143
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15146
SELECT fn8(999999999);
15150
Note 1265 Data truncated for column 'f1' at row 1
15151
DROP FUNCTION IF EXISTS fn9;
15152
CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
15154
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15157
SELECT fn9(-1.00e+09);
15161
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15162
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15163
DROP FUNCTION IF EXISTS fn10;
15164
CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
15166
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15169
SELECT fn10(-1.00e+09);
15172
DROP FUNCTION IF EXISTS fn11;
15173
CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
15175
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15178
SELECT fn11(99999999999);
15182
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15183
Note 1265 Data truncated for column 'f1' at row 1
15184
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15185
DROP FUNCTION IF EXISTS fn12;
15186
CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
15188
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15191
SELECT fn12(999999999);
15195
Note 1265 Data truncated for column 'f1' at row 1
15196
DROP FUNCTION IF EXISTS fn13;
15197
CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
15199
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15202
SELECT fn13(-1.00e+09);
15206
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15207
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15208
DROP FUNCTION IF EXISTS fn14;
15209
CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
15211
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15214
SELECT fn14(-1.00e+21);
15216
-1000000000000000000000.000000000000000000000000000000
15217
DROP FUNCTION IF EXISTS fn15;
15218
CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
15220
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15223
SELECT fn15(1.00e+16);
15225
10000000000000000.000000000000000000000000000000
15226
DROP FUNCTION IF EXISTS fn16;
15227
CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
15229
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15232
SELECT fn16(1.00e+16);
15234
000000000000000010000000000000000.000000000000000000000000000000
15235
DROP FUNCTION IF EXISTS fn17;
15236
CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
15238
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15241
SELECT fn17(-1.00e+21);
15243
000000000000000000000000000000010.000000000000000000000000000000
15245
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15246
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15247
DROP FUNCTION IF EXISTS fn18_d;
15248
CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
15250
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15253
SELECT fn18_d( -1000000000000000000000000000000 );
15254
fn18_d( -1000000000000000000000000000000 )
15255
-1000000000000000000000000000000
15256
DROP FUNCTION IF EXISTS fn19_du;
15257
CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
15259
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15262
SELECT fn19_du( 100000000000000000000 );
15263
fn19_du( 100000000000000000000 )
15264
100000000000000000000
15265
DROP FUNCTION IF EXISTS fn20_duz;
15266
CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
15268
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15271
SELECT fn20_duz( 1000000000000000000000000 );
15272
fn20_duz( 1000000000000000000000000 )
15273
0000000000000000000000000000000000000001000000000000000000000000
15274
DROP FUNCTION IF EXISTS fn21_d_z;
15275
CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
15277
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15280
SELECT fn21_d_z(1.00e+00);
15282
0000000000000000000000000000000000000000000000000000000000000010
15284
Note 1265 Data truncated for column 'f1' at row 1
15285
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15286
DROP FUNCTION IF EXISTS fn22;
15287
CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
15289
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15292
SELECT fn22(1.00e+00);
15296
Note 1265 Data truncated for column 'f1' at row 1
15297
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15298
DROP FUNCTION IF EXISTS fn23;
15299
CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
15301
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15304
SELECT fn23(1.00e+00);
15308
Note 1265 Data truncated for column 'f1' at row 1
15309
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15310
DROP FUNCTION IF EXISTS fn24;
15311
CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
15313
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15316
SELECT fn24(-1.00e+09);
15320
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15321
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15322
DROP FUNCTION IF EXISTS fn25;
15323
CREATE FUNCTION fn25( f1 double) returns double
15325
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15328
SELECT fn25(1.00e+00);
15331
DROP FUNCTION IF EXISTS fn26;
15332
CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
15334
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15337
SELECT fn26(1.00e+00);
15341
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15342
DROP FUNCTION IF EXISTS fn27;
15343
CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
15345
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15348
SELECT fn27(1.00e+00);
15352
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15353
DROP FUNCTION IF EXISTS fn28;
15354
CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
15356
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15359
SELECT fn28(1.00e+00);
15363
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15364
DROP FUNCTION IF EXISTS fn29;
15365
CREATE FUNCTION fn29( f1 float) returns float
15367
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15370
SELECT fn29(1.00e+00);
15373
DROP FUNCTION IF EXISTS fn30;
15374
CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
15376
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15379
SELECT fn30(1.00e+00);
15383
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15384
DROP FUNCTION IF EXISTS fn31;
15385
CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
15387
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15390
SELECT fn31(1.00e+00);
15394
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15395
DROP FUNCTION IF EXISTS fn32;
15396
CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
15398
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15401
SELECT fn32(1.00e+00);
15405
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15406
DROP FUNCTION IF EXISTS fn33;
15407
CREATE FUNCTION fn33( f1 float(0)) returns float(0)
15409
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15412
SELECT fn33(1.00e+00);
15415
DROP FUNCTION IF EXISTS fn34;
15416
CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
15418
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15421
SELECT fn34(1.00e+00);
15425
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15426
DROP FUNCTION IF EXISTS fn35;
15427
CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
15429
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15432
SELECT fn35(1.00e+00);
15436
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15437
DROP FUNCTION IF EXISTS fn36;
15438
CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
15440
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15443
SELECT fn36(1.00e+00);
15447
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15448
DROP FUNCTION IF EXISTS fn37;
15449
CREATE FUNCTION fn37( f1 float(23)) returns float(23)
15451
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15454
SELECT fn37(1.00e+00);
15457
DROP FUNCTION IF EXISTS fn38;
15458
CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
15460
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15463
SELECT fn38(1.00e+00);
15467
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15468
DROP FUNCTION IF EXISTS fn39;
15469
CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
15471
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15474
SELECT fn39(1.00e+00);
15478
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15479
DROP FUNCTION IF EXISTS fn40;
15480
CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
15482
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15485
SELECT fn40(1.00e+00);
15489
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15490
DROP FUNCTION IF EXISTS fn41;
15491
CREATE FUNCTION fn41( f1 float(24)) returns float(24)
15493
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15496
SELECT fn41(1.00e+00);
15499
DROP FUNCTION IF EXISTS fn42;
15500
CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
15502
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15505
SELECT fn42(1.00e+00);
15509
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15510
DROP FUNCTION IF EXISTS fn43;
15511
CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
15513
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15516
SELECT fn43(1.00e+00);
15520
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15521
DROP FUNCTION IF EXISTS fn44;
15522
CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
15524
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15527
SELECT fn44(1.00e+00);
15531
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15532
DROP FUNCTION IF EXISTS fn45;
15533
CREATE FUNCTION fn45( f1 float(53)) returns float(53)
15535
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15538
SELECT fn45(1.00e+00);
15541
DROP FUNCTION IF EXISTS fn46;
15542
CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
15544
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15547
SELECT fn46(1.00e+00);
15551
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15552
DROP FUNCTION IF EXISTS fn47;
15553
CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
15555
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15558
SELECT fn47(1.00e+00);
15562
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15563
DROP FUNCTION IF EXISTS fn48;
15564
CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
15566
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15569
SELECT fn48(1.00e+00);
15573
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15574
DROP FUNCTION IF EXISTS fn49;
15575
CREATE FUNCTION fn49( f1 int) returns int
15577
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15580
SELECT fn49(-2.15e+09);
15584
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15585
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15586
DROP FUNCTION IF EXISTS fn50;
15587
CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
15589
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15592
SELECT fn50(4.29e+09);
15595
DROP FUNCTION IF EXISTS fn51;
15596
CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
15598
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15601
SELECT fn51(4.29e+09);
15604
DROP FUNCTION IF EXISTS fn52;
15605
CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
15607
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15610
SELECT fn52(2.15e+08);
15613
DROP FUNCTION IF EXISTS fn53;
15614
CREATE FUNCTION fn53( f1 mediumint) returns mediumint
15616
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15619
SELECT fn53(-8388600);
15623
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15624
DROP FUNCTION IF EXISTS fn54;
15625
CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
15627
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15630
SELECT fn54(16777201);
15633
DROP FUNCTION IF EXISTS fn55;
15634
CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
15636
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15639
SELECT fn55(16777210);
15642
DROP FUNCTION IF EXISTS fn56;
15643
CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
15645
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15648
SELECT fn56(-8388601);
15652
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15653
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15654
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15655
DROP FUNCTION IF EXISTS fn57;
15656
CREATE FUNCTION fn57( f1 numeric) returns numeric
15658
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15661
SELECT fn57(-999999999);
15665
Note 1265 Data truncated for column 'f1' at row 1
15666
DROP FUNCTION IF EXISTS fn58;
15667
CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
15669
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15672
SELECT fn58(-999999999);
15676
Note 1265 Data truncated for column 'f1' at row 1
15677
DROP FUNCTION IF EXISTS fn59;
15678
CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
15680
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15683
SELECT fn59(9999999999);
15687
Note 1265 Data truncated for column 'f1' at row 1
15688
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15689
DROP FUNCTION IF EXISTS fn60;
15690
CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
15692
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15695
SELECT fn60(99999999);
15699
Note 1265 Data truncated for column 'f1' at row 1
15700
DROP FUNCTION IF EXISTS fn61;
15701
CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
15703
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15706
SELECT fn61(-99999999);
15710
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15711
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15712
DROP FUNCTION IF EXISTS fn62;
15713
CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
15715
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15718
SELECT fn62(-999999999);
15722
Note 1265 Data truncated for column 'f1' at row 1
15723
DROP FUNCTION IF EXISTS fn63;
15724
CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
15726
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15729
SELECT fn63(9999999999);
15733
Note 1265 Data truncated for column 'f1' at row 1
15734
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15735
DROP FUNCTION IF EXISTS fn64;
15736
CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
15738
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15741
SELECT fn64(99999999);
15745
Note 1265 Data truncated for column 'f1' at row 1
15746
DROP FUNCTION IF EXISTS fn65;
15747
CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
15749
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15752
SELECT fn65(-99999999);
15756
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15757
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15758
DROP FUNCTION IF EXISTS fn66;
15759
CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
15761
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15764
SELECT fn66(-1e+36);
15766
-999999999999999999999999999999989.999999999999999999999999999999
15768
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15769
Note 1265 Data truncated for column 'f1' at row 1
15770
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15771
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15772
DROP FUNCTION IF EXISTS fn67;
15773
CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
15775
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15778
SELECT fn67(1e+36);
15780
999999999999999999999999999999999.999999999999999999999999999999
15782
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15783
Note 1265 Data truncated for column 'f1' at row 1
15784
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15785
DROP FUNCTION IF EXISTS fn68;
15786
CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
15788
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15791
SELECT fn68(1e+36);
15793
999999999999999999999999999999999.999999999999999999999999999999
15795
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15796
Note 1265 Data truncated for column 'f1' at row 1
15797
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15798
DROP FUNCTION IF EXISTS fn69;
15799
CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
15801
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15804
SELECT fn69(-1e+36);
15806
000000000000000000000000000000010.000000000000000000000000000000
15808
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15809
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15810
DROP FUNCTION IF EXISTS fn70_n;
15811
CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
15813
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15816
SELECT fn70_n( -1000000000000000000000000000000 );
15817
fn70_n( -1000000000000000000000000000000 )
15818
-1000000000000000000000000000000
15819
SELECT fn70_n( -10000000000000000000000000000000000000000 );
15820
fn70_n( -10000000000000000000000000000000000000000 )
15821
-10000000000000000000000000000000000000000
15822
DROP FUNCTION IF EXISTS fn71_nu;
15823
CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
15825
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15828
SELECT fn71_nu( 10000000000000000000000000000000000000000 );
15829
fn71_nu( 10000000000000000000000000000000000000000 )
15830
10000000000000000000000000000000000000000
15831
DROP FUNCTION IF EXISTS fn72_nuz;
15832
CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
15834
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15837
SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
15838
fn72_nuz( 10000000000000000000000000000000000000000 )
15839
0000000000000000000000010000000000000000000000000000000000000000
15840
DROP FUNCTION IF EXISTS fn73_n_z;
15841
CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
15843
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15846
SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
15847
fn73_n_z( 10000000000000000000000000000000000000000 )
15848
0000000000000000000000010000000000000000000000000000000000000000
15849
DROP FUNCTION IF EXISTS fn74;
15850
CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
15852
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15855
SELECT fn74(999999999);
15859
Note 1265 Data truncated for column 'f1' at row 1
15860
DROP FUNCTION IF EXISTS fn75;
15861
CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
15863
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15866
SELECT fn75(999999999);
15870
Note 1265 Data truncated for column 'f1' at row 1
15871
DROP FUNCTION IF EXISTS fn76;
15872
CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
15874
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15877
SELECT fn76(-999999999);
15881
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15882
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15883
DROP FUNCTION IF EXISTS fn77;
15884
CREATE FUNCTION fn77( f1 real) returns real
15886
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15892
DROP FUNCTION IF EXISTS fn78;
15893
CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
15895
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15902
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15903
DROP FUNCTION IF EXISTS fn79;
15904
CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
15906
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15913
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15914
DROP FUNCTION IF EXISTS fn80;
15915
CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
15917
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15924
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15925
DROP FUNCTION IF EXISTS fn81;
15926
CREATE FUNCTION fn81( f1 smallint) returns smallint
15928
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15931
SELECT fn81(-32701);
15934
DROP FUNCTION IF EXISTS fn82;
15935
CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
15937
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15940
SELECT fn82(65531);
15943
DROP FUNCTION IF EXISTS fn83;
15944
CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
15946
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15949
SELECT fn83(65531);
15952
DROP FUNCTION IF EXISTS fn84;
15953
CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
15955
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15958
SELECT fn84(-32601);
15962
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15963
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15964
Warning 1264 Out of range value adjusted for column 'f1' at row 1
15965
DROP FUNCTION IF EXISTS fn85;
15966
CREATE FUNCTION fn85( f1 tinyint) returns tinyint
15968
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15974
DROP FUNCTION IF EXISTS fn86;
15975
CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
15977
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15983
DROP FUNCTION IF EXISTS fn87;
15984
CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
15986
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15992
DROP FUNCTION IF EXISTS fn88;
15993
CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
15995
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16002
Warning 1264 Out of range value adjusted for column 'f1' at row 1
16003
Warning 1264 Out of range value adjusted for column 'f1' at row 1
16004
Warning 1264 Out of range value adjusted for column 'f1' at row 1
16005
DROP FUNCTION IF EXISTS fn89;
16006
CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
16008
if f1 eq "1enum" then
16015
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'eq "1enum" then
16022
SELECT fn89( '1enum');
16023
ERROR 42000: FUNCTION d1.fn89 does not exist
16024
DROP FUNCTION IF EXISTS fn90;
16025
CREATE FUNCTION fn90( f1 set("1set", "2set")) returns set("1set", "2set")
16027
if(f1 == "1set") then
16034
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '== "1set") then
16041
SELECT fn90( '1set');
16042
ERROR 42000: FUNCTION d1.fn90 does not exist
16043
DROP FUNCTION IF EXISTS fn91;
16044
CREATE FUNCTION fn91( f1 date) returns date
16046
set f1 = adddate(f1, interval 31 day);
16049
SELECT fn91('1997-12-31');
16052
DROP FUNCTION IF EXISTS fn92;
16053
CREATE FUNCTION fn92( f1 time) returns time
16055
set f1 = addtime(f1, '02:00:00.999998');
16058
SELECT fn92( '23:59:59.999999');
16059
fn92( '23:59:59.999999')
16061
DROP FUNCTION IF EXISTS fn93;
16062
CREATE FUNCTION fn93( f1 datetime) returns datetime
16064
set f1 = addtime(f1, '1 1:1:1.000002');
16067
SELECT fn93('1997-12-31 23:59:59.999999');
16068
fn93('1997-12-31 23:59:59.999999')
16069
1998-01-02 01:01:00
16070
DROP FUNCTION IF EXISTS fn94;
16071
CREATE FUNCTION fn94( f1 char) returns char
16073
set f1 = concat('a', f1);
16080
Warning 1265 Data truncated for column 'f1' at row 1
16081
DROP FUNCTION IF EXISTS fn95;
16082
CREATE FUNCTION fn95( f1 char ascii) returns char ascii
16084
set f1 = concat('a', f1);
16091
Warning 1265 Data truncated for column 'f1' at row 1
16092
DROP FUNCTION IF EXISTS fn96;
16093
CREATE FUNCTION fn96( f1 char binary) returns char binary
16095
set f1 = concat('a', f1);
16102
Warning 1265 Data truncated for column 'f1' at row 1
16103
DROP FUNCTION IF EXISTS fn97;
16104
CREATE FUNCTION fn97( f1 longtext) returns longtext
16106
set f1 = concat('hello', f1);
16109
SELECT fn97( 'world');
16112
DROP FUNCTION IF EXISTS fn98;
16113
CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
16115
set f1 = concat('hello', f1);
16118
SELECT fn98( 'world');
16121
DROP FUNCTION IF EXISTS fn99;
16122
CREATE FUNCTION fn99( f1 text) returns text
16124
set f1 = concat('hello', f1);
16127
SELECT fn99( 'world');
16130
DROP FUNCTION IF EXISTS fn100;
16131
CREATE FUNCTION fn100( f1 tinytext) returns tinytext
16133
set f1 = concat('hello', f1);
16136
SELECT fn100( 'world');
16139
DROP FUNCTION IF EXISTS fn101;
16140
CREATE FUNCTION fn101( f1 year) returns year
16148
DROP FUNCTION IF EXISTS fn102;
16149
CREATE FUNCTION fn102( f1 year(4)) returns year(4)
16154
SELECT fn102(1982);
16157
DROP FUNCTION IF EXISTS fn103;
16158
CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
16163
SELECT fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
16164
fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\