2
--source suite/funcs_1/storedproc/load_sp_tb.inc
3
--------------------------------------------------------------------------------
5
--source suite/funcs_1/storedproc/cleanup_sp_tb.inc
6
--------------------------------------------------------------------------------
7
DROP DATABASE IF EXISTS db_storedproc;
8
DROP DATABASE IF EXISTS db_storedproc_1;
9
CREATE DATABASE db_storedproc;
10
CREATE DATABASE db_storedproc_1;
12
create table t1(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
13
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t1;
14
create table t2(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
15
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t2;
16
create table t3(f1 char(20),f2 char(20),f3 integer) engine = innodb;
17
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t3.txt' into table t3;
18
create table t4(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
19
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t4;
21
create table t6(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
22
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t6;
24
create table t7 (f1 char(20), f2 char(25), f3 date, f4 int) engine = innodb;
25
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t7.txt' into table t7;
27
Warning 1265 Data truncated for column 'f3' at row 1
28
Warning 1265 Data truncated for column 'f3' at row 2
29
Warning 1265 Data truncated for column 'f3' at row 3
30
Warning 1265 Data truncated for column 'f3' at row 4
31
Warning 1265 Data truncated for column 'f3' at row 5
32
Warning 1265 Data truncated for column 'f3' at row 6
33
Warning 1265 Data truncated for column 'f3' at row 7
34
Warning 1265 Data truncated for column 'f3' at row 8
35
Warning 1265 Data truncated for column 'f3' at row 9
36
Warning 1265 Data truncated for column 'f3' at row 10
37
create table t8 (f1 char(20), f2 char(25), f3 date, f4 int) engine = innodb;
38
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t7.txt' into table t8;
40
Warning 1265 Data truncated for column 'f3' at row 1
41
Warning 1265 Data truncated for column 'f3' at row 2
42
Warning 1265 Data truncated for column 'f3' at row 3
43
Warning 1265 Data truncated for column 'f3' at row 4
44
Warning 1265 Data truncated for column 'f3' at row 5
45
Warning 1265 Data truncated for column 'f3' at row 6
46
Warning 1265 Data truncated for column 'f3' at row 7
47
Warning 1265 Data truncated for column 'f3' at row 8
48
Warning 1265 Data truncated for column 'f3' at row 9
49
Warning 1265 Data truncated for column 'f3' at row 10
50
create table t9(f1 int, f2 char(25), f3 int) engine = innodb;
51
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t9.txt' into table t9;
52
create table t10(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
53
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t10;
54
create table t11(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) engine = innodb;
55
load data infile 'MYSQL_TEST_DIR/suite/funcs_1/data/t4.txt' into table t11;
57
Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE
58
FUNCTION, ALTER PROCEDURE, ALTER FUNCTION, DROP PROCEDURE, DROP FUNCTION, SHOW
59
CREATE PROCEDURE, SHOW CREATE FUNCTION, SHOW CREATE PROCEDURE STATUS, SHOW
60
CREATE FUNCTION STATUS, and CALL statements:
61
--------------------------------------------------------------------------------
65
Ensure that all clauses that should be supported are supported
67
--------------------------------------------------------------------------------
69
DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
70
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
71
CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 (f1 char(20) )
72
SELECT * from t1 where f2 = f1;
73
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
74
CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934('aaaa');
75
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
76
DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
77
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
78
CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 tinytext ) language sql deterministic sql security definer comment 'this is simple'
83
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
84
CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' );
85
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
86
SHOW PROCEDURE status;
87
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
88
DROP PROCEDURE IF EXISTS sp1;
89
CREATE PROCEDURE sp1( f1 binary ) language sql not deterministic sql security invoker comment 'this is simple'
98
Warning 1265 Data truncated for column 'f1' at row 1
99
SHOW PROCEDURE status;
100
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
101
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
102
DROP PROCEDURE IF EXISTS sp1;
103
CREATE PROCEDURE sp1( f1 blob ) language sql not deterministic sql security invoker comment 'this is simple'
111
SHOW PROCEDURE status;
112
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
113
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
114
DROP PROCEDURE IF EXISTS sp1;
115
CREATE PROCEDURE sp1( f1 int ) language sql not deterministic sql security invoker comment 'this is simple'
123
SHOW PROCEDURE status;
124
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
125
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
126
DROP PROCEDURE IF EXISTS sp1;
127
CREATE PROCEDURE sp1( f1 decimal(256, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
132
ERROR 42000: Too big precision 256 specified for column ''. Maximum is 65.
133
DROP PROCEDURE IF EXISTS sp1//
135
Note 1305 PROCEDURE sp1 does not exist
136
CREATE PROCEDURE sp1( f1 decimal(66, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
141
ERROR 42000: Too big precision 66 specified for column ''. Maximum is 65.
142
DROP PROCEDURE IF EXISTS sp1//
144
Note 1305 PROCEDURE sp1 does not exist
145
CREATE PROCEDURE sp1( f1 decimal(60, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
150
CALL sp1( 17976931340000 );
152
17976931340000.000000000000000000000000000000
153
CALL sp1( 1.797693134e+13 );
155
17976931340000.000000000000000000000000000000
156
CALL sp1( 1.7976931348623157493578e+308 );
158
999999999999999999999999999999.999999999999999999999999999999
160
Warning 1264 Out of range value for column 'f1' at row 1
161
CALL sp1( 0.1234567890987654321e+100 );
163
999999999999999999999999999999.999999999999999999999999999999
165
Warning 1264 Out of range value for column 'f1' at row 1
166
CALL sp1( 0.1234567890987654321e-100 );
168
0.000000000000000000000000000000
170
Note 1265 Data truncated for column 'f1' at row 1
171
CALL sp1( 0.1234567890987654321e+99 );
173
999999999999999999999999999999.999999999999999999999999999999
175
Warning 1264 Out of range value for column 'f1' at row 1
176
CALL sp1( 0.1234567890987654321e-99 );
178
0.000000000000000000000000000000
180
Note 1265 Data truncated for column 'f1' at row 1
181
CALL sp1( 0.1234567890987654321e+98 );
183
999999999999999999999999999999.999999999999999999999999999999
185
Warning 1264 Out of range value for column 'f1' at row 1
186
CALL sp1( 0.1234567890987654321e-98 );
188
0.000000000000000000000000000000
190
Note 1265 Data truncated for column 'f1' at row 1
191
CALL sp1( 0.1234567890987654321e+97 );
193
999999999999999999999999999999.999999999999999999999999999999
195
Warning 1264 Out of range value for column 'f1' at row 1
196
CALL sp1( 0.1234567890987654321e-97 );
198
0.000000000000000000000000000000
200
Note 1265 Data truncated for column 'f1' at row 1
201
CALL sp1( 0.1234567890987654321e+96 );
203
999999999999999999999999999999.999999999999999999999999999999
205
Warning 1264 Out of range value for column 'f1' at row 1
206
CALL sp1( 0.1234567890987654321e-96 );
208
0.000000000000000000000000000000
210
Note 1265 Data truncated for column 'f1' at row 1
211
CALL sp1( 0.1234567890987654321e+95 );
213
999999999999999999999999999999.999999999999999999999999999999
215
Warning 1264 Out of range value for column 'f1' at row 1
216
CALL sp1( 0.1234567890987654321e-95 );
218
0.000000000000000000000000000000
220
Note 1265 Data truncated for column 'f1' at row 1
221
CALL sp1( 0.1234567890987654321e+94 );
223
999999999999999999999999999999.999999999999999999999999999999
225
Warning 1264 Out of range value for column 'f1' at row 1
226
CALL sp1( 0.1234567890987654321e-94 );
228
0.000000000000000000000000000000
230
Note 1265 Data truncated for column 'f1' at row 1
231
CALL sp1( 0.1234567890987654321e+93 );
233
999999999999999999999999999999.999999999999999999999999999999
235
Warning 1264 Out of range value for column 'f1' at row 1
236
CALL sp1( 0.1234567890987654321e-93 );
238
0.000000000000000000000000000000
240
Note 1265 Data truncated for column 'f1' at row 1
241
CALL sp1( 0.1234567890987654321e+92 );
243
999999999999999999999999999999.999999999999999999999999999999
245
Warning 1264 Out of range value for column 'f1' at row 1
246
CALL sp1( 0.1234567890987654321e-92 );
248
0.000000000000000000000000000000
250
Note 1265 Data truncated for column 'f1' at row 1
251
CALL sp1( 0.1234567890987654321e+91 );
253
999999999999999999999999999999.999999999999999999999999999999
255
Warning 1264 Out of range value for column 'f1' at row 1
256
CALL sp1( 0.1234567890987654321e-91 );
258
0.000000000000000000000000000000
260
Note 1265 Data truncated for column 'f1' at row 1
261
CALL sp1( 0.1234567890987654321e+90 );
263
999999999999999999999999999999.999999999999999999999999999999
265
Warning 1264 Out of range value for column 'f1' at row 1
266
CALL sp1( 0.1234567890987654321e-90 );
268
0.000000000000000000000000000000
270
Note 1265 Data truncated for column 'f1' at row 1
271
CALL sp1( 0.1234567890987654321e+89 );
273
999999999999999999999999999999.999999999999999999999999999999
275
Warning 1264 Out of range value for column 'f1' at row 1
276
CALL sp1( 0.1234567890987654321e-89 );
278
0.000000000000000000000000000000
280
Note 1265 Data truncated for column 'f1' at row 1
281
CALL sp1( 0.1234567890987654321e+88 );
283
999999999999999999999999999999.999999999999999999999999999999
285
Warning 1264 Out of range value for column 'f1' at row 1
286
CALL sp1( 0.1234567890987654321e-88 );
288
0.000000000000000000000000000000
290
Note 1265 Data truncated for column 'f1' at row 1
291
CALL sp1( 0.1234567890987654321e+87 );
293
999999999999999999999999999999.999999999999999999999999999999
295
Warning 1264 Out of range value for column 'f1' at row 1
296
CALL sp1( 0.1234567890987654321e-87 );
298
0.000000000000000000000000000000
300
Note 1265 Data truncated for column 'f1' at row 1
301
CALL sp1( 0.1234567890987654321e+86 );
303
999999999999999999999999999999.999999999999999999999999999999
305
Warning 1264 Out of range value for column 'f1' at row 1
306
CALL sp1( 0.1234567890987654321e-86 );
308
0.000000000000000000000000000000
310
Note 1265 Data truncated for column 'f1' at row 1
311
CALL sp1( 0.1234567890987654321e+85 );
313
999999999999999999999999999999.999999999999999999999999999999
315
Warning 1264 Out of range value for column 'f1' at row 1
316
CALL sp1( 0.1234567890987654321e-85 );
318
0.000000000000000000000000000000
320
Note 1265 Data truncated for column 'f1' at row 1
321
CALL sp1( 0.1234567890987654321e+84 );
323
999999999999999999999999999999.999999999999999999999999999999
325
Warning 1264 Out of range value for column 'f1' at row 1
326
CALL sp1( 0.1234567890987654321e-84 );
328
0.000000000000000000000000000000
330
Note 1265 Data truncated for column 'f1' at row 1
331
CALL sp1( 0.1234567890987654321e+83 );
333
999999999999999999999999999999.999999999999999999999999999999
335
Warning 1264 Out of range value for column 'f1' at row 1
336
CALL sp1( 0.1234567890987654321e-83 );
338
0.000000000000000000000000000000
340
Note 1265 Data truncated for column 'f1' at row 1
341
CALL sp1( 0.1234567890987654321e+82 );
343
999999999999999999999999999999.999999999999999999999999999999
345
Warning 1264 Out of range value for column 'f1' at row 1
346
CALL sp1( 0.1234567890987654321e-82 );
348
0.000000000000000000000000000000
350
Note 1265 Data truncated for column 'f1' at row 1
351
CALL sp1( 0.1234567890987654321e+81 );
353
999999999999999999999999999999.999999999999999999999999999999
355
Warning 1264 Out of range value for column 'f1' at row 1
356
CALL sp1( 0.1234567890987654321e-81 );
358
0.000000000000000000000000000000
360
Note 1265 Data truncated for column 'f1' at row 1
361
CALL sp1( 0.1234567890987654321e+80 );
363
999999999999999999999999999999.999999999999999999999999999999
365
Warning 1264 Out of range value for column 'f1' at row 1
366
CALL sp1( 0.1234567890987654321e-80 );
368
0.000000000000000000000000000000
370
Note 1265 Data truncated for column 'f1' at row 1
371
CALL sp1( 0.1234567890987654321e+79 );
373
999999999999999999999999999999.999999999999999999999999999999
375
Warning 1264 Out of range value for column 'f1' at row 1
376
CALL sp1( 0.1234567890987654321e-79 );
378
0.000000000000000000000000000000
380
Note 1265 Data truncated for column 'f1' at row 1
381
CALL sp1( 0.1234567890987654321e+78 );
383
999999999999999999999999999999.999999999999999999999999999999
385
Warning 1264 Out of range value for column 'f1' at row 1
386
CALL sp1( 0.1234567890987654321e-78 );
388
0.000000000000000000000000000000
390
Note 1265 Data truncated for column 'f1' at row 1
391
CALL sp1( 0.1234567890987654321e+77 );
393
999999999999999999999999999999.999999999999999999999999999999
395
Warning 1264 Out of range value for column 'f1' at row 1
396
CALL sp1( 0.1234567890987654321e-77 );
398
0.000000000000000000000000000000
400
Note 1265 Data truncated for column 'f1' at row 1
401
CALL sp1( 0.1234567890987654321e+76 );
403
999999999999999999999999999999.999999999999999999999999999999
405
Warning 1264 Out of range value for column 'f1' at row 1
406
CALL sp1( 0.1234567890987654321e-76 );
408
0.000000000000000000000000000000
410
Note 1265 Data truncated for column 'f1' at row 1
411
CALL sp1( 0.1234567890987654321e+75 );
413
999999999999999999999999999999.999999999999999999999999999999
415
Warning 1264 Out of range value for column 'f1' at row 1
416
CALL sp1( 0.1234567890987654321e-75 );
418
0.000000000000000000000000000000
420
Note 1265 Data truncated for column 'f1' at row 1
421
CALL sp1( 0.1234567890987654321e+74 );
423
999999999999999999999999999999.999999999999999999999999999999
425
Warning 1264 Out of range value for column 'f1' at row 1
426
CALL sp1( 0.1234567890987654321e-74 );
428
0.000000000000000000000000000000
430
Note 1265 Data truncated for column 'f1' at row 1
431
CALL sp1( 0.1234567890987654321e+73 );
433
999999999999999999999999999999.999999999999999999999999999999
435
Warning 1264 Out of range value for column 'f1' at row 1
436
CALL sp1( 0.1234567890987654321e-73 );
438
0.000000000000000000000000000000
440
Note 1265 Data truncated for column 'f1' at row 1
441
CALL sp1( 0.1234567890987654321e+72 );
443
999999999999999999999999999999.999999999999999999999999999999
445
Warning 1264 Out of range value for column 'f1' at row 1
446
CALL sp1( 0.1234567890987654321e-72 );
448
0.000000000000000000000000000000
450
Note 1265 Data truncated for column 'f1' at row 1
451
CALL sp1( 0.1234567890987654321e+71 );
453
999999999999999999999999999999.999999999999999999999999999999
455
Warning 1264 Out of range value for column 'f1' at row 1
456
CALL sp1( 0.1234567890987654321e-71 );
458
0.000000000000000000000000000000
460
Note 1265 Data truncated for column 'f1' at row 1
461
CALL sp1( 0.1234567890987654321e+70 );
463
999999999999999999999999999999.999999999999999999999999999999
465
Warning 1264 Out of range value for column 'f1' at row 1
466
CALL sp1( 0.1234567890987654321e-70 );
468
0.000000000000000000000000000000
470
Note 1265 Data truncated for column 'f1' at row 1
471
CALL sp1( 0.1234567890987654321e+69 );
473
999999999999999999999999999999.999999999999999999999999999999
475
Warning 1264 Out of range value for column 'f1' at row 1
476
CALL sp1( 0.1234567890987654321e-69 );
478
0.000000000000000000000000000000
480
Note 1265 Data truncated for column 'f1' at row 1
481
CALL sp1( 0.1234567890987654321e+68 );
483
999999999999999999999999999999.999999999999999999999999999999
485
Warning 1264 Out of range value for column 'f1' at row 1
486
CALL sp1( 0.1234567890987654321e-68 );
488
0.000000000000000000000000000000
490
Note 1265 Data truncated for column 'f1' at row 1
491
CALL sp1( 0.1234567890987654321e+67 );
493
999999999999999999999999999999.999999999999999999999999999999
495
Warning 1264 Out of range value for column 'f1' at row 1
496
CALL sp1( 0.1234567890987654321e-67 );
498
0.000000000000000000000000000000
500
Note 1265 Data truncated for column 'f1' at row 1
501
CALL sp1( 0.1234567890987654321e+66 );
503
999999999999999999999999999999.999999999999999999999999999999
505
Warning 1264 Out of range value for column 'f1' at row 1
506
CALL sp1( 0.1234567890987654321e-66 );
508
0.000000000000000000000000000000
510
Note 1265 Data truncated for column 'f1' at row 1
511
CALL sp1( 0.1234567890987654321e+65 );
513
999999999999999999999999999999.999999999999999999999999999999
515
Warning 1264 Out of range value for column 'f1' at row 1
516
CALL sp1( 0.1234567890987654321e-65 );
518
0.000000000000000000000000000000
520
Note 1265 Data truncated for column 'f1' at row 1
521
CALL sp1( 0.1234567890987654321e+64 );
523
999999999999999999999999999999.999999999999999999999999999999
525
Warning 1264 Out of range value for column 'f1' at row 1
526
CALL sp1( 0.1234567890987654321e-64 );
528
0.000000000000000000000000000000
530
Note 1265 Data truncated for column 'f1' at row 1
531
CALL sp1( 0.1234567890987654321e+63 );
533
999999999999999999999999999999.999999999999999999999999999999
535
Warning 1264 Out of range value for column 'f1' at row 1
536
CALL sp1( 0.1234567890987654321e-63 );
538
0.000000000000000000000000000000
540
Note 1265 Data truncated for column 'f1' at row 1
541
CALL sp1( 0.1234567890987654321e+62 );
543
999999999999999999999999999999.999999999999999999999999999999
545
Warning 1264 Out of range value for column 'f1' at row 1
546
CALL sp1( 0.1234567890987654321e-62 );
548
0.000000000000000000000000000000
550
Note 1265 Data truncated for column 'f1' at row 1
551
CALL sp1( 0.1234567890987654321e+61 );
553
999999999999999999999999999999.999999999999999999999999999999
555
Warning 1264 Out of range value for column 'f1' at row 1
556
CALL sp1( 0.1234567890987654321e-61 );
558
0.000000000000000000000000000000
560
Note 1265 Data truncated for column 'f1' at row 1
561
CALL sp1( 0.1234567890987654321e+60 );
563
999999999999999999999999999999.999999999999999999999999999999
565
Warning 1264 Out of range value for column 'f1' at row 1
566
CALL sp1( 0.1234567890987654321e-60 );
568
0.000000000000000000000000000000
570
Note 1265 Data truncated for column 'f1' at row 1
571
CALL sp1( 0.1234567890987654321e+59 );
573
999999999999999999999999999999.999999999999999999999999999999
575
Warning 1264 Out of range value for column 'f1' at row 1
576
CALL sp1( 0.1234567890987654321e-59 );
578
0.000000000000000000000000000000
580
Note 1265 Data truncated for column 'f1' at row 1
581
CALL sp1( 0.1234567890987654321e+58 );
583
999999999999999999999999999999.999999999999999999999999999999
585
Warning 1264 Out of range value for column 'f1' at row 1
586
CALL sp1( 0.1234567890987654321e-58 );
588
0.000000000000000000000000000000
590
Note 1265 Data truncated for column 'f1' at row 1
591
CALL sp1( 0.1234567890987654321e+57 );
593
999999999999999999999999999999.999999999999999999999999999999
595
Warning 1264 Out of range value for column 'f1' at row 1
596
CALL sp1( 0.1234567890987654321e-57 );
598
0.000000000000000000000000000000
600
Note 1265 Data truncated for column 'f1' at row 1
601
CALL sp1( 0.1234567890987654321e+56 );
603
999999999999999999999999999999.999999999999999999999999999999
605
Warning 1264 Out of range value for column 'f1' at row 1
606
CALL sp1( 0.1234567890987654321e-56 );
608
0.000000000000000000000000000000
610
Note 1265 Data truncated for column 'f1' at row 1
611
CALL sp1( 0.1234567890987654321e+55 );
613
999999999999999999999999999999.999999999999999999999999999999
615
Warning 1264 Out of range value for column 'f1' at row 1
616
CALL sp1( 0.1234567890987654321e-55 );
618
0.000000000000000000000000000000
620
Note 1265 Data truncated for column 'f1' at row 1
621
CALL sp1( 0.1234567890987654321e+54 );
623
999999999999999999999999999999.999999999999999999999999999999
625
Warning 1264 Out of range value for column 'f1' at row 1
626
CALL sp1( 0.1234567890987654321e-54 );
628
0.000000000000000000000000000000
630
Note 1265 Data truncated for column 'f1' at row 1
631
CALL sp1( 0.1234567890987654321e+53 );
633
999999999999999999999999999999.999999999999999999999999999999
635
Warning 1264 Out of range value for column 'f1' at row 1
636
CALL sp1( 0.1234567890987654321e-53 );
638
0.000000000000000000000000000000
640
Note 1265 Data truncated for column 'f1' at row 1
641
CALL sp1( 0.1234567890987654321e+52 );
643
999999999999999999999999999999.999999999999999999999999999999
645
Warning 1264 Out of range value for column 'f1' at row 1
646
CALL sp1( 0.1234567890987654321e-52 );
648
0.000000000000000000000000000000
650
Note 1265 Data truncated for column 'f1' at row 1
651
CALL sp1( 0.1234567890987654321e+51 );
653
999999999999999999999999999999.999999999999999999999999999999
655
Warning 1264 Out of range value for column 'f1' at row 1
656
CALL sp1( 0.1234567890987654321e-51 );
658
0.000000000000000000000000000000
660
Note 1265 Data truncated for column 'f1' at row 1
661
CALL sp1( 0.1234567890987654321e+50 );
663
999999999999999999999999999999.999999999999999999999999999999
665
Warning 1264 Out of range value for column 'f1' at row 1
666
CALL sp1( 0.1234567890987654321e-50 );
668
0.000000000000000000000000000000
670
Note 1265 Data truncated for column 'f1' at row 1
671
CALL sp1( 0.1234567890987654321e+49 );
673
999999999999999999999999999999.999999999999999999999999999999
675
Warning 1264 Out of range value for column 'f1' at row 1
676
CALL sp1( 0.1234567890987654321e-49 );
678
0.000000000000000000000000000000
680
Note 1265 Data truncated for column 'f1' at row 1
681
CALL sp1( 0.1234567890987654321e+48 );
683
999999999999999999999999999999.999999999999999999999999999999
685
Warning 1264 Out of range value for column 'f1' at row 1
686
CALL sp1( 0.1234567890987654321e-48 );
688
0.000000000000000000000000000000
690
Note 1265 Data truncated for column 'f1' at row 1
691
CALL sp1( 0.1234567890987654321e+47 );
693
999999999999999999999999999999.999999999999999999999999999999
695
Warning 1264 Out of range value for column 'f1' at row 1
696
CALL sp1( 0.1234567890987654321e-47 );
698
0.000000000000000000000000000000
700
Note 1265 Data truncated for column 'f1' at row 1
701
CALL sp1( 0.1234567890987654321e+46 );
703
999999999999999999999999999999.999999999999999999999999999999
705
Warning 1264 Out of range value for column 'f1' at row 1
706
CALL sp1( 0.1234567890987654321e-46 );
708
0.000000000000000000000000000000
710
Note 1265 Data truncated for column 'f1' at row 1
711
CALL sp1( 0.1234567890987654321e+45 );
713
999999999999999999999999999999.999999999999999999999999999999
715
Warning 1264 Out of range value for column 'f1' at row 1
716
CALL sp1( 0.1234567890987654321e-45 );
718
0.000000000000000000000000000000
720
Note 1265 Data truncated for column 'f1' at row 1
721
CALL sp1( 0.1234567890987654321e+44 );
723
999999999999999999999999999999.999999999999999999999999999999
725
Warning 1264 Out of range value for column 'f1' at row 1
726
CALL sp1( 0.1234567890987654321e-44 );
728
0.000000000000000000000000000000
730
Note 1265 Data truncated for column 'f1' at row 1
731
CALL sp1( 0.1234567890987654321e+43 );
733
999999999999999999999999999999.999999999999999999999999999999
735
Warning 1264 Out of range value for column 'f1' at row 1
736
CALL sp1( 0.1234567890987654321e-43 );
738
0.000000000000000000000000000000
740
Note 1265 Data truncated for column 'f1' at row 1
741
CALL sp1( 0.1234567890987654321e+42 );
743
999999999999999999999999999999.999999999999999999999999999999
745
Warning 1264 Out of range value for column 'f1' at row 1
746
CALL sp1( 0.1234567890987654321e-42 );
748
0.000000000000000000000000000000
750
Note 1265 Data truncated for column 'f1' at row 1
751
CALL sp1( 0.1234567890987654321e+41 );
753
999999999999999999999999999999.999999999999999999999999999999
755
Warning 1264 Out of range value for column 'f1' at row 1
756
CALL sp1( 0.1234567890987654321e-41 );
758
0.000000000000000000000000000000
760
Note 1265 Data truncated for column 'f1' at row 1
761
CALL sp1( 0.1234567890987654321e+40 );
763
999999999999999999999999999999.999999999999999999999999999999
765
Warning 1264 Out of range value for column 'f1' at row 1
766
CALL sp1( 0.1234567890987654321e-40 );
768
0.000000000000000000000000000000
770
Note 1265 Data truncated for column 'f1' at row 1
771
CALL sp1( 0.1234567890987654321e+39 );
773
999999999999999999999999999999.999999999999999999999999999999
775
Warning 1264 Out of range value for column 'f1' at row 1
776
CALL sp1( 0.1234567890987654321e-39 );
778
0.000000000000000000000000000000
780
Note 1265 Data truncated for column 'f1' at row 1
781
CALL sp1( 0.1234567890987654321e+38 );
783
999999999999999999999999999999.999999999999999999999999999999
785
Warning 1264 Out of range value for column 'f1' at row 1
786
CALL sp1( 0.1234567890987654321e-38 );
788
0.000000000000000000000000000000
790
Note 1265 Data truncated for column 'f1' at row 1
791
CALL sp1( 0.1234567890987654321e+37 );
793
999999999999999999999999999999.999999999999999999999999999999
795
Warning 1264 Out of range value for column 'f1' at row 1
796
CALL sp1( 0.1234567890987654321e-37 );
798
0.000000000000000000000000000000
800
Note 1265 Data truncated for column 'f1' at row 1
801
CALL sp1( 0.1234567890987654321e+36 );
803
999999999999999999999999999999.999999999999999999999999999999
805
Warning 1264 Out of range value for column 'f1' at row 1
806
CALL sp1( 0.1234567890987654321e-36 );
808
0.000000000000000000000000000000
810
Note 1265 Data truncated for column 'f1' at row 1
811
CALL sp1( 0.1234567890987654321e+35 );
813
999999999999999999999999999999.999999999999999999999999999999
815
Warning 1264 Out of range value for column 'f1' at row 1
816
CALL sp1( 0.1234567890987654321e-35 );
818
0.000000000000000000000000000000
820
Note 1265 Data truncated for column 'f1' at row 1
821
CALL sp1( 0.1234567890987654321e+34 );
823
999999999999999999999999999999.999999999999999999999999999999
825
Warning 1264 Out of range value for column 'f1' at row 1
826
CALL sp1( 0.1234567890987654321e-34 );
828
0.000000000000000000000000000000
830
Note 1265 Data truncated for column 'f1' at row 1
831
CALL sp1( 0.1234567890987654321e+33 );
833
999999999999999999999999999999.999999999999999999999999999999
835
Warning 1264 Out of range value for column 'f1' at row 1
836
CALL sp1( 0.1234567890987654321e-33 );
838
0.000000000000000000000000000000
840
Note 1265 Data truncated for column 'f1' at row 1
841
CALL sp1( 0.1234567890987654321e+32 );
843
999999999999999999999999999999.999999999999999999999999999999
845
Warning 1264 Out of range value for column 'f1' at row 1
846
CALL sp1( 0.1234567890987654321e-32 );
848
0.000000000000000000000000000000
850
Note 1265 Data truncated for column 'f1' at row 1
851
CALL sp1( 0.1234567890987654321e+31 );
853
999999999999999999999999999999.999999999999999999999999999999
855
Warning 1264 Out of range value for column 'f1' at row 1
856
CALL sp1( 0.1234567890987654321e-31 );
858
0.000000000000000000000000000000
860
Note 1265 Data truncated for column 'f1' at row 1
861
CALL sp1( 0.1234567890987654321e+30 );
863
123456789098765430000000000000.000000000000000000000000000000
864
CALL sp1( 0.1234567890987654321e-30 );
866
0.000000000000000000000000000000
868
Note 1265 Data truncated for column 'f1' at row 1
869
CALL sp1( 0.1234567890987654321e+29 );
871
12345678909876543000000000000.000000000000000000000000000000
872
CALL sp1( 0.1234567890987654321e-29 );
874
0.000000000000000000000000000001
876
Note 1265 Data truncated for column 'f1' at row 1
877
CALL sp1( 0.1234567890987654321e+28 );
879
1234567890987654300000000000.000000000000000000000000000000
880
CALL sp1( 0.1234567890987654321e-28 );
882
0.000000000000000000000000000012
884
Note 1265 Data truncated for column 'f1' at row 1
885
CALL sp1( 0.1234567890987654321e+27 );
887
123456789098765440000000000.000000000000000000000000000000
888
CALL sp1( 0.1234567890987654321e-27 );
890
0.000000000000000000000000000123
892
Note 1265 Data truncated for column 'f1' at row 1
893
CALL sp1( 0.1234567890987654321e+26 );
895
12345678909876543000000000.000000000000000000000000000000
896
CALL sp1( 0.1234567890987654321e-26 );
898
0.000000000000000000000000001235
900
Note 1265 Data truncated for column 'f1' at row 1
901
CALL sp1( 0.1234567890987654321e+25 );
903
1234567890987654400000000.000000000000000000000000000000
904
CALL sp1( 0.1234567890987654321e-25 );
906
0.000000000000000000000000012346
908
Note 1265 Data truncated for column 'f1' at row 1
909
CALL sp1( 0.1234567890987654321e+24 );
911
123456789098765430000000.000000000000000000000000000000
912
CALL sp1( 0.1234567890987654321e-24 );
914
0.000000000000000000000000123457
916
Note 1265 Data truncated for column 'f1' at row 1
917
CALL sp1( 0.1234567890987654321e+23 );
919
12345678909876543000000.000000000000000000000000000000
920
CALL sp1( 0.1234567890987654321e-23 );
922
0.000000000000000000000001234568
924
Note 1265 Data truncated for column 'f1' at row 1
925
CALL sp1( 0.1234567890987654321e+22 );
927
1234567890987654300000.000000000000000000000000000000
928
CALL sp1( 0.1234567890987654321e-22 );
930
0.000000000000000000000012345679
932
Note 1265 Data truncated for column 'f1' at row 1
933
CALL sp1( 0.1234567890987654321e+21 );
935
123456789098765430000.000000000000000000000000000000
936
CALL sp1( 0.1234567890987654321e-21 );
938
0.000000000000000000000123456789
940
Note 1265 Data truncated for column 'f1' at row 1
941
CALL sp1( 0.1234567890987654321e+20 );
943
12345678909876543000.000000000000000000000000000000
944
CALL sp1( 0.1234567890987654321e-20 );
946
0.000000000000000000001234567891
948
Note 1265 Data truncated for column 'f1' at row 1
949
CALL sp1( 0.1234567890987654321e+19 );
951
1234567890987654400.000000000000000000000000000000
952
CALL sp1( 0.1234567890987654321e-19 );
954
0.000000000000000000012345678910
956
Note 1265 Data truncated for column 'f1' at row 1
957
CALL sp1( 0.1234567890987654321e+18 );
959
123456789098765440.000000000000000000000000000000
960
CALL sp1( 0.1234567890987654321e-18 );
962
0.000000000000000000123456789099
964
Note 1265 Data truncated for column 'f1' at row 1
965
CALL sp1( 0.1234567890987654321e+17 );
967
12345678909876544.000000000000000000000000000000
968
CALL sp1( 0.1234567890987654321e-17 );
970
0.000000000000000001234567890988
972
Note 1265 Data truncated for column 'f1' at row 1
973
CALL sp1( 0.1234567890987654321e+16 );
975
1234567890987654.200000000000000000000000000000
976
CALL sp1( 0.1234567890987654321e-16 );
978
0.000000000000000012345678909877
980
Note 1265 Data truncated for column 'f1' at row 1
981
CALL sp1( 0.1234567890987654321e+15 );
983
123456789098765.440000000000000000000000000000
984
CALL sp1( 0.1234567890987654321e-15 );
986
0.000000000000000123456789098765
988
Note 1265 Data truncated for column 'f1' at row 1
989
CALL sp1( 0.1234567890987654321e+14 );
991
12345678909876.543000000000000000000000000000
992
CALL sp1( 0.1234567890987654321e-14 );
994
0.000000000000001234567890987654
996
Note 1265 Data truncated for column 'f1' at row 1
997
CALL sp1( 0.1234567890987654321e+13 );
999
1234567890987.654300000000000000000000000000
1000
CALL sp1( 0.1234567890987654321e-13 );
1002
0.000000000000012345678909876543
1003
CALL sp1( 0.1234567890987654321e+12 );
1005
123456789098.765430000000000000000000000000
1006
CALL sp1( 0.1234567890987654321e-12 );
1008
0.000000000000123456789098765440
1009
CALL sp1( 0.1234567890987654321e+11 );
1011
12345678909.876543000000000000000000000000
1012
CALL sp1( 0.1234567890987654321e-11 );
1014
0.000000000001234567890987654200
1015
CALL sp1( 0.1234567890987654321e+10 );
1017
1234567890.987654200000000000000000000000
1018
CALL sp1( 0.1234567890987654321e-10 );
1020
0.000000000012345678909876543000
1021
CALL sp1( 0.1234567890987654321e+9 );
1023
123456789.098765430000000000000000000000
1024
CALL sp1( 0.1234567890987654321e-9 );
1026
0.000000000123456789098765420000
1027
CALL sp1( 0.1234567890987654321e+8 );
1029
12345678.909876544000000000000000000000
1030
CALL sp1( 0.1234567890987654321e-8 );
1032
0.000000001234567890987654400000
1033
CALL sp1( 0.1234567890987654321e+7 );
1035
1234567.890987654200000000000000000000
1036
CALL sp1( 0.1234567890987654321e-7 );
1038
0.000000012345678909876544000000
1039
CALL sp1( 0.1234567890987654321e+6 );
1041
123456.789098765440000000000000000000
1042
CALL sp1( 0.1234567890987654321e-6 );
1044
0.000000123456789098765440000000
1045
CALL sp1( 0.1234567890987654321e+5 );
1047
12345.678909876544000000000000000000
1048
CALL sp1( 0.1234567890987654321e-5 );
1050
0.000001234567890987654400000000
1051
CALL sp1( 0.1234567890987654321e+4 );
1053
1234.567890987654200000000000000000
1054
CALL sp1( 0.1234567890987654321e-4 );
1056
0.000012345678909876543000000000
1057
CALL sp1( 0.1234567890987654321e+3 );
1059
123.456789098765430000000000000000
1060
CALL sp1( 0.1234567890987654321e-3 );
1062
0.000123456789098765420000000000
1063
CALL sp1( 0.1234567890987654321e+2 );
1065
12.345678909876543000000000000000
1066
CALL sp1( 0.1234567890987654321e-2 );
1068
0.001234567890987654300000000000
1069
CALL sp1( 0.1234567890987654321e+1 );
1071
1.234567890987654300000000000000
1072
CALL sp1( 0.1234567890987654321e-1 );
1074
0.012345678909876543000000000000
1075
CALL sp1( 0.1234567890987654321e+0 );
1077
0.123456789098765440000000000000
1078
CALL sp1( 0.1234567890987654321e-0 );
1080
0.123456789098765440000000000000
1081
SHOW PROCEDURE status;
1082
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1083
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1084
DROP PROCEDURE IF EXISTS sp1;
1085
CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
1090
Note 1291 Column '' has duplicated value 'value1' in ENUM
1091
CALL sp1( "value1" );
1095
Note 1291 Column '' has duplicated value 'value1' in ENUM
1096
SHOW PROCEDURE status;
1097
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1098
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1099
DROP PROCEDURE IF EXISTS sp1;
1100
CREATE PROCEDURE sp1( f1 set("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
1105
Note 1291 Column '' has duplicated value 'value1' in SET
1106
CALL sp1( "value1, value1" );
1110
Note 1291 Column '' has duplicated value 'value1' in SET
1111
Warning 1265 Data truncated for column 'f1' at row 1
1112
SHOW PROCEDURE status;
1113
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1114
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1115
DROP PROCEDURE IF EXISTS sp1;
1116
CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
1121
Note 1291 Column '' has duplicated value 'value1' in ENUM
1122
CALL sp1( "value1" );
1126
Note 1291 Column '' has duplicated value 'value1' in ENUM
1127
SHOW PROCEDURE status;
1128
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1129
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1130
DROP PROCEDURE IF EXISTS sp1;
1131
CREATE PROCEDURE sp1( f1 text ) language sql SELECT f1;
1135
SHOW PROCEDURE status like 'sp1';
1136
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1137
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1138
DROP PROCEDURE IF EXISTS sp1;
1139
CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1;
1143
SHOW PROCEDURE status like 'sp1';
1144
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1145
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1146
DROP PROCEDURE IF EXISTS sp1;
1147
CREATE PROCEDURE sp1( f1 text ) not deterministic SELECT f1;
1151
SHOW PROCEDURE status like 'sp1';
1152
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1153
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1154
DROP PROCEDURE IF EXISTS sp1;
1155
CREATE PROCEDURE sp1( f1 text ) sql security definer SELECT f1;
1159
SHOW PROCEDURE status like 'sp1';
1160
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1161
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1162
DROP PROCEDURE IF EXISTS sp1;
1163
CREATE PROCEDURE sp1( f1 text ) sql security invoker SELECT f1;
1167
SHOW PROCEDURE status like 'sp1';
1168
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1169
db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER latin1 latin1_swedish_ci latin1_swedish_ci
1170
DROP PROCEDURE IF EXISTS sp1;
1171
CREATE PROCEDURE sp1( f1 text ) comment 'this is simple' SELECT f1;
1175
SHOW PROCEDURE status like 'sp1';
1176
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1177
db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1178
DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
1179
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
1180
DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
1181
ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
1186
Ensure that all clauses that should be supported are supported
1188
--------------------------------------------------------------------------------
1189
DROP FUNCTION IF EXISTS fn1;
1190
CREATE FUNCTION fn1 (s char(20)) returns char(50)
1191
return concat('hello, ', s, '!');
1192
SELECT fn1('world');
1195
DROP FUNCTION IF EXISTS fn1;
1196
CREATE FUNCTION fn1( f1 mediumtext ) returns mediumtext language sql deterministic sql security definer comment 'this is simple'
1199
set f1 = concat( @v1, f1 );
1202
SELECT fn1( ' world');
1205
SHOW FUNCTION STATUS LIKE 'fn1';
1206
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1207
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1208
DROP FUNCTION IF EXISTS fn1;
1209
CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql not deterministic sql security invoker comment 'this is simple'
1217
SHOW FUNCTION STATUS LIKE 'fn1';
1218
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1219
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1220
DROP FUNCTION IF EXISTS fn1;
1221
CREATE FUNCTION fn1( f1 decimal(63, 31) ) returns decimal(63, 31) language sql not deterministic sql security invoker comment 'this is simple'
1223
set f1 = 1000000 + f1;
1226
ERROR 42000: Too big scale 31 specified for column ''. Maximum is 30.
1227
SELECT fn1( 1.3326e+8 );
1228
ERROR 42000: FUNCTION db_storedproc.fn1 does not exist
1229
CREATE FUNCTION fn1( f1 decimal(63, 30) ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
1231
set f1 = 1000000 + f1;
1234
SELECT fn1( 1.3326e+8 );
1236
134260000.000000000000000000000000000000
1237
SHOW FUNCTION STATUS LIKE 'fn1';
1238
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1239
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1240
DROP FUNCTION IF EXISTS fn1;
1241
CREATE FUNCTION fn1( f1 enum("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
1246
Note 1291 Column '' has duplicated value 'value1' in ENUM
1247
SELECT fn1( "value1" );
1249
1.000000000000000000000000000000
1250
SHOW FUNCTION STATUS LIKE 'fn1';
1251
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1252
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1253
DROP FUNCTION IF EXISTS fn1;
1254
CREATE FUNCTION fn1( f1 set("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
1259
Note 1291 Column '' has duplicated value 'value1' in SET
1260
SELECT fn1( "value1, value1" );
1261
fn1( "value1, value1" )
1262
1.000000000000000000000000000000
1263
SHOW FUNCTION STATUS LIKE 'fn1';
1264
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1265
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1266
DROP FUNCTION IF EXISTS fn1;
1267
CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql
1275
SHOW FUNCTION STATUS LIKE 'fn1';
1276
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1277
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1278
DROP FUNCTION IF EXISTS fn1;
1279
CREATE FUNCTION fn1( f1 smallint ) returns smallint deterministic
1287
SHOW FUNCTION STATUS LIKE 'fn1';
1288
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1289
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1290
DROP FUNCTION IF EXISTS fn1;
1291
CREATE FUNCTION fn1( f1 smallint ) returns smallint not deterministic
1299
SHOW FUNCTION STATUS LIKE 'fn1';
1300
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1301
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1302
DROP FUNCTION IF EXISTS fn1;
1303
CREATE FUNCTION fn1( f1 smallint ) returns smallint
1304
sql security definer
1312
SHOW FUNCTION STATUS LIKE 'fn1';
1313
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1314
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1315
DROP FUNCTION IF EXISTS fn1;
1316
CREATE FUNCTION fn1( f1 smallint ) returns smallint
1317
sql security invoker
1325
SHOW FUNCTION STATUS LIKE 'fn1';
1326
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1327
db_storedproc fn1 FUNCTION root@localhost modified created INVOKER latin1 latin1_swedish_ci latin1_swedish_ci
1328
DROP FUNCTION IF EXISTS fn1;
1329
CREATE FUNCTION fn1( f1 smallint ) returns smallint
1330
comment 'this is simple'
1338
SHOW FUNCTION STATUS LIKE 'fn1';
1339
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1340
db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
1345
Ensure that all clauses that should be supported are supported
1347
--------------------------------------------------------------------------------
1348
DROP PROCEDURE IF EXISTS sp1;
1349
CREATE PROCEDURE sp1 (f1 char(20) )
1350
SELECT * from t1 where f2 = f1;
1351
show CREATE PROCEDURE sp1;
1352
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
1353
sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`(f1 char(20) )
1354
SELECT * from t1 where f2 = f1 latin1 modified created
1359
show create function
1360
--------------------------------------------------------------------------------
1361
DROP FUNCTION IF EXISTS fn1;
1362
CREATE FUNCTION fn1 (s char(20)) returns char(50)
1363
return concat('hello, ', s, '!');
1364
show CREATE FUNCTION fn1;
1365
Function sql_mode Create Function character_set_client collation_connection Database Collation
1366
fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(s char(20)) RETURNS char(50) CHARSET latin1
1367
return concat('hello, ', s, '!') latin1 modified created
1372
SHOW PROCEDURE status
1373
--------------------------------------------------------------------------------
1374
CREATE PROCEDURE sp5()
1376
SHOW PROCEDURE status like 'sp5';
1377
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1378
db_storedproc sp5 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1383
show function status
1384
--------------------------------------------------------------------------------
1385
CREATE FUNCTION fn5(a int) returns int
1390
SHOW FUNCTION STATUS LIKE 'fn5';
1391
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1392
db_storedproc fn5 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
1398
--------------------------------------------------------------------------------
1399
DROP PROCEDURE IF EXISTS sp7a;
1400
DROP PROCEDURE IF EXISTS sp7b;
1401
DROP PROCEDURE IF EXISTS sp7c;
1402
CREATE PROCEDURE sp7a(a char(20))
1403
SELECT * from t1 where t1.f2 = a;
1406
CREATE PROCEDURE sp7b (a char (20), out b char(20))
1407
SELECT f1 into b from t1 where t1.f2= a;
1408
CALL sp7b('xyz', @out_param);
1410
Warning 1329 No data - zero rows fetched, selected, or processed
1414
CREATE PROCEDURE sp7c (a char (20), out b char(20), inout c int)
1416
SELECT f1 into b from t1 where t1.f2=a;
1417
update t1 set t1.f2=999 where t1.f4=c;
1418
SELECT f2 into c from t1 where t1.f2=999;
1421
CALL sp7c('xyz', @out_param, @c);
1428
DROP PROCEDURE sp7a;
1429
DROP PROCEDURE sp7b;
1430
DROP PROCEDURE sp7c;
1435
--------------------------------------------------------------------------------
1436
CREATE FUNCTION fn8(a char(20)) returns char(50)
1437
return concat('hello, ', a, '!');
1438
SELECT fn8('world');
1446
--------------------------------------------------------------------------------
1447
SELECT * from mysql.proc where specific_name='sp9';
1448
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1449
DROP PROCEDURE IF EXISTS sp9;
1450
SELECT * from mysql.proc where specific_name='sp9';
1451
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1452
CREATE PROCEDURE sp9()SELECT * from t1;
1453
SELECT * from mysql.proc where specific_name='sp9';
1454
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1455
db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1
1457
SELECT * from mysql.proc where specific_name='sp9';
1458
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1459
CREATE PROCEDURE sp9()SELECT * from t1;
1460
SELECT * from mysql.proc where specific_name='sp9';
1461
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1462
db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1
1463
DROP PROCEDURE IF EXISTS sp9;
1464
SELECT * from mysql.proc where specific_name='sp9';
1465
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1470
--------------------------------------------------------------------------------
1471
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1472
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1473
DROP FUNCTION IF EXISTS fn10;
1474
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1475
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1476
CREATE FUNCTION fn10() returns int return 100;
1477
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1478
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1479
db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci return 100
1481
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1482
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1483
CREATE FUNCTION fn10() returns int return 100;
1484
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1485
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1486
db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci return 100
1487
DROP FUNCTION IF EXISTS fn10;
1488
SELECT * from mysql.proc where specific_name='fn10' and type='function';
1489
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
1494
--------------------------------------------------------------------------------
1495
create user 'user_1'@'localhost';
1496
grant execute on db_storedproc.* to 'user_1'@'localhost';
1498
drop table IF EXISTS mysql.t1;
1500
Note 1051 Unknown table 't1'
1501
create table mysql.t1( f1 char );
1502
DROP PROCEDURE IF EXISTS sp11;
1504
Note 1305 PROCEDURE sp11 does not exist
1505
CREATE PROCEDURE sp11() insert into mysql.t1 values('a');
1506
SELECT security_type from mysql.proc where specific_name='sp11';
1509
connect(localhost,user_1,,db_storedproc,MYSQL_PORT,MYSQL_SOCK);
1511
user_1@localhost db_storedproc
1515
root@localhost db_storedproc
1516
alter procedure sp11 sql security invoker;
1517
SELECT security_type from mysql.proc where specific_name='sp11';
1521
user_1@localhost db_storedproc
1524
ERROR 42000: INSERT command denied to user 'user_1'@'localhost' for table 't1'
1527
root@localhost db_storedproc
1528
alter procedure sp11 sql security definer;
1529
SELECT security_type from mysql.proc where specific_name='sp11';
1533
DROP USER 'user_1'@'localhost';
1534
DROP PROCEDURE sp11;
1535
drop table mysql.t1;
1540
--------------------------------------------------------------------------------
1541
CREATE FUNCTION fn12() returns int
1543
SELECT security_type from mysql.proc where specific_name='fn12';
1549
alter function fn12 sql security invoker;
1550
SELECT security_type from mysql.proc where specific_name='fn12';
1556
alter function fn12 sql security definer;
1557
SELECT security_type from mysql.proc where specific_name='fn12';
1568
--------------------------------------------------------------------------------
1569
DROP PROCEDURE IF EXISTS sp11;
1571
Note 1305 PROCEDURE sp11 does not exist
1572
CREATE PROCEDURE sp11()
1574
SELECT comment from mysql.proc where specific_name='sp11';
1577
alter procedure sp11 comment 'this is simple';
1578
SELECT comment from mysql.proc where specific_name='sp11';
1581
DROP PROCEDURE sp11;
1586
--------------------------------------------------------------------------------
1587
DROP FUNCTION IF EXISTS fn12;
1589
Note 1305 FUNCTION fn12 does not exist
1590
CREATE FUNCTION fn12() returns int
1592
SELECT comment from mysql.proc where specific_name='fn12';
1595
alter function fn12 comment 'this is simple';
1596
SELECT comment from mysql.proc where specific_name='fn12';
1603
Ensure that any invalid stored procedure name is never accepted, and that an
1604
appropriate error message is returned when the name is rejected
1605
--------------------------------------------------------------------------------
1606
CREATE PROCEDURE sp1()
1608
ERROR HY000: Can't drop or alter a PROCEDURE from within another stored routine
1609
CREATE PROCEDURE !_sp1( f1 char(20) )
1610
SELECT * from t1 where f2 = f1;
1611
ERROR 42000: You 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) )
1612
SELECT * from t1 where f2 = f1' at line 1
1613
CREATE PROCEDURE function()
1614
SELECT * from t1 where f2=f1;
1615
DROP PROCEDURE function;
1616
CREATE PROCEDURE accessible()
1617
SELECT * from t1 where f2=f1;
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 'accessible()
1619
SELECT * from t1 where f2=f1' at line 1
1620
CREATE PROCEDURE add()
1621
SELECT * from t1 where f2=f1;
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 'add()
1623
SELECT * from t1 where f2=f1' at line 1
1624
CREATE PROCEDURE all()
1625
SELECT * from t1 where f2=f1;
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 'all()
1627
SELECT * from t1 where f2=f1' at line 1
1628
CREATE PROCEDURE alter()
1629
SELECT * from t1 where f2=f1;
1630
ERROR 42000: You 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()
1631
SELECT * from t1 where f2=f1' at line 1
1632
CREATE PROCEDURE analyze()
1633
SELECT * from t1 where f2=f1;
1634
ERROR 42000: You 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()
1635
SELECT * from t1 where f2=f1' at line 1
1636
CREATE PROCEDURE and()
1637
SELECT * from t1 where f2=f1;
1638
ERROR 42000: You 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()
1639
SELECT * from t1 where f2=f1' at line 1
1640
CREATE PROCEDURE as()
1641
SELECT * from t1 where f2=f1;
1642
ERROR 42000: You 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()
1643
SELECT * from t1 where f2=f1' at line 1
1644
CREATE PROCEDURE asc()
1645
SELECT * from t1 where f2=f1;
1646
ERROR 42000: You 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()
1647
SELECT * from t1 where f2=f1' at line 1
1648
CREATE PROCEDURE asensitive()
1649
SELECT * from t1 where f2=f1;
1650
ERROR 42000: You 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()
1651
SELECT * from t1 where f2=f1' at line 1
1652
CREATE PROCEDURE before()
1653
SELECT * from t1 where f2=f1;
1654
ERROR 42000: You 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()
1655
SELECT * from t1 where f2=f1' at line 1
1656
CREATE PROCEDURE between()
1657
SELECT * from t1 where f2=f1;
1658
ERROR 42000: You 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()
1659
SELECT * from t1 where f2=f1' at line 1
1660
CREATE PROCEDURE bigint()
1661
SELECT * from t1 where f2=f1;
1662
ERROR 42000: You 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()
1663
SELECT * from t1 where f2=f1' at line 1
1664
CREATE PROCEDURE binary()
1665
SELECT * from t1 where f2=f1;
1666
ERROR 42000: You 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()
1667
SELECT * from t1 where f2=f1' at line 1
1668
CREATE PROCEDURE blob()
1669
SELECT * from t1 where f2=f1;
1670
ERROR 42000: You 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()
1671
SELECT * from t1 where f2=f1' at line 1
1672
CREATE PROCEDURE both()
1673
SELECT * from t1 where f2=f1;
1674
ERROR 42000: You 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()
1675
SELECT * from t1 where f2=f1' at line 1
1676
CREATE PROCEDURE by()
1677
SELECT * from t1 where f2=f1;
1678
ERROR 42000: You 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()
1679
SELECT * from t1 where f2=f1' at line 1
1680
CREATE PROCEDURE call()
1681
SELECT * from t1 where f2=f1;
1682
ERROR 42000: You 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()
1683
SELECT * from t1 where f2=f1' at line 1
1684
CREATE PROCEDURE cascade()
1685
SELECT * from t1 where f2=f1;
1686
ERROR 42000: You 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()
1687
SELECT * from t1 where f2=f1' at line 1
1688
CREATE PROCEDURE case()
1689
SELECT * from t1 where f2=f1;
1690
ERROR 42000: You 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()
1691
SELECT * from t1 where f2=f1' at line 1
1692
CREATE PROCEDURE change()
1693
SELECT * from t1 where f2=f1;
1694
ERROR 42000: You 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()
1695
SELECT * from t1 where f2=f1' at line 1
1696
CREATE PROCEDURE char()
1697
SELECT * from t1 where f2=f1;
1698
ERROR 42000: You 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()
1699
SELECT * from t1 where f2=f1' at line 1
1700
CREATE PROCEDURE character()
1701
SELECT * from t1 where f2=f1;
1702
ERROR 42000: You 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()
1703
SELECT * from t1 where f2=f1' at line 1
1704
CREATE PROCEDURE check()
1705
SELECT * from t1 where f2=f1;
1706
ERROR 42000: You 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()
1707
SELECT * from t1 where f2=f1' at line 1
1708
CREATE PROCEDURE collate()
1709
SELECT * from t1 where f2=f1;
1710
ERROR 42000: You 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()
1711
SELECT * from t1 where f2=f1' at line 1
1712
CREATE PROCEDURE column()
1713
SELECT * from t1 where f2=f1;
1714
ERROR 42000: You 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()
1715
SELECT * from t1 where f2=f1' at line 1
1716
CREATE PROCEDURE condition()
1717
SELECT * from t1 where f2=f1;
1718
ERROR 42000: You 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()
1719
SELECT * from t1 where f2=f1' at line 1
1720
CREATE PROCEDURE constraint()
1721
SELECT * from t1 where f2=f1;
1722
ERROR 42000: You 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()
1723
SELECT * from t1 where f2=f1' at line 1
1724
CREATE PROCEDURE continue()
1725
SELECT * from t1 where f2=f1;
1726
ERROR 42000: You 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()
1727
SELECT * from t1 where f2=f1' at line 1
1728
CREATE PROCEDURE convert()
1729
SELECT * from t1 where f2=f1;
1730
ERROR 42000: You 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()
1731
SELECT * from t1 where f2=f1' at line 1
1732
CREATE PROCEDURE create()
1733
SELECT * from t1 where f2=f1;
1734
ERROR 42000: You 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()
1735
SELECT * from t1 where f2=f1' at line 1
1736
CREATE PROCEDURE cross()
1737
SELECT * from t1 where f2=f1;
1738
ERROR 42000: You 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()
1739
SELECT * from t1 where f2=f1' at line 1
1740
CREATE PROCEDURE current_date()
1741
SELECT * from t1 where f2=f1;
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 'current_date()
1743
SELECT * from t1 where f2=f1' at line 1
1744
CREATE PROCEDURE current_time()
1745
SELECT * from t1 where f2=f1;
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 'current_time()
1747
SELECT * from t1 where f2=f1' at line 1
1748
CREATE PROCEDURE current_timestamp()
1749
SELECT * from t1 where f2=f1;
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 'current_timestamp()
1751
SELECT * from t1 where f2=f1' at line 1
1752
CREATE PROCEDURE current_user()
1753
SELECT * from t1 where f2=f1;
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 'current_user()
1755
SELECT * from t1 where f2=f1' at line 1
1756
CREATE PROCEDURE cursor()
1757
SELECT * from t1 where f2=f1;
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 'cursor()
1759
SELECT * from t1 where f2=f1' at line 1
1760
CREATE PROCEDURE database()
1761
SELECT * from t1 where f2=f1;
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 'database()
1763
SELECT * from t1 where f2=f1' at line 1
1764
CREATE PROCEDURE databases()
1765
SELECT * from t1 where f2=f1;
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 'databases()
1767
SELECT * from t1 where f2=f1' at line 1
1768
CREATE PROCEDURE day_hour()
1769
SELECT * from t1 where f2=f1;
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 'day_hour()
1771
SELECT * from t1 where f2=f1' at line 1
1772
CREATE PROCEDURE day_microsecond()
1773
SELECT * from t1 where f2=f1;
1774
ERROR 42000: You 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()
1775
SELECT * from t1 where f2=f1' at line 1
1776
CREATE PROCEDURE day_minute()
1777
SELECT * from t1 where f2=f1;
1778
ERROR 42000: You 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()
1779
SELECT * from t1 where f2=f1' at line 1
1780
CREATE PROCEDURE day_second()
1781
SELECT * from t1 where f2=f1;
1782
ERROR 42000: You 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()
1783
SELECT * from t1 where f2=f1' at line 1
1784
CREATE PROCEDURE dec()
1785
SELECT * from t1 where f2=f1;
1786
ERROR 42000: You 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()
1787
SELECT * from t1 where f2=f1' at line 1
1788
CREATE PROCEDURE decimal()
1789
SELECT * from t1 where f2=f1;
1790
ERROR 42000: You 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()
1791
SELECT * from t1 where f2=f1' at line 1
1792
CREATE PROCEDURE declare()
1793
SELECT * from t1 where f2=f1;
1794
ERROR 42000: You 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()
1795
SELECT * from t1 where f2=f1' at line 1
1796
CREATE PROCEDURE default()
1797
SELECT * from t1 where f2=f1;
1798
ERROR 42000: You 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()
1799
SELECT * from t1 where f2=f1' at line 1
1800
CREATE PROCEDURE delayed()
1801
SELECT * from t1 where f2=f1;
1802
ERROR 42000: You 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()
1803
SELECT * from t1 where f2=f1' at line 1
1804
CREATE PROCEDURE delete()
1805
SELECT * from t1 where f2=f1;
1806
ERROR 42000: You 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()
1807
SELECT * from t1 where f2=f1' at line 1
1808
CREATE PROCEDURE desc()
1809
SELECT * from t1 where f2=f1;
1810
ERROR 42000: You 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()
1811
SELECT * from t1 where f2=f1' at line 1
1812
CREATE PROCEDURE describe()
1813
SELECT * from t1 where f2=f1;
1814
ERROR 42000: You 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()
1815
SELECT * from t1 where f2=f1' at line 1
1816
CREATE PROCEDURE deterministic()
1817
SELECT * from t1 where f2=f1;
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 'deterministic()
1819
SELECT * from t1 where f2=f1' at line 1
1820
CREATE PROCEDURE distinct()
1821
SELECT * from t1 where f2=f1;
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 'distinct()
1823
SELECT * from t1 where f2=f1' at line 1
1824
CREATE PROCEDURE distinctrow()
1825
SELECT * from t1 where f2=f1;
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 'distinctrow()
1827
SELECT * from t1 where f2=f1' at line 1
1828
CREATE PROCEDURE div()
1829
SELECT * from t1 where f2=f1;
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 'div()
1831
SELECT * from t1 where f2=f1' at line 1
1832
CREATE PROCEDURE double()
1833
SELECT * from t1 where f2=f1;
1834
ERROR 42000: You 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()
1835
SELECT * from t1 where f2=f1' at line 1
1836
CREATE PROCEDURE drop()
1837
SELECT * from t1 where f2=f1;
1838
ERROR 42000: You 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()
1839
SELECT * from t1 where f2=f1' at line 1
1840
CREATE PROCEDURE dual()
1841
SELECT * from t1 where f2=f1;
1842
ERROR 42000: You 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()
1843
SELECT * from t1 where f2=f1' at line 1
1844
CREATE PROCEDURE each()
1845
SELECT * from t1 where f2=f1;
1846
ERROR 42000: You 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()
1847
SELECT * from t1 where f2=f1' at line 1
1848
CREATE PROCEDURE else()
1849
SELECT * from t1 where f2=f1;
1850
ERROR 42000: You 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()
1851
SELECT * from t1 where f2=f1' at line 1
1852
CREATE PROCEDURE elseif()
1853
SELECT * from t1 where f2=f1;
1854
ERROR 42000: You 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()
1855
SELECT * from t1 where f2=f1' at line 1
1856
CREATE PROCEDURE enclosed()
1857
SELECT * from t1 where f2=f1;
1858
ERROR 42000: You 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()
1859
SELECT * from t1 where f2=f1' at line 1
1860
CREATE PROCEDURE escaped()
1861
SELECT * from t1 where f2=f1;
1862
ERROR 42000: You 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()
1863
SELECT * from t1 where f2=f1' at line 1
1864
CREATE PROCEDURE exists()
1865
SELECT * from t1 where f2=f1;
1866
ERROR 42000: You 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()
1867
SELECT * from t1 where f2=f1' at line 1
1868
CREATE PROCEDURE exit()
1869
SELECT * from t1 where f2=f1;
1870
ERROR 42000: You 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()
1871
SELECT * from t1 where f2=f1' at line 1
1872
CREATE PROCEDURE explain()
1873
SELECT * from t1 where f2=f1;
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 'explain()
1875
SELECT * from t1 where f2=f1' at line 1
1876
CREATE PROCEDURE false()
1877
SELECT * from t1 where f2=f1;
1878
ERROR 42000: You 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()
1879
SELECT * from t1 where f2=f1' at line 1
1880
CREATE PROCEDURE fetch()
1881
SELECT * from t1 where f2=f1;
1882
ERROR 42000: You 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()
1883
SELECT * from t1 where f2=f1' at line 1
1884
CREATE PROCEDURE fields()
1885
SELECT * from t1 where f2=f1;
1886
DROP PROCEDURE fields;
1887
CREATE PROCEDURE float()
1888
SELECT * from t1 where f2=f1;
1889
ERROR 42000: You 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()
1890
SELECT * from t1 where f2=f1' at line 1
1891
CREATE PROCEDURE for()
1892
SELECT * from t1 where f2=f1;
1893
ERROR 42000: You 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()
1894
SELECT * from t1 where f2=f1' at line 1
1895
CREATE PROCEDURE force()
1896
SELECT * from t1 where f2=f1;
1897
ERROR 42000: You 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()
1898
SELECT * from t1 where f2=f1' at line 1
1899
CREATE PROCEDURE foreign()
1900
SELECT * from t1 where f2=f1;
1901
ERROR 42000: You 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()
1902
SELECT * from t1 where f2=f1' at line 1
1903
CREATE PROCEDURE from()
1904
SELECT * from t1 where f2=f1;
1905
ERROR 42000: You 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()
1906
SELECT * from t1 where f2=f1' at line 1
1907
CREATE PROCEDURE fulltext()
1908
SELECT * from t1 where f2=f1;
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 'fulltext()
1910
SELECT * from t1 where f2=f1' at line 1
1911
CREATE PROCEDURE grant()
1912
SELECT * from t1 where f2=f1;
1913
ERROR 42000: You 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()
1914
SELECT * from t1 where f2=f1' at line 1
1915
CREATE PROCEDURE group()
1916
SELECT * from t1 where f2=f1;
1917
ERROR 42000: You 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()
1918
SELECT * from t1 where f2=f1' at line 1
1919
CREATE PROCEDURE having()
1920
SELECT * from t1 where f2=f1;
1921
ERROR 42000: You 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()
1922
SELECT * from t1 where f2=f1' at line 1
1923
CREATE PROCEDURE high_priority()
1924
SELECT * from t1 where f2=f1;
1925
ERROR 42000: You 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()
1926
SELECT * from t1 where f2=f1' at line 1
1927
CREATE PROCEDURE hour_microsecond()
1928
SELECT * from t1 where f2=f1;
1929
ERROR 42000: You 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()
1930
SELECT * from t1 where f2=f1' at line 1
1931
CREATE PROCEDURE hour_minute()
1932
SELECT * from t1 where f2=f1;
1933
ERROR 42000: You 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()
1934
SELECT * from t1 where f2=f1' at line 1
1935
CREATE PROCEDURE hour_second()
1936
SELECT * from t1 where f2=f1;
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 'hour_second()
1938
SELECT * from t1 where f2=f1' at line 1
1939
CREATE PROCEDURE if()
1940
SELECT * from t1 where f2=f1;
1941
ERROR 42000: You 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()
1942
SELECT * from t1 where f2=f1' at line 1
1943
CREATE PROCEDURE ignore()
1944
SELECT * from t1 where f2=f1;
1945
ERROR 42000: You 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()
1946
SELECT * from t1 where f2=f1' at line 1
1947
CREATE PROCEDURE in()
1948
SELECT * from t1 where f2=f1;
1949
ERROR 42000: You 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()
1950
SELECT * from t1 where f2=f1' at line 1
1951
CREATE PROCEDURE index()
1952
SELECT * from t1 where f2=f1;
1953
ERROR 42000: You 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()
1954
SELECT * from t1 where f2=f1' at line 1
1955
CREATE PROCEDURE infile()
1956
SELECT * from t1 where f2=f1;
1957
ERROR 42000: You 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()
1958
SELECT * from t1 where f2=f1' at line 1
1959
CREATE PROCEDURE inner()
1960
SELECT * from t1 where f2=f1;
1961
ERROR 42000: You 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()
1962
SELECT * from t1 where f2=f1' at line 1
1963
CREATE PROCEDURE inout()
1964
SELECT * from t1 where f2=f1;
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 'inout()
1966
SELECT * from t1 where f2=f1' at line 1
1967
CREATE PROCEDURE insensitive()
1968
SELECT * from t1 where f2=f1;
1969
ERROR 42000: You 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()
1970
SELECT * from t1 where f2=f1' at line 1
1971
CREATE PROCEDURE insert()
1972
SELECT * from t1 where f2=f1;
1973
ERROR 42000: You 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()
1974
SELECT * from t1 where f2=f1' at line 1
1975
CREATE PROCEDURE int()
1976
SELECT * from t1 where f2=f1;
1977
ERROR 42000: You 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()
1978
SELECT * from t1 where f2=f1' at line 1
1979
CREATE PROCEDURE int1()
1980
SELECT * from t1 where f2=f1;
1981
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1()
1982
SELECT * from t1 where f2=f1' at line 1
1983
CREATE PROCEDURE int2()
1984
SELECT * from t1 where f2=f1;
1985
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2()
1986
SELECT * from t1 where f2=f1' at line 1
1987
CREATE PROCEDURE int3()
1988
SELECT * from t1 where f2=f1;
1989
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3()
1990
SELECT * from t1 where f2=f1' at line 1
1991
CREATE PROCEDURE int4()
1992
SELECT * from t1 where f2=f1;
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 'int4()
1994
SELECT * from t1 where f2=f1' at line 1
1995
CREATE PROCEDURE int8()
1996
SELECT * from t1 where f2=f1;
1997
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8()
1998
SELECT * from t1 where f2=f1' at line 1
1999
CREATE PROCEDURE integer()
2000
SELECT * from t1 where f2=f1;
2001
ERROR 42000: You 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()
2002
SELECT * from t1 where f2=f1' at line 1
2003
CREATE PROCEDURE interval()
2004
SELECT * from t1 where f2=f1;
2005
ERROR 42000: You 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()
2006
SELECT * from t1 where f2=f1' at line 1
2007
CREATE PROCEDURE into()
2008
SELECT * from t1 where f2=f1;
2009
ERROR 42000: You 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()
2010
SELECT * from t1 where f2=f1' at line 1
2011
CREATE PROCEDURE is()
2012
SELECT * from t1 where f2=f1;
2013
ERROR 42000: You 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()
2014
SELECT * from t1 where f2=f1' at line 1
2015
CREATE PROCEDURE iterate()
2016
SELECT * from t1 where f2=f1;
2017
ERROR 42000: You 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()
2018
SELECT * from t1 where f2=f1' at line 1
2019
CREATE PROCEDURE join()
2020
SELECT * from t1 where f2=f1;
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 'join()
2022
SELECT * from t1 where f2=f1' at line 1
2023
CREATE PROCEDURE key()
2024
SELECT * from t1 where f2=f1;
2025
ERROR 42000: You 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()
2026
SELECT * from t1 where f2=f1' at line 1
2027
CREATE PROCEDURE keys()
2028
SELECT * from t1 where f2=f1;
2029
ERROR 42000: You 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()
2030
SELECT * from t1 where f2=f1' at line 1
2031
CREATE PROCEDURE kill()
2032
SELECT * from t1 where f2=f1;
2033
ERROR 42000: You 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()
2034
SELECT * from t1 where f2=f1' at line 1
2035
CREATE PROCEDURE leading()
2036
SELECT * from t1 where f2=f1;
2037
ERROR 42000: You 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()
2038
SELECT * from t1 where f2=f1' at line 1
2039
CREATE PROCEDURE leave()
2040
SELECT * from t1 where f2=f1;
2041
ERROR 42000: You 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()
2042
SELECT * from t1 where f2=f1' at line 1
2043
CREATE PROCEDURE left()
2044
SELECT * from t1 where f2=f1;
2045
ERROR 42000: You 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()
2046
SELECT * from t1 where f2=f1' at line 1
2047
CREATE PROCEDURE like()
2048
SELECT * from t1 where f2=f1;
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 'like()
2050
SELECT * from t1 where f2=f1' at line 1
2051
CREATE PROCEDURE limit()
2052
SELECT * from t1 where f2=f1;
2053
ERROR 42000: You 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()
2054
SELECT * from t1 where f2=f1' at line 1
2055
CREATE PROCEDURE linear()
2056
SELECT * from t1 where f2=f1;
2057
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear()
2058
SELECT * from t1 where f2=f1' at line 1
2059
CREATE PROCEDURE lines()
2060
SELECT * from t1 where f2=f1;
2061
ERROR 42000: You 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()
2062
SELECT * from t1 where f2=f1' at line 1
2063
CREATE PROCEDURE load()
2064
SELECT * from t1 where f2=f1;
2065
ERROR 42000: You 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()
2066
SELECT * from t1 where f2=f1' at line 1
2067
CREATE PROCEDURE localtime()
2068
SELECT * from t1 where f2=f1;
2069
ERROR 42000: You 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()
2070
SELECT * from t1 where f2=f1' at line 1
2071
CREATE PROCEDURE localtimestamp()
2072
SELECT * from t1 where f2=f1;
2073
ERROR 42000: You 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()
2074
SELECT * from t1 where f2=f1' at line 1
2075
CREATE PROCEDURE lock()
2076
SELECT * from t1 where f2=f1;
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 'lock()
2078
SELECT * from t1 where f2=f1' at line 1
2079
CREATE PROCEDURE long()
2080
SELECT * from t1 where f2=f1;
2081
ERROR 42000: You 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()
2082
SELECT * from t1 where f2=f1' at line 1
2083
CREATE PROCEDURE longblob()
2084
SELECT * from t1 where f2=f1;
2085
ERROR 42000: You 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()
2086
SELECT * from t1 where f2=f1' at line 1
2087
CREATE PROCEDURE longtext()
2088
SELECT * from t1 where f2=f1;
2089
ERROR 42000: You 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()
2090
SELECT * from t1 where f2=f1' at line 1
2091
CREATE PROCEDURE loop()
2092
SELECT * from t1 where f2=f1;
2093
ERROR 42000: You 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()
2094
SELECT * from t1 where f2=f1' at line 1
2095
CREATE PROCEDURE low_priority()
2096
SELECT * from t1 where f2=f1;
2097
ERROR 42000: You 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()
2098
SELECT * from t1 where f2=f1' at line 1
2099
CREATE PROCEDURE master_ssl_verify_server_cert()
2100
SELECT * from t1 where f2=f1;
2101
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert()
2102
SELECT * from t1 where f2=f1' at line 1
2103
CREATE PROCEDURE match()
2104
SELECT * from t1 where f2=f1;
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 'match()
2106
SELECT * from t1 where f2=f1' at line 1
2107
CREATE PROCEDURE mediumblob()
2108
SELECT * from t1 where f2=f1;
2109
ERROR 42000: You 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()
2110
SELECT * from t1 where f2=f1' at line 1
2111
CREATE PROCEDURE mediumint()
2112
SELECT * from t1 where f2=f1;
2113
ERROR 42000: You 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()
2114
SELECT * from t1 where f2=f1' at line 1
2115
CREATE PROCEDURE mediumtext()
2116
SELECT * from t1 where f2=f1;
2117
ERROR 42000: You 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()
2118
SELECT * from t1 where f2=f1' at line 1
2119
CREATE PROCEDURE middleint()
2120
SELECT * from t1 where f2=f1;
2121
ERROR 42000: You 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()
2122
SELECT * from t1 where f2=f1' at line 1
2123
CREATE PROCEDURE minute_microsecond()
2124
SELECT * from t1 where f2=f1;
2125
ERROR 42000: You 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()
2126
SELECT * from t1 where f2=f1' at line 1
2127
CREATE PROCEDURE minute_second()
2128
SELECT * from t1 where f2=f1;
2129
ERROR 42000: You 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()
2130
SELECT * from t1 where f2=f1' at line 1
2131
CREATE PROCEDURE mod()
2132
SELECT * from t1 where f2=f1;
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 'mod()
2134
SELECT * from t1 where f2=f1' at line 1
2135
CREATE PROCEDURE modifies()
2136
SELECT * from t1 where f2=f1;
2137
ERROR 42000: You 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()
2138
SELECT * from t1 where f2=f1' at line 1
2139
CREATE PROCEDURE natural()
2140
SELECT * from t1 where f2=f1;
2141
ERROR 42000: You 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()
2142
SELECT * from t1 where f2=f1' at line 1
2143
CREATE PROCEDURE not()
2144
SELECT * from t1 where f2=f1;
2145
ERROR 42000: You 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()
2146
SELECT * from t1 where f2=f1' at line 1
2147
CREATE PROCEDURE no_write_to_binlog()
2148
SELECT * from t1 where f2=f1;
2149
ERROR 42000: You 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()
2150
SELECT * from t1 where f2=f1' at line 1
2151
CREATE PROCEDURE null()
2152
SELECT * from t1 where f2=f1;
2153
ERROR 42000: You 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()
2154
SELECT * from t1 where f2=f1' at line 1
2155
CREATE PROCEDURE numeric()
2156
SELECT * from t1 where f2=f1;
2157
ERROR 42000: You 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()
2158
SELECT * from t1 where f2=f1' at line 1
2159
CREATE PROCEDURE on()
2160
SELECT * from t1 where f2=f1;
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 'on()
2162
SELECT * from t1 where f2=f1' at line 1
2163
CREATE PROCEDURE optimize()
2164
SELECT * from t1 where f2=f1;
2165
ERROR 42000: You 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()
2166
SELECT * from t1 where f2=f1' at line 1
2167
CREATE PROCEDURE option()
2168
SELECT * from t1 where f2=f1;
2169
ERROR 42000: You 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()
2170
SELECT * from t1 where f2=f1' at line 1
2171
CREATE PROCEDURE optionally()
2172
SELECT * from t1 where f2=f1;
2173
ERROR 42000: You 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()
2174
SELECT * from t1 where f2=f1' at line 1
2175
CREATE PROCEDURE or()
2176
SELECT * from t1 where f2=f1;
2177
ERROR 42000: You 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()
2178
SELECT * from t1 where f2=f1' at line 1
2179
CREATE PROCEDURE order()
2180
SELECT * from t1 where f2=f1;
2181
ERROR 42000: You 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()
2182
SELECT * from t1 where f2=f1' at line 1
2183
CREATE PROCEDURE out()
2184
SELECT * from t1 where f2=f1;
2185
ERROR 42000: You 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()
2186
SELECT * from t1 where f2=f1' at line 1
2187
CREATE PROCEDURE outer()
2188
SELECT * from t1 where f2=f1;
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 'outer()
2190
SELECT * from t1 where f2=f1' at line 1
2191
CREATE PROCEDURE outfile()
2192
SELECT * from t1 where f2=f1;
2193
ERROR 42000: You 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()
2194
SELECT * from t1 where f2=f1' at line 1
2195
CREATE PROCEDURE precision()
2196
SELECT * from t1 where f2=f1;
2197
ERROR 42000: You 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()
2198
SELECT * from t1 where f2=f1' at line 1
2199
CREATE PROCEDURE primary()
2200
SELECT * from t1 where f2=f1;
2201
ERROR 42000: You 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()
2202
SELECT * from t1 where f2=f1' at line 1
2203
CREATE PROCEDURE procedure()
2204
SELECT * from t1 where f2=f1;
2205
ERROR 42000: You 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()
2206
SELECT * from t1 where f2=f1' at line 1
2207
CREATE PROCEDURE purge()
2208
SELECT * from t1 where f2=f1;
2209
ERROR 42000: You 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()
2210
SELECT * from t1 where f2=f1' at line 1
2211
CREATE PROCEDURE range()
2212
SELECT * from t1 where f2=f1;
2213
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range()
2214
SELECT * from t1 where f2=f1' at line 1
2215
CREATE PROCEDURE read()
2216
SELECT * from t1 where f2=f1;
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 'read()
2218
SELECT * from t1 where f2=f1' at line 1
2219
CREATE PROCEDURE reads()
2220
SELECT * from t1 where f2=f1;
2221
ERROR 42000: You 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()
2222
SELECT * from t1 where f2=f1' at line 1
2223
CREATE PROCEDURE real()
2224
SELECT * from t1 where f2=f1;
2225
ERROR 42000: You 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()
2226
SELECT * from t1 where f2=f1' at line 1
2227
CREATE PROCEDURE references()
2228
SELECT * from t1 where f2=f1;
2229
ERROR 42000: You 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()
2230
SELECT * from t1 where f2=f1' at line 1
2231
CREATE PROCEDURE regexp()
2232
SELECT * from t1 where f2=f1;
2233
ERROR 42000: You 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()
2234
SELECT * from t1 where f2=f1' at line 1
2235
CREATE PROCEDURE release()
2236
SELECT * from t1 where f2=f1;
2237
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release()
2238
SELECT * from t1 where f2=f1' at line 1
2239
CREATE PROCEDURE rename()
2240
SELECT * from t1 where f2=f1;
2241
ERROR 42000: You 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()
2242
SELECT * from t1 where f2=f1' at line 1
2243
CREATE PROCEDURE repeat()
2244
SELECT * from t1 where f2=f1;
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 'repeat()
2246
SELECT * from t1 where f2=f1' at line 1
2247
CREATE PROCEDURE replace()
2248
SELECT * from t1 where f2=f1;
2249
ERROR 42000: You 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()
2250
SELECT * from t1 where f2=f1' at line 1
2251
CREATE PROCEDURE require()
2252
SELECT * from t1 where f2=f1;
2253
ERROR 42000: You 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()
2254
SELECT * from t1 where f2=f1' at line 1
2255
CREATE PROCEDURE restrict()
2256
SELECT * from t1 where f2=f1;
2257
ERROR 42000: You 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()
2258
SELECT * from t1 where f2=f1' at line 1
2259
CREATE PROCEDURE return()
2260
SELECT * from t1 where f2=f1;
2261
ERROR 42000: You 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()
2262
SELECT * from t1 where f2=f1' at line 1
2263
CREATE PROCEDURE revoke()
2264
SELECT * from t1 where f2=f1;
2265
ERROR 42000: You 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()
2266
SELECT * from t1 where f2=f1' at line 1
2267
CREATE PROCEDURE right()
2268
SELECT * from t1 where f2=f1;
2269
ERROR 42000: You 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()
2270
SELECT * from t1 where f2=f1' at line 1
2271
CREATE PROCEDURE rlike()
2272
SELECT * from t1 where f2=f1;
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 'rlike()
2274
SELECT * from t1 where f2=f1' at line 1
2275
CREATE PROCEDURE schema()
2276
SELECT * from t1 where f2=f1;
2277
ERROR 42000: You 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()
2278
SELECT * from t1 where f2=f1' at line 1
2279
CREATE PROCEDURE schemas()
2280
SELECT * from t1 where f2=f1;
2281
ERROR 42000: You 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()
2282
SELECT * from t1 where f2=f1' at line 1
2283
CREATE PROCEDURE second_microsecond()
2284
SELECT * from t1 where f2=f1;
2285
ERROR 42000: You 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()
2286
SELECT * from t1 where f2=f1' at line 1
2287
CREATE PROCEDURE select()
2288
SELECT * from t1 where f2=f1;
2289
ERROR 42000: You 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()
2290
SELECT * from t1 where f2=f1' at line 1
2291
CREATE PROCEDURE sensitive()
2292
SELECT * from t1 where f2=f1;
2293
ERROR 42000: You 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()
2294
SELECT * from t1 where f2=f1' at line 1
2295
CREATE PROCEDURE separator()
2296
SELECT * from t1 where f2=f1;
2297
ERROR 42000: You 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()
2298
SELECT * from t1 where f2=f1' at line 1
2299
CREATE PROCEDURE set()
2300
SELECT * from t1 where f2=f1;
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 'set()
2302
SELECT * from t1 where f2=f1' at line 1
2303
CREATE PROCEDURE show()
2304
SELECT * from t1 where f2=f1;
2305
ERROR 42000: You 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()
2306
SELECT * from t1 where f2=f1' at line 1
2307
CREATE PROCEDURE smallint()
2308
SELECT * from t1 where f2=f1;
2309
ERROR 42000: You 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()
2310
SELECT * from t1 where f2=f1' at line 1
2311
CREATE PROCEDURE spatial()
2312
SELECT * from t1 where f2=f1;
2313
ERROR 42000: You 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()
2314
SELECT * from t1 where f2=f1' at line 1
2315
CREATE PROCEDURE specific()
2316
SELECT * from t1 where f2=f1;
2317
ERROR 42000: You 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()
2318
SELECT * from t1 where f2=f1' at line 1
2319
CREATE PROCEDURE sql()
2320
SELECT * from t1 where f2=f1;
2321
ERROR 42000: You 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()
2322
SELECT * from t1 where f2=f1' at line 1
2323
CREATE PROCEDURE sqlexception()
2324
SELECT * from t1 where f2=f1;
2325
ERROR 42000: You 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()
2326
SELECT * from t1 where f2=f1' at line 1
2327
CREATE PROCEDURE sqlstate()
2328
SELECT * from t1 where f2=f1;
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 'sqlstate()
2330
SELECT * from t1 where f2=f1' at line 1
2331
CREATE PROCEDURE sqlwarning()
2332
SELECT * from t1 where f2=f1;
2333
ERROR 42000: You 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()
2334
SELECT * from t1 where f2=f1' at line 1
2335
CREATE PROCEDURE sql_big_result()
2336
SELECT * from t1 where f2=f1;
2337
ERROR 42000: You 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()
2338
SELECT * from t1 where f2=f1' at line 1
2339
CREATE PROCEDURE sql_calc_found_rows()
2340
SELECT * from t1 where f2=f1;
2341
ERROR 42000: You 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()
2342
SELECT * from t1 where f2=f1' at line 1
2343
CREATE PROCEDURE sql_small_result()
2344
SELECT * from t1 where f2=f1;
2345
ERROR 42000: You 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()
2346
SELECT * from t1 where f2=f1' at line 1
2347
CREATE PROCEDURE ssl()
2348
SELECT * from t1 where f2=f1;
2349
ERROR 42000: You 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()
2350
SELECT * from t1 where f2=f1' at line 1
2351
CREATE PROCEDURE starting()
2352
SELECT * from t1 where f2=f1;
2353
ERROR 42000: You 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()
2354
SELECT * from t1 where f2=f1' at line 1
2355
CREATE PROCEDURE straight_join()
2356
SELECT * from t1 where f2=f1;
2357
ERROR 42000: You 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()
2358
SELECT * from t1 where f2=f1' at line 1
2359
CREATE PROCEDURE table()
2360
SELECT * from t1 where f2=f1;
2361
ERROR 42000: You 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()
2362
SELECT * from t1 where f2=f1' at line 1
2363
CREATE PROCEDURE terminated()
2364
SELECT * from t1 where f2=f1;
2365
ERROR 42000: You 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()
2366
SELECT * from t1 where f2=f1' at line 1
2367
CREATE PROCEDURE then()
2368
SELECT * from t1 where f2=f1;
2369
ERROR 42000: You 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()
2370
SELECT * from t1 where f2=f1' at line 1
2371
CREATE PROCEDURE tinyblob()
2372
SELECT * from t1 where f2=f1;
2373
ERROR 42000: You 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()
2374
SELECT * from t1 where f2=f1' at line 1
2375
CREATE PROCEDURE tinyint()
2376
SELECT * from t1 where f2=f1;
2377
ERROR 42000: You 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()
2378
SELECT * from t1 where f2=f1' at line 1
2379
CREATE PROCEDURE tinytext()
2380
SELECT * from t1 where f2=f1;
2381
ERROR 42000: You 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()
2382
SELECT * from t1 where f2=f1' at line 1
2383
CREATE PROCEDURE to()
2384
SELECT * from t1 where f2=f1;
2385
ERROR 42000: You 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()
2386
SELECT * from t1 where f2=f1' at line 1
2387
CREATE PROCEDURE trailing()
2388
SELECT * from t1 where f2=f1;
2389
ERROR 42000: You 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()
2390
SELECT * from t1 where f2=f1' at line 1
2391
CREATE PROCEDURE trigger()
2392
SELECT * from t1 where f2=f1;
2393
ERROR 42000: You 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()
2394
SELECT * from t1 where f2=f1' at line 1
2395
CREATE PROCEDURE true()
2396
SELECT * from t1 where f2=f1;
2397
ERROR 42000: You 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()
2398
SELECT * from t1 where f2=f1' at line 1
2399
CREATE PROCEDURE undo()
2400
SELECT * from t1 where f2=f1;
2401
ERROR 42000: You 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()
2402
SELECT * from t1 where f2=f1' at line 1
2403
CREATE PROCEDURE union()
2404
SELECT * from t1 where f2=f1;
2405
ERROR 42000: You 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()
2406
SELECT * from t1 where f2=f1' at line 1
2407
CREATE PROCEDURE unique()
2408
SELECT * from t1 where f2=f1;
2409
ERROR 42000: You 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()
2410
SELECT * from t1 where f2=f1' at line 1
2411
CREATE PROCEDURE unlock()
2412
SELECT * from t1 where f2=f1;
2413
ERROR 42000: You 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()
2414
SELECT * from t1 where f2=f1' at line 1
2415
CREATE PROCEDURE unsigned()
2416
SELECT * from t1 where f2=f1;
2417
ERROR 42000: You 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()
2418
SELECT * from t1 where f2=f1' at line 1
2419
CREATE PROCEDURE update()
2420
SELECT * from t1 where f2=f1;
2421
ERROR 42000: You 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()
2422
SELECT * from t1 where f2=f1' at line 1
2423
CREATE PROCEDURE usage()
2424
SELECT * from t1 where f2=f1;
2425
ERROR 42000: You 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()
2426
SELECT * from t1 where f2=f1' at line 1
2427
CREATE PROCEDURE use()
2428
SELECT * from t1 where f2=f1;
2429
ERROR 42000: You 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()
2430
SELECT * from t1 where f2=f1' at line 1
2431
CREATE PROCEDURE using()
2432
SELECT * from t1 where f2=f1;
2433
ERROR 42000: You 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()
2434
SELECT * from t1 where f2=f1' at line 1
2435
CREATE PROCEDURE utc_date()
2436
SELECT * from t1 where f2=f1;
2437
ERROR 42000: You 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()
2438
SELECT * from t1 where f2=f1' at line 1
2439
CREATE PROCEDURE utc_time()
2440
SELECT * from t1 where f2=f1;
2441
ERROR 42000: You 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()
2442
SELECT * from t1 where f2=f1' at line 1
2443
CREATE PROCEDURE utc_timestamp()
2444
SELECT * from t1 where f2=f1;
2445
ERROR 42000: You 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()
2446
SELECT * from t1 where f2=f1' at line 1
2447
CREATE PROCEDURE values()
2448
SELECT * from t1 where f2=f1;
2449
ERROR 42000: You 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()
2450
SELECT * from t1 where f2=f1' at line 1
2451
CREATE PROCEDURE varbinary()
2452
SELECT * from t1 where f2=f1;
2453
ERROR 42000: You 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()
2454
SELECT * from t1 where f2=f1' at line 1
2455
CREATE PROCEDURE varchar()
2456
SELECT * from t1 where f2=f1;
2457
ERROR 42000: You 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()
2458
SELECT * from t1 where f2=f1' at line 1
2459
CREATE PROCEDURE varcharacter()
2460
SELECT * from t1 where f2=f1;
2461
ERROR 42000: You 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()
2462
SELECT * from t1 where f2=f1' at line 1
2463
CREATE PROCEDURE varying()
2464
SELECT * from t1 where f2=f1;
2465
ERROR 42000: You 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()
2466
SELECT * from t1 where f2=f1' at line 1
2467
CREATE PROCEDURE when()
2468
SELECT * from t1 where f2=f1;
2469
ERROR 42000: You 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()
2470
SELECT * from t1 where f2=f1' at line 1
2471
CREATE PROCEDURE where()
2472
SELECT * from t1 where f2=f1;
2473
ERROR 42000: You 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()
2474
SELECT * from t1 where f2=f1' at line 1
2475
CREATE PROCEDURE while()
2476
SELECT * from t1 where f2=f1;
2477
ERROR 42000: You 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()
2478
SELECT * from t1 where f2=f1' at line 1
2479
CREATE PROCEDURE with()
2480
SELECT * from t1 where f2=f1;
2481
ERROR 42000: You 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()
2482
SELECT * from t1 where f2=f1' at line 1
2483
CREATE PROCEDURE write()
2484
SELECT * from t1 where f2=f1;
2485
ERROR 42000: You 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()
2486
SELECT * from t1 where f2=f1' at line 1
2487
CREATE PROCEDURE xor()
2488
SELECT * from t1 where f2=f1;
2489
ERROR 42000: You 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()
2490
SELECT * from t1 where f2=f1' at line 1
2491
CREATE PROCEDURE year_month()
2492
SELECT * from t1 where f2=f1;
2493
ERROR 42000: You 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()
2494
SELECT * from t1 where f2=f1' at line 1
2495
CREATE PROCEDURE zerofill()
2496
SELECT * from t1 where f2=f1;
2497
ERROR 42000: You 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()
2498
SELECT * from t1 where f2=f1' at line 1
2502
Ensure that any invalid function name is never accepted, and that an appropriate
2503
error message is returned when the name is rejected
2504
--------------------------------------------------------------------------------
2505
CREATE FUNCTION !_fn1(f1 char) returns char
2507
ERROR 42000: You 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
2508
return f1' at line 1
2509
CREATE FUNCTION char(f1 char) returns char
2511
ERROR 42000: You 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
2512
return f1' at line 1
2513
CREATE FUNCTION char binary(f1 char binary) returns char binary
2515
ERROR 42000: You 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
2516
return f1' at line 1
2517
CREATE FUNCTION char ascii(f1 char ascii) returns char ascii
2519
ERROR 42000: You 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
2520
return f1' at line 1
2521
CREATE FUNCTION char not null(f1 char not null) returns char not null
2523
ERROR 42000: You 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
2524
return f1' at line 1
2525
CREATE FUNCTION char binary not null(f1 char binary not null) returns char binary not null
2527
ERROR 42000: You 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
2529
CREATE FUNCTION char ascii not null(f1 char ascii not null) returns char ascii not null
2531
ERROR 42000: You 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
2533
CREATE FUNCTION tinytext(f1 tinytext) returns tinytext
2535
ERROR 42000: You 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
2536
return f1' at line 1
2537
CREATE FUNCTION text(f1 text) returns text
2540
CREATE FUNCTION mediumtext(f1 mediumtext) returns mediumtext
2542
ERROR 42000: You 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
2543
return f1' at line 1
2544
CREATE FUNCTION longtext(f1 longtext) returns longtext
2546
ERROR 42000: You 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
2547
return f1' at line 1
2548
CREATE FUNCTION tinytext not null(f1 tinytext not null) returns tinytext not null
2550
ERROR 42000: You 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
2551
return f1' at line 1
2552
CREATE FUNCTION text not null(f1 text not null) returns text not null
2554
ERROR 42000: You 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
2555
return f1' at line 1
2556
CREATE FUNCTION mediumtext not null(f1 mediumtext not null) returns mediumtext not null
2558
ERROR 42000: You 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
2560
CREATE FUNCTION longtext not null(f1 longtext not null) returns longtext not null
2562
ERROR 42000: You 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
2563
return f1' at line 1
2564
CREATE FUNCTION tinyblob(f1 tinyblob) returns tinyblob
2566
ERROR 42000: You 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
2567
return f1' at line 1
2568
CREATE FUNCTION blob(f1 blob) returns blob
2570
ERROR 42000: You 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
2571
return f1' at line 1
2572
CREATE FUNCTION mediumblob(f1 mediumblob) returns mediumblob
2574
ERROR 42000: You 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
2575
return f1' at line 1
2576
CREATE FUNCTION longblob(f1 longblob) returns longblob
2578
ERROR 42000: You 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
2579
return f1' at line 1
2580
CREATE FUNCTION tinyblob not null(f1 tinyblob not null) returns tinyblob not null
2582
ERROR 42000: You 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
2583
return f1' at line 1
2584
CREATE FUNCTION blob not null(f1 blob not null) returns blob not null
2586
ERROR 42000: You 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
2587
return f1' at line 1
2588
CREATE FUNCTION mediumblob not null(f1 mediumblob not null) returns mediumblob not null
2590
ERROR 42000: You 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
2592
CREATE FUNCTION longblob not null(f1 longblob not null) returns longblob not null
2594
ERROR 42000: You 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
2595
return f1' at line 1
2596
CREATE FUNCTION binary(f1 binary) returns binary
2598
ERROR 42000: You 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
2599
return f1' at line 1
2600
CREATE FUNCTION binary not null(f1 binary not null) returns binary not null
2602
ERROR 42000: You 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
2603
return f1' at line 1
2604
CREATE FUNCTION tinyint(f1 tinyint) returns tinyint
2606
ERROR 42000: You 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
2607
return f1' at line 1
2608
CREATE FUNCTION tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
2610
ERROR 42000: You 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
2611
return f1' at line 1
2612
CREATE FUNCTION tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
2614
ERROR 42000: You 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
2615
return f1' at line 1
2616
CREATE FUNCTION tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
2618
ERROR 42000: You 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
2619
CREATE FUNCTION smallint(f1 smallint) returns smallint
2621
ERROR 42000: You 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
2622
return f1' at line 1
2623
CREATE FUNCTION smallint unsigned(f1 smallint unsigned) returns smallint unsigned
2625
ERROR 42000: You 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
2626
return f1' at line 1
2627
CREATE FUNCTION smallint zerofill(f1 smallint zerofill) returns smallint zerofill
2629
ERROR 42000: You 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
2630
return f1' at line 1
2631
CREATE FUNCTION smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsigned zerofill
2633
ERROR 42000: You 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
2634
CREATE FUNCTION mediumint(f1 mediumint) returns mediumint
2636
ERROR 42000: You 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
2637
return f1' at line 1
2638
CREATE FUNCTION mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
2640
ERROR 42000: You 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
2641
return f1' at line 1
2642
CREATE FUNCTION mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
2644
ERROR 42000: You 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
2645
return f1' at line 1
2646
CREATE FUNCTION mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
2648
ERROR 42000: You 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
2649
CREATE FUNCTION int(f1 int) returns int
2651
ERROR 42000: You 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
2652
return f1' at line 1
2653
CREATE FUNCTION int1(f1 int1) returns int1
2655
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1(f1 int1) returns int1
2656
return f1' at line 1
2657
CREATE FUNCTION int2(f1 int2) returns int2
2659
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2(f1 int2) returns int2
2660
return f1' at line 1
2661
CREATE FUNCTION int3(f1 int3) returns int3
2663
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3(f1 int3) returns int3
2664
return f1' at line 1
2665
CREATE FUNCTION int4(f1 int4) returns int4
2667
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4(f1 int4) returns int4
2668
return f1' at line 1
2669
CREATE FUNCTION int8(f1 int8) returns int8
2671
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8(f1 int8) returns int8
2672
return f1' at line 1
2673
CREATE FUNCTION int unsigned(f1 int unsigned) returns int unsigned
2675
ERROR 42000: You 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
2676
return f1' at line 1
2677
CREATE FUNCTION int zerofill(f1 int zerofill) returns int zerofill
2679
ERROR 42000: You 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
2680
return f1' at line 1
2681
CREATE FUNCTION int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill
2683
ERROR 42000: You 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
2685
CREATE FUNCTION bigint(f1 bigint) returns bigint
2687
ERROR 42000: You 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
2688
return f1' at line 1
2689
CREATE FUNCTION bigint unsigned(f1 bigint unsigned) returns bigint unsigned
2691
ERROR 42000: You 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
2692
return f1' at line 1
2693
CREATE FUNCTION bigint zerofill(f1 bigint zerofill) returns bigint zerofill
2695
ERROR 42000: You 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
2696
return f1' at line 1
2697
CREATE FUNCTION bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned zerofill
2699
ERROR 42000: You 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
2700
CREATE FUNCTION decimal(f1 decimal) returns decimal
2702
ERROR 42000: You 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
2703
return f1' at line 1
2704
CREATE FUNCTION decimal unsigned(f1 decimal unsigned) returns decimal unsigned
2706
ERROR 42000: You 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
2707
return f1' at line 1
2708
CREATE FUNCTION decimal zerofill(f1 decimal zerofill) returns decimal zerofill
2710
ERROR 42000: You 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
2711
return f1' at line 1
2712
CREATE FUNCTION decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned zerofill
2714
ERROR 42000: You 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
2715
CREATE FUNCTION numeric(f1 numeric) returns numeric
2717
ERROR 42000: You 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
2718
return f1' at line 1
2719
CREATE FUNCTION numeric unsigned(f1 numeric unsigned) returns numeric unsigned
2721
ERROR 42000: You 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
2722
return f1' at line 1
2723
CREATE FUNCTION numeric zerofill(f1 numeric zerofill) returns numeric zerofill
2725
ERROR 42000: You 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
2726
return f1' at line 1
2727
CREATE FUNCTION numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned zerofill
2729
ERROR 42000: You 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
2730
CREATE FUNCTION real(f1 real) returns real
2732
ERROR 42000: You 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
2733
return f1' at line 1
2734
CREATE FUNCTION real unsigned(f1 real unsigned) returns real unsigned
2736
ERROR 42000: You 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
2737
return f1' at line 1
2738
CREATE FUNCTION real zerofill(f1 real zerofill) returns real zerofill
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 'real zerofill(f1 real zerofill) returns real zerofill
2741
return f1' at line 1
2742
CREATE FUNCTION real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill
2744
ERROR 42000: You 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
2745
CREATE FUNCTION float(f1 float) returns float
2747
ERROR 42000: You 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
2748
return f1' at line 1
2749
CREATE FUNCTION float unsigned(f1 float unsigned) returns float unsigned
2751
ERROR 42000: You 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
2752
return f1' at line 1
2753
CREATE FUNCTION float zerofill(f1 float zerofill) returns float zerofill
2755
ERROR 42000: You 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
2756
return f1' at line 1
2757
CREATE FUNCTION float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerofill
2759
ERROR 42000: You 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
2760
CREATE FUNCTION date(f1 date) returns date
2763
CREATE FUNCTION time(f1 time) returns time
2766
CREATE FUNCTION datetime(f1 datetime) returns datetime
2768
DROP FUNCTION datetime;
2769
CREATE FUNCTION timestamp(f1 timestamp) returns timestamp
2771
DROP FUNCTION timestamp;
2772
CREATE FUNCTION year(f1 year) returns year
2775
CREATE FUNCTION year(3)(f1 year(3)) returns year(3)
2777
ERROR 42000: You 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)
2778
return f1' at line 1
2779
CREATE FUNCTION year(4)(f1 year(4)) returns year(4)
2781
ERROR 42000: You 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)
2782
return f1' at line 1
2783
CREATE FUNCTION enum("1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
2785
ERROR 42000: You 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")
2787
CREATE FUNCTION set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
2789
ERROR 42000: You 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")
2791
DROP FUNCTION IF EXISTS fn1;
2793
Note 1305 FUNCTION fn1 does not exist
2794
CREATE FUNCTION fn1(f1 char ) returns char
2796
DROP FUNCTION IF EXISTS fn1;
2797
CREATE FUNCTION fn1(f1 char binary ) returns char binary
2799
ERROR 42000: This version of MySQL doesn't yet support 'return value collation'
2800
DROP FUNCTION IF EXISTS fn1;
2802
Note 1305 FUNCTION fn1 does not exist
2803
CREATE FUNCTION fn1(f1 char ascii ) returns char ascii
2805
DROP FUNCTION IF EXISTS fn1;
2806
CREATE FUNCTION fn1(f1 char not null ) returns char not null
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 'not null ) returns char not null
2809
return f1' at line 1
2810
DROP FUNCTION IF EXISTS fn1;
2812
Note 1305 FUNCTION fn1 does not exist
2813
CREATE FUNCTION fn1(f1 char binary not null ) returns char binary not null
2815
ERROR 42000: You 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 ) returns char binary not null
2816
return f1' at line 1
2817
DROP FUNCTION IF EXISTS fn1;
2819
Note 1305 FUNCTION fn1 does not exist
2820
CREATE FUNCTION fn1(f1 char ascii not null ) returns char ascii not null
2822
ERROR 42000: You 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 ) returns char ascii not null
2823
return f1' at line 1
2824
DROP FUNCTION IF EXISTS fn1;
2826
Note 1305 FUNCTION fn1 does not exist
2827
CREATE FUNCTION fn1(f1 tinytext ) returns tinytext
2829
DROP FUNCTION IF EXISTS fn1;
2830
CREATE FUNCTION fn1(f1 text ) returns text
2832
DROP FUNCTION IF EXISTS fn1;
2833
CREATE FUNCTION fn1(f1 mediumtext ) returns mediumtext
2835
DROP FUNCTION IF EXISTS fn1;
2836
CREATE FUNCTION fn1(f1 longtext ) returns longtext
2838
DROP FUNCTION IF EXISTS fn1;
2839
CREATE FUNCTION fn1(f1 tinytext not null ) returns tinytext not null
2841
ERROR 42000: You 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 ) returns tinytext not null
2842
return f1' at line 1
2843
DROP FUNCTION IF EXISTS fn1;
2845
Note 1305 FUNCTION fn1 does not exist
2846
CREATE FUNCTION fn1(f1 text not null ) returns text not null
2848
ERROR 42000: You 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 ) returns text not null
2849
return f1' at line 1
2850
DROP FUNCTION IF EXISTS fn1;
2852
Note 1305 FUNCTION fn1 does not exist
2853
CREATE FUNCTION fn1(f1 mediumtext not null ) returns mediumtext not null
2855
ERROR 42000: You 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 ) returns mediumtext not null
2856
return f1' at line 1
2857
DROP FUNCTION IF EXISTS fn1;
2859
Note 1305 FUNCTION fn1 does not exist
2860
CREATE FUNCTION fn1(f1 longtext not null ) returns longtext not null
2862
ERROR 42000: You 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 ) returns longtext not null
2863
return f1' at line 1
2864
DROP FUNCTION IF EXISTS fn1;
2866
Note 1305 FUNCTION fn1 does not exist
2867
CREATE FUNCTION fn1(f1 tinyblob ) returns tinyblob
2869
DROP FUNCTION IF EXISTS fn1;
2870
CREATE FUNCTION fn1(f1 blob ) returns blob
2872
DROP FUNCTION IF EXISTS fn1;
2873
CREATE FUNCTION fn1(f1 mediumblob ) returns mediumblob
2875
DROP FUNCTION IF EXISTS fn1;
2876
CREATE FUNCTION fn1(f1 longblob ) returns longblob
2878
DROP FUNCTION IF EXISTS fn1;
2879
CREATE FUNCTION fn1(f1 tinyblob not null ) returns tinyblob not null
2881
ERROR 42000: You 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 ) returns tinyblob not null
2882
return f1' at line 1
2883
DROP FUNCTION IF EXISTS fn1;
2885
Note 1305 FUNCTION fn1 does not exist
2886
CREATE FUNCTION fn1(f1 blob not null ) returns blob not null
2888
ERROR 42000: You 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 ) returns blob not null
2889
return f1' at line 1
2890
DROP FUNCTION IF EXISTS fn1;
2892
Note 1305 FUNCTION fn1 does not exist
2893
CREATE FUNCTION fn1(f1 mediumblob not null ) returns mediumblob not null
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 'not null ) returns mediumblob not null
2896
return f1' at line 1
2897
DROP FUNCTION IF EXISTS fn1;
2899
Note 1305 FUNCTION fn1 does not exist
2900
CREATE FUNCTION fn1(f1 longblob not null ) returns longblob not null
2902
ERROR 42000: You 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 ) returns longblob not null
2903
return f1' at line 1
2904
DROP FUNCTION IF EXISTS fn1;
2906
Note 1305 FUNCTION fn1 does not exist
2907
CREATE FUNCTION fn1(f1 binary ) returns binary
2909
DROP FUNCTION IF EXISTS fn1;
2910
CREATE FUNCTION fn1(f1 binary not null ) returns binary not null
2912
ERROR 42000: You 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 ) returns binary not null
2913
return f1' at line 1
2914
DROP FUNCTION IF EXISTS fn1;
2916
Note 1305 FUNCTION fn1 does not exist
2917
CREATE FUNCTION fn1(f1 tinyint ) returns tinyint
2919
DROP FUNCTION IF EXISTS fn1;
2920
CREATE FUNCTION fn1(f1 tinyint unsigned ) returns tinyint unsigned
2922
DROP FUNCTION IF EXISTS fn1;
2923
CREATE FUNCTION fn1(f1 tinyint zerofill ) returns tinyint zerofill
2925
DROP FUNCTION IF EXISTS fn1;
2926
CREATE FUNCTION fn1(f1 tinyint unsigned zerofill ) returns tinyint unsigned zerofill
2928
DROP FUNCTION IF EXISTS fn1;
2929
CREATE FUNCTION fn1(f1 smallint ) returns smallint
2931
DROP FUNCTION IF EXISTS fn1;
2932
CREATE FUNCTION fn1(f1 smallint unsigned ) returns smallint unsigned
2934
DROP FUNCTION IF EXISTS fn1;
2935
CREATE FUNCTION fn1(f1 smallint zerofill ) returns smallint zerofill
2937
DROP FUNCTION IF EXISTS fn1;
2938
CREATE FUNCTION fn1(f1 smallint unsigned zerofill ) returns smallint unsigned zerofill
2940
DROP FUNCTION IF EXISTS fn1;
2941
CREATE FUNCTION fn1(f1 mediumint ) returns mediumint
2943
DROP FUNCTION IF EXISTS fn1;
2944
CREATE FUNCTION fn1(f1 mediumint unsigned ) returns mediumint unsigned
2946
DROP FUNCTION IF EXISTS fn1;
2947
CREATE FUNCTION fn1(f1 mediumint zerofill ) returns mediumint zerofill
2949
DROP FUNCTION IF EXISTS fn1;
2950
CREATE FUNCTION fn1(f1 mediumint unsigned zerofill ) returns mediumint unsigned zerofill
2952
DROP FUNCTION IF EXISTS fn1;
2953
CREATE FUNCTION fn1(f1 int ) returns int
2955
DROP FUNCTION IF EXISTS fn1;
2956
CREATE FUNCTION fn1(f1 int unsigned ) returns int unsigned
2958
DROP FUNCTION IF EXISTS fn1;
2959
CREATE FUNCTION fn1(f1 int1 unsigned ) returns int1 unsigned
2961
DROP FUNCTION IF EXISTS fn1;
2962
CREATE FUNCTION fn1(f1 int2 unsigned ) returns int2 unsigned
2964
DROP FUNCTION IF EXISTS fn1;
2965
CREATE FUNCTION fn1(f1 int3 unsigned ) returns int3 unsigned
2967
DROP FUNCTION IF EXISTS fn1;
2968
CREATE FUNCTION fn1(f1 int4 unsigned ) returns int4 unsigned
2970
DROP FUNCTION IF EXISTS fn1;
2971
CREATE FUNCTION fn1(f1 int8 unsigned ) returns int8 unsigned
2973
DROP FUNCTION IF EXISTS fn1;
2974
CREATE FUNCTION fn1(f1 int zerofill ) returns int zerofill
2976
DROP FUNCTION IF EXISTS fn1;
2977
CREATE FUNCTION fn1(f1 int unsigned zerofill ) returns int unsigned zerofill
2979
DROP FUNCTION IF EXISTS fn1;
2980
CREATE FUNCTION fn1(f1 bigint ) returns bigint
2982
DROP FUNCTION IF EXISTS fn1;
2983
CREATE FUNCTION fn1(f1 bigint unsigned ) returns bigint unsigned
2985
DROP FUNCTION IF EXISTS fn1;
2986
CREATE FUNCTION fn1(f1 bigint zerofill ) returns bigint zerofill
2988
DROP FUNCTION IF EXISTS fn1;
2989
CREATE FUNCTION fn1(f1 bigint unsigned zerofill ) returns bigint unsigned zerofill
2991
DROP FUNCTION IF EXISTS fn1;
2992
CREATE FUNCTION fn1(f1 decimal ) returns decimal
2994
DROP FUNCTION IF EXISTS fn1;
2995
CREATE FUNCTION fn1(f1 decimal unsigned ) returns decimal unsigned
2997
DROP FUNCTION IF EXISTS fn1;
2998
CREATE FUNCTION fn1(f1 decimal zerofill ) returns decimal zerofill
3000
DROP FUNCTION IF EXISTS fn1;
3001
CREATE FUNCTION fn1(f1 decimal unsigned zerofill ) returns decimal unsigned zerofill
3003
DROP FUNCTION IF EXISTS fn1;
3004
CREATE FUNCTION fn1(f1 numeric ) returns numeric
3006
DROP FUNCTION IF EXISTS fn1;
3007
CREATE FUNCTION fn1(f1 numeric unsigned ) returns numeric unsigned
3009
DROP FUNCTION IF EXISTS fn1;
3010
CREATE FUNCTION fn1(f1 numeric zerofill ) returns numeric zerofill
3012
DROP FUNCTION IF EXISTS fn1;
3013
CREATE FUNCTION fn1(f1 numeric unsigned zerofill ) returns numeric unsigned zerofill
3015
DROP FUNCTION IF EXISTS fn1;
3016
CREATE FUNCTION fn1(f1 real ) returns real
3018
DROP FUNCTION IF EXISTS fn1;
3019
CREATE FUNCTION fn1(f1 real unsigned ) returns real unsigned
3021
DROP FUNCTION IF EXISTS fn1;
3022
CREATE FUNCTION fn1(f1 real zerofill ) returns real zerofill
3024
DROP FUNCTION IF EXISTS fn1;
3025
CREATE FUNCTION fn1(f1 real unsigned zerofill ) returns real unsigned zerofill
3027
DROP FUNCTION IF EXISTS fn1;
3028
CREATE FUNCTION fn1(f1 float ) returns float
3030
DROP FUNCTION IF EXISTS fn1;
3031
CREATE FUNCTION fn1(f1 float unsigned ) returns float unsigned
3033
DROP FUNCTION IF EXISTS fn1;
3034
CREATE FUNCTION fn1(f1 float zerofill ) returns float zerofill
3036
DROP FUNCTION IF EXISTS fn1;
3037
CREATE FUNCTION fn1(f1 float unsigned zerofill ) returns float unsigned zerofill
3039
DROP FUNCTION IF EXISTS fn1;
3040
CREATE FUNCTION fn1(f1 date ) returns date
3042
DROP FUNCTION IF EXISTS fn1;
3043
CREATE FUNCTION fn1(f1 time ) returns time
3045
DROP FUNCTION IF EXISTS fn1;
3046
CREATE FUNCTION fn1(f1 datetime ) returns datetime
3048
DROP FUNCTION IF EXISTS fn1;
3049
CREATE FUNCTION fn1(f1 timestamp ) returns timestamp
3051
DROP FUNCTION IF EXISTS fn1;
3052
CREATE FUNCTION fn1(f1 year ) returns year
3054
DROP FUNCTION IF EXISTS fn1;
3055
CREATE FUNCTION fn1(f1 year(f1 3) ) returns year(3)
3057
ERROR 42000: You 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 3) ) returns year(3)
3058
return f1' at line 1
3059
DROP FUNCTION IF EXISTS fn1;
3061
Note 1305 FUNCTION fn1 does not exist
3062
CREATE FUNCTION fn1(f1 year(f1 4) ) returns year(4)
3064
ERROR 42000: You 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 4) ) returns year(4)
3065
return f1' at line 1
3066
DROP FUNCTION IF EXISTS fn1;
3068
Note 1305 FUNCTION fn1 does not exist
3069
CREATE FUNCTION fn1(f1 enum(f1 "1enum", "2enum") ) returns enum("1enum", "2enum")
3071
ERROR 42000: You 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 "1enum", "2enum") ) returns enum("1enum", "2enum")
3072
return f1' at line 1
3073
DROP FUNCTION IF EXISTS fn1;
3075
Note 1305 FUNCTION fn1 does not exist
3076
CREATE FUNCTION fn1(f1 set(f1 "1set", "2set") ) returns set("1set", "2set")
3078
ERROR 42000: You 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 "1set", "2set") ) returns set("1set", "2set")
3079
return f1' at line 1
3083
Ensure that a reference to a non-existent stored procedure is rejected with an
3084
appropriate error message
3085
--------------------------------------------------------------------------------
3086
DROP PROCEDURE IF EXISTS sp16;
3088
Note 1305 PROCEDURE sp16 does not exist
3090
ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3091
CREATE DATABASE db1;
3093
CREATE PROCEDURE sp16()
3098
CALL db_storedproc.sp16();
3099
ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3101
DROP PROCEDURE db1.sp16;
3106
Ensure that it is possible to drop, create and CALL/execute a procedure and a
3107
function with the same name, even in the same database
3108
--------------------------------------------------------------------------------
3110
DROP FUNCTION IF EXISTS sp1;
3112
Note 1305 FUNCTION sp1 does not exist
3113
DROP PROCEDURE IF EXISTS sp1;
3115
Note 1305 PROCEDURE sp1 does not exist
3116
CREATE PROCEDURE sp1 ()
3118
declare x enum( 'db1', 'test' ) default 'test';
3124
CREATE FUNCTION sp1 (y char) returns char return y;
3128
DROP DATABASE IF EXISTS db1;
3130
Note 1008 Can't drop database 'db1'; database doesn't exist
3131
CREATE DATABASE db1;
3133
CALL db_storedproc.sp1( );
3136
SELECT db_storedproc.sp1( 'a' );
3137
db_storedproc.sp1( 'a' )
3139
DROP FUNCTION db_storedproc.sp1;
3142
ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3145
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3147
ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3153
Ensure that it is possible to alter a procedure and
3154
a function with the same name, in the same database
3155
--------------------------------------------------------------------------------
3157
DROP PROCEDURE IF EXISTS sp1;
3159
Note 1305 PROCEDURE sp1 does not exist
3160
DROP FUNCTION IF EXISTS sp1;
3162
Note 1305 FUNCTION sp1 does not exist
3165
CREATE PROCEDURE sp1()
3170
CREATE FUNCTION sp1 () returns int return 2.2;
3171
CALL db_storedproc.sp1();
3174
SELECT db_storedproc.sp1();
3177
DROP DATABASE IF EXISTS db1;
3179
Note 1008 Can't drop database 'db1'; database doesn't exist
3180
CREATE DATABASE db1;
3182
alter procedure db_storedproc.sp1 sql security invoker;
3183
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3184
name type security_type
3185
sp1 FUNCTION DEFINER
3186
sp1 PROCEDURE INVOKER
3187
alter function db_storedproc.sp1 sql security invoker;
3188
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3189
name type security_type
3190
sp1 FUNCTION INVOKER
3191
sp1 PROCEDURE INVOKER
3192
CALL db_storedproc.sp1();
3195
SELECT db_storedproc.sp1();
3199
alter procedure sp1 sql security definer;
3200
CALL db_storedproc.sp1();
3203
SELECT db_storedproc.sp1();
3206
alter function sp1 sql security definer;
3207
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3208
name type security_type
3209
sp1 FUNCTION DEFINER
3210
sp1 PROCEDURE DEFINER
3211
CALL db_storedproc.sp1();
3214
SELECT db_storedproc.sp1();
3219
DROP PROCEDURE db_storedproc.sp1;
3220
DROP FUNCTION db_storedproc.sp1;
3224
verify altering procedure and function with the same name, does not affect
3225
properties of a procedure and a function with the same name in the different
3227
--------------------------------------------------------------------------------
3228
DROP DATABASE IF EXISTS db_storedproc_3122;
3229
CREATE DATABASE db_storedproc_3122;
3233
DROP PROCEDURE IF EXISTS sp1;
3235
Note 1305 PROCEDURE sp1 does not exist
3236
DROP FUNCTION IF EXISTS sp1;
3238
Note 1305 FUNCTION sp1 does not exist
3239
DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
3241
Note 1305 PROCEDURE sp1 does not exist
3242
DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
3244
Note 1305 FUNCTION sp1 does not exist
3245
CREATE PROCEDURE sp1()
3250
CREATE FUNCTION db_storedproc_3122.sp1() returns double return 2.2;
3254
SELECT db_storedproc_3122.sp1();
3255
db_storedproc_3122.sp1()
3257
USE db_storedproc_3122;
3258
CREATE PROCEDURE sp1 ()
3263
CREATE FUNCTION db_storedproc.sp1() returns double return 4.4;
3267
SELECT db_storedproc.sp1();
3270
alter procedure db_storedproc_3122.sp1 sql security invoker;
3271
alter function sp1 sql security invoker;
3272
SELECT db, name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3273
db name type security_type
3274
db_storedproc sp1 FUNCTION DEFINER
3275
db_storedproc sp1 PROCEDURE DEFINER
3276
db_storedproc_3122 sp1 FUNCTION INVOKER
3277
db_storedproc_3122 sp1 PROCEDURE INVOKER
3278
CALL db_storedproc.sp1();
3281
SELECT db_storedproc.sp1();
3284
CALL db_storedproc_3122.sp1();
3287
SELECT db_storedproc_3122.sp1();
3288
db_storedproc_3122.sp1()
3291
DROP DATABASE db_storedproc_3122;
3292
DROP FUNCTION db_storedproc.sp1;
3293
DROP PROCEDURE db_storedproc.sp1;
3297
Ensure that it is possible to alter the comment of a procedure
3298
and a function with the same name, even in the same database
3299
--------------------------------------------------------------------------------
3302
DROP PROCEDURE IF EXISTS sp1;
3303
DROP FUNCTION IF EXISTS sp1;
3304
CREATE PROCEDURE sp1 () set @x= 1;
3305
CREATE FUNCTION sp1 () returns int return 2;
3306
DROP DATABASE IF EXISTS db_storedproc_3122;
3308
Note 1008 Can't drop database 'db_storedproc_3122'; database doesn't exist
3309
CREATE DATABASE db_storedproc_3122;
3310
USE db_storedproc_3122;
3311
CREATE PROCEDURE sp1 () set @x= 3;
3312
CREATE FUNCTION sp1 () returns int return 4;
3313
alter procedure sp1 sql security invoker comment 'this is a procedure';
3314
alter function sp1 sql security invoker comment 'this is a function';
3315
alter procedure sp1 sql security definer;
3316
alter function sp1 sql security definer;
3317
show CREATE PROCEDURE sp1;
3318
Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
3319
sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`()
3320
COMMENT 'this is a procedure'
3321
set @x= 3 latin1 modified created
3322
show CREATE FUNCTION sp1;
3323
Function sql_mode Create Function character_set_client collation_connection Database Collation
3324
sp1 CREATE DEFINER=`root`@`localhost` FUNCTION `sp1`() RETURNS int(11)
3325
COMMENT 'this is a function'
3326
return 4 latin1 modified created
3328
DROP DATABASE db_storedproc_3122;
3329
DROP FUNCTION db_storedproc.sp1;
3330
DROP PROCEDURE db_storedproc.sp1;
3334
Ensure that it is not possible to create two procedures with same name
3336
--------------------------------------------------------------------------------
3340
DROP DATABASE IF EXISTS db1;
3341
CREATE DATABASE db1;
3342
DROP PROCEDURE IF EXISTS sp1;
3344
Note 1305 PROCEDURE sp1 does not exist
3345
CREATE PROCEDURE sp1 () set @x=1;
3346
CREATE PROCEDURE sp1 () set @x=2;
3347
ERROR 42000: PROCEDURE sp1 already exists
3353
CREATE PROCEDURE db_storedproc.sp1 () set @x=3;
3354
ERROR 42000: PROCEDURE sp1 already exists
3355
CALL db_storedproc.sp1();
3359
DROP PROCEDURE IF EXISTS db_storedproc.sp1;
3360
CREATE PROCEDURE db_storedproc.sp1 () set @x=1;
3361
CREATE PROCEDURE db_storedproc.sp1 () set @x=2;
3362
ERROR 42000: PROCEDURE sp1 already exists
3363
CALL db_storedproc.sp1();
3369
DROP PROCEDURE db_storedproc.sp1;
3373
Ensure that it is not possible to create two functions with same name in the
3375
--------------------------------------------------------------------------------
3377
DROP DATABASE IF EXISTS db1;
3379
Note 1008 Can't drop database 'db1'; database doesn't exist
3380
CREATE DATABASE db1;
3381
DROP FUNCTION IF EXISTS fn1;
3383
Note 1305 FUNCTION fn1 does not exist
3384
CREATE FUNCTION fn1 () returns int return 1;
3385
CREATE FUNCTION fn1 () returns int return 2;
3386
ERROR 42000: FUNCTION fn1 already exists
3391
CREATE FUNCTION db_storedproc.fn1 () returns int return 3;
3392
ERROR 42000: FUNCTION fn1 already exists
3393
SELECT db_storedproc.fn1();
3396
DROP FUNCTION IF EXISTS db_storedproc.fn1;
3397
CREATE FUNCTION db_storedproc.fn1 () returns int return 1;
3398
CREATE FUNCTION db_storedproc.fn1 () returns int return 2;
3399
ERROR 42000: FUNCTION fn1 already exists
3400
SELECT db_storedproc.fn1();
3405
DROP FUNCTION db_storedproc.fn1;
3409
Ensure that it is possible to create two or more procedures with the same name,
3410
providing each resides in different databases
3411
--------------------------------------------------------------------------------
3415
DROP PROCEDURE IF EXISTS sp1;
3417
Note 1305 PROCEDURE sp1 does not exist
3418
CREATE PROCEDURE sp1 () set @x= 1;
3419
DROP DATABASE IF EXISTS test3124;
3421
Note 1008 Can't drop database 'test3124'; database doesn't exist
3422
CREATE DATABASE test3124;
3424
CREATE PROCEDURE sp1 () set @y= 2;
3435
DROP DATABASE test3124;
3436
DROP PROCEDURE db_storedproc.sp1;
3440
Ensure that it is possible to create two or more functions with the same name,
3441
providing each resides in different databases.
3442
--------------------------------------------------------------------------------
3444
DROP FUNCTION IF EXISTS f1;
3446
Note 1305 FUNCTION f1 does not exist
3447
CREATE FUNCTION f1 () returns int return 1;
3448
DROP DATABASE IF EXISTS test3125;
3450
Note 1008 Can't drop database 'test3125'; database doesn't exist
3451
CREATE DATABASE test3125;
3453
CREATE FUNCTION f1 () returns int return 2;
3462
DROP DATABASE test3125;
3463
DROP FUNCTION db_storedproc.f1;
3467
Ensure that any invalid function name is never accepted, and that an appropriate
3468
error message is returned when the name is rejected. (invalid func name)
3469
--------------------------------------------------------------------------------
3470
CREATE FUNCTION !_fn1( f1 char(20) ) returns int
3472
SELECT * from t1 where f2 = f1;
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 '!_fn1( f1 char(20) ) returns int
3477
SELECT * from t1 where f2 = f1;
3478
return 1;' at line 1
3479
CREATE FUNCTION fn1( f1 char(20) ) return int
3481
SELECT * from t1 where f2 = f1;
3484
ERROR 42000: You 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
3486
SELECT * from t1 where f2 = f1;
3489
CREATE FUNCTION fn1() returns int
3491
CREATE FUNCTION procedure() returns int
3493
ERROR 42000: You 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
3495
CREATE FUNCTION fn1(a char) returns int lang sql return 1;
3496
ERROR 42000: You 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
3497
CREATE FUNCTION fn1(a char) returns int deterministic( return 1);
3498
ERROR 42000: You 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
3499
CREATE FUNCTION fn1(a char) returns int non deterministic return 1;
3500
ERROR 42000: You 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
3501
CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1;
3502
ERROR 42000: You 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
3503
DROP FUNCTION IF EXISTS fn1;
3507
Ensure that all clauses that should be supported are supported.
3509
--------------------------------------------------------------------------------
3512
DROP PROCEDURE IF EXISTS sp1;
3513
CREATE PROCEDURE sp1(cnt int(20))
3515
SELECT count(*) into cnt from t2;
3526
--------------------------------------------------------------------------------
3527
DROP PROCEDURE IF EXISTS sp1;
3528
CREATE PROCEDURE sp1( cnt int(20) )
3530
SELECT count(*) into cnt from t2;
3537
DROP PROCEDURE IF EXISTS sp1;
3538
CREATE PROCEDURE sp1( cnt int(20) )
3539
SELECT count(*) into cnt from t2;
3543
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
3548
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3549
DROP PROCEDURE IF EXISTS sp1;
3550
CREATE PROCEDURE sp1( cnt int(20) )
3552
SELECT count(*) into cnt from t2;
3556
ERROR 42000: You 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
3557
SELECT count(*) into cnt from t2;
3562
ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3563
DROP PROCEDURE IF EXISTS sp1;
3564
CREATE PROCEDURE sp1( cnt int(20) )
3566
SELECT count(*) into cnt from t2;
3574
ERROR 42000: You 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
3578
Ensure that every BEGIN statement is coupled with a terminating END statement.
3580
--------------------------------------------------------------------------------
3581
DROP PROCEDURE IF EXISTS sp1;
3582
CREATE PROCEDURE sp1( )
3586
SELECT f1, f2 into x, y from t2 limit 1;
3592
--------------------------------------------------------------------------------
3593
DROP PROCEDURE IF EXISTS sp1;
3594
CREATE PROCEDURE sp1()
3598
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible:BEGIN
3601
DROP PROCEDURE IF EXISTS sp1;
3602
CREATE PROCEDURE sp1()
3606
ERROR 42000: You 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
3609
DROP PROCEDURE IF EXISTS sp1;
3610
CREATE PROCEDURE sp1()
3614
ERROR 42000: You 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
3617
DROP PROCEDURE IF EXISTS sp1;
3618
CREATE PROCEDURE sp1()
3622
ERROR 0A000: ALTER VIEW is not allowed in stored procedures
3623
DROP PROCEDURE IF EXISTS sp1;
3624
CREATE PROCEDURE sp1()
3628
ERROR 42000: You 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
3631
DROP PROCEDURE IF EXISTS sp1;
3632
CREATE PROCEDURE sp1()
3636
ERROR 42000: You 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
3639
DROP PROCEDURE IF EXISTS sp1;
3640
CREATE PROCEDURE sp1()
3644
ERROR 42000: You 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
3647
DROP PROCEDURE IF EXISTS sp1;
3648
CREATE PROCEDURE sp1()
3652
ERROR 42000: You 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
3655
DROP PROCEDURE IF EXISTS sp1;
3656
CREATE PROCEDURE sp1()
3660
ERROR 42000: You 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
3663
DROP PROCEDURE IF EXISTS sp1;
3664
CREATE PROCEDURE sp1()
3668
ERROR 42000: You 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
3671
DROP PROCEDURE IF EXISTS sp1;
3672
CREATE PROCEDURE sp1()
3676
ERROR 42000: You 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
3679
DROP PROCEDURE IF EXISTS sp1;
3680
CREATE PROCEDURE sp1()
3684
ERROR 42000: You 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
3687
DROP PROCEDURE IF EXISTS sp1;
3688
CREATE PROCEDURE sp1()
3692
ERROR 42000: You 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
3695
DROP PROCEDURE IF EXISTS sp1;
3696
CREATE PROCEDURE sp1()
3700
ERROR 42000: You 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
3703
DROP PROCEDURE IF EXISTS sp1;
3704
CREATE PROCEDURE sp1()
3708
ERROR 42000: You 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
3711
DROP PROCEDURE IF EXISTS sp1;
3712
CREATE PROCEDURE sp1()
3716
ERROR 42000: You 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
3719
DROP PROCEDURE IF EXISTS sp1;
3720
CREATE PROCEDURE sp1()
3724
ERROR 42000: You 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
3727
DROP PROCEDURE IF EXISTS sp1;
3728
CREATE PROCEDURE sp1()
3732
ERROR 42000: You 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
3735
DROP PROCEDURE IF EXISTS sp1;
3736
CREATE PROCEDURE sp1()
3740
ERROR 42000: You 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
3743
DROP PROCEDURE IF EXISTS sp1;
3744
CREATE PROCEDURE sp1()
3748
ERROR 42000: You 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
3751
DROP PROCEDURE IF EXISTS sp1;
3752
CREATE PROCEDURE sp1()
3756
ERROR 42000: You 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
3759
DROP PROCEDURE IF EXISTS sp1;
3760
CREATE PROCEDURE sp1()
3764
ERROR 42000: You 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
3767
DROP PROCEDURE IF EXISTS sp1;
3768
CREATE PROCEDURE sp1()
3772
ERROR 42000: You 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
3775
DROP PROCEDURE IF EXISTS sp1;
3776
CREATE PROCEDURE sp1()
3780
ERROR 42000: You 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
3783
DROP PROCEDURE IF EXISTS sp1;
3784
CREATE PROCEDURE sp1()
3788
ERROR 42000: You 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
3791
DROP PROCEDURE IF EXISTS sp1;
3792
CREATE PROCEDURE sp1()
3796
ERROR 42000: You 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
3799
DROP PROCEDURE IF EXISTS sp1;
3800
CREATE PROCEDURE sp1()
3804
ERROR 42000: You 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
3807
DROP PROCEDURE IF EXISTS sp1;
3808
CREATE PROCEDURE sp1()
3812
ERROR 42000: You 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
3815
DROP PROCEDURE IF EXISTS sp1;
3816
CREATE PROCEDURE sp1()
3820
ERROR 42000: You 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
3823
DROP PROCEDURE IF EXISTS sp1;
3824
CREATE PROCEDURE sp1()
3828
ERROR 42000: You 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
3831
DROP PROCEDURE IF EXISTS sp1;
3832
CREATE PROCEDURE sp1()
3836
ERROR 42000: You 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
3839
DROP PROCEDURE IF EXISTS sp1;
3840
CREATE PROCEDURE sp1()
3844
ERROR 42000: You 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
3847
DROP PROCEDURE IF EXISTS sp1;
3848
CREATE PROCEDURE sp1()
3852
ERROR 42000: You 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
3855
DROP PROCEDURE IF EXISTS sp1;
3856
CREATE PROCEDURE sp1()
3857
current_timestamp:BEGIN
3860
ERROR 42000: You 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
3863
DROP PROCEDURE IF EXISTS sp1;
3864
CREATE PROCEDURE sp1()
3868
ERROR 42000: You 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
3871
DROP PROCEDURE IF EXISTS sp1;
3872
CREATE PROCEDURE sp1()
3876
ERROR 42000: You 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
3879
DROP PROCEDURE IF EXISTS sp1;
3880
CREATE PROCEDURE sp1()
3884
ERROR 42000: You 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
3887
DROP PROCEDURE IF EXISTS sp1;
3888
CREATE PROCEDURE sp1()
3892
ERROR 42000: You 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
3895
DROP PROCEDURE IF EXISTS sp1;
3896
CREATE PROCEDURE sp1()
3900
ERROR 42000: You 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
3903
DROP PROCEDURE IF EXISTS sp1;
3904
CREATE PROCEDURE sp1()
3905
day_microsecond:BEGIN
3908
ERROR 42000: You 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
3911
DROP PROCEDURE IF EXISTS sp1;
3912
CREATE PROCEDURE sp1()
3916
ERROR 42000: You 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
3919
DROP PROCEDURE IF EXISTS sp1;
3920
CREATE PROCEDURE sp1()
3924
ERROR 42000: You 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
3927
DROP PROCEDURE IF EXISTS sp1;
3928
CREATE PROCEDURE sp1()
3932
ERROR 42000: You 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
3935
DROP PROCEDURE IF EXISTS sp1;
3936
CREATE PROCEDURE sp1()
3940
ERROR 42000: You 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
3943
DROP PROCEDURE IF EXISTS sp1;
3944
CREATE PROCEDURE sp1()
3948
ERROR 42000: You 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
3951
DROP PROCEDURE IF EXISTS sp1;
3952
CREATE PROCEDURE sp1()
3956
ERROR 42000: You 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
3959
DROP PROCEDURE IF EXISTS sp1;
3960
CREATE PROCEDURE sp1()
3964
ERROR 42000: You 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
3967
DROP PROCEDURE IF EXISTS sp1;
3968
CREATE PROCEDURE sp1()
3972
ERROR 42000: You 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
3975
DROP PROCEDURE IF EXISTS sp1;
3976
CREATE PROCEDURE sp1()
3980
ERROR 42000: You 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
3983
DROP PROCEDURE IF EXISTS sp1;
3984
CREATE PROCEDURE sp1()
3988
ERROR 42000: You 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
3991
DROP PROCEDURE IF EXISTS sp1;
3992
CREATE PROCEDURE sp1()
3996
ERROR 42000: You 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
3999
DROP PROCEDURE IF EXISTS sp1;
4000
CREATE PROCEDURE sp1()
4004
ERROR 42000: You 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
4007
DROP PROCEDURE IF EXISTS sp1;
4008
CREATE PROCEDURE sp1()
4012
ERROR 42000: You 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
4015
DROP PROCEDURE IF EXISTS sp1;
4016
CREATE PROCEDURE sp1()
4020
ERROR 42000: You 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
4023
DROP PROCEDURE IF EXISTS sp1;
4024
CREATE PROCEDURE sp1()
4028
ERROR 42000: You 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
4031
DROP PROCEDURE IF EXISTS sp1;
4032
CREATE PROCEDURE sp1()
4036
ERROR 42000: You 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
4039
DROP PROCEDURE IF EXISTS sp1;
4040
CREATE PROCEDURE sp1()
4044
ERROR 42000: You 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
4047
DROP PROCEDURE IF EXISTS sp1;
4048
CREATE PROCEDURE sp1()
4052
ERROR 42000: You 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
4055
DROP PROCEDURE IF EXISTS sp1;
4056
CREATE PROCEDURE sp1()
4060
ERROR 42000: You 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
4063
DROP PROCEDURE IF EXISTS sp1;
4064
CREATE PROCEDURE sp1()
4068
ERROR 42000: You 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
4071
DROP PROCEDURE IF EXISTS sp1;
4072
CREATE PROCEDURE sp1()
4076
ERROR 42000: You 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
4079
DROP PROCEDURE IF EXISTS sp1;
4080
CREATE PROCEDURE sp1()
4084
ERROR 42000: You 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
4087
DROP PROCEDURE IF EXISTS sp1;
4088
CREATE PROCEDURE sp1()
4092
ERROR 42000: You 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
4095
DROP PROCEDURE IF EXISTS sp1;
4096
CREATE PROCEDURE sp1()
4100
ERROR 42000: You 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
4103
DROP PROCEDURE IF EXISTS sp1;
4104
CREATE PROCEDURE sp1()
4108
ERROR 42000: You 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
4111
DROP PROCEDURE IF EXISTS sp1;
4112
CREATE PROCEDURE sp1()
4116
ERROR 42000: You 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
4119
DROP PROCEDURE IF EXISTS sp1;
4120
CREATE PROCEDURE sp1()
4124
ERROR 42000: You 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
4127
DROP PROCEDURE IF EXISTS sp1;
4128
CREATE PROCEDURE sp1()
4132
ERROR 42000: You 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
4135
DROP PROCEDURE IF EXISTS sp1;
4136
CREATE PROCEDURE sp1()
4140
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4:BEGIN
4143
DROP PROCEDURE IF EXISTS sp1;
4144
CREATE PROCEDURE sp1()
4148
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8:BEGIN
4151
DROP PROCEDURE IF EXISTS sp1;
4152
CREATE PROCEDURE sp1()
4156
ERROR 42000: You 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
4159
DROP PROCEDURE IF EXISTS sp1;
4160
CREATE PROCEDURE sp1()
4164
ERROR 42000: You 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
4167
DROP PROCEDURE IF EXISTS sp1;
4168
CREATE PROCEDURE sp1()
4172
ERROR 42000: You 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
4175
DROP PROCEDURE IF EXISTS sp1;
4176
CREATE PROCEDURE sp1()
4180
ERROR 42000: You 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
4183
DROP PROCEDURE IF EXISTS sp1;
4184
CREATE PROCEDURE sp1()
4188
ERROR 42000: You 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
4191
DROP PROCEDURE IF EXISTS sp1;
4192
CREATE PROCEDURE sp1()
4196
ERROR 42000: You 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
4199
DROP PROCEDURE IF EXISTS sp1;
4200
CREATE PROCEDURE sp1()
4204
ERROR 42000: You 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
4207
DROP PROCEDURE IF EXISTS sp1;
4208
CREATE PROCEDURE sp1()
4212
ERROR 42000: You 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
4215
DROP PROCEDURE IF EXISTS sp1;
4216
CREATE PROCEDURE sp1()
4220
ERROR 42000: You 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
4223
DROP PROCEDURE IF EXISTS sp1;
4224
CREATE PROCEDURE sp1()
4225
hour_microsecond:BEGIN
4228
ERROR 42000: You 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
4231
DROP PROCEDURE IF EXISTS sp1;
4232
CREATE PROCEDURE sp1()
4236
ERROR 42000: You 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
4239
DROP PROCEDURE IF EXISTS sp1;
4240
CREATE PROCEDURE sp1()
4244
ERROR 42000: You 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
4247
DROP PROCEDURE IF EXISTS sp1;
4248
CREATE PROCEDURE sp1()
4252
ERROR 42000: You 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
4255
DROP PROCEDURE IF EXISTS sp1;
4256
CREATE PROCEDURE sp1()
4260
ERROR 42000: You 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
4263
DROP PROCEDURE IF EXISTS sp1;
4264
CREATE PROCEDURE sp1()
4268
ERROR 42000: You 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
4271
DROP PROCEDURE IF EXISTS sp1;
4272
CREATE PROCEDURE sp1()
4276
ERROR 42000: You 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
4279
DROP PROCEDURE IF EXISTS sp1;
4280
CREATE PROCEDURE sp1()
4284
ERROR 42000: You 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
4287
DROP PROCEDURE IF EXISTS sp1;
4288
CREATE PROCEDURE sp1()
4292
ERROR 42000: You 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
4295
DROP PROCEDURE IF EXISTS sp1;
4296
CREATE PROCEDURE sp1()
4300
ERROR 42000: You 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
4303
DROP PROCEDURE IF EXISTS sp1;
4304
CREATE PROCEDURE sp1()
4308
ERROR 42000: You 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
4311
DROP PROCEDURE IF EXISTS sp1;
4312
CREATE PROCEDURE sp1()
4316
ERROR 42000: You 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
4319
DROP PROCEDURE IF EXISTS sp1;
4320
CREATE PROCEDURE sp1()
4324
ERROR 42000: You 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
4327
DROP PROCEDURE IF EXISTS sp1;
4328
CREATE PROCEDURE sp1()
4332
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1:BEGIN
4335
DROP PROCEDURE IF EXISTS sp1;
4336
CREATE PROCEDURE sp1()
4340
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2:BEGIN
4343
DROP PROCEDURE IF EXISTS sp1;
4344
CREATE PROCEDURE sp1()
4348
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3:BEGIN
4351
DROP PROCEDURE IF EXISTS sp1;
4352
CREATE PROCEDURE sp1()
4356
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4:BEGIN
4359
DROP PROCEDURE IF EXISTS sp1;
4360
CREATE PROCEDURE sp1()
4364
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8:BEGIN
4367
DROP PROCEDURE IF EXISTS sp1;
4368
CREATE PROCEDURE sp1()
4372
ERROR 42000: You 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
4375
DROP PROCEDURE IF EXISTS sp1;
4376
CREATE PROCEDURE sp1()
4380
ERROR 42000: You 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
4383
DROP PROCEDURE IF EXISTS sp1;
4384
CREATE PROCEDURE sp1()
4388
ERROR 42000: You 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
4391
DROP PROCEDURE IF EXISTS sp1;
4392
CREATE PROCEDURE sp1()
4396
ERROR 42000: You 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
4399
DROP PROCEDURE IF EXISTS sp1;
4400
CREATE PROCEDURE sp1()
4404
ERROR 42000: You 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
4407
DROP PROCEDURE IF EXISTS sp1;
4408
CREATE PROCEDURE sp1()
4412
ERROR 42000: You 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
4415
DROP PROCEDURE IF EXISTS sp1;
4416
CREATE PROCEDURE sp1()
4420
ERROR 42000: You 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
4423
DROP PROCEDURE IF EXISTS sp1;
4424
CREATE PROCEDURE sp1()
4428
ERROR 42000: You 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
4431
DROP PROCEDURE IF EXISTS sp1;
4432
CREATE PROCEDURE sp1()
4436
ERROR 42000: You 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
4439
DROP PROCEDURE IF EXISTS sp1;
4440
CREATE PROCEDURE sp1()
4444
ERROR 42000: You 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
4447
DROP PROCEDURE IF EXISTS sp1;
4448
CREATE PROCEDURE sp1()
4452
ERROR 42000: You 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
4455
DROP PROCEDURE IF EXISTS sp1;
4456
CREATE PROCEDURE sp1()
4460
ERROR 42000: You 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
4463
DROP PROCEDURE IF EXISTS sp1;
4464
CREATE PROCEDURE sp1()
4468
ERROR 42000: You 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
4471
DROP PROCEDURE IF EXISTS sp1;
4472
CREATE PROCEDURE sp1()
4476
ERROR 42000: You 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
4479
DROP PROCEDURE IF EXISTS sp1;
4480
CREATE PROCEDURE sp1()
4484
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear:BEGIN
4487
DROP PROCEDURE IF EXISTS sp1;
4488
CREATE PROCEDURE sp1()
4492
ERROR 42000: You 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
4495
DROP PROCEDURE IF EXISTS sp1;
4496
CREATE PROCEDURE sp1()
4500
ERROR 42000: You 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
4503
DROP PROCEDURE IF EXISTS sp1;
4504
CREATE PROCEDURE sp1()
4508
ERROR 42000: You 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
4511
DROP PROCEDURE IF EXISTS sp1;
4512
CREATE PROCEDURE sp1()
4513
localtimestamp:BEGIN
4516
ERROR 42000: You 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
4519
DROP PROCEDURE IF EXISTS sp1;
4520
CREATE PROCEDURE sp1()
4524
ERROR 42000: You 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
4527
DROP PROCEDURE IF EXISTS sp1;
4528
CREATE PROCEDURE sp1()
4532
ERROR 42000: You 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
4535
DROP PROCEDURE IF EXISTS sp1;
4536
CREATE PROCEDURE sp1()
4540
ERROR 42000: You 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
4543
DROP PROCEDURE IF EXISTS sp1;
4544
CREATE PROCEDURE sp1()
4548
ERROR 42000: You 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
4551
DROP PROCEDURE IF EXISTS sp1;
4552
CREATE PROCEDURE sp1()
4556
ERROR 42000: You 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
4559
DROP PROCEDURE IF EXISTS sp1;
4560
CREATE PROCEDURE sp1()
4564
ERROR 42000: You 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
4567
DROP PROCEDURE IF EXISTS sp1;
4568
CREATE PROCEDURE sp1()
4569
master_ssl_verify_server_cert:BEGIN
4572
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert:BEGIN
4575
DROP PROCEDURE IF EXISTS sp1;
4576
CREATE PROCEDURE sp1()
4580
ERROR 42000: You 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
4583
DROP PROCEDURE IF EXISTS sp1;
4584
CREATE PROCEDURE sp1()
4588
ERROR 42000: You 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
4591
DROP PROCEDURE IF EXISTS sp1;
4592
CREATE PROCEDURE sp1()
4596
ERROR 42000: You 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
4599
DROP PROCEDURE IF EXISTS sp1;
4600
CREATE PROCEDURE sp1()
4604
ERROR 42000: You 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
4607
DROP PROCEDURE IF EXISTS sp1;
4608
CREATE PROCEDURE sp1()
4612
ERROR 42000: You 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
4615
DROP PROCEDURE IF EXISTS sp1;
4616
CREATE PROCEDURE sp1()
4617
minute_microsecond:BEGIN
4620
ERROR 42000: You 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
4623
DROP PROCEDURE IF EXISTS sp1;
4624
CREATE PROCEDURE sp1()
4628
ERROR 42000: You 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
4631
DROP PROCEDURE IF EXISTS sp1;
4632
CREATE PROCEDURE sp1()
4636
ERROR 42000: You 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
4639
DROP PROCEDURE IF EXISTS sp1;
4640
CREATE PROCEDURE sp1()
4644
ERROR 42000: You 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
4647
DROP PROCEDURE IF EXISTS sp1;
4648
CREATE PROCEDURE sp1()
4652
ERROR 42000: You 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
4655
DROP PROCEDURE IF EXISTS sp1;
4656
CREATE PROCEDURE sp1()
4660
ERROR 42000: You 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
4663
DROP PROCEDURE IF EXISTS sp1;
4664
CREATE PROCEDURE sp1()
4665
no_write_to_binlog:BEGIN
4668
ERROR 42000: You 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
4671
DROP PROCEDURE IF EXISTS sp1;
4672
CREATE PROCEDURE sp1()
4676
ERROR 42000: You 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
4679
DROP PROCEDURE IF EXISTS sp1;
4680
CREATE PROCEDURE sp1()
4684
ERROR 42000: You 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
4687
DROP PROCEDURE IF EXISTS sp1;
4688
CREATE PROCEDURE sp1()
4692
ERROR 42000: You 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
4695
DROP PROCEDURE IF EXISTS sp1;
4696
CREATE PROCEDURE sp1()
4700
ERROR 42000: You 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
4703
DROP PROCEDURE IF EXISTS sp1;
4704
CREATE PROCEDURE sp1()
4708
ERROR 42000: You 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
4711
DROP PROCEDURE IF EXISTS sp1;
4712
CREATE PROCEDURE sp1()
4716
ERROR 42000: You 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
4719
DROP PROCEDURE IF EXISTS sp1;
4720
CREATE PROCEDURE sp1()
4724
ERROR 42000: You 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
4727
DROP PROCEDURE IF EXISTS sp1;
4728
CREATE PROCEDURE sp1()
4732
ERROR 42000: You 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
4735
DROP PROCEDURE IF EXISTS sp1;
4736
CREATE PROCEDURE sp1()
4740
ERROR 42000: You 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
4743
DROP PROCEDURE IF EXISTS sp1;
4744
CREATE PROCEDURE sp1()
4748
ERROR 42000: You 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
4751
DROP PROCEDURE IF EXISTS sp1;
4752
CREATE PROCEDURE sp1()
4756
ERROR 42000: You 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
4759
DROP PROCEDURE IF EXISTS sp1;
4760
CREATE PROCEDURE sp1()
4764
ERROR 42000: You 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
4767
DROP PROCEDURE IF EXISTS sp1;
4768
CREATE PROCEDURE sp1()
4772
ERROR 42000: You 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
4775
DROP PROCEDURE IF EXISTS sp1;
4776
CREATE PROCEDURE sp1()
4780
ERROR 42000: You 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
4783
DROP PROCEDURE IF EXISTS sp1;
4784
CREATE PROCEDURE sp1()
4788
ERROR 42000: You 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
4791
DROP PROCEDURE IF EXISTS sp1;
4792
CREATE PROCEDURE sp1()
4796
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range:BEGIN
4799
DROP PROCEDURE IF EXISTS sp1;
4800
CREATE PROCEDURE sp1()
4804
ERROR 42000: You 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
4807
DROP PROCEDURE IF EXISTS sp1;
4808
CREATE PROCEDURE sp1()
4812
ERROR 42000: You 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
4815
DROP PROCEDURE IF EXISTS sp1;
4816
DROP PROCEDURE IF EXISTS sp1;
4817
CREATE PROCEDURE sp1()
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 'read_write:BEGIN
4824
DROP PROCEDURE IF EXISTS sp1;
4825
CREATE PROCEDURE sp1()
4829
ERROR 42000: You 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
4832
DROP PROCEDURE IF EXISTS sp1;
4833
CREATE PROCEDURE sp1()
4837
ERROR 42000: You 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
4840
DROP PROCEDURE IF EXISTS sp1;
4841
CREATE PROCEDURE sp1()
4845
ERROR 42000: You 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
4848
DROP PROCEDURE IF EXISTS sp1;
4849
CREATE PROCEDURE sp1()
4853
ERROR 42000: You 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
4856
DROP PROCEDURE IF EXISTS sp1;
4857
CREATE PROCEDURE sp1()
4861
ERROR 42000: You 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
4864
DROP PROCEDURE IF EXISTS sp1;
4865
CREATE PROCEDURE sp1()
4869
ERROR 42000: You 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
4872
DROP PROCEDURE IF EXISTS sp1;
4873
CREATE PROCEDURE sp1()
4877
ERROR 42000: You 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
4880
DROP PROCEDURE IF EXISTS sp1;
4881
CREATE PROCEDURE sp1()
4885
ERROR 42000: You 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
4888
DROP PROCEDURE IF EXISTS sp1;
4889
CREATE PROCEDURE sp1()
4893
ERROR 42000: You 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
4896
DROP PROCEDURE IF EXISTS sp1;
4897
CREATE PROCEDURE sp1()
4901
ERROR 42000: You 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
4904
DROP PROCEDURE IF EXISTS sp1;
4905
CREATE PROCEDURE sp1()
4909
ERROR 42000: You 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
4912
DROP PROCEDURE IF EXISTS sp1;
4913
CREATE PROCEDURE sp1()
4917
ERROR 42000: You 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
4920
DROP PROCEDURE IF EXISTS sp1;
4921
CREATE PROCEDURE sp1()
4925
ERROR 42000: You 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
4928
DROP PROCEDURE IF EXISTS sp1;
4929
CREATE PROCEDURE sp1()
4933
ERROR 42000: You 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
4936
DROP PROCEDURE IF EXISTS sp1;
4937
CREATE PROCEDURE sp1()
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 'schemas:BEGIN
4944
DROP PROCEDURE IF EXISTS sp1;
4945
CREATE PROCEDURE sp1()
4946
second_microsecond:BEGIN
4949
ERROR 42000: You 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
4952
DROP PROCEDURE IF EXISTS sp1;
4953
CREATE PROCEDURE sp1()
4957
ERROR 42000: You 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
4960
DROP PROCEDURE IF EXISTS sp1;
4961
CREATE PROCEDURE sp1()
4965
ERROR 42000: You 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
4968
DROP PROCEDURE IF EXISTS sp1;
4969
CREATE PROCEDURE sp1()
4973
ERROR 42000: You 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
4976
DROP PROCEDURE IF EXISTS sp1;
4977
CREATE PROCEDURE sp1()
4981
ERROR 42000: You 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
4984
DROP PROCEDURE IF EXISTS sp1;
4985
CREATE PROCEDURE sp1()
4989
ERROR 42000: You 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
4992
DROP PROCEDURE IF EXISTS sp1;
4993
CREATE PROCEDURE sp1()
4997
ERROR 42000: You 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
5000
DROP PROCEDURE IF EXISTS sp1;
5001
CREATE PROCEDURE sp1()
5005
ERROR 42000: You 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
5008
DROP PROCEDURE IF EXISTS sp1;
5009
CREATE PROCEDURE sp1()
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 'specific:BEGIN
5016
DROP PROCEDURE IF EXISTS sp1;
5017
CREATE PROCEDURE sp1()
5021
ERROR 42000: You 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
5024
DROP PROCEDURE IF EXISTS sp1;
5025
CREATE PROCEDURE sp1()
5029
ERROR 42000: You 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
5032
DROP PROCEDURE IF EXISTS sp1;
5033
CREATE PROCEDURE sp1()
5037
ERROR 42000: You 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
5040
DROP PROCEDURE IF EXISTS sp1;
5041
CREATE PROCEDURE sp1()
5045
ERROR 42000: You 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
5048
DROP PROCEDURE IF EXISTS sp1;
5049
CREATE PROCEDURE sp1()
5050
sql_big_result:BEGIN
5053
ERROR 42000: You 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
5056
DROP PROCEDURE IF EXISTS sp1;
5057
CREATE PROCEDURE sp1()
5058
sql_calc_found_rows:BEGIN
5061
ERROR 42000: You 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
5064
DROP PROCEDURE IF EXISTS sp1;
5065
CREATE PROCEDURE sp1()
5066
sql_small_result:BEGIN
5069
ERROR 42000: You 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
5072
DROP PROCEDURE IF EXISTS sp1;
5073
CREATE PROCEDURE sp1()
5077
ERROR 42000: You 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
5080
DROP PROCEDURE IF EXISTS sp1;
5081
CREATE PROCEDURE sp1()
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 'starting:BEGIN
5088
DROP PROCEDURE IF EXISTS sp1;
5089
CREATE PROCEDURE sp1()
5093
ERROR 42000: You 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
5096
DROP PROCEDURE IF EXISTS sp1;
5097
CREATE PROCEDURE sp1()
5101
ERROR 42000: You 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
5104
DROP PROCEDURE IF EXISTS sp1;
5105
CREATE PROCEDURE sp1()
5109
ERROR 42000: You 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
5112
DROP PROCEDURE IF EXISTS sp1;
5113
CREATE PROCEDURE sp1()
5117
ERROR 42000: You 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
5120
DROP PROCEDURE IF EXISTS sp1;
5121
CREATE PROCEDURE sp1()
5125
ERROR 42000: You 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
5128
DROP PROCEDURE IF EXISTS sp1;
5129
CREATE PROCEDURE sp1()
5133
ERROR 42000: You 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
5136
DROP PROCEDURE IF EXISTS sp1;
5137
CREATE PROCEDURE sp1()
5141
ERROR 42000: You 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
5144
DROP PROCEDURE IF EXISTS sp1;
5145
CREATE PROCEDURE sp1()
5149
ERROR 42000: You 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
5152
DROP PROCEDURE IF EXISTS sp1;
5153
CREATE PROCEDURE sp1()
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 'trailing:BEGIN
5160
DROP PROCEDURE IF EXISTS sp1;
5161
CREATE PROCEDURE sp1()
5165
ERROR 42000: You 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
5168
DROP PROCEDURE IF EXISTS sp1;
5169
CREATE PROCEDURE sp1()
5173
ERROR 42000: You 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
5176
DROP PROCEDURE IF EXISTS sp1;
5177
CREATE PROCEDURE sp1()
5181
ERROR 42000: You 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
5184
DROP PROCEDURE IF EXISTS sp1;
5185
CREATE PROCEDURE sp1()
5189
ERROR 42000: You 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
5192
DROP PROCEDURE IF EXISTS sp1;
5193
CREATE PROCEDURE sp1()
5197
ERROR 42000: You 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
5200
DROP PROCEDURE IF EXISTS sp1;
5201
CREATE PROCEDURE sp1()
5205
ERROR 0A000: UNLOCK is not allowed in stored procedures
5206
DROP PROCEDURE IF EXISTS sp1;
5207
CREATE PROCEDURE sp1()
5211
ERROR 42000: You 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
5214
DROP PROCEDURE IF EXISTS sp1;
5215
CREATE PROCEDURE sp1()
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 ':BEGIN
5222
DROP PROCEDURE IF EXISTS sp1;
5223
CREATE PROCEDURE sp1()
5227
ERROR 42000: You 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
5230
DROP PROCEDURE IF EXISTS sp1;
5231
CREATE PROCEDURE sp1()
5235
ERROR 42000: You 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
5238
DROP PROCEDURE IF EXISTS sp1;
5239
CREATE PROCEDURE sp1()
5243
ERROR 42000: You 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
5246
DROP PROCEDURE IF EXISTS sp1;
5247
CREATE PROCEDURE sp1()
5251
ERROR 42000: You 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
5254
DROP PROCEDURE IF EXISTS sp1;
5255
CREATE PROCEDURE sp1()
5259
ERROR 42000: You 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
5262
DROP PROCEDURE IF EXISTS sp1;
5263
CREATE PROCEDURE sp1()
5267
ERROR 42000: You 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
5270
DROP PROCEDURE IF EXISTS sp1;
5271
CREATE PROCEDURE sp1()
5275
ERROR 42000: You 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
5278
DROP PROCEDURE IF EXISTS sp1;
5279
CREATE PROCEDURE sp1()
5283
ERROR 42000: You 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
5286
DROP PROCEDURE IF EXISTS sp1;
5287
CREATE PROCEDURE sp1()
5291
ERROR 42000: You 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
5294
DROP PROCEDURE IF EXISTS sp1;
5295
CREATE PROCEDURE sp1()
5299
ERROR 42000: You 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
5302
DROP PROCEDURE IF EXISTS sp1;
5303
CREATE PROCEDURE sp1()
5307
ERROR 42000: You 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
5310
DROP PROCEDURE IF EXISTS sp1;
5311
CREATE PROCEDURE sp1()
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 'when:BEGIN
5318
DROP PROCEDURE IF EXISTS sp1;
5319
CREATE PROCEDURE sp1()
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 'where:BEGIN
5326
DROP PROCEDURE IF EXISTS sp1;
5327
CREATE PROCEDURE sp1()
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 ':BEGIN
5334
DROP PROCEDURE IF EXISTS sp1;
5335
CREATE PROCEDURE sp1()
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 'with:BEGIN
5342
DROP PROCEDURE IF EXISTS sp1;
5343
CREATE PROCEDURE sp1()
5347
ERROR 42000: You 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
5350
DROP PROCEDURE IF EXISTS sp1;
5351
CREATE PROCEDURE sp1()
5355
ERROR 42000: You 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
5358
DROP PROCEDURE IF EXISTS sp1;
5359
CREATE PROCEDURE sp1()
5363
ERROR 42000: You 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
5366
DROP PROCEDURE IF EXISTS sp1;
5367
CREATE PROCEDURE sp1()
5371
ERROR 42000: You 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
5377
Ensure that the labels for multiple BEGIN an END work properly
5378
--------------------------------------------------------------------------------
5379
DROP PROCEDURE IF EXISTS sp1;
5380
CREATE PROCEDURE sp1( )
5389
SELECT f1, f2 into x, y from t2 limit 1;
5399
Warning 1265 Data truncated for column 'x' at row 1
5400
Warning 1265 Data truncated for column 'y' at row 1
5405
Ensure that the labels enclosing each BEGIN/END compound statement must match.
5406
--------------------------------------------------------------------------------
5407
DROP PROCEDURE IF EXISTS sp1;
5408
CREATE PROCEDURE sp1( )
5412
SELECT lf1, f1 into x, y from t2 limit 1;
5416
SELECT f1, f2 into x, y from t2 limit 1;
5418
END begin1_changed//
5419
ERROR 42000: End-label begin2_changed without match
5423
Ensure that it is possible to put a beginning label at the start of a
5424
BEGIN/END compound statement without also requiring an ending label
5425
at the END of the same statement.
5426
--------------------------------------------------------------------------------
5427
DROP PROCEDURE IF EXISTS sp1;
5428
CREATE PROCEDURE sp1( )
5432
SELECT f1, f2 into x, y from t2 limit 1;
5436
Warning 1265 Data truncated for column 'x' at row 1
5437
Warning 1265 Data truncated for column 'y' at row 1
5442
Ensure that it is not possible to put an ending label at the END of
5443
a BEGIN/END compound statement without also requiring a matching
5444
beginning label at the start of the same statement
5445
--------------------------------------------------------------------------------
5446
DROP PROCEDURE IF EXISTS sp1;
5447
CREATE PROCEDURE sp1( )
5451
SELECT f1, f2 into x, y from t2 limit 1;
5453
ERROR 42000: You 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
5457
Ensure that every beginning label must END with a colon(:)
5458
--------------------------------------------------------------------------------
5459
DROP PROCEDURE IF EXISTS sp1;
5460
CREATE PROCEDURE sp1( )
5464
SELECT f1, f2 into x, y from t2 limit 1;
5466
ERROR 42000: You 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
5469
SELECT f1, f2 into x, y from t2 limit 1;
5474
Ensure that every beginning label with the same scope must be unique. (same label names)
5475
--------------------------------------------------------------------------------
5476
DROP PROCEDURE IF EXISTS sp6;
5477
CREATE PROCEDURE sp6( )
5478
begin_samelabel: BEGIN
5481
SELECT f1, f2 into x, y from t2 limit 1;
5482
begin_samelabel: BEGIN
5485
SELECT f1, f2 into x, y from t2 limit 1;
5486
END begin_samelabel;
5487
begin_samelabel: BEGIN
5490
SELECT f1, f2 into x, y from t2 limit 1;
5491
END begin_samelabel;
5492
END begin_samelabel//
5493
ERROR 42000: Redefining label begin_samelabel
5497
Ensure that the variables, cursors, conditions, and handlers declared for
5498
a stored procedure (with the declare statement) may only be properly defined
5499
--------------------------------------------------------------------------------
5500
DROP PROCEDURE IF EXISTS sp6;
5501
CREATE PROCEDURE sp6( )
5503
declare x char default 'a';
5504
declare y integer default 1;
5505
declare z float default 1.1;
5506
declare a enum("value1", "value2") default 'value1';
5507
declare b decimal(255, 255) default 1.2e+12;
5508
declare c mediumtext default 'mediumtext';
5509
declare d datetime default '2005-02-02 12:12:12';
5510
declare e char default 'b';
5511
declare cur1 cursor for SELECT f1 from db_storedproc.t2;
5512
declare continue handler for sqlstate '02000' set @x2 = 1;
5515
SELECT x, y, z, a, b, c, d, e;
5518
ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
5520
ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
5521
DROP PROCEDURE IF EXISTS sp6;
5522
CREATE PROCEDURE sp6( )
5524
declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
5525
SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
5528
x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
5534
Ensure that the variables declared for a stored procedure (with the declare
5535
statement) may only be defined in the correct order.
5536
--------------------------------------------------------------------------------
5537
DROP PROCEDURE IF EXISTS sp6;
5538
CREATE PROCEDURE sp6( )
5540
declare x default '0' char;
5543
ERROR 42000: You 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;
5546
DROP PROCEDURE IF EXISTS sp6;
5547
CREATE PROCEDURE sp6( )
5549
declare x char, integer default '0';
5552
ERROR 42000: You 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 default '0';
5555
DROP PROCEDURE IF EXISTS sp6;
5556
CREATE PROCEDURE sp6( )
5558
declare x1, x2 char, integer default '0', 1;
5561
ERROR 42000: You 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 default '0', 1;
5564
DROP PROCEDURE IF EXISTS sp6;
5565
CREATE PROCEDURE sp1( )
5569
SELECT f1, f2 into x, y from t2 limit 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 'char x;
5573
SELECT f1, f2 into x, y from t2 limit 1;
5575
DROP PROCEDURE IF EXISTS sp6;
5576
CREATE PROCEDURE sp1( )
5578
declare char x, y1 integer default 0;
5580
SELECT f1, f2 into x, y from t2 limit 1;
5582
ERROR 42000: You 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;
5584
SELECT f1, f2 into x, y from t2 li' at line 3
5585
DROP PROCEDURE IF EXISTS sp6;
5586
CREATE PROCEDURE sp6( )
5588
declare x default 'a' char;
5590
ERROR 42000: You 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;
5592
DROP PROCEDURE IF EXISTS sp6;
5593
CREATE PROCEDURE sp6( )
5595
declare condition notable for sqlstate '42s22';
5597
ERROR 42000: You 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';
5599
DROP PROCEDURE IF EXISTS sp6;
5600
CREATE PROCEDURE sp6( )
5602
declare condition for notable sqlstate '42s22';
5604
ERROR 42000: You 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';
5606
DROP PROCEDURE IF EXISTS sp6;
5607
CREATE PROCEDURE sp6( )
5609
declare condition for sqlstate notable '42s22';
5611
ERROR 42000: You 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';
5613
DROP PROCEDURE IF EXISTS sp6;
5614
CREATE PROCEDURE sp6( )
5616
declare condition for sqlstate '42s22' notable;
5618
ERROR 42000: You 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;
5620
DROP PROCEDURE IF EXISTS sp6;
5621
CREATE PROCEDURE sp6( )
5623
declare cursor cur1 for SELECT f1 from db_storedproc.t2;
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 'cursor cur1 for SELECT f1 from db_storedproc.t2;
5627
DROP PROCEDURE IF EXISTS sp6;
5628
CREATE PROCEDURE sp6( )
5630
declare cursor for cur1 SELECT f1 from db_storedproc.t2;
5632
ERROR 42000: You 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;
5634
DROP PROCEDURE IF EXISTS sp6;
5635
CREATE PROCEDURE sp6( )
5637
declare cursor for SELECT cur1 f1 from db_storedproc.t2;
5639
ERROR 42000: You 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;
5641
DROP PROCEDURE IF EXISTS sp6;
5642
CREATE PROCEDURE sp6( )
5644
declare handler continue for sqlstate '02000' set @x2 = 1;
5646
ERROR 42000: You 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;
5648
DROP PROCEDURE IF EXISTS sp6;
5649
CREATE PROCEDURE sp6( )
5651
declare handler exit for sqlstate '02000' set @x2 = 1;
5653
ERROR 42000: You 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;
5655
DROP PROCEDURE IF EXISTS sp6;
5656
CREATE PROCEDURE sp6( )
5658
declare handler undo for sqlstate '02000' set @x2 = 1;
5660
ERROR 42000: You 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;
5662
DROP PROCEDURE IF EXISTS sp1;
5663
CREATE PROCEDURE sp1( )
5666
SELECT f1 into x from tb1 limit 9998, 1;
5668
ERROR 42000: You 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;
5669
SELECT f1 into x from tb1 limit 9998, 1;
5671
DROP PROCEDURE IF EXISTS sp1;
5672
CREATE PROCEDURE sp1( )
5674
declare char binary x;
5675
SELECT f2 into x from tb1 limit 9998, 1;
5677
ERROR 42000: You 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;
5678
SELECT f2 into x from tb1 limit 9998, 1;
5680
DROP PROCEDURE IF EXISTS sp1;
5681
CREATE PROCEDURE sp1( )
5683
declare char ascii x;
5684
SELECT f3 into x from tb1 limit 9998, 1;
5686
ERROR 42000: You 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;
5687
SELECT f3 into x from tb1 limit 9998, 1;
5689
DROP PROCEDURE IF EXISTS sp1;
5690
CREATE PROCEDURE sp1( )
5693
SELECT f4 into x from tb1 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 'tinytext x;
5696
SELECT f4 into x from tb1 limit 9998, 1;
5698
DROP PROCEDURE IF EXISTS sp1;
5699
CREATE PROCEDURE sp1( )
5702
SELECT f5 text into x from tb1 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 ';
5705
SELECT f5 text into x from tb1 limit 9998, 1;
5707
DROP PROCEDURE IF EXISTS sp1;
5708
CREATE PROCEDURE sp1( )
5710
declare mediumtext x;
5711
SELECT f6 into x from tb1 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 'mediumtext x;
5714
SELECT f6 into x from tb1 limit 9998, 1;
5716
DROP PROCEDURE IF EXISTS sp1;
5717
CREATE PROCEDURE sp1( )
5720
SELECT f7 into x from tb1 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 'longtext x;
5723
SELECT f7 into x from tb1 limit 9998, 1;
5725
DROP PROCEDURE IF EXISTS sp1;
5726
CREATE PROCEDURE sp1( )
5729
SELECT f8 into x from tb1 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 'tinyblob x;
5732
SELECT f8 into x from tb1 limit 9998, 1;
5734
DROP PROCEDURE IF EXISTS sp1;
5735
CREATE PROCEDURE sp1( )
5738
SELECT f9 into x from tb1 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 'blob x;
5741
SELECT f9 into x from tb1 limit 9998, 1;
5743
DROP PROCEDURE IF EXISTS sp1;
5744
CREATE PROCEDURE sp1( )
5746
declare mediumblob x;
5747
SELECT f10 into x from tb1 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 'mediumblob x;
5750
SELECT f10 into x from tb1 limit 9998, 1;
5752
DROP PROCEDURE IF EXISTS sp1;
5753
CREATE PROCEDURE sp1( )
5756
SELECT f11 into x from tb1 limit 9998, 1;
5758
ERROR 42000: You 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;
5759
SELECT f11 into x from tb1 limit 9998, 1;
5761
DROP PROCEDURE IF EXISTS sp1;
5762
CREATE PROCEDURE sp1( )
5765
SELECT f12 into x from tb1 limit 9998, 1;
5767
ERROR 42000: You 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;
5768
SELECT f12 into x from tb1 limit 9998, 1;
5770
DROP PROCEDURE IF EXISTS sp1;
5771
CREATE PROCEDURE sp1( )
5774
SELECT f13 into x from tb1 limit 9998, 1;
5776
ERROR 42000: You 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;
5777
SELECT f13 into x from tb1 limit 9998, 1;
5779
DROP PROCEDURE IF EXISTS sp1;
5780
CREATE PROCEDURE sp1( )
5782
declare tinyint unsigned x;
5783
SELECT f14 into x from tb1 limit 9998, 1;
5785
ERROR 42000: You 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;
5786
SELECT f14 into x from tb1 limit 9998, 1;
5788
DROP PROCEDURE IF EXISTS sp1;
5789
CREATE PROCEDURE sp1( )
5791
declare tinyint zerofill x;
5792
SELECT f15 into x from tb1 limit 9998, 1;
5794
ERROR 42000: You 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;
5795
SELECT f15 into x from tb1 limit 9998, 1;
5797
DROP PROCEDURE IF EXISTS sp1;
5798
CREATE PROCEDURE sp1( )
5800
declare tinyint unsigned zerofill x;
5801
SELECT f16 into x from tb1 limit 9998, 1;
5803
ERROR 42000: You 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;
5804
SELECT f16 into x from tb1 limit 9998, 1;
5806
DROP PROCEDURE IF EXISTS sp1;
5807
CREATE PROCEDURE sp1( )
5810
SELECT f17 into x from tb1 limit 9998, 1;
5812
ERROR 42000: You 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;
5813
SELECT f17 into x from tb1 limit 9998, 1;
5815
DROP PROCEDURE IF EXISTS sp1;
5816
CREATE PROCEDURE sp1( )
5818
declare smallint unsigned x;
5819
SELECT f18 into x from tb1 limit 9998, 1;
5821
ERROR 42000: You 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;
5822
SELECT f18 into x from tb1 limit 9998, 1;
5824
DROP PROCEDURE IF EXISTS sp1;
5825
CREATE PROCEDURE sp1( )
5827
declare smallint zerofill x;
5828
SELECT f19 into x from tb1 limit 9998, 1;
5830
ERROR 42000: You 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;
5831
SELECT f19 into x from tb1 limit 9998, 1;
5833
DROP PROCEDURE IF EXISTS sp1;
5834
CREATE PROCEDURE sp1( )
5836
declare smallint unsigned zerofill x;
5837
SELECT f20 into x from tb1 limit 9998, 1;
5839
ERROR 42000: You 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;
5840
SELECT f20 into x from tb1 limit 9998, 1;
5842
DROP PROCEDURE IF EXISTS sp1;
5843
CREATE PROCEDURE sp1( )
5845
declare mediumint x;
5846
SELECT f21 into x from tb1 limit 9998, 1;
5848
ERROR 42000: You 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;
5849
SELECT f21 into x from tb1 limit 9998, 1;
5851
DROP PROCEDURE IF EXISTS sp1;
5852
CREATE PROCEDURE sp1( )
5854
declare mediumint unsigned x;
5855
SELECT f22 into x from tb1 limit 9998, 1;
5857
ERROR 42000: You 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;
5858
SELECT f22 into x from tb1 limit 9998, 1;
5860
DROP PROCEDURE IF EXISTS sp1;
5861
CREATE PROCEDURE sp1( )
5863
declare mediumint zerofill x;
5864
SELECT f23 into x from tb1 limit 9998, 1;
5866
ERROR 42000: You 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;
5867
SELECT f23 into x from tb1 limit 9998, 1;
5869
DROP PROCEDURE IF EXISTS sp1;
5870
CREATE PROCEDURE sp1( )
5872
declare mediumint unsigned zerofill x;
5873
SELECT f24 into x from tb1 limit 9998, 1;
5875
ERROR 42000: You 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;
5876
SELECT f24 into x from tb1 limit 9998, 1;
5878
DROP PROCEDURE IF EXISTS sp1;
5879
CREATE PROCEDURE sp1( )
5882
SELECT f25 into x from tb1 limit 9998, 1;
5884
ERROR 42000: You 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;
5885
SELECT f25 into x from tb1 limit 9998, 1;
5887
DROP PROCEDURE IF EXISTS sp1;
5888
CREATE PROCEDURE sp1( )
5890
declare int unsigned x;
5891
SELECT f26 into x from tb1 limit 9998, 1;
5893
ERROR 42000: You 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;
5894
SELECT f26 into x from tb1 limit 9998, 1;
5896
DROP PROCEDURE IF EXISTS sp1;
5897
CREATE PROCEDURE sp1( )
5899
declare int zerofill x;
5900
SELECT f27 into x from tb1 limit 9998, 1;
5902
ERROR 42000: You 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;
5903
SELECT f27 into x from tb1 limit 9998, 1;
5905
DROP PROCEDURE IF EXISTS sp1;
5906
CREATE PROCEDURE sp1( )
5908
declare int unsigned zerofill x;
5909
SELECT f28 into x from tb1 limit 9998, 1;
5911
ERROR 42000: You 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;
5912
SELECT f28 into x from tb1 limit 9998, 1;
5914
DROP PROCEDURE IF EXISTS sp1;
5915
CREATE PROCEDURE sp1( )
5918
SELECT f29 into x from tb1 limit 9998, 1;
5920
ERROR 42000: You 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;
5921
SELECT f29 into x from tb1 limit 9998, 1;
5923
DROP PROCEDURE IF EXISTS sp1;
5924
CREATE PROCEDURE sp1( )
5926
declare bigint unsigned x;
5927
elect f30 into x from tb1 limit 9998, 1;
5929
ERROR 42000: You 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;
5930
elect f30 into x from tb1 limit 9998, 1;
5932
DROP PROCEDURE IF EXISTS sp1;
5933
CREATE PROCEDURE sp1( )
5935
declare bigint zerofill x;
5936
SELECT f31 into x from tb1 limit 9998, 1;
5938
ERROR 42000: You 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;
5939
SELECT f31 into x from tb1 limit 9998, 1;
5941
DROP PROCEDURE IF EXISTS sp1;
5942
CREATE PROCEDURE sp1( )
5944
declare bigint unsigned zerofill x;
5945
SELECT f32 into x from tb1 limit 9998, 1;
5947
ERROR 42000: You 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;
5948
SELECT f32 into x from tb1 limit 9998, 1;
5950
DROP PROCEDURE IF EXISTS sp1;
5951
CREATE PROCEDURE sp1( )
5954
SELECT f33 into x from tb1 limit 9998, 1;
5956
ERROR 42000: You 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;
5957
SELECT f33 into x from tb1 limit 9998, 1;
5959
DROP PROCEDURE IF EXISTS sp1;
5960
CREATE PROCEDURE sp1( )
5962
declare decimal unsigned x;
5963
SELECT f34 into x from tb1 limit 9998, 1;
5965
ERROR 42000: You 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;
5966
SELECT f34 into x from tb1 limit 9998, 1;
5968
DROP PROCEDURE IF EXISTS sp1;
5969
CREATE PROCEDURE sp1( )
5971
declare decimal zerofill x;
5972
SELECT f35 into x from tb1 limit 9998, 1;
5974
ERROR 42000: You 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;
5975
SELECT f35 into x from tb1 limit 9998, 1;
5977
DROP PROCEDURE IF EXISTS sp1;
5978
CREATE PROCEDURE sp1( )
5980
declare decimal unsigned zerofill not null x;
5981
SELECT f36 into x from tb1 limit 9998, 1;
5983
ERROR 42000: You 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;
5984
SELECT f36 into x from tb1 limit 9998, 1;' at line 3
5985
DROP PROCEDURE IF EXISTS sp1;
5986
CREATE PROCEDURE sp1( )
5988
declare decimal (0) not null x;
5989
SELECT f37 into x from tb1 limit 9998, 1;
5991
ERROR 42000: You 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;
5992
SELECT f37 into x from tb1 limit 9998, 1;
5994
DROP PROCEDURE IF EXISTS sp1;
5995
CREATE PROCEDURE sp1( )
5997
declare decimal (64) not null x;
5998
SELECT f38 into x from tb1 limit 9998, 1;
6000
ERROR 42000: You 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;
6001
SELECT f38 into x from tb1 limit 9998, 1;
6003
DROP PROCEDURE IF EXISTS sp1;
6004
CREATE PROCEDURE sp1( )
6006
declare decimal (0) unsigned not null x;
6007
SELECT f39 into x from tb1 limit 9998, 1;
6009
ERROR 42000: You 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;
6010
SELECT f39 into x from tb1 limit 9998, 1;
6012
DROP PROCEDURE IF EXISTS sp1;
6013
CREATE PROCEDURE sp1( )
6015
declare decimal (64) unsigned not null x;
6016
SELECT f40 into x from tb1 limit 9998, 1;
6018
ERROR 42000: You 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;
6019
SELECT f40 into x from tb1 limit 9998, 1;
6021
DROP PROCEDURE IF EXISTS sp1;
6022
CREATE PROCEDURE sp1( )
6024
declare decimal (0) zerofill not null x;
6025
SELECT f41 into x from tb1 limit 9998, 1;
6027
ERROR 42000: You 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;
6028
SELECT f41 into x from tb1 limit 9998, 1;
6030
DROP PROCEDURE IF EXISTS sp1;
6031
CREATE PROCEDURE sp1( )
6033
declare decimal (64) zerofill not null x;
6034
SELECT f42 into x from tb1 limit 9998, 1;
6036
ERROR 42000: You 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;
6037
SELECT f42 into x from tb1 limit 9998, 1;
6039
DROP PROCEDURE IF EXISTS sp1;
6040
CREATE PROCEDURE sp1( )
6042
declare decimal (0) unsigned zerofill not null x;
6043
SELECT f43 into x from tb1 limit 9998, 1;
6045
ERROR 42000: You 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;
6046
SELECT f43 into x from tb1 limit 9998' at line 3
6047
DROP PROCEDURE IF EXISTS sp1;
6048
CREATE PROCEDURE sp1( )
6050
declare decimal (64) unsigned zerofill not null x;
6051
SELECT f44 into x from tb1 limit 9998, 1;
6053
ERROR 42000: You 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;
6054
SELECT f44 into x from tb1 limit 999' at line 3
6055
DROP PROCEDURE IF EXISTS sp1;
6056
CREATE PROCEDURE sp1( )
6058
declare decimal (00) not null x;
6059
SELECT f45 into x from tb1 limit 9998, 1;
6061
ERROR 42000: You 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;
6062
SELECT f45 into x from tb1 limit 9998, 1;
6064
DROP PROCEDURE IF EXISTS sp1;
6065
CREATE PROCEDURE sp1( )
6067
declare decimal (63, 30) not null x;
6068
SELECT f46 into x from tb1 limit 9998, 1;
6070
ERROR 42000: You 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;
6071
SELECT f46 into x from tb1 limit 9998, 1;
6073
DROP PROCEDURE IF EXISTS sp1;
6074
CREATE PROCEDURE sp1( )
6076
declare decimal (00) unsigned not null x;
6077
SELECT f47 into x from tb1 limit 9998, 1;
6079
ERROR 42000: You 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;
6080
SELECT f47 into x from tb1 limit 9998, 1;
6082
DROP PROCEDURE IF EXISTS sp1;
6083
CREATE PROCEDURE sp1( )
6085
declare decimal (63, 30) unsigned not null x;
6086
SELECT f48 into x from tb1 limit 9998, 1;
6088
ERROR 42000: You 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;
6089
SELECT f48 into x from tb1 limit 9998, 1;' at line 3
6090
DROP PROCEDURE IF EXISTS sp1;
6091
CREATE PROCEDURE sp1( )
6093
declare decimal (00) zerofill not null x;
6094
SELECT f49 into x from tb1 limit 9998, 1;
6096
ERROR 42000: You 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;
6097
SELECT f49 into x from tb1 limit 9998, 1;
6099
DROP PROCEDURE IF EXISTS sp1;
6100
CREATE PROCEDURE sp1( )
6102
declare decimal (63, 30) zerofill not null x;
6103
SELECT f50 into x from tb1 limit 9998, 1;
6105
ERROR 42000: You 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;
6106
SELECT f50 into x from tb1 limit 9998, 1;' at line 3
6107
DROP PROCEDURE IF EXISTS sp1;
6108
CREATE PROCEDURE sp1( )
6110
declare decimal (00) unsigned zerofill not null x;
6111
SELECT f51 into x from tb1 limit 9998, 1;
6113
ERROR 42000: You 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;
6114
SELECT f51 into x from tb1 limit 999' at line 3
6115
DROP PROCEDURE IF EXISTS sp1;
6116
CREATE PROCEDURE sp1( )
6118
declare decimal (63, 30) unsigned zerofill not null x;
6119
SELECT f52 into x from tb1 limit 9998, 1;
6121
ERROR 42000: You 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;
6122
SELECT f52 into x from tb1 limit' at line 3
6123
DROP PROCEDURE IF EXISTS sp1;
6124
CREATE PROCEDURE sp1( )
6126
declare numeric not null x;
6127
SELECT f53 into x from tb1 limit 9998, 1;
6129
ERROR 42000: You 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;
6130
SELECT f53 into x from tb1 limit 9998, 1;
6132
DROP PROCEDURE IF EXISTS sp1;
6133
CREATE PROCEDURE sp1( )
6135
declare numeric unsigned not null x;
6136
SELECT f54 into x from tb1 limit 9998, 1;
6138
ERROR 42000: You 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;
6139
SELECT f54 into x from tb1 limit 9998, 1;
6141
DROP PROCEDURE IF EXISTS sp1;
6142
CREATE PROCEDURE sp1( )
6144
declare numeric zerofill not null x;
6145
SELECT f55 into x from tb1 limit 9998, 1;
6147
ERROR 42000: You 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;
6148
SELECT f55 into x from tb1 limit 9998, 1;
6150
DROP PROCEDURE IF EXISTS sp1;
6151
CREATE PROCEDURE sp1( )
6153
declare numeric unsigned zerofill not null x;
6154
SELECT f56 into x from tb1 limit 9998, 1;
6156
ERROR 42000: You 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;
6157
SELECT f56 into x from tb1 limit 9998, 1;' at line 3
6158
DROP PROCEDURE IF EXISTS sp1;
6159
CREATE PROCEDURE sp1( )
6161
declare numeric (0) not null x;
6162
SELECT f57 into x from tb1 limit 9998, 1;
6164
ERROR 42000: You 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;
6165
SELECT f57 into x from tb1 limit 9998, 1;
6167
DROP PROCEDURE IF EXISTS sp1;
6168
CREATE PROCEDURE sp1( )
6170
declare numeric (64) not nul x;
6171
SELECT f58 into x from tb1 limit 9998, 1;
6173
ERROR 42000: You 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;
6174
SELECT f58 into x from tb1 limit 9998, 1;
6176
DROP PROCEDURE IF EXISTS sp1;
6177
CREATE PROCEDURE sp1( )
6179
declare numeric (0) unsigned x;
6180
SELECT f59 into x from tb2 limit 9998, 1;
6182
ERROR 42000: You 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;
6183
SELECT f59 into x from tb2 limit 9998, 1;
6185
DROP PROCEDURE IF EXISTS sp1;
6186
CREATE PROCEDURE sp1( )
6188
declare numeric (64) unsigned x;
6189
SELECT f60 into x from tb2 limit 9998, 1;
6191
ERROR 42000: You 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;
6192
SELECT f60 into x from tb2 limit 9998, 1;
6194
DROP PROCEDURE IF EXISTS sp1;
6195
CREATE PROCEDURE sp1( )
6197
declare numeric (0) zerofill x;
6198
SELECT f61 into x from tb2 limit 9998, 1;
6200
ERROR 42000: You 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;
6201
SELECT f61 into x from tb2 limit 9998, 1;
6203
DROP PROCEDURE IF EXISTS sp1;
6204
CREATE PROCEDURE sp1( )
6206
declare numeric (64) zerofill x;
6207
SELECT f62 into x from tb2 limit 9998, 1;
6209
ERROR 42000: You 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;
6210
SELECT f62 into x from tb2 limit 9998, 1;
6212
DROP PROCEDURE IF EXISTS sp1;
6213
CREATE PROCEDURE sp1( )
6215
declare numeric (0) unsigned zerofill x;
6216
SELECT f63 into x from tb2 limit 9998, 1;
6218
ERROR 42000: You 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;
6219
SELECT f63 into x from tb2 limit 9998, 1;
6221
DROP PROCEDURE IF EXISTS sp1;
6222
CREATE PROCEDURE sp1( )
6224
declare numeric (64) unsigned zerofill x;
6225
SELECT f64 into x from tb2 limit 9998, 1;
6227
ERROR 42000: You 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;
6228
SELECT f64 into x from tb2 limit 9998, 1;
6230
DROP PROCEDURE IF EXISTS sp1;
6231
CREATE PROCEDURE sp1( )
6233
declare numeric (00) x;
6234
SELECT f65 into x from tb2 limit 9998, 1;
6236
ERROR 42000: You 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;
6237
SELECT f65 into x from tb2 limit 9998, 1;
6239
DROP PROCEDURE IF EXISTS sp1;
6240
CREATE PROCEDURE sp1( )
6242
declare numeric (63, 30) x;
6243
SELECT f66 into x from tb2 limit 9998, 1;
6245
ERROR 42000: You 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;
6246
SELECT f66 into x from tb2 limit 9998, 1;
6248
DROP PROCEDURE IF EXISTS sp1;
6249
CREATE PROCEDURE sp1( )
6251
declare numeric (00) unsigned x;
6252
SELECT f67 into x from tb2 limit 9998, 1;
6254
ERROR 42000: You 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;
6255
SELECT f67 into x from tb2 limit 9998, 1;
6257
DROP PROCEDURE IF EXISTS sp1;
6258
CREATE PROCEDURE sp1( )
6260
declare numeric (63, 30) unsigned x;
6261
SELECT f68 into x from tb2 limit 9998, 1;
6263
ERROR 42000: You 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;
6264
SELECT f68 into x from tb2 limit 9998, 1;
6266
DROP PROCEDURE IF EXISTS sp1;
6267
CREATE PROCEDURE sp1( )
6269
declare numeric (00) zerofill x;
6270
SELECT f69 into x from tb2 limit 9998, 1;
6272
ERROR 42000: You 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;
6273
SELECT f69 into x from tb2 limit 9998, 1;
6275
DROP PROCEDURE IF EXISTS sp1;
6276
CREATE PROCEDURE sp1( )
6278
declare numeric (63, 30) zerofill x;
6279
SELECT f70 into x from tb2 limit 9998, 1;
6281
ERROR 42000: You 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;
6282
SELECT f70 into x from tb2 limit 9998, 1;
6284
DROP PROCEDURE IF EXISTS sp1;
6285
CREATE PROCEDURE sp1( )
6287
declare numeric (00) unsigned zerofill x;
6288
SELECT f71 into x from tb2 limit 9998, 1;
6290
ERROR 42000: You 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;
6291
SELECT f71 into x from tb2 limit 9998, 1;
6293
DROP PROCEDURE IF EXISTS sp1;
6294
CREATE PROCEDURE sp1( )
6296
declare numeric (63, 30) unsigned zerofill x;
6297
SELECT f72 into x from tb2 limit 9998, 1;
6299
ERROR 42000: You 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;
6300
SELECT f72 into x from tb2 limit 9998, 1;' at line 3
6301
DROP PROCEDURE IF EXISTS sp1;
6302
CREATE PROCEDURE sp1( )
6305
SELECT f73 into x from tb2 limit 9998, 1;
6307
ERROR 42000: You 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;
6308
SELECT f73 into x from tb2 limit 9998, 1;
6310
DROP PROCEDURE IF EXISTS sp1;
6311
CREATE PROCEDURE sp1( )
6313
declare real unsigned x;
6314
SELECT f74 into x from tb2 limit 9998, 1;
6316
ERROR 42000: You 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;
6317
SELECT f74 into x from tb2 limit 9998, 1;
6319
DROP PROCEDURE IF EXISTS sp1;
6320
CREATE PROCEDURE sp1( )
6322
declare real zerofill x;
6323
SELECT f75 into x from tb2 limit 9998, 1;
6325
ERROR 42000: You 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;
6326
SELECT f75 into x from tb2 limit 9998, 1;
6328
DROP PROCEDURE IF EXISTS sp1;
6329
CREATE PROCEDURE sp1( )
6331
declare real unsigned zerofill x;
6332
SELECT f76 into x from tb2 limit 9998, 1;
6334
ERROR 42000: You 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;
6335
SELECT f76 into x from tb2 limit 9998, 1;
6337
DROP PROCEDURE IF EXISTS sp1;
6338
CREATE PROCEDURE sp1( )
6341
SELECT f77 into x from tb2 limit 9998, 1;
6343
ERROR 42000: You 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;
6344
SELECT f77 into x from tb2 limit 9998, 1;
6346
DROP PROCEDURE IF EXISTS sp1;
6347
CREATE PROCEDURE sp1( )
6349
declare double unsigned x;
6350
SELECT f78 into x from tb2 limit 9998, 1;
6352
ERROR 42000: You 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;
6353
SELECT f78 into x from tb2 limit 9998, 1;
6355
DROP PROCEDURE IF EXISTS sp1;
6356
CREATE PROCEDURE sp1( )
6358
declare double zerofill x;
6359
SELECT f79 into x from tb2 limit 9998, 1;
6361
ERROR 42000: You 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;
6362
SELECT f79 into x from tb2 limit 9998, 1;
6364
DROP PROCEDURE IF EXISTS sp1;
6365
CREATE PROCEDURE sp1( )
6367
declare double unsigned zerofill x;
6368
SELECT f80 into x from tb2 limit 9998, 1;
6370
ERROR 42000: You 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;
6371
SELECT f80 into x from tb2 limit 9998, 1;
6373
DROP PROCEDURE IF EXISTS sp1;
6374
CREATE PROCEDURE sp1( )
6376
declare float not null x;
6377
SELECT f81 into x from tb2 limit 9998, 1;
6379
ERROR 42000: You 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;
6380
SELECT f81 into x from tb2 limit 9998, 1;
6382
DROP PROCEDURE IF EXISTS sp1;
6383
CREATE PROCEDURE sp1( )
6385
declare float unsigned not null x;
6386
SELECT f82 into x from tb2 limit 9998, 1;
6388
ERROR 42000: You 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;
6389
SELECT f82 into x from tb2 limit 9998, 1;
6391
DROP PROCEDURE IF EXISTS sp1;
6392
CREATE PROCEDURE sp1( )
6394
declare float zerofill not null x;
6395
SELECT f83 into x from tb2 limit 9998, 1;
6397
ERROR 42000: You 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;
6398
SELECT f83 into x from tb2 limit 9998, 1;
6400
DROP PROCEDURE IF EXISTS sp1;
6401
CREATE PROCEDURE sp1( )
6403
declare float unsigned zerofill not null x;
6404
SELECT f84 into x from tb2 limit 9998, 1;
6406
ERROR 42000: You 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;
6407
SELECT f84 into x from tb2 limit 9998, 1;
6409
DROP PROCEDURE IF EXISTS sp1;
6410
CREATE PROCEDURE sp1( )
6412
declare float(0) not null x;
6413
SELECT f85 into x from tb2 limit 9998, 1;
6415
ERROR 42000: You 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;
6416
SELECT f85 into x from tb2 limit 9998, 1;
6418
DROP PROCEDURE IF EXISTS sp1;
6419
CREATE PROCEDURE sp1( )
6421
declare float(23) not null x;
6422
SELECT f86 into x from tb2 limit 9998, 1;
6424
ERROR 42000: You 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;
6425
SELECT f86 into x from tb2 limit 9998, 1;
6427
DROP PROCEDURE IF EXISTS sp1;
6428
CREATE PROCEDURE sp1( )
6430
declare float(0) unsigned not null x;
6431
SELECT f87 into x from tb2 limit 9998, 1;
6433
ERROR 42000: You 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;
6434
SELECT f87 into x from tb2 limit 9998, 1;
6436
DROP PROCEDURE IF EXISTS sp1;
6437
CREATE PROCEDURE sp1( )
6439
declare float(23) unsigned not null x;
6440
SELECT f88 into x from tb2 limit 9998, 1;
6442
ERROR 42000: You 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;
6443
SELECT f88 into x from tb2 limit 9998, 1;
6445
DROP PROCEDURE IF EXISTS sp1;
6446
CREATE PROCEDURE sp1( )
6448
declare float(0) zerofill not null x;
6449
SELECT f89 into x from tb2 limit 9998, 1;
6451
ERROR 42000: You 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;
6452
SELECT f89 into x from tb2 limit 9998, 1;
6454
DROP PROCEDURE IF EXISTS sp1;
6455
CREATE PROCEDURE sp1( )
6457
declare float(23) zerofill not null x;
6458
SELECT f90 into x from tb2 limit 9998, 1;
6460
ERROR 42000: You 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;
6461
SELECT f90 into x from tb2 limit 9998, 1;
6463
DROP PROCEDURE IF EXISTS sp1;
6464
CREATE PROCEDURE sp1( )
6466
declare float(0) unsigned zerofill not null x;
6467
SELECT f91 into x from tb2 limit 9998, 1;
6469
ERROR 42000: You 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;
6470
SELECT f91 into x from tb2 limit 9998, 1' at line 3
6471
DROP PROCEDURE IF EXISTS sp1;
6472
CREATE PROCEDURE sp1( )
6474
declare float(23) unsigned zerofill not null x;
6475
SELECT f92 into x from tb2 limit 9998, 1;
6477
ERROR 42000: You 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;
6478
SELECT f92 into x from tb2 limit 9998, ' at line 3
6479
DROP PROCEDURE IF EXISTS sp1;
6480
CREATE PROCEDURE sp1( )
6482
declare float(24) not null x;
6483
SELECT f93 into x from tb2 limit 9998, 1;
6485
ERROR 42000: You 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;
6486
SELECT f93 into x from tb2 limit 9998, 1;
6488
DROP PROCEDURE IF EXISTS sp1;
6489
CREATE PROCEDURE sp1( )
6491
declare float(53) not null x;
6492
SELECT f94 into x from tb2 limit 9998, 1;
6494
ERROR 42000: You 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;
6495
SELECT f94 into x from tb2 limit 9998, 1;
6497
DROP PROCEDURE IF EXISTS sp1;
6498
CREATE PROCEDURE sp1( )
6500
declare float(24) unsigned not null x;
6501
SELECT f95 into x from tb2 limit 9998, 1;
6503
ERROR 42000: You 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;
6504
SELECT f95 into x from tb2 limit 9998, 1;
6506
DROP PROCEDURE IF EXISTS sp1;
6507
CREATE PROCEDURE sp1( )
6509
declare float(53) unsigned not null x;
6510
SELECT f96 into x from tb2 limit 9998, 1;
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 'float(53) unsigned not null x;
6513
SELECT f96 into x from tb2 limit 9998, 1;
6515
DROP PROCEDURE IF EXISTS sp1;
6516
CREATE PROCEDURE sp1( )
6518
declare float(24) zerofill not null x;
6519
SELECT f97 into x from tb2 limit 9998, 1;
6521
ERROR 42000: You 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;
6522
SELECT f97 into x from tb2 limit 9998, 1;
6524
DROP PROCEDURE IF EXISTS sp1;
6525
CREATE PROCEDURE sp1( )
6527
declare float(53) zerofill not null x;
6528
SELECT f98 into x from tb2 limit 9998, 1;
6530
ERROR 42000: You 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;
6531
SELECT f98 into x from tb2 limit 9998, 1;
6533
DROP PROCEDURE IF EXISTS sp1;
6534
CREATE PROCEDURE sp1( )
6536
declare float(24) unsigned zerofill not null x;
6537
SELECT f99 into x from tb2 limit 9998, 1;
6539
ERROR 42000: You 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;
6540
SELECT f99 into x from tb2 limit 9998, ' at line 3
6541
DROP PROCEDURE IF EXISTS sp1;
6542
CREATE PROCEDURE sp1( )
6544
declare float(53) unsigned zerofill not null x;
6545
SELECT f100 into x from tb2 limit 9998, 1;
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 'float(53) unsigned zerofill not null x;
6548
SELECT f100 into x from tb2 limit 9998,' at line 3
6549
DROP PROCEDURE IF EXISTS sp1;
6550
CREATE PROCEDURE sp1( )
6552
declare date not null x;
6553
SELECT f101 into x from tb2 limit 9998, 1;
6555
ERROR 42000: You 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;
6556
SELECT f101 into x from tb2 limit 9998, 1;
6558
DROP PROCEDURE IF EXISTS sp1;
6559
CREATE PROCEDURE sp1( )
6561
declare time not null x;
6562
SELECT f102 into x from tb2 limit 9998, 1;
6564
ERROR 42000: You 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;
6565
SELECT f102 into x from tb2 limit 9998, 1;
6567
DROP PROCEDURE IF EXISTS sp1;
6568
CREATE PROCEDURE sp1( )
6570
declare datetime not null x;
6571
SELECT f103 into x from tb2 limit 9998, 1;
6573
ERROR 42000: You 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;
6574
SELECT f103 into x from tb2 limit 9998, 1;
6576
DROP PROCEDURE IF EXISTS sp1;
6577
CREATE PROCEDURE sp1( )
6579
declare timestamp not null x;
6580
SELECT f104 into x from tb2 limit 9998, 1;
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 'not null x;
6583
SELECT f104 into x from tb2 limit 9998, 1;
6585
DROP PROCEDURE IF EXISTS sp1;
6586
CREATE PROCEDURE sp1( )
6588
declare year not null x;
6589
SELECT f105 into x from tb2 limit 9998, 1;
6591
ERROR 42000: You 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;
6592
SELECT f105 into x from tb2 limit 9998, 1;
6594
DROP PROCEDURE IF EXISTS sp1;
6595
CREATE PROCEDURE sp1( )
6597
declare year(3) not null x;
6598
SELECT f106 into x from tb2 limit 9998, 1;
6600
ERROR 42000: You 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;
6601
SELECT f106 into x from tb2 limit 9998, 1;
6603
DROP PROCEDURE IF EXISTS sp1;
6604
CREATE PROCEDURE sp1( )
6606
declare year(4) not null x;
6607
SELECT f107 into x from tb2 limit 9998, 1;
6609
ERROR 42000: You 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;
6610
SELECT f107 into x from tb2 limit 9998, 1;
6612
DROP PROCEDURE IF EXISTS sp1;
6613
CREATE PROCEDURE sp1( )
6615
declare enum("1enum", "2enum") not null x;
6616
SELECT f108 into x from tb2 limit 9998, 1;
6618
ERROR 42000: You 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;
6619
SELECT f108 into x from tb2 limit 9998, 1;
6621
DROP PROCEDURE IF EXISTS sp1;
6622
CREATE PROCEDURE sp1( )
6624
declare set("1set", "2set") not nul x;
6625
SELECT f109 into x from tb2 limit 9998, 1;
6627
ERROR 42000: You 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;
6628
SELECT f109 into x from tb2 limit 9998, 1;
6633
Ensure that the handlers declared for a stored procedure (with the declare
6634
statement) may only be defined in the correct order
6635
--------------------------------------------------------------------------------
6636
DROP PROCEDURE IF EXISTS sp1;
6637
CREATE PROCEDURE sp1()
6639
declare continue handler for sqlstate '23000' set @x2 = 1;
6642
ERROR 42000: Variable or condition declaration after cursor or handler declaration
6643
DROP PROCEDURE IF EXISTS sp6;
6644
CREATE PROCEDURE sp6( )
6646
declare cursor1 cursor for SELECT f1 from tb1;
6649
ERROR 42000: Variable or condition declaration after cursor or handler declaration
6650
DROP PROCEDURE IF EXISTS sp6;
6651
CREATE PROCEDURE sp6( )
6653
declare cursor1 cursor for SELECT f1 from tb1;
6654
declare sqlcondition condition for sqlstate '02000';
6656
ERROR 42000: Variable or condition declaration after cursor or handler declaration
6657
DROP PROCEDURE IF EXISTS sp6;
6658
CREATE PROCEDURE sp6( )
6660
declare sqlcondition condition for sqlstate '02000';
6661
declare continue handler for sqlcondition set @x=1;
6662
declare cursor1 cursor for SELECT f1 from tb1;
6664
ERROR 42000: Cursor declaration after handler declaration
6668
Ensure that the declare statement can declare multiple variables both separately
6669
and all at once from a variable list. (multiple declaration)
6670
--------------------------------------------------------------------------------
6671
DROP PROCEDURE IF EXISTS sp1;
6672
CREATE PROCEDURE sp1()
6674
DECLARE x1 CHAR(100) DEFAULT 'outer';
6676
DECLARE x1 CHAR(100) DEFAULT x1;
6680
DROP PROCEDURE IF EXISTS sp1;
6681
CREATE PROCEDURE sp1( )
6683
declare x, y, z char default null;
6689
DROP PROCEDURE IF EXISTS sp1;
6690
CREATE PROCEDURE sp1( )
6692
declare x, y, z char ascii default null;
6698
DROP PROCEDURE IF EXISTS sp1;
6699
CREATE PROCEDURE sp1( )
6701
declare x, y, z tinytext default null;
6707
DROP PROCEDURE IF EXISTS sp1;
6708
CREATE PROCEDURE sp1( )
6710
declare x, y, z text default null;
6716
DROP PROCEDURE IF EXISTS sp1;
6717
CREATE PROCEDURE sp1( )
6719
declare x, y, z mediumtext default null;
6725
DROP PROCEDURE IF EXISTS sp1;
6726
CREATE PROCEDURE sp1( )
6728
declare x, y, z longtext default null;
6734
DROP PROCEDURE IF EXISTS sp1;
6735
CREATE PROCEDURE sp1( )
6737
declare x, y, z tinyblob default null;
6743
DROP PROCEDURE IF EXISTS sp1;
6744
CREATE PROCEDURE sp1( )
6746
declare x, y, z blob default null;
6752
DROP PROCEDURE IF EXISTS sp1;
6753
CREATE PROCEDURE sp1( )
6755
declare x, y, z mediumblob default null;
6761
DROP PROCEDURE IF EXISTS sp1;
6762
CREATE PROCEDURE sp1( )
6764
declare x, y, z longblob default null;
6770
DROP PROCEDURE IF EXISTS sp1;
6771
CREATE PROCEDURE sp1( )
6773
declare x, y, z binary default null;
6779
DROP PROCEDURE IF EXISTS sp1;
6780
CREATE PROCEDURE sp1( )
6782
declare x, y, z tinyint default -126;
6788
DROP PROCEDURE IF EXISTS sp1;
6789
CREATE PROCEDURE sp1( )
6791
declare x, y, z tinyint unsigned default 253;
6797
DROP PROCEDURE IF EXISTS sp1;
6798
CREATE PROCEDURE sp1( )
6800
declare x, y, z tinyint zerofill default -1;
6807
Warning 1264 Out of range value for column 'x' at row 1
6808
Warning 1264 Out of range value for column 'y' at row 1
6809
Warning 1264 Out of range value for column 'z' at row 1
6810
DROP PROCEDURE IF EXISTS sp1;
6811
CREATE PROCEDURE sp1( )
6813
declare x, y, z tinyint unsigned zerofill default 1;
6819
DROP PROCEDURE IF EXISTS sp1;
6820
CREATE PROCEDURE sp1( )
6822
declare x, y, z smallint default -32768;
6827
-32768 -32768 -32768
6828
DROP PROCEDURE IF EXISTS sp1;
6829
CREATE PROCEDURE sp1( )
6831
declare x, y, z smallint unsigned default 65535;
6837
DROP PROCEDURE IF EXISTS sp1;
6838
CREATE PROCEDURE sp1( )
6840
declare x, y, z smallint zerofill default -1;
6847
Warning 1264 Out of range value for column 'x' at row 1
6848
Warning 1264 Out of range value for column 'y' at row 1
6849
Warning 1264 Out of range value for column 'z' at row 1
6850
DROP PROCEDURE IF EXISTS sp1;
6851
CREATE PROCEDURE sp1( )
6853
declare x, y, z smallint unsigned zerofill default 1;
6859
DROP PROCEDURE IF EXISTS sp1;
6860
CREATE PROCEDURE sp1( )
6862
declare x, y, z mediumint default -8388608;
6867
-8388608 -8388608 -8388608
6868
DROP PROCEDURE IF EXISTS sp1;
6869
CREATE PROCEDURE sp1( )
6871
declare x, y, z mediumint unsigned default 16777215;
6876
16777215 16777215 16777215
6877
DROP PROCEDURE IF EXISTS sp1;
6878
CREATE PROCEDURE sp1( )
6880
declare x, y, z mediumint zerofill default -1;
6885
00000000 00000000 00000000
6887
Warning 1264 Out of range value for column 'x' at row 1
6888
Warning 1264 Out of range value for column 'y' at row 1
6889
Warning 1264 Out of range value for column 'z' at row 1
6890
DROP PROCEDURE IF EXISTS sp1;
6891
CREATE PROCEDURE sp1( )
6893
declare x, y, z mediumint unsigned zerofill default 1;
6898
00000001 00000001 00000001
6899
DROP PROCEDURE IF EXISTS sp1;
6900
CREATE PROCEDURE sp1( )
6902
declare x, y, z int default -2147483648;
6907
-2147483648 -2147483648 -2147483648
6908
DROP PROCEDURE IF EXISTS sp1;
6909
CREATE PROCEDURE sp1( )
6911
declare x, y, z int unsigned default 4294967295;
6916
4294967295 4294967295 4294967295
6917
DROP PROCEDURE IF EXISTS sp1;
6918
CREATE PROCEDURE sp1( )
6920
declare x, y, z int zerofill default -1;
6925
0000000000 0000000000 0000000000
6927
Warning 1264 Out of range value for column 'x' at row 1
6928
Warning 1264 Out of range value for column 'y' at row 1
6929
Warning 1264 Out of range value for column 'z' at row 1
6930
DROP PROCEDURE IF EXISTS sp1;
6931
CREATE PROCEDURE sp1( )
6933
declare x, y, z int unsigned zerofill default 1;
6938
0000000001 0000000001 0000000001
6939
DROP PROCEDURE IF EXISTS sp1;
6940
CREATE PROCEDURE sp1( )
6942
declare x, y, z bigint default -9223372036854775808;
6947
-9223372036854775808 -9223372036854775808 -9223372036854775808
6948
DROP PROCEDURE IF EXISTS sp1;
6949
CREATE PROCEDURE sp1( )
6951
declare x, y, z bigint unsigned default 18446744073709551615;
6956
18446744073709551615 18446744073709551615 18446744073709551615
6957
DROP PROCEDURE IF EXISTS sp1;
6958
CREATE PROCEDURE sp1( )
6960
declare x, y, z bigint zerofill default -1;
6965
00000000000000000000 00000000000000000000 00000000000000000000
6967
Warning 1264 Out of range value for column 'x' at row 1
6968
Warning 1264 Out of range value for column 'y' at row 1
6969
Warning 1264 Out of range value for column 'z' at row 1
6970
DROP PROCEDURE IF EXISTS sp1;
6971
CREATE PROCEDURE sp1( )
6973
declare x, y, z bigint unsigned zerofill default 1;
6978
00000000000000000001 00000000000000000001 00000000000000000001
6979
DROP PROCEDURE IF EXISTS sp1;
6980
CREATE PROCEDURE sp1( )
6982
declare x, y, z decimal default -34028234660123456789012345678901234567;
6987
-9999999999 -9999999999 -9999999999
6989
Warning 1264 Out of range value for column 'x' at row 1
6990
Warning 1264 Out of range value for column 'y' at row 1
6991
Warning 1264 Out of range value for column 'z' at row 1
6992
DROP PROCEDURE IF EXISTS sp1;
6993
CREATE PROCEDURE sp1( )
6995
declare x, y, z decimal unsigned default 1.175494351e-38;
7002
Note 1265 Data truncated for column 'x' at row 1
7003
Note 1265 Data truncated for column 'y' at row 1
7004
Note 1265 Data truncated for column 'z' at row 1
7005
DROP PROCEDURE IF EXISTS sp1;
7006
CREATE PROCEDURE sp1( )
7008
declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
7013
0000000000 0000000000 0000000000
7015
Warning 1264 Out of range value for column 'x' at row 1
7016
Warning 1264 Out of range value for column 'y' at row 1
7017
Warning 1264 Out of range value for column 'z' at row 1
7018
DROP PROCEDURE IF EXISTS sp1;
7019
CREATE PROCEDURE sp1( )
7021
declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
7026
0000000000 0000000000 0000000000
7028
Note 1265 Data truncated for column 'x' at row 1
7029
Note 1265 Data truncated for column 'y' at row 1
7030
Note 1265 Data truncated for column 'z' at row 1
7031
DROP PROCEDURE IF EXISTS sp1;
7032
CREATE PROCEDURE sp1( )
7034
declare x, y, z numeric default 1.175494351e-38;
7041
Note 1265 Data truncated for column 'x' at row 1
7042
Note 1265 Data truncated for column 'y' at row 1
7043
Note 1265 Data truncated for column 'z' at row 1
7044
DROP PROCEDURE IF EXISTS sp1;
7045
CREATE PROCEDURE sp1( )
7047
declare x, y, z numeric unsigned default 1.175494351e-38;
7054
Note 1265 Data truncated for column 'x' at row 1
7055
Note 1265 Data truncated for column 'y' at row 1
7056
Note 1265 Data truncated for column 'z' at row 1
7057
DROP PROCEDURE IF EXISTS sp1;
7058
CREATE PROCEDURE sp1( )
7060
declare x, y, z numeric zerofill default 1.175494351e-38;
7065
0000000000 0000000000 0000000000
7067
Note 1265 Data truncated for column 'x' at row 1
7068
Note 1265 Data truncated for column 'y' at row 1
7069
Note 1265 Data truncated for column 'z' at row 1
7070
DROP PROCEDURE IF EXISTS sp1;
7071
CREATE PROCEDURE sp1( )
7073
declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
7078
0000000000 0000000000 0000000000
7080
Note 1265 Data truncated for column 'x' at row 1
7081
Note 1265 Data truncated for column 'y' at row 1
7082
Note 1265 Data truncated for column 'z' at row 1
7083
DROP PROCEDURE IF EXISTS sp1;
7084
CREATE PROCEDURE sp1( )
7086
declare x, y, z real default 1.175494351e-38;
7091
1.175494351e-38 1.175494351e-38 1.175494351e-38
7092
DROP PROCEDURE IF EXISTS sp1;
7093
CREATE PROCEDURE sp1( )
7095
declare x, y, z real unsigned default 1.175494351e-38;
7100
1.175494351e-38 1.175494351e-38 1.175494351e-38
7101
DROP PROCEDURE IF EXISTS sp1;
7102
CREATE PROCEDURE sp1( )
7104
declare x, y, z real zerofill default 1.175494351e-38;
7109
00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7110
DROP PROCEDURE IF EXISTS sp1;
7111
CREATE PROCEDURE sp1( )
7113
declare x, y, z real unsigned zerofill default 1.175494351e-38;
7118
00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7119
DROP PROCEDURE IF EXISTS sp1;
7120
CREATE PROCEDURE sp1( )
7122
declare x, y, z float default 1.175494351e-38;
7127
1.17549e-38 1.17549e-38 1.17549e-38
7128
DROP PROCEDURE IF EXISTS sp1;
7129
CREATE PROCEDURE sp1( )
7131
declare x, y, z float unsigned default 1.175494351e-38;
7136
1.17549e-38 1.17549e-38 1.17549e-38
7137
DROP PROCEDURE IF EXISTS sp1;
7138
CREATE PROCEDURE sp1( )
7140
declare x, y, z float zerofill default 1.175494351e-38;
7145
01.17549e-38 01.17549e-38 01.17549e-38
7146
DROP PROCEDURE IF EXISTS sp1;
7147
CREATE PROCEDURE sp1( )
7149
declare x, y, z float unsigned zerofill default 1.175494351e-38;
7154
01.17549e-38 01.17549e-38 01.17549e-38
7155
DROP PROCEDURE IF EXISTS sp1;
7156
CREATE PROCEDURE sp1( )
7158
declare x, y, z date default '2005-02-02';
7163
2005-02-02 2005-02-02 2005-02-02
7164
DROP PROCEDURE IF EXISTS sp1;
7165
CREATE PROCEDURE sp1( )
7167
declare x, y, z time default '12:20:12';
7172
12:20:12 12:20:12 12:20:12
7173
DROP PROCEDURE IF EXISTS sp1;
7174
CREATE PROCEDURE sp1( )
7176
declare x, y, z datetime default '2005-02-02 12:20:12';
7181
2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7182
DROP PROCEDURE IF EXISTS sp1;
7183
CREATE PROCEDURE sp1( )
7185
declare x, y, z timestamp default '20050202122012';
7190
2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7191
DROP PROCEDURE IF EXISTS sp1;
7192
CREATE PROCEDURE sp1( )
7194
declare x, y, z year default 2005;
7200
DROP PROCEDURE IF EXISTS sp1;
7201
CREATE PROCEDURE sp1( )
7203
declare x, y, z year(3) default 2005;
7209
DROP PROCEDURE IF EXISTS sp1;
7210
CREATE PROCEDURE sp1( )
7212
declare x, y, z year(4) default 2005;
7218
DROP PROCEDURE IF EXISTS sp1;
7219
CREATE PROCEDURE sp1( )
7221
declare x, y, z enum("1enum", "2enum") default "2enum";
7227
DROP PROCEDURE IF EXISTS sp1;
7228
CREATE PROCEDURE sp1( )
7230
declare x, y, z set("1set", "2set") default "2set";
7240
Ensure that the declare statement can declare multiple variables both separately
7241
and all at once from a variable list. (multiple declaration).
7242
--------------------------------------------------------------------------------
7243
DROP PROCEDURE IF EXISTS sp6;
7244
CREATE PROCEDURE sp6( )
7246
declare a, b char default '2';
7247
declare c, d float default 1.3;
7248
declare e, f text default 'text';
7249
declare g, h enum("value1", "value2" ) default 'value1';
7250
declare i, j datetime default '2005-02-02 12:12:12';
7251
declare k, l blob default 'blob';
7252
SELECT a, b, c, d, e, f, g, h, k, l;
7256
2 2 1.3 1.3 text text value1 value1 blob blob
7261
Ensure that the invalid variable declarations are rejected, with an appropriate
7263
--------------------------------------------------------------------------------
7264
DROP PROCEDURE IF EXISTS sp1;
7265
CREATE PROCEDURE sp1( )
7268
SELECT f2 into x from t2 limit 1;
7270
ERROR 42000: You 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;
7271
SELECT f2 into x from t2 limit 1;
7273
DROP PROCEDURE IF EXISTS sp1;
7274
CREATE PROCEDURE sp1()
7276
declare accessible char;
7278
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible char;
7280
DROP PROCEDURE IF EXISTS sp1;
7281
CREATE PROCEDURE sp1()
7285
ERROR 42000: You 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;
7287
DROP PROCEDURE IF EXISTS sp1;
7288
CREATE PROCEDURE sp1()
7292
ERROR 42000: You 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;
7294
DROP PROCEDURE IF EXISTS sp1;
7295
CREATE PROCEDURE sp1()
7299
ERROR 42000: You 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;
7301
DROP PROCEDURE IF EXISTS sp1;
7302
CREATE PROCEDURE sp1()
7304
declare analyze char;
7306
ERROR 42000: You 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;
7308
DROP PROCEDURE IF EXISTS sp1;
7309
CREATE PROCEDURE sp1()
7313
ERROR 42000: You 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;
7315
DROP PROCEDURE IF EXISTS sp1;
7316
CREATE PROCEDURE sp1()
7320
ERROR 42000: You 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;
7322
DROP PROCEDURE IF EXISTS sp1;
7323
CREATE PROCEDURE sp1()
7327
ERROR 42000: You 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;
7329
DROP PROCEDURE IF EXISTS sp1;
7330
CREATE PROCEDURE sp1()
7332
declare asensitive char;
7334
ERROR 42000: You 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;
7336
DROP PROCEDURE IF EXISTS sp1;
7337
CREATE PROCEDURE sp1()
7339
declare before char;
7341
ERROR 42000: You 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;
7343
DROP PROCEDURE IF EXISTS sp1;
7344
CREATE PROCEDURE sp1()
7346
declare between char;
7348
ERROR 42000: You 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;
7350
DROP PROCEDURE IF EXISTS sp1;
7351
CREATE PROCEDURE sp1()
7353
declare bigint char;
7355
ERROR 42000: You 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;
7357
DROP PROCEDURE IF EXISTS sp1;
7358
CREATE PROCEDURE sp1()
7360
declare binary char;
7362
ERROR 42000: You 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;
7364
DROP PROCEDURE IF EXISTS sp1;
7365
CREATE PROCEDURE sp1()
7369
ERROR 42000: You 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;
7371
DROP PROCEDURE IF EXISTS sp1;
7372
CREATE PROCEDURE sp1()
7376
ERROR 42000: You 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;
7378
DROP PROCEDURE IF EXISTS sp1;
7379
CREATE PROCEDURE sp1()
7383
ERROR 42000: You 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;
7385
DROP PROCEDURE IF EXISTS sp1;
7386
CREATE PROCEDURE sp1()
7390
ERROR 42000: You 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;
7392
DROP PROCEDURE IF EXISTS sp1;
7393
CREATE PROCEDURE sp1()
7395
declare cascade char;
7397
ERROR 42000: You 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;
7399
DROP PROCEDURE IF EXISTS sp1;
7400
CREATE PROCEDURE sp1()
7404
ERROR 42000: You 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;
7406
DROP PROCEDURE IF EXISTS sp1;
7407
CREATE PROCEDURE sp1()
7409
declare change char;
7411
ERROR 42000: You 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;
7413
DROP PROCEDURE IF EXISTS sp1;
7414
CREATE PROCEDURE sp1()
7418
ERROR 42000: You 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;
7420
DROP PROCEDURE IF EXISTS sp1;
7421
CREATE PROCEDURE sp1()
7423
declare character char;
7425
ERROR 42000: You 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;
7427
DROP PROCEDURE IF EXISTS sp1;
7428
CREATE PROCEDURE sp1()
7432
ERROR 42000: You 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;
7434
DROP PROCEDURE IF EXISTS sp1;
7435
CREATE PROCEDURE sp1()
7437
declare collate char;
7439
ERROR 42000: You 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;
7441
DROP PROCEDURE IF EXISTS sp1;
7442
CREATE PROCEDURE sp1()
7444
declare column char;
7446
ERROR 42000: You 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;
7448
DROP PROCEDURE IF EXISTS sp1;
7449
CREATE PROCEDURE sp1()
7451
declare condition char;
7453
ERROR 42000: You 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;
7455
DROP PROCEDURE IF EXISTS sp1;
7456
CREATE PROCEDURE sp1()
7458
declare constraint char;
7460
ERROR 42000: You 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;
7462
DROP PROCEDURE IF EXISTS sp1;
7463
CREATE PROCEDURE sp1()
7465
declare continue char;
7467
ERROR 42000: You 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;
7469
DROP PROCEDURE IF EXISTS sp1;
7470
CREATE PROCEDURE sp1()
7472
declare convert char;
7474
ERROR 42000: You 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;
7476
DROP PROCEDURE IF EXISTS sp1;
7477
CREATE PROCEDURE sp1()
7479
declare create char;
7481
ERROR 42000: You 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;
7483
DROP PROCEDURE IF EXISTS sp1;
7484
CREATE PROCEDURE sp1()
7488
ERROR 42000: You 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;
7490
DROP PROCEDURE IF EXISTS sp1;
7491
CREATE PROCEDURE sp1()
7493
declare current_date char;
7495
ERROR 42000: You 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;
7497
DROP PROCEDURE IF EXISTS sp1;
7498
CREATE PROCEDURE sp1()
7500
declare current_time char;
7502
ERROR 42000: You 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;
7504
DROP PROCEDURE IF EXISTS sp1;
7505
CREATE PROCEDURE sp1()
7507
declare current_timestamp char;
7509
ERROR 42000: You 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;
7511
DROP PROCEDURE IF EXISTS sp1;
7512
CREATE PROCEDURE sp1()
7514
declare current_user char;
7516
ERROR 42000: You 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;
7518
DROP PROCEDURE IF EXISTS sp1;
7519
CREATE PROCEDURE sp1()
7521
declare cursor char;
7523
ERROR 42000: You 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;
7525
DROP PROCEDURE IF EXISTS sp1;
7526
CREATE PROCEDURE sp1()
7528
declare database char;
7530
ERROR 42000: You 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;
7532
DROP PROCEDURE IF EXISTS sp1;
7533
CREATE PROCEDURE sp1()
7535
declare databases char;
7537
ERROR 42000: You 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;
7539
DROP PROCEDURE IF EXISTS sp1;
7540
CREATE PROCEDURE sp1()
7542
declare day_hour char;
7544
ERROR 42000: You 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;
7546
DROP PROCEDURE IF EXISTS sp1;
7547
CREATE PROCEDURE sp1()
7549
declare day_microsecond char;
7551
ERROR 42000: You 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;
7553
DROP PROCEDURE IF EXISTS sp1;
7554
CREATE PROCEDURE sp1()
7556
declare day_minute char;
7558
ERROR 42000: You 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;
7560
DROP PROCEDURE IF EXISTS sp1;
7561
CREATE PROCEDURE sp1()
7563
declare day_second char;
7565
ERROR 42000: You 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;
7567
DROP PROCEDURE IF EXISTS sp1;
7568
CREATE PROCEDURE sp1()
7572
ERROR 42000: You 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;
7574
DROP PROCEDURE IF EXISTS sp1;
7575
CREATE PROCEDURE sp1()
7577
declare decimal char;
7579
ERROR 42000: You 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;
7581
DROP PROCEDURE IF EXISTS sp1;
7582
CREATE PROCEDURE sp1()
7584
declare declare 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 'declare char;
7588
DROP PROCEDURE IF EXISTS sp1;
7589
CREATE PROCEDURE sp1()
7591
declare default char;
7593
ERROR 42000: You 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;
7595
DROP PROCEDURE IF EXISTS sp1;
7596
CREATE PROCEDURE sp1()
7598
declare delayed char;
7600
ERROR 42000: You 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;
7602
DROP PROCEDURE IF EXISTS sp1;
7603
CREATE PROCEDURE sp1()
7605
declare delete char;
7607
ERROR 42000: You 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;
7609
DROP PROCEDURE IF EXISTS sp1;
7610
CREATE PROCEDURE sp1()
7614
ERROR 42000: You 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;
7616
DROP PROCEDURE IF EXISTS sp1;
7617
CREATE PROCEDURE sp1()
7619
declare describe char;
7621
ERROR 42000: You 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;
7623
DROP PROCEDURE IF EXISTS sp1;
7624
CREATE PROCEDURE sp1()
7626
declare deterministic char;
7628
ERROR 42000: You 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;
7630
DROP PROCEDURE IF EXISTS sp1;
7631
CREATE PROCEDURE sp1()
7633
declare distinct char;
7635
ERROR 42000: You 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;
7637
DROP PROCEDURE IF EXISTS sp1;
7638
CREATE PROCEDURE sp1()
7640
declare distinctrow char;
7642
ERROR 42000: You 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;
7644
DROP PROCEDURE IF EXISTS sp1;
7645
CREATE PROCEDURE sp1()
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 'div char;
7651
DROP PROCEDURE IF EXISTS sp1;
7652
CREATE PROCEDURE sp1()
7654
declare double char;
7656
ERROR 42000: You 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;
7658
DROP PROCEDURE IF EXISTS sp1;
7659
CREATE PROCEDURE sp1()
7663
ERROR 42000: You 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;
7665
DROP PROCEDURE IF EXISTS sp1;
7666
CREATE PROCEDURE sp1()
7670
ERROR 42000: You 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;
7672
DROP PROCEDURE IF EXISTS sp1;
7673
CREATE PROCEDURE sp1()
7677
ERROR 42000: You 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;
7679
DROP PROCEDURE IF EXISTS sp1;
7680
CREATE PROCEDURE sp1()
7684
ERROR 42000: You 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;
7686
DROP PROCEDURE IF EXISTS sp1;
7687
CREATE PROCEDURE sp1()
7689
declare elseif char;
7691
ERROR 42000: You 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;
7693
DROP PROCEDURE IF EXISTS sp1;
7694
CREATE PROCEDURE sp1()
7696
declare enclosed char;
7698
ERROR 42000: You 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;
7700
DROP PROCEDURE IF EXISTS sp1;
7701
CREATE PROCEDURE sp1()
7703
declare escaped char;
7705
ERROR 42000: You 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;
7707
DROP PROCEDURE IF EXISTS sp1;
7708
CREATE PROCEDURE sp1()
7710
declare exists 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 'exists char;
7714
DROP PROCEDURE IF EXISTS sp1;
7715
CREATE PROCEDURE sp1()
7719
ERROR 42000: You 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;
7721
DROP PROCEDURE IF EXISTS sp1;
7722
CREATE PROCEDURE sp1()
7724
declare explain char;
7726
ERROR 42000: You 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;
7728
DROP PROCEDURE IF EXISTS sp1;
7729
CREATE PROCEDURE sp1()
7733
ERROR 42000: You 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;
7735
DROP PROCEDURE IF EXISTS sp1;
7736
CREATE PROCEDURE sp1()
7740
ERROR 42000: You 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;
7742
DROP PROCEDURE IF EXISTS sp1;
7743
CREATE PROCEDURE sp1()
7747
ERROR 42000: You 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;
7749
DROP PROCEDURE IF EXISTS sp1;
7750
CREATE PROCEDURE sp1()
7752
declare float4 char;
7754
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 char;
7756
DROP PROCEDURE IF EXISTS sp1;
7757
CREATE PROCEDURE sp1()
7759
declare float8 char;
7761
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 char;
7763
DROP PROCEDURE IF EXISTS sp1;
7764
CREATE PROCEDURE sp1()
7768
ERROR 42000: You 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;
7770
DROP PROCEDURE IF EXISTS sp1;
7771
CREATE PROCEDURE sp1()
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 'force char;
7777
DROP PROCEDURE IF EXISTS sp1;
7778
CREATE PROCEDURE sp1()
7780
declare foreign char;
7782
ERROR 42000: You 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;
7784
DROP PROCEDURE IF EXISTS sp1;
7785
CREATE PROCEDURE sp1()
7789
ERROR 42000: You 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;
7791
DROP PROCEDURE IF EXISTS sp1;
7792
CREATE PROCEDURE sp1()
7794
declare fulltext char;
7796
ERROR 42000: You 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;
7798
DROP PROCEDURE IF EXISTS sp1;
7799
CREATE PROCEDURE sp1()
7803
ERROR 42000: You 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;
7805
DROP PROCEDURE IF EXISTS sp1;
7806
CREATE PROCEDURE sp1()
7810
ERROR 42000: You 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;
7812
DROP PROCEDURE IF EXISTS sp1;
7813
CREATE PROCEDURE sp1()
7815
declare having char;
7817
ERROR 42000: You 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;
7819
DROP PROCEDURE IF EXISTS sp1;
7820
CREATE PROCEDURE sp1()
7822
declare high_priority char;
7824
ERROR 42000: You 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;
7826
DROP PROCEDURE IF EXISTS sp1;
7827
CREATE PROCEDURE sp1()
7829
declare hour_microsecond char;
7831
ERROR 42000: You 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;
7833
DROP PROCEDURE IF EXISTS sp1;
7834
CREATE PROCEDURE sp1()
7836
declare hour_minute char;
7838
ERROR 42000: You 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;
7840
DROP PROCEDURE IF EXISTS sp1;
7841
CREATE PROCEDURE sp1()
7843
declare hour_second char;
7845
ERROR 42000: You 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;
7847
DROP PROCEDURE IF EXISTS sp1;
7848
CREATE PROCEDURE sp1()
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 'if char;
7854
DROP PROCEDURE IF EXISTS sp1;
7855
CREATE PROCEDURE sp1()
7857
declare ignore char;
7859
ERROR 42000: You 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;
7861
DROP PROCEDURE IF EXISTS sp1;
7862
CREATE PROCEDURE sp1()
7866
ERROR 42000: You 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;
7868
DROP PROCEDURE IF EXISTS sp1;
7869
CREATE PROCEDURE sp1()
7873
ERROR 42000: You 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;
7875
DROP PROCEDURE IF EXISTS sp1;
7876
CREATE PROCEDURE sp1()
7878
declare infile char;
7880
ERROR 42000: You 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;
7882
DROP PROCEDURE IF EXISTS sp1;
7883
CREATE PROCEDURE sp1()
7887
ERROR 42000: You 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;
7889
DROP PROCEDURE IF EXISTS sp1;
7890
CREATE PROCEDURE sp1()
7894
ERROR 42000: You 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;
7896
DROP PROCEDURE IF EXISTS sp1;
7897
CREATE PROCEDURE sp1()
7899
declare insensitive char;
7901
ERROR 42000: You 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;
7903
DROP PROCEDURE IF EXISTS sp1;
7904
CREATE PROCEDURE sp1()
7906
declare insert char;
7908
ERROR 42000: You 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;
7910
DROP PROCEDURE IF EXISTS sp1;
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 'int char;
7917
DROP PROCEDURE IF EXISTS sp1;
7918
CREATE PROCEDURE sp1()
7922
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 char;
7924
DROP PROCEDURE IF EXISTS sp1;
7925
CREATE PROCEDURE sp1()
7929
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 char;
7931
DROP PROCEDURE IF EXISTS sp1;
7932
CREATE PROCEDURE sp1()
7936
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char;
7938
DROP PROCEDURE IF EXISTS sp1;
7939
CREATE PROCEDURE sp1()
7943
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 char;
7945
DROP PROCEDURE IF EXISTS sp1;
7946
CREATE PROCEDURE sp1()
7950
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 char;
7952
DROP PROCEDURE IF EXISTS sp1;
7953
CREATE PROCEDURE sp1()
7955
declare integer char;
7957
ERROR 42000: You 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;
7959
DROP PROCEDURE IF EXISTS sp1;
7960
CREATE PROCEDURE sp1()
7962
declare interval char;
7964
ERROR 42000: You 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;
7966
DROP PROCEDURE IF EXISTS sp1;
7967
CREATE PROCEDURE sp1()
7971
ERROR 42000: You 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;
7973
DROP PROCEDURE IF EXISTS sp1;
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 'is char;
7980
DROP PROCEDURE IF EXISTS sp1;
7981
CREATE PROCEDURE sp1()
7983
declare iterate char;
7985
ERROR 42000: You 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;
7987
DROP PROCEDURE IF EXISTS sp1;
7988
CREATE PROCEDURE sp1()
7992
ERROR 42000: You 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;
7994
DROP PROCEDURE IF EXISTS sp1;
7995
CREATE PROCEDURE sp1()
7999
ERROR 42000: You 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;
8001
DROP PROCEDURE IF EXISTS sp1;
8002
CREATE PROCEDURE sp1()
8006
ERROR 42000: You 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;
8008
DROP PROCEDURE IF EXISTS sp1;
8009
CREATE PROCEDURE sp1()
8013
ERROR 42000: You 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;
8015
DROP PROCEDURE IF EXISTS sp1;
8016
CREATE PROCEDURE sp1()
8018
declare leading char;
8020
ERROR 42000: You 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;
8022
DROP PROCEDURE IF EXISTS sp1;
8023
CREATE PROCEDURE sp1()
8027
ERROR 42000: You 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;
8029
DROP PROCEDURE IF EXISTS sp1;
8030
CREATE PROCEDURE sp1()
8034
ERROR 42000: You 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;
8036
DROP PROCEDURE IF EXISTS sp1;
8037
CREATE PROCEDURE sp1()
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 'like char;
8043
DROP PROCEDURE IF EXISTS sp1;
8044
CREATE PROCEDURE sp1()
8048
ERROR 42000: You 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;
8050
DROP PROCEDURE IF EXISTS sp1;
8051
CREATE PROCEDURE sp1()
8053
declare linear char;
8055
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear char;
8057
DROP PROCEDURE IF EXISTS sp1;
8058
CREATE PROCEDURE sp1()
8062
ERROR 42000: You 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;
8064
DROP PROCEDURE IF EXISTS sp1;
8065
CREATE PROCEDURE sp1()
8069
ERROR 42000: You 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;
8071
DROP PROCEDURE IF EXISTS sp1;
8072
CREATE PROCEDURE sp1()
8074
declare localtime char;
8076
ERROR 42000: You 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;
8078
DROP PROCEDURE IF EXISTS sp1;
8079
CREATE PROCEDURE sp1()
8081
declare localtimestamp char;
8083
ERROR 42000: You 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;
8085
DROP PROCEDURE IF EXISTS sp1;
8086
CREATE PROCEDURE sp1()
8090
ERROR 42000: You 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;
8092
DROP PROCEDURE IF EXISTS sp1;
8093
CREATE PROCEDURE sp1()
8097
ERROR 42000: You 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;
8099
DROP PROCEDURE IF EXISTS sp1;
8100
CREATE PROCEDURE sp1()
8102
declare longblob char;
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 'longblob char;
8106
DROP PROCEDURE IF EXISTS sp1;
8107
CREATE PROCEDURE sp1()
8109
declare longtext char;
8111
ERROR 42000: You 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;
8113
DROP PROCEDURE IF EXISTS sp1;
8114
CREATE PROCEDURE sp1()
8118
ERROR 42000: You 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;
8120
DROP PROCEDURE IF EXISTS sp1;
8121
CREATE PROCEDURE sp1()
8123
declare low_priority char;
8125
ERROR 42000: You 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;
8127
DROP PROCEDURE IF EXISTS sp1;
8128
CREATE PROCEDURE sp1()
8130
declare master_ssl_verify_server_cert char;
8132
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert char;
8134
DROP PROCEDURE IF EXISTS sp1;
8135
CREATE PROCEDURE sp1()
8139
ERROR 42000: You 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;
8141
DROP PROCEDURE IF EXISTS sp1;
8142
CREATE PROCEDURE sp1()
8144
declare mediumblob char;
8146
ERROR 42000: You 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;
8148
DROP PROCEDURE IF EXISTS sp1;
8149
CREATE PROCEDURE sp1()
8151
declare mediumint char;
8153
ERROR 42000: You 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;
8155
DROP PROCEDURE IF EXISTS sp1;
8156
CREATE PROCEDURE sp1()
8158
declare mediumtext char;
8160
ERROR 42000: You 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;
8162
DROP PROCEDURE IF EXISTS sp1;
8163
CREATE PROCEDURE sp1()
8165
declare middleint char;
8167
ERROR 42000: You 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;
8169
DROP PROCEDURE IF EXISTS sp1;
8170
CREATE PROCEDURE sp1()
8172
declare minute_microsecond char;
8174
ERROR 42000: You 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;
8176
DROP PROCEDURE IF EXISTS sp1;
8177
CREATE PROCEDURE sp1()
8179
declare minute_second char;
8181
ERROR 42000: You 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;
8183
DROP PROCEDURE IF EXISTS sp1;
8184
CREATE PROCEDURE sp1()
8188
ERROR 42000: You 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;
8190
DROP PROCEDURE IF EXISTS sp1;
8191
CREATE PROCEDURE sp1()
8193
declare modifies char;
8195
ERROR 42000: You 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;
8197
DROP PROCEDURE IF EXISTS sp1;
8198
CREATE PROCEDURE sp1()
8200
declare natural char;
8202
ERROR 42000: You 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;
8204
DROP PROCEDURE IF EXISTS sp1;
8205
CREATE PROCEDURE sp1()
8209
ERROR 42000: You 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;
8211
DROP PROCEDURE IF EXISTS sp1;
8212
CREATE PROCEDURE sp1()
8214
declare no_write_to_binlog char;
8216
ERROR 42000: You 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;
8218
DROP PROCEDURE IF EXISTS sp1;
8219
CREATE PROCEDURE sp1()
8223
ERROR 42000: You 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;
8225
DROP PROCEDURE IF EXISTS sp1;
8226
CREATE PROCEDURE sp1()
8228
declare numeric char;
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 'numeric char;
8232
DROP PROCEDURE IF EXISTS sp1;
8233
CREATE PROCEDURE sp1()
8237
ERROR 42000: You 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;
8239
DROP PROCEDURE IF EXISTS sp1;
8240
CREATE PROCEDURE sp1()
8242
declare optimize char;
8244
ERROR 42000: You 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;
8246
DROP PROCEDURE IF EXISTS sp1;
8247
CREATE PROCEDURE sp1()
8249
declare option char;
8251
ERROR 42000: You 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;
8253
DROP PROCEDURE IF EXISTS sp1;
8254
CREATE PROCEDURE sp1()
8256
declare optionally char;
8258
ERROR 42000: You 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;
8260
DROP PROCEDURE IF EXISTS sp1;
8261
CREATE PROCEDURE sp1()
8265
ERROR 42000: You 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;
8267
DROP PROCEDURE IF EXISTS sp1;
8268
CREATE PROCEDURE sp1()
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 'order char;
8274
DROP PROCEDURE IF EXISTS sp1;
8275
CREATE PROCEDURE sp1()
8279
ERROR 42000: You 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;
8281
DROP PROCEDURE IF EXISTS sp1;
8282
CREATE PROCEDURE sp1()
8286
ERROR 42000: You 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;
8288
DROP PROCEDURE IF EXISTS sp1;
8289
CREATE PROCEDURE sp1()
8291
declare outfile char;
8293
ERROR 42000: You 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;
8295
DROP PROCEDURE IF EXISTS sp1;
8296
CREATE PROCEDURE sp1()
8298
declare precision char;
8300
ERROR 42000: You 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;
8302
DROP PROCEDURE IF EXISTS sp1;
8303
CREATE PROCEDURE sp1()
8305
declare primary char;
8307
ERROR 42000: You 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;
8309
DROP PROCEDURE IF EXISTS sp1;
8310
CREATE PROCEDURE sp1()
8312
declare procedure char;
8314
ERROR 42000: You 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;
8316
DROP PROCEDURE IF EXISTS sp1;
8317
CREATE PROCEDURE sp1()
8321
ERROR 42000: You 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;
8323
DROP PROCEDURE IF EXISTS sp1;
8324
CREATE PROCEDURE sp1()
8328
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range char;
8330
DROP PROCEDURE IF EXISTS sp1;
8331
CREATE PROCEDURE sp1()
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 'read char;
8337
DROP PROCEDURE IF EXISTS sp1;
8338
CREATE PROCEDURE sp1()
8342
ERROR 42000: You 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;
8344
DROP PROCEDURE IF EXISTS sp1;
8345
CREATE PROCEDURE sp1()
8347
declare read_only char;
8349
DROP PROCEDURE IF EXISTS sp1;
8350
CREATE PROCEDURE sp1()
8352
declare read_write char;
8354
ERROR 42000: You 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_write char;
8356
DROP PROCEDURE IF EXISTS sp1;
8357
CREATE PROCEDURE sp1()
8361
ERROR 42000: You 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;
8363
DROP PROCEDURE IF EXISTS sp1;
8364
CREATE PROCEDURE sp1()
8366
declare references char;
8368
ERROR 42000: You 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;
8370
DROP PROCEDURE IF EXISTS sp1;
8371
CREATE PROCEDURE sp1()
8373
declare regexp char;
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 'regexp char;
8377
DROP PROCEDURE IF EXISTS sp1;
8378
CREATE PROCEDURE sp1()
8380
declare release char;
8382
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release char;
8384
DROP PROCEDURE IF EXISTS sp1;
8385
CREATE PROCEDURE sp1()
8387
declare rename char;
8389
ERROR 42000: You 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;
8391
DROP PROCEDURE IF EXISTS sp1;
8392
CREATE PROCEDURE sp1()
8394
declare repeat char;
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 'repeat char;
8398
DROP PROCEDURE IF EXISTS sp1;
8399
CREATE PROCEDURE sp1()
8401
declare replace char;
8403
ERROR 42000: You 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;
8405
DROP PROCEDURE IF EXISTS sp1;
8407
Note 1305 PROCEDURE sp1 does not exist
8408
CREATE PROCEDURE sp1()
8410
declare require char;
8412
ERROR 42000: You 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;
8414
DROP PROCEDURE IF EXISTS sp1;
8416
Note 1305 PROCEDURE sp1 does not exist
8417
CREATE PROCEDURE sp1()
8419
declare restrict char;
8421
ERROR 42000: You 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;
8423
DROP PROCEDURE IF EXISTS sp1;
8425
Note 1305 PROCEDURE sp1 does not exist
8426
CREATE PROCEDURE sp1()
8428
declare return char;
8430
ERROR 42000: You 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;
8432
DROP PROCEDURE IF EXISTS sp1;
8434
Note 1305 PROCEDURE sp1 does not exist
8435
CREATE PROCEDURE sp1()
8437
declare revoke char;
8439
ERROR 42000: You 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;
8441
DROP PROCEDURE IF EXISTS sp1;
8443
Note 1305 PROCEDURE sp1 does not exist
8444
CREATE PROCEDURE sp1()
8448
ERROR 42000: You 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;
8450
DROP PROCEDURE IF EXISTS sp1;
8452
Note 1305 PROCEDURE sp1 does not exist
8453
CREATE PROCEDURE sp1()
8457
ERROR 42000: You 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;
8459
DROP PROCEDURE IF EXISTS sp1;
8461
Note 1305 PROCEDURE sp1 does not exist
8462
CREATE PROCEDURE sp1()
8464
declare schema char;
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 'schema char;
8468
DROP PROCEDURE IF EXISTS sp1;
8470
Note 1305 PROCEDURE sp1 does not exist
8471
CREATE PROCEDURE sp1()
8473
declare schemas char;
8475
ERROR 42000: You 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;
8477
DROP PROCEDURE IF EXISTS sp1;
8479
Note 1305 PROCEDURE sp1 does not exist
8480
CREATE PROCEDURE sp1()
8482
declare second_microsecond char;
8484
ERROR 42000: You 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;
8486
DROP PROCEDURE IF EXISTS sp1;
8488
Note 1305 PROCEDURE sp1 does not exist
8489
CREATE PROCEDURE sp1()
8491
declare SELECT char;
8493
ERROR 42000: You 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;
8495
DROP PROCEDURE IF EXISTS sp1;
8497
Note 1305 PROCEDURE sp1 does not exist
8498
CREATE PROCEDURE sp1()
8500
declare sensitive char;
8502
ERROR 42000: You 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;
8504
DROP PROCEDURE IF EXISTS sp1;
8506
Note 1305 PROCEDURE sp1 does not exist
8507
CREATE PROCEDURE sp1()
8509
declare separator char;
8511
ERROR 42000: You 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;
8513
DROP PROCEDURE IF EXISTS sp1;
8515
Note 1305 PROCEDURE sp1 does not exist
8516
CREATE PROCEDURE sp1()
8520
ERROR 42000: You 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;
8522
DROP PROCEDURE IF EXISTS sp1;
8524
Note 1305 PROCEDURE sp1 does not exist
8525
CREATE PROCEDURE sp1()
8529
ERROR 42000: You 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;
8531
DROP PROCEDURE IF EXISTS sp1;
8533
Note 1305 PROCEDURE sp1 does not exist
8534
CREATE PROCEDURE sp1()
8536
declare smallint char;
8538
ERROR 42000: You 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;
8540
DROP PROCEDURE IF EXISTS sp1;
8542
Note 1305 PROCEDURE sp1 does not exist
8543
CREATE PROCEDURE sp1()
8545
declare spatial char;
8547
ERROR 42000: You 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;
8549
DROP PROCEDURE IF EXISTS sp1;
8551
Note 1305 PROCEDURE sp1 does not exist
8552
CREATE PROCEDURE sp1()
8554
declare specific char;
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 'specific char;
8558
DROP PROCEDURE IF EXISTS sp1;
8560
Note 1305 PROCEDURE sp1 does not exist
8561
CREATE PROCEDURE sp1()
8565
ERROR 42000: You 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;
8567
DROP PROCEDURE IF EXISTS sp1;
8569
Note 1305 PROCEDURE sp1 does not exist
8570
CREATE PROCEDURE sp1()
8572
declare sqlexception char;
8574
ERROR 42000: You 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;
8576
DROP PROCEDURE IF EXISTS sp1;
8578
Note 1305 PROCEDURE sp1 does not exist
8579
CREATE PROCEDURE sp1()
8581
declare sqlstate char;
8583
ERROR 42000: You 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;
8585
DROP PROCEDURE IF EXISTS sp1;
8587
Note 1305 PROCEDURE sp1 does not exist
8588
CREATE PROCEDURE sp1()
8590
declare sqlwarning char;
8592
ERROR 42000: You 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;
8594
DROP PROCEDURE IF EXISTS sp1;
8596
Note 1305 PROCEDURE sp1 does not exist
8597
CREATE PROCEDURE sp1()
8599
declare sql_big_result char;
8601
ERROR 42000: You 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;
8603
DROP PROCEDURE IF EXISTS sp1;
8605
Note 1305 PROCEDURE sp1 does not exist
8606
CREATE PROCEDURE sp1()
8608
declare sql_calc_found_rows char;
8610
ERROR 42000: You 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;
8612
DROP PROCEDURE IF EXISTS sp1;
8614
Note 1305 PROCEDURE sp1 does not exist
8615
CREATE PROCEDURE sp1()
8617
declare sql_small_result char;
8619
ERROR 42000: You 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;
8621
DROP PROCEDURE IF EXISTS sp1;
8623
Note 1305 PROCEDURE sp1 does not exist
8624
CREATE PROCEDURE sp1()
8628
ERROR 42000: You 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;
8630
DROP PROCEDURE IF EXISTS sp1;
8632
Note 1305 PROCEDURE sp1 does not exist
8633
CREATE PROCEDURE sp1()
8635
declare starting char;
8637
ERROR 42000: You 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;
8639
DROP PROCEDURE IF EXISTS sp1;
8641
Note 1305 PROCEDURE sp1 does not exist
8642
CREATE PROCEDURE sp1()
8644
declare straight_join char;
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 'straight_join char;
8648
DROP PROCEDURE IF EXISTS sp1;
8650
Note 1305 PROCEDURE sp1 does not exist
8651
CREATE PROCEDURE sp1()
8655
ERROR 42000: You 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;
8657
DROP PROCEDURE IF EXISTS sp1;
8659
Note 1305 PROCEDURE sp1 does not exist
8660
CREATE PROCEDURE sp1()
8662
declare terminated char;
8664
ERROR 42000: You 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;
8666
DROP PROCEDURE IF EXISTS sp1;
8668
Note 1305 PROCEDURE sp1 does not exist
8669
CREATE PROCEDURE sp1()
8673
ERROR 42000: You 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;
8675
DROP PROCEDURE IF EXISTS sp1;
8677
Note 1305 PROCEDURE sp1 does not exist
8678
CREATE PROCEDURE sp1()
8680
declare tinyblob char;
8682
ERROR 42000: You 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;
8684
DROP PROCEDURE IF EXISTS sp1;
8686
Note 1305 PROCEDURE sp1 does not exist
8687
CREATE PROCEDURE sp1()
8689
declare tinyint char;
8691
ERROR 42000: You 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;
8693
DROP PROCEDURE IF EXISTS sp1;
8695
Note 1305 PROCEDURE sp1 does not exist
8696
CREATE PROCEDURE sp1()
8698
declare tinytext char;
8700
ERROR 42000: You 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;
8702
DROP PROCEDURE IF EXISTS sp1;
8704
Note 1305 PROCEDURE sp1 does not exist
8705
CREATE PROCEDURE sp1()
8709
ERROR 42000: You 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;
8711
DROP PROCEDURE IF EXISTS sp1;
8713
Note 1305 PROCEDURE sp1 does not exist
8714
CREATE PROCEDURE sp1()
8716
declare trailing char;
8718
ERROR 42000: You 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;
8720
DROP PROCEDURE IF EXISTS sp1;
8722
Note 1305 PROCEDURE sp1 does not exist
8723
CREATE PROCEDURE sp1()
8725
declare trigger char;
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 'trigger char;
8729
DROP PROCEDURE IF EXISTS sp1;
8731
Note 1305 PROCEDURE sp1 does not exist
8732
CREATE PROCEDURE sp1()
8736
ERROR 42000: You 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;
8738
DROP PROCEDURE IF EXISTS sp1;
8740
Note 1305 PROCEDURE sp1 does not exist
8741
CREATE PROCEDURE sp1()
8745
ERROR 42000: You 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;
8747
DROP PROCEDURE IF EXISTS sp1;
8749
Note 1305 PROCEDURE sp1 does not exist
8750
CREATE PROCEDURE sp1()
8754
ERROR 42000: You 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;
8756
DROP PROCEDURE IF EXISTS sp1;
8758
Note 1305 PROCEDURE sp1 does not exist
8759
CREATE PROCEDURE sp1()
8761
declare unique char;
8763
ERROR 42000: You 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;
8765
DROP PROCEDURE IF EXISTS sp1;
8767
Note 1305 PROCEDURE sp1 does not exist
8768
CREATE PROCEDURE sp1()
8770
declare unlock char;
8772
ERROR 42000: You 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;
8774
DROP PROCEDURE IF EXISTS sp1;
8776
Note 1305 PROCEDURE sp1 does not exist
8777
CREATE PROCEDURE sp1()
8779
declare unsigned char;
8781
ERROR 42000: You 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;
8783
DROP PROCEDURE IF EXISTS sp1;
8785
Note 1305 PROCEDURE sp1 does not exist
8786
CREATE PROCEDURE sp1()
8788
declare update char;
8790
ERROR 42000: You 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;
8792
DROP PROCEDURE IF EXISTS sp1;
8794
Note 1305 PROCEDURE sp1 does not exist
8795
CREATE PROCEDURE sp1()
8799
ERROR 42000: You 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;
8801
DROP PROCEDURE IF EXISTS sp1;
8803
Note 1305 PROCEDURE sp1 does not exist
8804
CREATE PROCEDURE sp1()
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 'use char;
8810
DROP PROCEDURE IF EXISTS sp1;
8812
Note 1305 PROCEDURE sp1 does not exist
8813
CREATE PROCEDURE sp1()
8817
ERROR 42000: You 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;
8819
DROP PROCEDURE IF EXISTS sp1;
8821
Note 1305 PROCEDURE sp1 does not exist
8822
CREATE PROCEDURE sp1()
8824
declare utc_date char;
8826
ERROR 42000: You 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;
8828
DROP PROCEDURE IF EXISTS sp1;
8830
Note 1305 PROCEDURE sp1 does not exist
8831
CREATE PROCEDURE sp1()
8833
declare utc_time char;
8835
ERROR 42000: You 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;
8837
DROP PROCEDURE IF EXISTS sp1;
8839
Note 1305 PROCEDURE sp1 does not exist
8840
CREATE PROCEDURE sp1()
8842
declare utc_timestamp char;
8844
ERROR 42000: You 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;
8846
DROP PROCEDURE IF EXISTS sp1;
8848
Note 1305 PROCEDURE sp1 does not exist
8849
CREATE PROCEDURE sp1()
8851
declare values char;
8853
ERROR 42000: You 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;
8855
DROP PROCEDURE IF EXISTS sp1;
8857
Note 1305 PROCEDURE sp1 does not exist
8858
CREATE PROCEDURE sp1()
8860
declare varbinary char;
8862
ERROR 42000: You 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;
8864
DROP PROCEDURE IF EXISTS sp1;
8866
Note 1305 PROCEDURE sp1 does not exist
8867
CREATE PROCEDURE sp1()
8869
declare varchar char;
8871
ERROR 42000: You 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;
8873
DROP PROCEDURE IF EXISTS sp1;
8875
Note 1305 PROCEDURE sp1 does not exist
8876
CREATE PROCEDURE sp1()
8878
declare varcharacter char;
8880
ERROR 42000: You 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;
8882
DROP PROCEDURE IF EXISTS sp1;
8884
Note 1305 PROCEDURE sp1 does not exist
8885
CREATE PROCEDURE sp1()
8887
declare varying char;
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 'varying char;
8891
DROP PROCEDURE IF EXISTS sp1;
8893
Note 1305 PROCEDURE sp1 does not exist
8894
CREATE PROCEDURE sp1()
8898
ERROR 42000: You 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;
8900
DROP PROCEDURE IF EXISTS sp1;
8902
Note 1305 PROCEDURE sp1 does not exist
8903
CREATE PROCEDURE sp1()
8907
ERROR 42000: You 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;
8909
DROP PROCEDURE IF EXISTS sp1;
8911
Note 1305 PROCEDURE sp1 does not exist
8912
CREATE PROCEDURE sp1()
8916
ERROR 42000: You 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;
8918
DROP PROCEDURE IF EXISTS sp1;
8920
Note 1305 PROCEDURE sp1 does not exist
8921
CREATE PROCEDURE sp1()
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 'with char;
8927
DROP PROCEDURE IF EXISTS sp1;
8929
Note 1305 PROCEDURE sp1 does not exist
8930
CREATE PROCEDURE sp1()
8934
ERROR 42000: You 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;
8936
DROP PROCEDURE IF EXISTS sp1;
8938
Note 1305 PROCEDURE sp1 does not exist
8939
CREATE PROCEDURE sp1()
8943
ERROR 42000: You 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;
8945
DROP PROCEDURE IF EXISTS sp1;
8947
Note 1305 PROCEDURE sp1 does not exist
8948
CREATE PROCEDURE sp1()
8950
declare year_month char;
8952
ERROR 42000: You 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;
8954
DROP PROCEDURE IF EXISTS sp1;
8956
Note 1305 PROCEDURE sp1 does not exist
8957
CREATE PROCEDURE sp1()
8959
declare zerofill char;
8961
ERROR 42000: You 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;
8966
Ensure that every possible type of condition may be declared for a stored procedure
8967
( covered in more detail in handlers section.)
8968
--------------------------------------------------------------------------------
8969
DROP PROCEDURE IF EXISTS sp1;
8971
Note 1305 PROCEDURE sp1 does not exist
8972
CREATE PROCEDURE sp1()
8974
declare cond1 condition for sqlstate 'HY000';
8975
declare cond2 condition for sqlstate '23000';
8976
declare cond3 condition for sqlstate 'HY001';
8977
declare cond4 condition for sqlstate '08004';
8978
declare cond5 condition for sqlstate '08S01';
8979
declare cond6 condition for sqlstate '42000';
8980
declare cond7 condition for sqlstate '28000';
8981
declare cond8 condition for sqlstate '3D000';
8982
declare cond9 condition for sqlstate '42S01';
8983
declare cond10 condition for sqlstate '42S02';
8984
declare cond11 condition for sqlstate '42S22';
8985
declare cond12 condition for sqlstate '21S01';
8986
declare cond13 condition for sqlstate '42S21';
8987
declare cond14 condition for sqlstate '42S12';
8988
declare cond15 condition for sqlstate '22004';
8989
declare cond16 condition for sqlstate '25000';
8990
declare cond17 condition for sqlstate '40001';
8991
declare cond18 condition for sqlstate '21000';
8992
declare cond19 condition for sqlstate '01000';
8993
declare cond20 condition for sqlstate '22003';
8994
declare cond21 condition for sqlstate '22007';
8995
declare cond22 condition for sqlstate '0A000';
8996
declare cond23 condition for sqlstate '70100';
8997
declare cond24 condition for sqlstate '2F005';
8998
declare cond25 condition for sqlstate '24000';
8999
declare cond26 condition for sqlstate '02000';
9000
declare continue handler for cond2 set @x2 = 1;
9001
declare continue handler for cond1 set @x2 = 1;
9002
declare continue handler for cond3 set @x2 = 1;
9003
declare continue handler for cond4 set @x2 = 1;
9004
declare continue handler for cond5 set @x2 = 1;
9005
declare continue handler for cond7 set @x2 = 1;
9006
declare continue handler for cond6 set @x2 = 1;
9007
declare continue handler for cond8 set @x2 = 1;
9008
declare continue handler for cond9 set @x2 = 1;
9009
declare continue handler for cond10 set @x2 = 1;
9010
declare continue handler for cond11 set @x2 = 1;
9011
declare continue handler for cond12 set @x2 = 1;
9012
declare continue handler for cond13 set @x2 = 1;
9013
declare continue handler for cond14 set @x2 = 1;
9014
declare continue handler for cond15 set @x2 = 1;
9015
declare continue handler for cond16 set @x2 = 1;
9016
declare continue handler for cond17 set @x2 = 1;
9017
declare continue handler for cond18 set @x2 = 1;
9018
declare continue handler for cond19 set @x2 = 1;
9019
declare continue handler for cond20 set @x2 = 1;
9020
declare continue handler for cond21 set @x2 = 1;
9021
declare continue handler for cond22 set @x2 = 1;
9022
declare continue handler for cond23 set @x2 = 1;
9023
declare continue handler for cond24 set @x2 = 1;
9024
declare continue handler for cond25 set @x2 = 1;
9025
declare continue handler for cond26 set @x2 = 1;
9027
insert into t2 values (1);
9029
insert into t2 values (1);
9034
DROP PROCEDURE IF EXISTS sp1;
9036
Note 1305 PROCEDURE sp1 does not exist
9037
CREATE PROCEDURE sp1( )
9041
ERROR 42000: You 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;
9043
DROP PROCEDURE IF EXISTS sp1;
9045
Note 1305 PROCEDURE sp1 does not exist
9046
CREATE PROCEDURE sp1( )
9050
ERROR 42000: You 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;
9052
DROP PROCEDURE IF EXISTS sp1;
9054
Note 1305 PROCEDURE sp1 does not exist
9055
CREATE PROCEDURE sp1( )
9057
declare accessible condition for sqlstate '02000';
9058
declare exit handler for add set @var2 = 1;
9060
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible condition for sqlstate '02000';
9061
declare exit handler for add set @var' at line 3
9062
DROP PROCEDURE IF EXISTS sp1;
9064
Note 1305 PROCEDURE sp1 does not exist
9065
CREATE PROCEDURE sp1( )
9067
declare add condition for sqlstate '02000';
9068
declare exit handler for add set @var2 = 1;
9070
ERROR 42000: You 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';
9071
declare exit handler for add set @var2 = 1;
9073
DROP PROCEDURE IF EXISTS sp1;
9075
Note 1305 PROCEDURE sp1 does not exist
9076
CREATE PROCEDURE sp1( )
9078
declare all condition for sqlstate '02000';
9079
declare exit handler for all set @var2 = 1;
9081
ERROR 42000: You 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';
9082
declare exit handler for all set @var2 = 1;
9084
DROP PROCEDURE IF EXISTS sp1;
9086
Note 1305 PROCEDURE sp1 does not exist
9087
CREATE PROCEDURE sp1( )
9089
declare alter condition for sqlstate '02000';
9090
declare exit handler for alter set @var2 = 1;
9092
ERROR 42000: You 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';
9093
declare exit handler for alter set @var2 =' at line 3
9094
DROP PROCEDURE IF EXISTS sp1;
9096
Note 1305 PROCEDURE sp1 does not exist
9097
CREATE PROCEDURE sp1( )
9099
declare analyze condition for sqlstate '02000';
9100
declare exit handler for analyze set @var2 = 1;
9102
ERROR 42000: You 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';
9103
declare exit handler for analyze set @va' at line 3
9104
DROP PROCEDURE IF EXISTS sp1;
9106
Note 1305 PROCEDURE sp1 does not exist
9107
CREATE PROCEDURE sp1( )
9109
declare and condition for sqlstate '02000';
9110
declare exit handler for and set @var2 = 1;
9112
ERROR 42000: You 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';
9113
declare exit handler for and set @var2 = 1;
9115
DROP PROCEDURE IF EXISTS sp1;
9117
Note 1305 PROCEDURE sp1 does not exist
9118
CREATE PROCEDURE sp1( )
9120
declare as condition for sqlstate '02000';
9121
declare exit handler for as set @var2 = 1;
9123
ERROR 42000: You 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';
9124
declare exit handler for as set @var2 = 1;
9126
DROP PROCEDURE IF EXISTS sp1;
9128
Note 1305 PROCEDURE sp1 does not exist
9129
CREATE PROCEDURE sp1( )
9131
declare asc condition for sqlstate '02000';
9132
declare exit handler for asc set @var2 = 1;
9134
ERROR 42000: You 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';
9135
declare exit handler for asc set @var2 = 1;
9137
DROP PROCEDURE IF EXISTS sp1;
9139
Note 1305 PROCEDURE sp1 does not exist
9140
CREATE PROCEDURE sp1( )
9142
declare asensitive condition for sqlstate '02000';
9143
declare exit handler for asensitive set @var2 = 1;
9145
ERROR 42000: You 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';
9146
declare exit handler for asensitive s' at line 3
9147
DROP PROCEDURE IF EXISTS sp1;
9149
Note 1305 PROCEDURE sp1 does not exist
9150
CREATE PROCEDURE sp1( )
9152
declare before condition for sqlstate '02000';
9153
declare exit handler for before set @var2 = 1;
9155
ERROR 42000: You 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';
9156
declare exit handler for before set @var2' at line 3
9157
DROP PROCEDURE IF EXISTS sp1;
9159
Note 1305 PROCEDURE sp1 does not exist
9160
CREATE PROCEDURE sp1( )
9162
declare between condition for sqlstate '02000';
9163
declare exit handler for between set @var2 = 1;
9165
ERROR 42000: You 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';
9166
declare exit handler for between set @va' at line 3
9167
DROP PROCEDURE IF EXISTS sp1;
9169
Note 1305 PROCEDURE sp1 does not exist
9170
CREATE PROCEDURE sp1( )
9172
declare bigint condition for sqlstate '02000';
9173
declare exit handler for bigint set @var2 = 1;
9175
ERROR 42000: You 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';
9176
declare exit handler for bigint set @var2' at line 3
9177
DROP PROCEDURE IF EXISTS sp1;
9179
Note 1305 PROCEDURE sp1 does not exist
9180
CREATE PROCEDURE sp1( )
9182
declare binary condition for sqlstate '02000';
9183
declare exit handler for binary set @var2 = 1;
9185
ERROR 42000: You 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';
9186
declare exit handler for binary set @var2' at line 3
9187
DROP PROCEDURE IF EXISTS sp1;
9189
Note 1305 PROCEDURE sp1 does not exist
9190
CREATE PROCEDURE sp1( )
9192
declare blob condition for sqlstate '02000';
9193
declare exit handler for blob set @var2 = 1;
9195
ERROR 42000: You 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';
9196
declare exit handler for blob set @var2 = 1' at line 3
9197
DROP PROCEDURE IF EXISTS sp1;
9199
Note 1305 PROCEDURE sp1 does not exist
9200
CREATE PROCEDURE sp1( )
9202
declare both condition for sqlstate '02000';
9203
declare exit handler for both set @var2 = 1;
9205
ERROR 42000: You 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';
9206
declare exit handler for both set @var2 = 1' at line 3
9207
DROP PROCEDURE IF EXISTS sp1;
9209
Note 1305 PROCEDURE sp1 does not exist
9210
CREATE PROCEDURE sp1( )
9212
declare by condition for sqlstate '02000';
9213
declare exit handler for by set @var2 = 1;
9215
ERROR 42000: You 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';
9216
declare exit handler for by set @var2 = 1;
9218
DROP PROCEDURE IF EXISTS sp1;
9220
Note 1305 PROCEDURE sp1 does not exist
9221
CREATE PROCEDURE sp1( )
9223
declare call condition for sqlstate '02000';
9224
declare exit handler for CALL set @var2 = 1;
9226
ERROR 42000: You 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';
9227
declare exit handler for CALL set @var2 = 1' at line 3
9228
DROP PROCEDURE IF EXISTS sp1;
9230
Note 1305 PROCEDURE sp1 does not exist
9231
CREATE PROCEDURE sp1( )
9233
declare cascade condition for sqlstate '02000';
9234
declare exit handler for cascade set @var2 = 1;
9236
ERROR 42000: You 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';
9237
declare exit handler for cascade set @va' at line 3
9238
DROP PROCEDURE IF EXISTS sp1;
9240
Note 1305 PROCEDURE sp1 does not exist
9241
CREATE PROCEDURE sp1( )
9243
declare case condition for sqlstate '02000';
9244
declare exit handler for case set @var2 = 1;
9246
ERROR 42000: You 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';
9247
declare exit handler for case set @var2 = 1' at line 3
9248
DROP PROCEDURE IF EXISTS sp1;
9250
Note 1305 PROCEDURE sp1 does not exist
9251
CREATE PROCEDURE sp1( )
9253
declare change condition for sqlstate '02000';
9254
declare exit handler for change set @var2 = 1;
9256
ERROR 42000: You 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';
9257
declare exit handler for change set @var2' at line 3
9258
DROP PROCEDURE IF EXISTS sp1;
9260
Note 1305 PROCEDURE sp1 does not exist
9261
CREATE PROCEDURE sp1( )
9263
declare char condition for sqlstate '02000';
9264
declare exit handler for char set @var2 = 1;
9266
ERROR 42000: You 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';
9267
declare exit handler for char set @var2 = 1' at line 3
9268
DROP PROCEDURE IF EXISTS sp1;
9270
Note 1305 PROCEDURE sp1 does not exist
9271
CREATE PROCEDURE sp1( )
9273
declare character condition for sqlstate '02000';
9274
declare exit handler for character set @var2 = 1;
9276
ERROR 42000: You 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';
9277
declare exit handler for character set' at line 3
9278
DROP PROCEDURE IF EXISTS sp1;
9280
Note 1305 PROCEDURE sp1 does not exist
9281
CREATE PROCEDURE sp1( )
9283
declare check condition for sqlstate '02000';
9284
declare exit handler for check set @var2 = 1;
9286
ERROR 42000: You 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';
9287
declare exit handler for check set @var2 =' at line 3
9288
DROP PROCEDURE IF EXISTS sp1;
9290
Note 1305 PROCEDURE sp1 does not exist
9291
CREATE PROCEDURE sp1( )
9293
declare collate condition for sqlstate '02000';
9294
declare exit handler for collate set @var2 = 1;
9296
ERROR 42000: You 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';
9297
declare exit handler for collate set @va' at line 3
9298
DROP PROCEDURE IF EXISTS sp1;
9300
Note 1305 PROCEDURE sp1 does not exist
9301
CREATE PROCEDURE sp1( )
9303
declare column condition for sqlstate '02000';
9304
declare exit handler for column set @var2 = 1;
9306
ERROR 42000: You 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';
9307
declare exit handler for column set @var2' at line 3
9308
DROP PROCEDURE IF EXISTS sp1;
9310
Note 1305 PROCEDURE sp1 does not exist
9311
CREATE PROCEDURE sp1( )
9313
declare condition condition for sqlstate '02000';
9314
declare exit handler for condition set @var2 = 1;
9316
ERROR 42000: You 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';
9317
declare exit handler for condition set' at line 3
9318
DROP PROCEDURE IF EXISTS sp1;
9320
Note 1305 PROCEDURE sp1 does not exist
9321
CREATE PROCEDURE sp1( )
9323
declare connection condition for sqlstate '02000';
9324
declare exit handler for connection set @var2 = 1;
9326
DROP PROCEDURE IF EXISTS sp1;
9327
CREATE PROCEDURE sp1( )
9329
declare constraint condition for sqlstate '02000';
9330
declare exit handler for constraint set @var2 = 1;
9332
ERROR 42000: You 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';
9333
declare exit handler for constraint s' at line 3
9334
DROP PROCEDURE IF EXISTS sp1;
9336
Note 1305 PROCEDURE sp1 does not exist
9337
CREATE PROCEDURE sp1( )
9339
declare continue condition for sqlstate '02000';
9340
declare exit handler for continue set @var2 = 1;
9342
ERROR 42000: You 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';
9343
declare exit handler for continue set @var2 = 1;' at line 3
9344
DROP PROCEDURE IF EXISTS sp1;
9346
Note 1305 PROCEDURE sp1 does not exist
9347
CREATE PROCEDURE sp1( )
9349
declare convert condition for sqlstate '02000';
9350
declare exit handler for convert set @var2 = 1;
9352
ERROR 42000: You 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';
9353
declare exit handler for convert set @va' at line 3
9354
DROP PROCEDURE IF EXISTS sp1;
9356
Note 1305 PROCEDURE sp1 does not exist
9357
CREATE PROCEDURE sp1( )
9359
declare create condition for sqlstate '02000';
9360
declare exit handler for create set @var2 = 1;
9362
ERROR 42000: You 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';
9363
declare exit handler for create set @var2' at line 3
9364
DROP PROCEDURE IF EXISTS sp1;
9366
Note 1305 PROCEDURE sp1 does not exist
9367
CREATE PROCEDURE sp1( )
9369
declare cross condition for sqlstate '02000';
9370
declare exit handler for cross set @var2 = 1;
9372
ERROR 42000: You 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';
9373
declare exit handler for cross set @var2 =' at line 3
9374
DROP PROCEDURE IF EXISTS sp1;
9376
Note 1305 PROCEDURE sp1 does not exist
9377
CREATE PROCEDURE sp1( )
9379
declare current_date condition for sqlstate '02000';
9380
declare exit handler for current_date set @var2 = 1;
9382
ERROR 42000: You 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';
9383
declare exit handler for current_da' at line 3
9384
DROP PROCEDURE IF EXISTS sp1;
9386
Note 1305 PROCEDURE sp1 does not exist
9387
CREATE PROCEDURE sp1( )
9389
declare current_time condition for sqlstate '02000';
9390
declare exit handler for current_time set @var2 = 1;
9392
ERROR 42000: You 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';
9393
declare exit handler for current_ti' at line 3
9394
DROP PROCEDURE IF EXISTS sp1;
9396
Note 1305 PROCEDURE sp1 does not exist
9397
CREATE PROCEDURE sp1( )
9399
declare current_timestamp condition for sqlstate '02000';
9400
declare exit handler for current_timestamp set @var2 = 1;
9402
ERROR 42000: You 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';
9403
declare exit handler for curre' at line 3
9404
DROP PROCEDURE IF EXISTS sp1;
9406
Note 1305 PROCEDURE sp1 does not exist
9407
CREATE PROCEDURE sp1( )
9409
declare current_user condition for sqlstate '02000';
9410
declare exit handler for current_user set @var2 = 1;
9412
ERROR 42000: You 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';
9413
declare exit handler for current_us' at line 3
9414
DROP PROCEDURE IF EXISTS sp1;
9416
Note 1305 PROCEDURE sp1 does not exist
9417
CREATE PROCEDURE sp1( )
9419
declare cursor condition for sqlstate '02000';
9420
declare exit handler for cursor set @var2 = 1;
9422
ERROR 42000: You 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';
9423
declare exit handler for cursor set @var2' at line 3
9424
DROP PROCEDURE IF EXISTS sp1;
9426
Note 1305 PROCEDURE sp1 does not exist
9427
CREATE PROCEDURE sp1( )
9429
declare database condition for sqlstate '02000';
9430
declare exit handler for database set @var2 = 1;
9432
ERROR 42000: You 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';
9433
declare exit handler for database set @' at line 3
9434
DROP PROCEDURE IF EXISTS sp1;
9436
Note 1305 PROCEDURE sp1 does not exist
9437
CREATE PROCEDURE sp1( )
9439
declare databases condition for sqlstate '02000';
9440
declare exit handler for databases set @var2 = 1;
9442
ERROR 42000: You 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';
9443
declare exit handler for databases set' at line 3
9444
DROP PROCEDURE IF EXISTS sp1;
9446
Note 1305 PROCEDURE sp1 does not exist
9447
CREATE PROCEDURE sp1( )
9449
declare day_hour condition for sqlstate '02000';
9450
declare exit handler for day_hour set @var2 = 1;
9452
ERROR 42000: You 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';
9453
declare exit handler for day_hour set @' at line 3
9454
DROP PROCEDURE IF EXISTS sp1;
9456
Note 1305 PROCEDURE sp1 does not exist
9457
CREATE PROCEDURE sp1( )
9459
declare day_microsecond condition for sqlstate '02000';
9460
declare exit handler for day_microsecond set @var2 = 1;
9462
ERROR 42000: You 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';
9463
declare exit handler for day_mic' at line 3
9464
DROP PROCEDURE IF EXISTS sp1;
9466
Note 1305 PROCEDURE sp1 does not exist
9467
CREATE PROCEDURE sp1( )
9469
declare day_minute condition for sqlstate '02000';
9470
declare exit handler for day_minute set @var2 = 1;
9472
ERROR 42000: You 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';
9473
declare exit handler for day_minute s' at line 3
9474
DROP PROCEDURE IF EXISTS sp1;
9476
Note 1305 PROCEDURE sp1 does not exist
9477
CREATE PROCEDURE sp1( )
9479
declare day_second condition for sqlstate '02000';
9480
declare exit handler for day_second set @var2 = 1;
9482
ERROR 42000: You 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';
9483
declare exit handler for day_second s' at line 3
9484
DROP PROCEDURE IF EXISTS sp1;
9486
Note 1305 PROCEDURE sp1 does not exist
9487
CREATE PROCEDURE sp1( )
9489
declare dec condition for sqlstate '02000';
9490
declare exit handler for dec set @var2 = 1;
9492
ERROR 42000: You 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';
9493
declare exit handler for dec set @var2 = 1;
9495
DROP PROCEDURE IF EXISTS sp1;
9497
Note 1305 PROCEDURE sp1 does not exist
9498
CREATE PROCEDURE sp1( )
9500
declare decimal condition for sqlstate '02000';
9501
declare exit handler for decimal set @var2 = 1;
9503
ERROR 42000: You 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';
9504
declare exit handler for decimal set @va' at line 3
9505
DROP PROCEDURE IF EXISTS sp1;
9507
Note 1305 PROCEDURE sp1 does not exist
9508
CREATE PROCEDURE sp1( )
9510
declare declare condition for sqlstate '02000';
9511
declare exit handler for declare set @var2 = 1;
9513
ERROR 42000: You 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';
9514
declare exit handler for declare set @va' at line 3
9515
DROP PROCEDURE IF EXISTS sp1;
9517
Note 1305 PROCEDURE sp1 does not exist
9518
CREATE PROCEDURE sp1( )
9520
declare default condition for sqlstate '02000';
9521
declare exit handler for default set @var2 = 1;
9523
ERROR 42000: You 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';
9524
declare exit handler for default set @va' at line 3
9525
DROP PROCEDURE IF EXISTS sp1;
9527
Note 1305 PROCEDURE sp1 does not exist
9528
CREATE PROCEDURE sp1( )
9530
declare delayed condition for sqlstate '02000';
9531
declare exit handler for delayed set @var2 = 1;
9533
ERROR 42000: You 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';
9534
declare exit handler for delayed set @va' at line 3
9535
DROP PROCEDURE IF EXISTS sp1;
9537
Note 1305 PROCEDURE sp1 does not exist
9538
CREATE PROCEDURE sp1( )
9540
declare delete condition for sqlstate '02000';
9541
declare exit handler for delete set @var2 = 1;
9543
ERROR 42000: You 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';
9544
declare exit handler for delete set @var2' at line 3
9545
DROP PROCEDURE IF EXISTS sp1;
9547
Note 1305 PROCEDURE sp1 does not exist
9548
CREATE PROCEDURE sp1( )
9550
declare desc condition for sqlstate '02000';
9551
declare exit handler for desc set @var2 = 1;
9553
ERROR 42000: You 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';
9554
declare exit handler for desc set @var2 = 1' at line 3
9555
DROP PROCEDURE IF EXISTS sp1;
9557
Note 1305 PROCEDURE sp1 does not exist
9558
CREATE PROCEDURE sp1( )
9560
declare describe condition for sqlstate '02000';
9561
declare exit handler for describe set @var2 = 1;
9563
ERROR 42000: You 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';
9564
declare exit handler for describe set @' at line 3
9565
DROP PROCEDURE IF EXISTS sp1;
9567
Note 1305 PROCEDURE sp1 does not exist
9568
CREATE PROCEDURE sp1( )
9570
declare deterministic condition for sqlstate '02000';
9571
declare exit handler for deterministic set @var2 = 1;
9573
ERROR 42000: You 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';
9574
declare exit handler for determini' at line 3
9575
DROP PROCEDURE IF EXISTS sp1;
9577
Note 1305 PROCEDURE sp1 does not exist
9578
CREATE PROCEDURE sp1( )
9580
declare distinct condition for sqlstate '02000';
9581
declare exit handler for distinct set @var2 = 1;
9583
ERROR 42000: You 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';
9584
declare exit handler for distinct set @' at line 3
9585
DROP PROCEDURE IF EXISTS sp1;
9587
Note 1305 PROCEDURE sp1 does not exist
9588
CREATE PROCEDURE sp1( )
9590
declare distinctrow condition for sqlstate '02000';
9591
declare exit handler for distinctrow set @var2 = 1;
9593
ERROR 42000: You 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';
9594
declare exit handler for distinctrow' at line 3
9595
DROP PROCEDURE IF EXISTS sp1;
9597
Note 1305 PROCEDURE sp1 does not exist
9598
CREATE PROCEDURE sp1( )
9600
declare div condition for sqlstate '02000';
9601
declare exit handler for div set @var2 = 1;
9603
ERROR 42000: You 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';
9604
declare exit handler for div set @var2 = 1;
9606
DROP PROCEDURE IF EXISTS sp1;
9608
Note 1305 PROCEDURE sp1 does not exist
9609
CREATE PROCEDURE sp1( )
9611
declare double condition for sqlstate '02000';
9612
declare exit handler for double set @var2 = 1;
9614
ERROR 42000: You 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';
9615
declare exit handler for double set @var2' at line 3
9616
DROP PROCEDURE IF EXISTS sp1;
9618
Note 1305 PROCEDURE sp1 does not exist
9619
CREATE PROCEDURE sp1( )
9621
declare drop condition for sqlstate '02000';
9622
declare exit handler for drop set @var2 = 1;
9624
ERROR 42000: You 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';
9625
declare exit handler for drop set @var2 = 1' at line 3
9626
DROP PROCEDURE IF EXISTS sp1;
9628
Note 1305 PROCEDURE sp1 does not exist
9629
CREATE PROCEDURE sp1( )
9631
declare dual condition for sqlstate '02000';
9632
declare exit handler for dual set @var2 = 1;
9634
ERROR 42000: You 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';
9635
declare exit handler for dual set @var2 = 1' at line 3
9636
DROP PROCEDURE IF EXISTS sp1;
9638
Note 1305 PROCEDURE sp1 does not exist
9639
CREATE PROCEDURE sp1( )
9641
declare each condition for sqlstate '02000';
9642
declare exit handler for each set @var2 = 1;
9644
ERROR 42000: You 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';
9645
declare exit handler for each set @var2 = 1' at line 3
9646
DROP PROCEDURE IF EXISTS sp1;
9648
Note 1305 PROCEDURE sp1 does not exist
9649
CREATE PROCEDURE sp1( )
9651
declare else condition for sqlstate '02000';
9652
declare exit handler for else set @var2 = 1;
9654
ERROR 42000: You 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';
9655
declare exit handler for else set @var2 = 1' at line 3
9656
DROP PROCEDURE IF EXISTS sp1;
9658
Note 1305 PROCEDURE sp1 does not exist
9659
CREATE PROCEDURE sp1( )
9661
declare elseif condition for sqlstate '02000';
9662
declare exit handler for elseif 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 'elseif condition for sqlstate '02000';
9665
declare exit handler for elseif set @var2' at line 3
9666
DROP PROCEDURE IF EXISTS sp1;
9668
Note 1305 PROCEDURE sp1 does not exist
9669
CREATE PROCEDURE sp1( )
9671
declare enclosed condition for sqlstate '02000';
9672
declare exit handler for enclosed 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 'enclosed condition for sqlstate '02000';
9675
declare exit handler for enclosed set @' at line 3
9676
DROP PROCEDURE IF EXISTS sp1;
9678
Note 1305 PROCEDURE sp1 does not exist
9679
CREATE PROCEDURE sp1( )
9681
declare escaped condition for sqlstate '02000';
9682
declare exit handler for escaped 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 'escaped condition for sqlstate '02000';
9685
declare exit handler for escaped set @va' at line 3
9686
DROP PROCEDURE IF EXISTS sp1;
9688
Note 1305 PROCEDURE sp1 does not exist
9689
CREATE PROCEDURE sp1( )
9691
declare exists condition for sqlstate '02000';
9692
declare exit handler for exists 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 'exists condition for sqlstate '02000';
9695
declare exit handler for exists 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 exit condition for sqlstate '02000';
9702
declare exit handler for exit 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 'condition for sqlstate '02000';
9705
declare exit handler for exit set @var2 = 1;
9707
DROP PROCEDURE IF EXISTS sp1;
9709
Note 1305 PROCEDURE sp1 does not exist
9710
CREATE PROCEDURE sp1( )
9712
declare explain condition for sqlstate '02000';
9713
declare exit handler for explain set @var2 = 1;
9715
ERROR 42000: You 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';
9716
declare exit handler for explain set @va' at line 3
9717
DROP PROCEDURE IF EXISTS sp1;
9719
Note 1305 PROCEDURE sp1 does not exist
9720
CREATE PROCEDURE sp1( )
9722
declare false condition for sqlstate '02000';
9723
declare exit handler for false set @var2 = 1;
9725
ERROR 42000: You 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';
9726
declare exit handler for false set @var2 =' at line 3
9727
DROP PROCEDURE IF EXISTS sp1;
9729
Note 1305 PROCEDURE sp1 does not exist
9730
CREATE PROCEDURE sp1( )
9732
declare fetch condition for sqlstate '02000';
9733
declare exit handler for fetch set @var2 = 1;
9735
ERROR 42000: You 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';
9736
declare exit handler for fetch set @var2 =' at line 3
9737
DROP PROCEDURE IF EXISTS sp1;
9739
Note 1305 PROCEDURE sp1 does not exist
9740
CREATE PROCEDURE sp1( )
9742
declare float condition for sqlstate '02000';
9743
declare exit handler for float set @var2 = 1;
9745
ERROR 42000: You 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';
9746
declare exit handler for float set @var2 =' at line 3
9747
DROP PROCEDURE IF EXISTS sp1;
9749
Note 1305 PROCEDURE sp1 does not exist
9750
CREATE PROCEDURE sp1( )
9752
declare float4 condition for sqlstate '02000';
9753
declare exit handler for add set @var2 = 1;
9755
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 condition for sqlstate '02000';
9756
declare exit handler for add set @var2 = ' at line 3
9757
DROP PROCEDURE IF EXISTS sp1;
9759
Note 1305 PROCEDURE sp1 does not exist
9760
CREATE PROCEDURE sp1( )
9762
declare float8 condition for sqlstate '02000';
9763
declare exit handler for add set @var2 = 1;
9765
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 condition for sqlstate '02000';
9766
declare exit handler for add set @var2 = ' at line 3
9767
DROP PROCEDURE IF EXISTS sp1;
9769
Note 1305 PROCEDURE sp1 does not exist
9770
CREATE PROCEDURE sp1( )
9772
declare for condition for sqlstate '02000';
9773
declare exit handler for for set @var2 = 1;
9775
ERROR 42000: You 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';
9776
declare exit handler for for set @var2 = 1;
9778
DROP PROCEDURE IF EXISTS sp1;
9780
Note 1305 PROCEDURE sp1 does not exist
9781
CREATE PROCEDURE sp1( )
9783
declare force condition for sqlstate '02000';
9784
declare exit handler for force set @var2 = 1;
9786
ERROR 42000: You 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';
9787
declare exit handler for force set @var2 =' at line 3
9788
DROP PROCEDURE IF EXISTS sp1;
9790
Note 1305 PROCEDURE sp1 does not exist
9791
CREATE PROCEDURE sp1( )
9793
declare foreign condition for sqlstate '02000';
9794
declare exit handler for foreign set @var2 = 1;
9796
ERROR 42000: You 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';
9797
declare exit handler for foreign set @va' at line 3
9798
DROP PROCEDURE IF EXISTS sp1;
9800
Note 1305 PROCEDURE sp1 does not exist
9801
CREATE PROCEDURE sp1( )
9803
declare from condition for sqlstate '02000';
9804
declare exit handler for from set @var2 = 1;
9806
ERROR 42000: You 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';
9807
declare exit handler for from set @var2 = 1' at line 3
9808
DROP PROCEDURE IF EXISTS sp1;
9810
Note 1305 PROCEDURE sp1 does not exist
9811
CREATE PROCEDURE sp1( )
9813
declare fulltext condition for sqlstate '02000';
9814
declare exit handler for fulltext set @var2 = 1;
9816
ERROR 42000: You 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';
9817
declare exit handler for fulltext set @' at line 3
9818
DROP PROCEDURE IF EXISTS sp1;
9820
Note 1305 PROCEDURE sp1 does not exist
9821
CREATE PROCEDURE sp1( )
9823
declare grant condition for sqlstate '02000';
9824
declare exit handler for grant set @var2 = 1;
9826
ERROR 42000: You 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';
9827
declare exit handler for grant set @var2 =' at line 3
9828
DROP PROCEDURE IF EXISTS sp1;
9830
Note 1305 PROCEDURE sp1 does not exist
9831
CREATE PROCEDURE sp1( )
9833
declare group condition for sqlstate '02000';
9834
declare exit handler for group set @var2 = 1;
9836
ERROR 42000: You 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';
9837
declare exit handler for group set @var2 =' at line 3
9838
DROP PROCEDURE IF EXISTS sp1;
9840
Note 1305 PROCEDURE sp1 does not exist
9841
CREATE PROCEDURE sp1( )
9843
declare having condition for sqlstate '02000';
9844
declare exit handler for having set @var2 = 1;
9846
ERROR 42000: You 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';
9847
declare exit handler for having set @var2' at line 3
9848
DROP PROCEDURE IF EXISTS sp1;
9850
Note 1305 PROCEDURE sp1 does not exist
9851
CREATE PROCEDURE sp1( )
9853
declare high_priority condition for sqlstate '02000';
9854
declare exit handler for high_priority set @var2 = 1;
9856
ERROR 42000: You 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';
9857
declare exit handler for high_prio' at line 3
9858
DROP PROCEDURE IF EXISTS sp1;
9860
Note 1305 PROCEDURE sp1 does not exist
9861
CREATE PROCEDURE sp1( )
9863
declare hour_microsecond condition for sqlstate '02000';
9864
declare exit handler for hour_microsecond set @var2 = 1;
9866
ERROR 42000: You 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';
9867
declare exit handler for hour_m' at line 3
9868
DROP PROCEDURE IF EXISTS sp1;
9870
Note 1305 PROCEDURE sp1 does not exist
9871
CREATE PROCEDURE sp1( )
9873
declare hour_minute condition for sqlstate '02000';
9874
declare exit handler for hour_minute set @var2 = 1;
9876
ERROR 42000: You 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';
9877
declare exit handler for hour_minute' at line 3
9878
DROP PROCEDURE IF EXISTS sp1;
9880
Note 1305 PROCEDURE sp1 does not exist
9881
CREATE PROCEDURE sp1( )
9883
declare hour_second condition for sqlstate '02000';
9884
declare exit handler for hour_second set @var2 = 1;
9886
ERROR 42000: You 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';
9887
declare exit handler for hour_second' at line 3
9888
DROP PROCEDURE IF EXISTS sp1;
9890
Note 1305 PROCEDURE sp1 does not exist
9891
CREATE PROCEDURE sp1( )
9893
declare if condition for sqlstate '02000';
9894
declare exit handler for if set @var2 = 1;
9896
ERROR 42000: You 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';
9897
declare exit handler for if set @var2 = 1;
9899
DROP PROCEDURE IF EXISTS sp1;
9901
Note 1305 PROCEDURE sp1 does not exist
9902
CREATE PROCEDURE sp1( )
9904
declare ignore condition for sqlstate '02000';
9905
declare exit handler for ignore set @var2 = 1;
9907
ERROR 42000: You 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';
9908
declare exit handler for ignore set @var2' at line 3
9909
DROP PROCEDURE IF EXISTS sp1;
9911
Note 1305 PROCEDURE sp1 does not exist
9912
CREATE PROCEDURE sp1( )
9914
declare in condition for sqlstate '02000';
9915
declare exit handler for in set @var2 = 1;
9917
ERROR 42000: You 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';
9918
declare exit handler for in set @var2 = 1;
9920
DROP PROCEDURE IF EXISTS sp1;
9922
Note 1305 PROCEDURE sp1 does not exist
9923
CREATE PROCEDURE sp1( )
9925
declare index condition for sqlstate '02000';
9926
declare exit handler for index set @var2 = 1;
9928
ERROR 42000: You 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';
9929
declare exit handler for index set @var2 =' at line 3
9930
DROP PROCEDURE IF EXISTS sp1;
9932
Note 1305 PROCEDURE sp1 does not exist
9933
CREATE PROCEDURE sp1( )
9935
declare infile condition for sqlstate '02000';
9936
declare exit handler for infile set @var2 = 1;
9938
ERROR 42000: You 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';
9939
declare exit handler for infile set @var2' at line 3
9940
DROP PROCEDURE IF EXISTS sp1;
9942
Note 1305 PROCEDURE sp1 does not exist
9943
CREATE PROCEDURE sp1( )
9945
declare inner condition for sqlstate '02000';
9946
declare exit handler for inner set @var2 = 1;
9948
ERROR 42000: You 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';
9949
declare exit handler for inner set @var2 =' at line 3
9950
DROP PROCEDURE IF EXISTS sp1;
9952
Note 1305 PROCEDURE sp1 does not exist
9953
CREATE PROCEDURE sp1( )
9955
declare inout condition for sqlstate '02000';
9956
declare exit handler for inout set @var2 = 1;
9958
ERROR 42000: You 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';
9959
declare exit handler for inout set @var2 =' at line 3
9960
DROP PROCEDURE IF EXISTS sp1;
9962
Note 1305 PROCEDURE sp1 does not exist
9963
CREATE PROCEDURE sp1( )
9965
declare insensitive condition for sqlstate '02000';
9966
declare exit handler for insensitive set @var2 = 1;
9968
ERROR 42000: You 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';
9969
declare exit handler for insensitive' at line 3
9970
DROP PROCEDURE IF EXISTS sp1;
9972
Note 1305 PROCEDURE sp1 does not exist
9973
CREATE PROCEDURE sp1( )
9975
declare insert condition for sqlstate '02000';
9976
declare exit handler for insert set @var2 = 1;
9978
ERROR 42000: You 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';
9979
declare exit handler for insert set @var2' at line 3
9980
DROP PROCEDURE IF EXISTS sp1;
9982
Note 1305 PROCEDURE sp1 does not exist
9983
CREATE PROCEDURE sp1( )
9985
declare int condition for sqlstate '02000';
9986
declare exit handler for int set @var2 = 1;
9988
ERROR 42000: You 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';
9989
declare exit handler for int set @var2 = 1;
9991
DROP PROCEDURE IF EXISTS sp1;
9993
Note 1305 PROCEDURE sp1 does not exist
9994
CREATE PROCEDURE sp1( )
9996
declare int1 condition for sqlstate '02000';
9997
declare exit handler for int set @var2 = 1;
9999
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 condition for sqlstate '02000';
10000
declare exit handler for int set @var2 = 1;' at line 3
10001
DROP PROCEDURE IF EXISTS sp1;
10003
Note 1305 PROCEDURE sp1 does not exist
10004
CREATE PROCEDURE sp1( )
10006
declare int2 condition for sqlstate '02000';
10007
declare exit handler for int set @var2 = 1;
10009
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 condition for sqlstate '02000';
10010
declare exit handler for int set @var2 = 1;' at line 3
10011
DROP PROCEDURE IF EXISTS sp1;
10013
Note 1305 PROCEDURE sp1 does not exist
10014
CREATE PROCEDURE sp1( )
10016
declare int3 condition for sqlstate '02000';
10017
declare exit handler for int set @var2 = 1;
10019
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000';
10020
declare exit handler for int set @var2 = 1;' at line 3
10021
DROP PROCEDURE IF EXISTS sp1;
10023
Note 1305 PROCEDURE sp1 does not exist
10024
CREATE PROCEDURE sp1( )
10026
declare int4 condition for sqlstate '02000';
10027
declare exit handler for int set @var2 = 1;
10029
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 condition for sqlstate '02000';
10030
declare exit handler for int set @var2 = 1;' at line 3
10031
DROP PROCEDURE IF EXISTS sp1;
10033
Note 1305 PROCEDURE sp1 does not exist
10034
CREATE PROCEDURE sp1( )
10036
declare int8 condition for sqlstate '02000';
10037
declare exit handler for int set @var2 = 1;
10039
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 condition for sqlstate '02000';
10040
declare exit handler for int set @var2 = 1;' at line 3
10041
DROP PROCEDURE IF EXISTS sp1;
10043
Note 1305 PROCEDURE sp1 does not exist
10044
CREATE PROCEDURE sp1( )
10046
declare integer condition for sqlstate '02000';
10047
declare exit handler for integer set @var2 = 1;
10049
ERROR 42000: You 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';
10050
declare exit handler for integer set @va' at line 3
10051
DROP PROCEDURE IF EXISTS sp1;
10053
Note 1305 PROCEDURE sp1 does not exist
10054
CREATE PROCEDURE sp1( )
10056
declare interval condition for sqlstate '02000';
10057
declare exit handler for interval set @var2 = 1;
10059
ERROR 42000: You 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';
10060
declare exit handler for interval set @' at line 3
10061
DROP PROCEDURE IF EXISTS sp1;
10063
Note 1305 PROCEDURE sp1 does not exist
10064
CREATE PROCEDURE sp1( )
10066
declare into condition for sqlstate '02000';
10067
declare exit handler for into set @var2 = 1;
10069
ERROR 42000: You 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';
10070
declare exit handler for into set @var2 = 1' at line 3
10071
DROP PROCEDURE IF EXISTS sp1;
10073
Note 1305 PROCEDURE sp1 does not exist
10074
CREATE PROCEDURE sp1( )
10076
declare is condition for sqlstate '02000';
10077
declare exit handler for is set @var2 = 1;
10079
ERROR 42000: You 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';
10080
declare exit handler for is set @var2 = 1;
10082
DROP PROCEDURE IF EXISTS sp1;
10084
Note 1305 PROCEDURE sp1 does not exist
10085
CREATE PROCEDURE sp1( )
10087
declare iterate condition for sqlstate '02000';
10088
declare exit handler for iterate set @var2 = 1;
10090
ERROR 42000: You 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';
10091
declare exit handler for iterate set @va' at line 3
10092
DROP PROCEDURE IF EXISTS sp1;
10094
Note 1305 PROCEDURE sp1 does not exist
10095
CREATE PROCEDURE sp1( )
10097
declare join condition for sqlstate '02000';
10098
declare exit handler for join set @var2 = 1;
10100
ERROR 42000: You 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';
10101
declare exit handler for join set @var2 = 1' at line 3
10102
DROP PROCEDURE IF EXISTS sp1;
10104
Note 1305 PROCEDURE sp1 does not exist
10105
CREATE PROCEDURE sp1( )
10107
declare key condition for sqlstate '02000';
10108
declare exit handler for key set @var2 = 1;
10110
ERROR 42000: You 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';
10111
declare exit handler for key set @var2 = 1;
10113
DROP PROCEDURE IF EXISTS sp1;
10115
Note 1305 PROCEDURE sp1 does not exist
10116
CREATE PROCEDURE sp1( )
10118
declare keys condition for sqlstate '02000';
10119
declare exit handler for keys set @var2 = 1;
10121
ERROR 42000: You 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';
10122
declare exit handler for keys set @var2 = 1' at line 3
10123
DROP PROCEDURE IF EXISTS sp1;
10125
Note 1305 PROCEDURE sp1 does not exist
10126
CREATE PROCEDURE sp1( )
10128
declare kill condition for sqlstate '02000';
10129
declare exit handler for kill set @var2 = 1;
10131
ERROR 42000: You 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';
10132
declare exit handler for kill set @var2 = 1' at line 3
10133
DROP PROCEDURE IF EXISTS sp1;
10135
Note 1305 PROCEDURE sp1 does not exist
10136
CREATE PROCEDURE sp1( )
10138
declare leading condition for sqlstate '02000';
10139
declare exit handler for leading set @var2 = 1;
10141
ERROR 42000: You 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';
10142
declare exit handler for leading set @va' at line 3
10143
DROP PROCEDURE IF EXISTS sp1;
10145
Note 1305 PROCEDURE sp1 does not exist
10146
CREATE PROCEDURE sp1( )
10148
declare leave condition for sqlstate '02000';
10149
declare exit handler for leave set @var2 = 1;
10151
ERROR 42000: You 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';
10152
declare exit handler for leave set @var2 =' at line 3
10153
DROP PROCEDURE IF EXISTS sp1;
10155
Note 1305 PROCEDURE sp1 does not exist
10156
CREATE PROCEDURE sp1( )
10158
declare left condition for sqlstate '02000';
10159
declare exit handler for left set @var2 = 1;
10161
ERROR 42000: You 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';
10162
declare exit handler for left set @var2 = 1' at line 3
10163
DROP PROCEDURE IF EXISTS sp1;
10165
Note 1305 PROCEDURE sp1 does not exist
10166
CREATE PROCEDURE sp1( )
10168
declare like condition for sqlstate '02000';
10169
declare exit handler for like set @var2 = 1;
10171
ERROR 42000: You 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';
10172
declare exit handler for like set @var2 = 1' at line 3
10173
DROP PROCEDURE IF EXISTS sp1;
10175
Note 1305 PROCEDURE sp1 does not exist
10176
CREATE PROCEDURE sp1( )
10178
declare limit condition for sqlstate '02000';
10179
declare exit handler for limit set @var2 = 1;
10181
ERROR 42000: You 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';
10182
declare exit handler for limit set @var2 =' at line 3
10183
DROP PROCEDURE IF EXISTS sp1;
10185
Note 1305 PROCEDURE sp1 does not exist
10186
CREATE PROCEDURE sp1( )
10188
declare linear condition for sqlstate '02000';
10189
declare exit handler for int set @var2 = 1;
10191
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear condition for sqlstate '02000';
10192
declare exit handler for int set @var2 = ' at line 3
10193
DROP PROCEDURE IF EXISTS sp1;
10195
Note 1305 PROCEDURE sp1 does not exist
10196
CREATE PROCEDURE sp1( )
10198
declare lines condition for sqlstate '02000';
10199
declare exit handler for lines set @var2 = 1;
10201
ERROR 42000: You 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';
10202
declare exit handler for lines set @var2 =' at line 3
10203
DROP PROCEDURE IF EXISTS sp1;
10205
Note 1305 PROCEDURE sp1 does not exist
10206
CREATE PROCEDURE sp1( )
10208
declare load condition for sqlstate '02000';
10209
declare exit handler for load set @var2 = 1;
10211
ERROR 42000: You 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';
10212
declare exit handler for load set @var2 = 1' at line 3
10213
DROP PROCEDURE IF EXISTS sp1;
10215
Note 1305 PROCEDURE sp1 does not exist
10216
CREATE PROCEDURE sp1( )
10218
declare localtime condition for sqlstate '02000';
10219
declare exit handler for localtime set @var2 = 1;
10221
ERROR 42000: You 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';
10222
declare exit handler for localtime set' at line 3
10223
DROP PROCEDURE IF EXISTS sp1;
10225
Note 1305 PROCEDURE sp1 does not exist
10226
CREATE PROCEDURE sp1( )
10228
declare localtimestamp condition for sqlstate '02000';
10229
declare exit handler for localtimestamp set @var2 = 1;
10231
ERROR 42000: You 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';
10232
declare exit handler for localtim' at line 3
10233
DROP PROCEDURE IF EXISTS sp1;
10235
Note 1305 PROCEDURE sp1 does not exist
10236
CREATE PROCEDURE sp1( )
10238
declare lock condition for sqlstate '02000';
10239
declare exit handler for lock set @var2 = 1;
10241
ERROR 42000: You 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';
10242
declare exit handler for lock set @var2 = 1' at line 3
10243
DROP PROCEDURE IF EXISTS sp1;
10245
Note 1305 PROCEDURE sp1 does not exist
10246
CREATE PROCEDURE sp1( )
10248
declare long condition for sqlstate '02000';
10249
declare exit handler for long set @var2 = 1;
10251
ERROR 42000: You 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';
10252
declare exit handler for long set @var2 = 1' at line 3
10253
DROP PROCEDURE IF EXISTS sp1;
10255
Note 1305 PROCEDURE sp1 does not exist
10256
CREATE PROCEDURE sp1( )
10258
declare longblob condition for sqlstate '02000';
10259
declare exit handler for longblob set @var2 = 1;
10261
ERROR 42000: You 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';
10262
declare exit handler for longblob set @' at line 3
10263
DROP PROCEDURE IF EXISTS sp1;
10265
Note 1305 PROCEDURE sp1 does not exist
10266
CREATE PROCEDURE sp1( )
10268
declare longtext condition for sqlstate '02000';
10269
declare exit handler for longtext set @var2 = 1;
10271
ERROR 42000: You 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';
10272
declare exit handler for longtext set @' at line 3
10273
DROP PROCEDURE IF EXISTS sp1;
10275
Note 1305 PROCEDURE sp1 does not exist
10276
CREATE PROCEDURE sp1( )
10278
declare loop condition for sqlstate '02000';
10279
declare exit handler for loop set @var2 = 1;
10281
ERROR 42000: You 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';
10282
declare exit handler for loop set @var2 = 1' at line 3
10283
DROP PROCEDURE IF EXISTS sp1;
10285
Note 1305 PROCEDURE sp1 does not exist
10286
CREATE PROCEDURE sp1( )
10288
declare low_priority condition for sqlstate '02000';
10289
declare exit handler for low_priority set @var2 = 1;
10291
ERROR 42000: You 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';
10292
declare exit handler for low_priori' at line 3
10293
DROP PROCEDURE IF EXISTS sp1;
10295
Note 1305 PROCEDURE sp1 does not exist
10296
CREATE PROCEDURE sp1( )
10298
declare master_ssl_verify_server_cert condition for sqlstate '02000';
10299
declare exit handler for int set @var2 = 1;
10301
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert condition for sqlstate '02000';
10302
declare exit handl' at line 3
10303
DROP PROCEDURE IF EXISTS sp1;
10305
Note 1305 PROCEDURE sp1 does not exist
10306
CREATE PROCEDURE sp1( )
10308
declare match condition for sqlstate '02000';
10309
declare exit handler for match set @var2 = 1;
10311
ERROR 42000: You 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';
10312
declare exit handler for match set @var2 =' at line 3
10313
DROP PROCEDURE IF EXISTS sp1;
10315
Note 1305 PROCEDURE sp1 does not exist
10316
CREATE PROCEDURE sp1( )
10318
declare mediumblob condition for sqlstate '02000';
10319
declare exit handler for mediumblob set @var2 = 1;
10321
ERROR 42000: You 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';
10322
declare exit handler for mediumblob s' at line 3
10323
DROP PROCEDURE IF EXISTS sp1;
10325
Note 1305 PROCEDURE sp1 does not exist
10326
CREATE PROCEDURE sp1( )
10328
declare mediumint condition for sqlstate '02000';
10329
declare exit handler for mediumint set @var2 = 1;
10331
ERROR 42000: You 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';
10332
declare exit handler for mediumint set' at line 3
10333
DROP PROCEDURE IF EXISTS sp1;
10335
Note 1305 PROCEDURE sp1 does not exist
10336
CREATE PROCEDURE sp1( )
10338
declare mediumtext condition for sqlstate '02000';
10339
declare exit handler for mediumtext set @var2 = 1;
10341
ERROR 42000: You 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';
10342
declare exit handler for mediumtext s' at line 3
10343
DROP PROCEDURE IF EXISTS sp1;
10345
Note 1305 PROCEDURE sp1 does not exist
10346
CREATE PROCEDURE sp1( )
10348
declare middleint condition for sqlstate '02000';
10349
declare exit handler for middleint set @var2 = 1;
10351
ERROR 42000: You 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';
10352
declare exit handler for middleint set' at line 3
10353
DROP PROCEDURE IF EXISTS sp1;
10355
Note 1305 PROCEDURE sp1 does not exist
10356
CREATE PROCEDURE sp1( )
10358
declare minute_microsecond condition for sqlstate '02000';
10359
declare exit handler for minute_microsecond set @var2 = 1;
10361
ERROR 42000: You 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';
10362
declare exit handler for minu' at line 3
10363
DROP PROCEDURE IF EXISTS sp1;
10365
Note 1305 PROCEDURE sp1 does not exist
10366
CREATE PROCEDURE sp1( )
10368
declare minute_second condition for sqlstate '02000';
10369
declare exit handler for minute_second set @var2 = 1;
10371
ERROR 42000: You 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';
10372
declare exit handler for minute_se' at line 3
10373
DROP PROCEDURE IF EXISTS sp1;
10375
Note 1305 PROCEDURE sp1 does not exist
10376
CREATE PROCEDURE sp1( )
10378
declare mod condition for sqlstate '02000';
10379
declare exit handler for mod set @var2 = 1;
10381
ERROR 42000: You 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';
10382
declare exit handler for mod set @var2 = 1;
10384
DROP PROCEDURE IF EXISTS sp1;
10386
Note 1305 PROCEDURE sp1 does not exist
10387
CREATE PROCEDURE sp1( )
10389
declare modifies condition for sqlstate '02000';
10390
declare exit handler for modifies set @var2 = 1;
10392
ERROR 42000: You 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';
10393
declare exit handler for modifies set @' at line 3
10394
DROP PROCEDURE IF EXISTS sp1;
10396
Note 1305 PROCEDURE sp1 does not exist
10397
CREATE PROCEDURE sp1( )
10399
declare natural condition for sqlstate '02000';
10400
declare exit handler for natural set @var2 = 1;
10402
ERROR 42000: You 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';
10403
declare exit handler for natural set @va' at line 3
10404
DROP PROCEDURE IF EXISTS sp1;
10406
Note 1305 PROCEDURE sp1 does not exist
10407
CREATE PROCEDURE sp1( )
10409
declare not condition for sqlstate '02000';
10410
declare exit handler for not set @var2 = 1;
10412
ERROR 42000: You 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';
10413
declare exit handler for not set @var2 = 1;
10415
DROP PROCEDURE IF EXISTS sp1;
10417
Note 1305 PROCEDURE sp1 does not exist
10418
CREATE PROCEDURE sp1( )
10420
declare no_write_to_binlog condition for sqlstate '02000';
10421
declare exit handler for no_write_to_binlog set @var2 = 1;
10423
ERROR 42000: You 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';
10424
declare exit handler for no_w' at line 3
10425
DROP PROCEDURE IF EXISTS sp1;
10427
Note 1305 PROCEDURE sp1 does not exist
10428
CREATE PROCEDURE sp1( )
10430
declare null condition for sqlstate '02000';
10431
declare exit handler for null set @var2 = 1;
10433
ERROR 42000: You 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';
10434
declare exit handler for null set @var2 = 1' at line 3
10435
DROP PROCEDURE IF EXISTS sp1;
10437
Note 1305 PROCEDURE sp1 does not exist
10438
CREATE PROCEDURE sp1( )
10440
declare numeric condition for sqlstate '02000';
10441
declare exit handler for numeric set @var2 = 1;
10443
ERROR 42000: You 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';
10444
declare exit handler for numeric set @va' at line 3
10445
DROP PROCEDURE IF EXISTS sp1;
10447
Note 1305 PROCEDURE sp1 does not exist
10448
CREATE PROCEDURE sp1( )
10450
declare on condition for sqlstate '02000';
10451
declare exit handler for on set @var2 = 1;
10453
ERROR 42000: You 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';
10454
declare exit handler for on set @var2 = 1;
10456
DROP PROCEDURE IF EXISTS sp1;
10458
Note 1305 PROCEDURE sp1 does not exist
10459
CREATE PROCEDURE sp1( )
10461
declare optimize condition for sqlstate '02000';
10462
declare exit handler for optimize set @var2 = 1;
10464
ERROR 42000: You 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';
10465
declare exit handler for optimize set @' at line 3
10466
DROP PROCEDURE IF EXISTS sp1;
10468
Note 1305 PROCEDURE sp1 does not exist
10469
CREATE PROCEDURE sp1( )
10471
declare option condition for sqlstate '02000';
10472
declare exit handler for option set @var2 = 1;
10474
ERROR 42000: You 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';
10475
declare exit handler for option set @var2' at line 3
10476
DROP PROCEDURE IF EXISTS sp1;
10478
Note 1305 PROCEDURE sp1 does not exist
10479
CREATE PROCEDURE sp1( )
10481
declare optionally condition for sqlstate '02000';
10482
declare exit handler for optionally set @var2 = 1;
10484
ERROR 42000: You 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';
10485
declare exit handler for optionally s' at line 3
10486
DROP PROCEDURE IF EXISTS sp1;
10488
Note 1305 PROCEDURE sp1 does not exist
10489
CREATE PROCEDURE sp1( )
10491
declare or condition for sqlstate '02000';
10492
declare exit handler for or set @var2 = 1;
10494
ERROR 42000: You 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';
10495
declare exit handler for or set @var2 = 1;
10497
DROP PROCEDURE IF EXISTS sp1;
10499
Note 1305 PROCEDURE sp1 does not exist
10500
CREATE PROCEDURE sp1( )
10502
declare order condition for sqlstate '02000';
10503
declare exit handler for order set @var2 = 1;
10505
ERROR 42000: You 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';
10506
declare exit handler for order set @var2 =' at line 3
10507
DROP PROCEDURE IF EXISTS sp1;
10509
Note 1305 PROCEDURE sp1 does not exist
10510
CREATE PROCEDURE sp1( )
10512
declare out condition for sqlstate '02000';
10513
declare exit handler for out 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 'out condition for sqlstate '02000';
10516
declare exit handler for out set @var2 = 1;
10518
DROP PROCEDURE IF EXISTS sp1;
10520
Note 1305 PROCEDURE sp1 does not exist
10521
CREATE PROCEDURE sp1( )
10523
declare outer condition for sqlstate '02000';
10524
declare exit handler for outer set @var2 = 1;
10526
ERROR 42000: You 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';
10527
declare exit handler for outer set @var2 =' at line 3
10528
DROP PROCEDURE IF EXISTS sp1;
10530
Note 1305 PROCEDURE sp1 does not exist
10531
CREATE PROCEDURE sp1( )
10533
declare outfile condition for sqlstate '02000';
10534
declare exit handler for outfile set @var2 = 1;
10536
ERROR 42000: You 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';
10537
declare exit handler for outfile set @va' at line 3
10538
DROP PROCEDURE IF EXISTS sp1;
10540
Note 1305 PROCEDURE sp1 does not exist
10541
CREATE PROCEDURE sp1( )
10543
declare precision condition for sqlstate '02000';
10544
declare exit handler for precision set @var2 = 1;
10546
ERROR 42000: You 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';
10547
declare exit handler for precision set' at line 3
10548
DROP PROCEDURE IF EXISTS sp1;
10550
Note 1305 PROCEDURE sp1 does not exist
10551
CREATE PROCEDURE sp1( )
10553
declare primary condition for sqlstate '02000';
10554
declare exit handler for primary set @var2 = 1;
10556
ERROR 42000: You 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';
10557
declare exit handler for primary set @va' at line 3
10558
DROP PROCEDURE IF EXISTS sp1;
10560
Note 1305 PROCEDURE sp1 does not exist
10561
CREATE PROCEDURE sp1( )
10563
declare procedure condition for sqlstate '02000';
10564
declare exit handler for procedure set @var2 = 1;
10566
ERROR 42000: You 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';
10567
declare exit handler for procedure set' at line 3
10568
DROP PROCEDURE IF EXISTS sp1;
10570
Note 1305 PROCEDURE sp1 does not exist
10571
CREATE PROCEDURE sp1( )
10573
declare purge condition for sqlstate '02000';
10574
declare exit handler for purge set @var2 = 1;
10576
ERROR 42000: You 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';
10577
declare exit handler for purge set @var2 =' at line 3
10578
DROP PROCEDURE IF EXISTS sp1;
10580
Note 1305 PROCEDURE sp1 does not exist
10581
CREATE PROCEDURE sp1( )
10583
declare range condition for sqlstate '02000';
10584
declare exit handler for int set @var2 = 1;
10586
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000';
10587
declare exit handler for int set @var2 = 1' at line 3
10588
DROP PROCEDURE IF EXISTS sp1;
10590
Note 1305 PROCEDURE sp1 does not exist
10591
CREATE PROCEDURE sp1( )
10593
declare read condition for sqlstate '02000';
10594
declare exit handler for read 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 'read condition for sqlstate '02000';
10597
declare exit handler for read set @var2 = 1' at line 3
10598
DROP PROCEDURE IF EXISTS sp1;
10600
Note 1305 PROCEDURE sp1 does not exist
10601
CREATE PROCEDURE sp1( )
10603
declare reads condition for sqlstate '02000';
10604
declare exit handler for reads set @var2 = 1;
10606
ERROR 42000: You 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';
10607
declare exit handler for reads set @var2 =' at line 3
10608
DROP PROCEDURE IF EXISTS sp1;
10610
Note 1305 PROCEDURE sp1 does not exist
10611
CREATE PROCEDURE sp1( )
10613
declare read_only condition for sqlstate '02000';
10614
declare exit handler for int set @var2 = 1;
10616
ERROR 42000: You 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 set @var2 = 1;
10618
DROP PROCEDURE IF EXISTS sp1;
10620
Note 1305 PROCEDURE sp1 does not exist
10621
CREATE PROCEDURE sp1( )
10623
declare read_write condition for sqlstate '02000';
10624
declare exit handler for int set @var2 = 1;
10626
ERROR 42000: You 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_write condition for sqlstate '02000';
10627
declare exit handler for int set @var' at line 3
10628
DROP PROCEDURE IF EXISTS sp1;
10630
Note 1305 PROCEDURE sp1 does not exist
10631
CREATE PROCEDURE sp1( )
10633
declare real condition for sqlstate '02000';
10634
declare exit handler for real set @var2 = 1;
10636
ERROR 42000: You 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';
10637
declare exit handler for real set @var2 = 1' at line 3
10638
DROP PROCEDURE IF EXISTS sp1;
10640
Note 1305 PROCEDURE sp1 does not exist
10641
CREATE PROCEDURE sp1( )
10643
declare references condition for sqlstate '02000';
10644
declare exit handler for references set @var2 = 1;
10646
ERROR 42000: You 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';
10647
declare exit handler for references s' at line 3
10648
DROP PROCEDURE IF EXISTS sp1;
10650
Note 1305 PROCEDURE sp1 does not exist
10651
CREATE PROCEDURE sp1( )
10653
declare regexp condition for sqlstate '02000';
10654
declare exit handler for regexp set @var2 = 1;
10656
ERROR 42000: You 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';
10657
declare exit handler for regexp set @var2' at line 3
10658
DROP PROCEDURE IF EXISTS sp1;
10660
Note 1305 PROCEDURE sp1 does not exist
10661
CREATE PROCEDURE sp1( )
10663
declare release condition for sqlstate '02000';
10664
declare exit handler for int set @var2 = 1;
10666
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release condition for sqlstate '02000';
10667
declare exit handler for int set @var2 =' at line 3
10668
DROP PROCEDURE IF EXISTS sp1;
10670
Note 1305 PROCEDURE sp1 does not exist
10671
CREATE PROCEDURE sp1( )
10673
declare rename condition for sqlstate '02000';
10674
declare exit handler for rename set @var2 = 1;
10676
ERROR 42000: You 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';
10677
declare exit handler for rename set @var2' at line 3
10678
DROP PROCEDURE IF EXISTS sp1;
10680
Note 1305 PROCEDURE sp1 does not exist
10681
CREATE PROCEDURE sp1( )
10683
declare repeat condition for sqlstate '02000';
10684
declare exit handler for repeat 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 'repeat condition for sqlstate '02000';
10687
declare exit handler for repeat set @var2' at line 3
10688
DROP PROCEDURE IF EXISTS sp1;
10690
Note 1305 PROCEDURE sp1 does not exist
10691
CREATE PROCEDURE sp1( )
10693
declare replace condition for sqlstate '02000';
10694
declare exit handler for replace set @var2 = 1;
10696
ERROR 42000: You 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';
10697
declare exit handler for replace set @va' at line 3
10698
DROP PROCEDURE IF EXISTS sp1;
10700
Note 1305 PROCEDURE sp1 does not exist
10701
CREATE PROCEDURE sp1( )
10703
declare require condition for sqlstate '02000';
10704
declare exit handler for require set @var2 = 1;
10706
ERROR 42000: You 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';
10707
declare exit handler for require set @va' at line 3
10708
DROP PROCEDURE IF EXISTS sp1;
10710
Note 1305 PROCEDURE sp1 does not exist
10711
CREATE PROCEDURE sp1( )
10713
declare restrict condition for sqlstate '02000';
10714
declare exit handler for restrict set @var2 = 1;
10716
ERROR 42000: You 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';
10717
declare exit handler for restrict set @' at line 3
10718
DROP PROCEDURE IF EXISTS sp1;
10720
Note 1305 PROCEDURE sp1 does not exist
10721
CREATE PROCEDURE sp1( )
10723
declare return condition for sqlstate '02000';
10724
declare exit handler for return set @var2 = 1;
10726
ERROR 42000: You 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';
10727
declare exit handler for return set @var2' at line 3
10728
DROP PROCEDURE IF EXISTS sp1;
10730
Note 1305 PROCEDURE sp1 does not exist
10731
CREATE PROCEDURE sp1( )
10733
declare revoke condition for sqlstate '02000';
10734
declare exit handler for revoke set @var2 = 1;
10736
ERROR 42000: You 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';
10737
declare exit handler for revoke set @var2' at line 3
10738
DROP PROCEDURE IF EXISTS sp1;
10740
Note 1305 PROCEDURE sp1 does not exist
10741
CREATE PROCEDURE sp1( )
10743
declare right condition for sqlstate '02000';
10744
declare exit handler for right set @var2 = 1;
10746
ERROR 42000: You 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';
10747
declare exit handler for right set @var2 =' at line 3
10748
DROP PROCEDURE IF EXISTS sp1;
10750
Note 1305 PROCEDURE sp1 does not exist
10751
CREATE PROCEDURE sp1( )
10753
declare rlike condition for sqlstate '02000';
10754
declare exit handler for rlike set @var2 = 1;
10756
ERROR 42000: You 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';
10757
declare exit handler for rlike set @var2 =' at line 3
10758
DROP PROCEDURE IF EXISTS sp1;
10760
Note 1305 PROCEDURE sp1 does not exist
10761
CREATE PROCEDURE sp1( )
10763
declare schema condition for sqlstate '02000';
10764
declare exit handler for schema set @var2 = 1;
10766
ERROR 42000: You 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';
10767
declare exit handler for schema set @var2' at line 3
10768
DROP PROCEDURE IF EXISTS sp1;
10770
Note 1305 PROCEDURE sp1 does not exist
10771
CREATE PROCEDURE sp1( )
10773
declare schemas condition for sqlstate '02000';
10774
declare exit handler for schemas 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 'schemas condition for sqlstate '02000';
10777
declare exit handler for schemas set @va' at line 3
10778
DROP PROCEDURE IF EXISTS sp1;
10780
Note 1305 PROCEDURE sp1 does not exist
10781
CREATE PROCEDURE sp1( )
10783
declare second_microsecond condition for sqlstate '02000';
10784
declare exit handler for second_microsecond set @var2 = 1;
10786
ERROR 42000: You 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';
10787
declare exit handler for seco' at line 3
10788
DROP PROCEDURE IF EXISTS sp1;
10790
Note 1305 PROCEDURE sp1 does not exist
10791
CREATE PROCEDURE sp1( )
10793
declare select condition for sqlstate '02000';
10794
declare exit handler for SELECT set @var2 = 1;
10796
ERROR 42000: You 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';
10797
declare exit handler for SELECT set @var2' at line 3
10798
DROP PROCEDURE IF EXISTS sp1;
10800
Note 1305 PROCEDURE sp1 does not exist
10801
CREATE PROCEDURE sp1( )
10803
declare sensitive condition for sqlstate '02000';
10804
declare exit handler for sensitive set @var2 = 1;
10806
ERROR 42000: You 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';
10807
declare exit handler for sensitive set' at line 3
10808
DROP PROCEDURE IF EXISTS sp1;
10810
Note 1305 PROCEDURE sp1 does not exist
10811
CREATE PROCEDURE sp1( )
10813
declare separator condition for sqlstate '02000';
10814
declare exit handler for separator set @var2 = 1;
10816
ERROR 42000: You 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';
10817
declare exit handler for separator set' at line 3
10818
DROP PROCEDURE IF EXISTS sp1;
10820
Note 1305 PROCEDURE sp1 does not exist
10821
CREATE PROCEDURE sp1( )
10823
declare set condition for sqlstate '02000';
10824
declare exit handler for set set @var2 = 1;
10826
ERROR 42000: You 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';
10827
declare exit handler for set set @var2 = 1;
10829
DROP PROCEDURE IF EXISTS sp1;
10831
Note 1305 PROCEDURE sp1 does not exist
10832
CREATE PROCEDURE sp1( )
10834
declare show condition for sqlstate '02000';
10835
declare exit handler for show set @var2 = 1;
10837
ERROR 42000: You 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';
10838
declare exit handler for show set @var2 = 1' at line 3
10839
DROP PROCEDURE IF EXISTS sp1;
10841
Note 1305 PROCEDURE sp1 does not exist
10842
CREATE PROCEDURE sp1( )
10844
declare smallint condition for sqlstate '02000';
10845
declare exit handler for smallint set @var2 = 1;
10847
ERROR 42000: You 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';
10848
declare exit handler for smallint set @' at line 3
10849
DROP PROCEDURE IF EXISTS sp1;
10851
Note 1305 PROCEDURE sp1 does not exist
10852
CREATE PROCEDURE sp1( )
10854
declare spatial condition for sqlstate '02000';
10855
declare exit handler for spatial 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 'spatial condition for sqlstate '02000';
10858
declare exit handler for spatial set @va' at line 3
10859
DROP PROCEDURE IF EXISTS sp1;
10861
Note 1305 PROCEDURE sp1 does not exist
10862
CREATE PROCEDURE sp1( )
10864
declare specific condition for sqlstate '02000';
10865
declare exit handler for specific set @var2 = 1;
10867
ERROR 42000: You 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';
10868
declare exit handler for specific set @' at line 3
10869
DROP PROCEDURE IF EXISTS sp1;
10871
Note 1305 PROCEDURE sp1 does not exist
10872
CREATE PROCEDURE sp1( )
10874
declare sql condition for sqlstate '02000';
10875
declare exit handler for sql set @var2 = 1;
10877
ERROR 42000: You 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';
10878
declare exit handler for sql set @var2 = 1;
10880
DROP PROCEDURE IF EXISTS sp1;
10882
Note 1305 PROCEDURE sp1 does not exist
10883
CREATE PROCEDURE sp1( )
10885
declare sqlexception condition for sqlstate '02000';
10886
declare exit handler for sqlexception set @var2 = 1;
10888
ERROR 42000: You 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';
10889
declare exit handler for sqlexcepti' at line 3
10890
DROP PROCEDURE IF EXISTS sp1;
10892
Note 1305 PROCEDURE sp1 does not exist
10893
CREATE PROCEDURE sp1( )
10895
declare sqlstate condition for sqlstate '02000';
10896
declare exit handler for sqlstate set @var2 = 1;
10898
ERROR 42000: You 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';
10899
declare exit handler for sqlstate set @' at line 3
10900
DROP PROCEDURE IF EXISTS sp1;
10902
Note 1305 PROCEDURE sp1 does not exist
10903
CREATE PROCEDURE sp1( )
10905
declare sqlwarning condition for sqlstate '02000';
10906
declare exit handler for sqlwarning set @var2 = 1;
10908
ERROR 42000: You 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';
10909
declare exit handler for sqlwarning s' at line 3
10910
DROP PROCEDURE IF EXISTS sp1;
10912
Note 1305 PROCEDURE sp1 does not exist
10913
CREATE PROCEDURE sp1( )
10915
declare sql_big_result condition for sqlstate '02000';
10916
declare exit handler for sql_big_result set @var2 = 1;
10918
ERROR 42000: You 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';
10919
declare exit handler for sql_big_' at line 3
10920
DROP PROCEDURE IF EXISTS sp1;
10922
Note 1305 PROCEDURE sp1 does not exist
10923
CREATE PROCEDURE sp1( )
10925
declare sql_calc_found_rows condition for sqlstate '02000';
10926
declare exit handler for sql_calc_found_rows set @var2 = 1;
10928
ERROR 42000: You 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';
10929
declare exit handler for sql' at line 3
10930
DROP PROCEDURE IF EXISTS sp1;
10932
Note 1305 PROCEDURE sp1 does not exist
10933
CREATE PROCEDURE sp1( )
10935
declare sql_small_result condition for sqlstate '02000';
10936
declare exit handler for sql_small_result 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 'sql_small_result condition for sqlstate '02000';
10939
declare exit handler for sql_sm' at line 3
10940
DROP PROCEDURE IF EXISTS sp1;
10942
Note 1305 PROCEDURE sp1 does not exist
10943
CREATE PROCEDURE sp1( )
10945
declare ssl condition for sqlstate '02000';
10946
declare exit handler for ssl set @var2 = 1;
10948
ERROR 42000: You 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';
10949
declare exit handler for ssl set @var2 = 1;
10951
DROP PROCEDURE IF EXISTS sp1;
10953
Note 1305 PROCEDURE sp1 does not exist
10954
CREATE PROCEDURE sp1( )
10956
declare starting condition for sqlstate '02000';
10957
declare exit handler for starting set @var2 = 1;
10959
ERROR 42000: You 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';
10960
declare exit handler for starting set @' at line 3
10961
DROP PROCEDURE IF EXISTS sp1;
10963
Note 1305 PROCEDURE sp1 does not exist
10964
CREATE PROCEDURE sp1( )
10966
declare straight_join condition for sqlstate '02000';
10967
declare exit handler for straight_join set @var2 = 1;
10969
ERROR 42000: You 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';
10970
declare exit handler for straight_' at line 3
10971
DROP PROCEDURE IF EXISTS sp1;
10973
Note 1305 PROCEDURE sp1 does not exist
10974
CREATE PROCEDURE sp1( )
10976
declare table condition for sqlstate '02000';
10977
declare exit handler for table set @var2 = 1;
10979
ERROR 42000: You 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';
10980
declare exit handler for table set @var2 =' at line 3
10981
DROP PROCEDURE IF EXISTS sp1;
10983
Note 1305 PROCEDURE sp1 does not exist
10984
CREATE PROCEDURE sp1( )
10986
declare terminated condition for sqlstate '02000';
10987
declare exit handler for terminated set @var2 = 1;
10989
ERROR 42000: You 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';
10990
declare exit handler for terminated s' at line 3
10991
DROP PROCEDURE IF EXISTS sp1;
10993
Note 1305 PROCEDURE sp1 does not exist
10994
CREATE PROCEDURE sp1( )
10996
declare then condition for sqlstate '02000';
10997
declare exit handler for then set @var2 = 1;
10999
ERROR 42000: You 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';
11000
declare exit handler for then set @var2 = 1' at line 3
11001
DROP PROCEDURE IF EXISTS sp1;
11003
Note 1305 PROCEDURE sp1 does not exist
11004
CREATE PROCEDURE sp1( )
11006
declare tinyblob condition for sqlstate '02000';
11007
declare exit handler for tinyblob set @var2 = 1;
11009
ERROR 42000: You 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';
11010
declare exit handler for tinyblob set @' at line 3
11011
DROP PROCEDURE IF EXISTS sp1;
11013
Note 1305 PROCEDURE sp1 does not exist
11014
CREATE PROCEDURE sp1( )
11016
declare tinyint condition for sqlstate '02000';
11017
declare exit handler for tinyint 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 'tinyint condition for sqlstate '02000';
11020
declare exit handler for tinyint set @va' at line 3
11021
DROP PROCEDURE IF EXISTS sp1;
11023
Note 1305 PROCEDURE sp1 does not exist
11024
CREATE PROCEDURE sp1( )
11026
declare tinytext condition for sqlstate '02000';
11027
declare exit handler for tinytext set @var2 = 1;
11029
ERROR 42000: You 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';
11030
declare exit handler for tinytext set @' at line 3
11031
DROP PROCEDURE IF EXISTS sp1;
11033
Note 1305 PROCEDURE sp1 does not exist
11034
CREATE PROCEDURE sp1( )
11036
declare to condition for sqlstate '02000';
11037
declare exit handler for to set @var2 = 1;
11039
ERROR 42000: You 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';
11040
declare exit handler for to set @var2 = 1;
11042
DROP PROCEDURE IF EXISTS sp1;
11044
Note 1305 PROCEDURE sp1 does not exist
11045
CREATE PROCEDURE sp1( )
11047
declare trailing condition for sqlstate '02000';
11048
declare exit handler for trailing set @var2 = 1;
11050
ERROR 42000: You 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';
11051
declare exit handler for trailing set @' at line 3
11052
DROP PROCEDURE IF EXISTS sp1;
11054
Note 1305 PROCEDURE sp1 does not exist
11055
CREATE PROCEDURE sp1( )
11057
declare trigger condition for sqlstate '02000';
11058
declare exit handler for trigger set @var2 = 1;
11060
ERROR 42000: You 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';
11061
declare exit handler for trigger set @va' at line 3
11062
DROP PROCEDURE IF EXISTS sp1;
11064
Note 1305 PROCEDURE sp1 does not exist
11065
CREATE PROCEDURE sp1( )
11067
declare true condition for sqlstate '02000';
11068
declare exit handler for true set @var2 = 1;
11070
ERROR 42000: You 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';
11071
declare exit handler for true set @var2 = 1' at line 3
11072
DROP PROCEDURE IF EXISTS sp1;
11074
Note 1305 PROCEDURE sp1 does not exist
11075
CREATE PROCEDURE sp1( )
11077
declare undo condition for sqlstate '02000';
11078
declare exit handler for undo set @var2 = 1;
11080
ERROR 42000: You 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';
11081
declare exit handler for undo set @var2 = 1' at line 3
11082
DROP PROCEDURE IF EXISTS sp1;
11084
Note 1305 PROCEDURE sp1 does not exist
11085
CREATE PROCEDURE sp1( )
11087
declare union condition for sqlstate '02000';
11088
declare exit handler for union set @var2 = 1;
11090
ERROR 42000: You 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';
11091
declare exit handler for union set @var2 =' at line 3
11092
DROP PROCEDURE IF EXISTS sp1;
11094
Note 1305 PROCEDURE sp1 does not exist
11095
CREATE PROCEDURE sp1( )
11097
declare unique condition for sqlstate '02000';
11098
declare exit handler for unique 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 'unique condition for sqlstate '02000';
11101
declare exit handler for unique set @var2' at line 3
11102
DROP PROCEDURE IF EXISTS sp1;
11104
Note 1305 PROCEDURE sp1 does not exist
11105
CREATE PROCEDURE sp1( )
11107
declare unlock condition for sqlstate '02000';
11108
declare exit handler for unlock set @var2 = 1;
11110
ERROR 42000: You 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';
11111
declare exit handler for unlock set @var2' at line 3
11112
DROP PROCEDURE IF EXISTS sp1;
11114
Note 1305 PROCEDURE sp1 does not exist
11115
CREATE PROCEDURE sp1( )
11117
declare unsigned condition for sqlstate '02000';
11118
declare exit handler for unsigned set @var2 = 1;
11120
ERROR 42000: You 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';
11121
declare exit handler for unsigned set @' at line 3
11122
DROP PROCEDURE IF EXISTS sp1;
11124
Note 1305 PROCEDURE sp1 does not exist
11125
CREATE PROCEDURE sp1( )
11127
declare update condition for sqlstate '02000';
11128
declare exit handler for update set @var2 = 1;
11130
ERROR 42000: You 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';
11131
declare exit handler for update set @var2' at line 3
11132
DROP PROCEDURE IF EXISTS sp1;
11134
Note 1305 PROCEDURE sp1 does not exist
11135
CREATE PROCEDURE sp1( )
11137
declare usage condition for sqlstate '02000';
11138
declare exit handler for usage set @var2 = 1;
11140
ERROR 42000: You 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';
11141
declare exit handler for usage set @var2 =' at line 3
11142
DROP PROCEDURE IF EXISTS sp1;
11144
Note 1305 PROCEDURE sp1 does not exist
11145
CREATE PROCEDURE sp1( )
11147
declare use condition for sqlstate '02000';
11148
declare exit handler for USE set @var2 = 1;
11150
ERROR 42000: You 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';
11151
declare exit handler for USE set @var2 = 1;
11153
DROP PROCEDURE IF EXISTS sp1;
11155
Note 1305 PROCEDURE sp1 does not exist
11156
CREATE PROCEDURE sp1( )
11158
declare using condition for sqlstate '02000';
11159
declare exit handler for using set @var2 = 1;
11161
ERROR 42000: You 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';
11162
declare exit handler for using set @var2 =' at line 3
11163
DROP PROCEDURE IF EXISTS sp1;
11165
Note 1305 PROCEDURE sp1 does not exist
11166
CREATE PROCEDURE sp1( )
11168
declare utc_date condition for sqlstate '02000';
11169
declare exit handler for utc_date set @var2 = 1;
11171
ERROR 42000: You 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';
11172
declare exit handler for utc_date set @' at line 3
11173
DROP PROCEDURE IF EXISTS sp1;
11175
Note 1305 PROCEDURE sp1 does not exist
11176
CREATE PROCEDURE sp1( )
11178
declare utc_time condition for sqlstate '02000';
11179
declare exit handler for utc_time 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 'utc_time condition for sqlstate '02000';
11182
declare exit handler for utc_time set @' at line 3
11183
DROP PROCEDURE IF EXISTS sp1;
11185
Note 1305 PROCEDURE sp1 does not exist
11186
CREATE PROCEDURE sp1( )
11188
declare utc_timestamp condition for sqlstate '02000';
11189
declare exit handler for utc_timestamp set @var2 = 1;
11191
ERROR 42000: You 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';
11192
declare exit handler for utc_times' at line 3
11193
DROP PROCEDURE IF EXISTS sp1;
11195
Note 1305 PROCEDURE sp1 does not exist
11196
CREATE PROCEDURE sp1( )
11198
declare values condition for sqlstate '02000';
11199
declare exit handler for values set @var2 = 1;
11201
ERROR 42000: You 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';
11202
declare exit handler for values set @var2' at line 3
11203
DROP PROCEDURE IF EXISTS sp1;
11205
Note 1305 PROCEDURE sp1 does not exist
11206
CREATE PROCEDURE sp1( )
11208
declare varbinary condition for sqlstate '02000';
11209
declare exit handler for varbinary set @var2 = 1;
11211
ERROR 42000: You 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';
11212
declare exit handler for varbinary set' at line 3
11213
DROP PROCEDURE IF EXISTS sp1;
11215
Note 1305 PROCEDURE sp1 does not exist
11216
CREATE PROCEDURE sp1( )
11218
declare varchar condition for sqlstate '02000';
11219
declare exit handler for varchar set @var2 = 1;
11221
ERROR 42000: You 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';
11222
declare exit handler for varchar set @va' at line 3
11223
DROP PROCEDURE IF EXISTS sp1;
11225
Note 1305 PROCEDURE sp1 does not exist
11226
CREATE PROCEDURE sp1( )
11228
declare varcharacter condition for sqlstate '02000';
11229
declare exit handler for varcharacter set @var2 = 1;
11231
ERROR 42000: You 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';
11232
declare exit handler for varcharact' at line 3
11233
DROP PROCEDURE IF EXISTS sp1;
11235
Note 1305 PROCEDURE sp1 does not exist
11236
CREATE PROCEDURE sp1( )
11238
declare varying condition for sqlstate '02000';
11239
declare exit handler for varying set @var2 = 1;
11241
ERROR 42000: You 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';
11242
declare exit handler for varying set @va' at line 3
11243
DROP PROCEDURE IF EXISTS sp1;
11245
Note 1305 PROCEDURE sp1 does not exist
11246
CREATE PROCEDURE sp1( )
11248
declare when condition for sqlstate '02000';
11249
declare exit handler for when set @var2 = 1;
11251
ERROR 42000: You 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';
11252
declare exit handler for when set @var2 = 1' at line 3
11253
DROP PROCEDURE IF EXISTS sp1;
11255
Note 1305 PROCEDURE sp1 does not exist
11256
CREATE PROCEDURE sp1( )
11258
declare where condition for sqlstate '02000';
11259
declare exit handler for where set @var2 = 1;
11261
ERROR 42000: You 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';
11262
declare exit handler for where set @var2 =' at line 3
11263
DROP PROCEDURE IF EXISTS sp1;
11265
Note 1305 PROCEDURE sp1 does not exist
11266
CREATE PROCEDURE sp1( )
11268
declare while condition for sqlstate '02000';
11269
declare exit handler for while 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 'while condition for sqlstate '02000';
11272
declare exit handler for while set @var2 =' at line 3
11273
DROP PROCEDURE IF EXISTS sp1;
11275
Note 1305 PROCEDURE sp1 does not exist
11276
CREATE PROCEDURE sp1( )
11278
declare with condition for sqlstate '02000';
11279
declare exit handler for with set @var2 = 1;
11281
ERROR 42000: You 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';
11282
declare exit handler for with set @var2 = 1' at line 3
11283
DROP PROCEDURE IF EXISTS sp1;
11285
Note 1305 PROCEDURE sp1 does not exist
11286
CREATE PROCEDURE sp1( )
11288
declare write condition for sqlstate '02000';
11289
declare exit handler for write set @var2 = 1;
11291
ERROR 42000: You 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';
11292
declare exit handler for write set @var2 =' at line 3
11293
DROP PROCEDURE IF EXISTS sp1;
11295
Note 1305 PROCEDURE sp1 does not exist
11296
CREATE PROCEDURE sp1( )
11298
declare xor condition for sqlstate '02000';
11299
declare exit handler for xor set @var2 = 1;
11301
ERROR 42000: You 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';
11302
declare exit handler for xor set @var2 = 1;
11304
DROP PROCEDURE IF EXISTS sp1;
11306
Note 1305 PROCEDURE sp1 does not exist
11307
CREATE PROCEDURE sp1( )
11309
declare year_month condition for sqlstate '02000';
11310
declare exit handler for year_month set @var2 = 1;
11312
ERROR 42000: You 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';
11313
declare exit handler for year_month s' at line 3
11314
DROP PROCEDURE IF EXISTS sp1;
11316
Note 1305 PROCEDURE sp1 does not exist
11317
CREATE PROCEDURE sp1( )
11319
declare zerofill condition for sqlstate '02000';
11320
declare exit handler for zerofill set @var2 = 1;
11322
ERROR 42000: You 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';
11323
declare exit handler for zerofill set @' at line 3
11327
Ensure that every possible type of handler may be declared for
11328
a stored procedure (continue- handler_type ).
11329
--------------------------------------------------------------------------------
11330
DROP PROCEDURE IF EXISTS sp1;
11332
Note 1305 PROCEDURE sp1 does not exist
11333
CREATE PROCEDURE sp1()
11335
declare continue handler for sqlstate '23000' set @x2 = 1;
11337
insert into t2(f1) values (1);
11339
insert into t2(f1) values (1);
11343
DROP PROCEDURE sp1;
11344
DROP PROCEDURE IF EXISTS handler1;
11346
Note 1305 PROCEDURE handler1 does not exist
11347
CREATE PROCEDURE handler1()
11349
declare undo handler for sqlstate '23000' set @x2 = 1;
11351
insert into t values (1);
11353
insert into t values (1);
11356
ERROR 42000: You 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;
11358
insert into t values ' at line 3
11359
DROP PROCEDURE IF EXISTS handler1;
11361
Note 1305 PROCEDURE handler1 does not exist
11362
CREATE PROCEDURE handler1()
11364
declare continueinv handler for sqlstate '2300' set @x2 = 1;
11366
insert into t values (1);
11368
insert into t values (1);
11371
ERROR 42000: You 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;
11373
insert into t values (1);
11375
DROP PROCEDURE IF EXISTS handler1;
11377
Note 1305 PROCEDURE handler1 does not exist
11378
CREATE PROCEDURE handler1()
11380
declare undoinv handler for sqlstate '2300' set @x2 = 1;
11382
insert into t values (1);
11384
insert into t values (1);
11387
ERROR 42000: You 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;
11389
insert into t values (1);
11391
DROP PROCEDURE IF EXISTS handler1;
11393
Note 1305 PROCEDURE handler1 does not exist
11394
CREATE PROCEDURE handler1 ()
11396
declare exitinv handler for sqlstate '2300' set @x2 = 1;
11398
insert into t values (1);
11400
insert into t values (1);
11403
ERROR 42000: You 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;
11405
insert into t values (1);
11407
DROP PROCEDURE IF EXISTS sp1;
11409
Note 1305 PROCEDURE sp1 does not exist
11410
CREATE PROCEDURE sp1( )
11412
declare accessible handler for sqlstate '02000' set @var2 = 1;
11414
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1;
11416
DROP PROCEDURE IF EXISTS sp1;
11418
Note 1305 PROCEDURE sp1 does not exist
11419
CREATE PROCEDURE sp1( )
11421
declare add handler for sqlstate '02000' set @var2 = 1;
11423
ERROR 42000: You 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;
11425
DROP PROCEDURE IF EXISTS sp1;
11427
Note 1305 PROCEDURE sp1 does not exist
11428
CREATE PROCEDURE sp1( )
11430
declare all handler for sqlstate '02000' set @var2 = 1;
11432
ERROR 42000: You 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;
11434
DROP PROCEDURE IF EXISTS sp1;
11436
Note 1305 PROCEDURE sp1 does not exist
11437
CREATE PROCEDURE sp1( )
11439
declare alter handler for sqlstate '02000' set @var2 = 1;
11441
ERROR 42000: You 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;
11443
DROP PROCEDURE IF EXISTS sp1;
11445
Note 1305 PROCEDURE sp1 does not exist
11446
CREATE PROCEDURE sp1( )
11448
declare analyze handler for sqlstate '02000' set @var2 = 1;
11450
ERROR 42000: You 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;
11452
DROP PROCEDURE IF EXISTS sp1;
11454
Note 1305 PROCEDURE sp1 does not exist
11455
CREATE PROCEDURE sp1( )
11457
declare and handler for sqlstate '02000' set @var2 = 1;
11459
ERROR 42000: You 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;
11461
DROP PROCEDURE IF EXISTS sp1;
11463
Note 1305 PROCEDURE sp1 does not exist
11464
CREATE PROCEDURE sp1( )
11466
declare as handler for sqlstate '02000' set @var2 = 1;
11468
ERROR 42000: You 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;
11470
DROP PROCEDURE IF EXISTS sp1;
11472
Note 1305 PROCEDURE sp1 does not exist
11473
CREATE PROCEDURE sp1( )
11475
declare asc handler for sqlstate '02000' set @var2 = 1;
11477
ERROR 42000: You 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;
11479
DROP PROCEDURE IF EXISTS sp1;
11481
Note 1305 PROCEDURE sp1 does not exist
11482
CREATE PROCEDURE sp1( )
11484
declare asensitive handler for sqlstate '02000' set @var2 = 1;
11486
ERROR 42000: You 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;
11488
DROP PROCEDURE IF EXISTS sp1;
11490
Note 1305 PROCEDURE sp1 does not exist
11491
CREATE PROCEDURE sp1( )
11493
declare before handler for sqlstate '02000' set @var2 = 1;
11495
ERROR 42000: You 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;
11497
DROP PROCEDURE IF EXISTS sp1;
11499
Note 1305 PROCEDURE sp1 does not exist
11500
CREATE PROCEDURE sp1( )
11502
declare between handler for sqlstate '02000' set @var2 = 1;
11504
ERROR 42000: You 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;
11506
DROP PROCEDURE IF EXISTS sp1;
11508
Note 1305 PROCEDURE sp1 does not exist
11509
CREATE PROCEDURE sp1( )
11511
declare bigint handler for sqlstate '02000' set @var2 = 1;
11513
ERROR 42000: You 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;
11515
DROP PROCEDURE IF EXISTS sp1;
11517
Note 1305 PROCEDURE sp1 does not exist
11518
CREATE PROCEDURE sp1( )
11520
declare binary handler for sqlstate '02000' set @var2 = 1;
11522
ERROR 42000: You 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;
11524
DROP PROCEDURE IF EXISTS sp1;
11526
Note 1305 PROCEDURE sp1 does not exist
11527
CREATE PROCEDURE sp1( )
11529
declare blob handler for sqlstate '02000' set @var2 = 1;
11531
ERROR 42000: You 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;
11533
DROP PROCEDURE IF EXISTS sp1;
11535
Note 1305 PROCEDURE sp1 does not exist
11536
CREATE PROCEDURE sp1( )
11538
declare both handler for sqlstate '02000' set @var2 = 1;
11540
ERROR 42000: You 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;
11542
DROP PROCEDURE IF EXISTS sp1;
11544
Note 1305 PROCEDURE sp1 does not exist
11545
CREATE PROCEDURE sp1( )
11547
declare by handler for sqlstate '02000' set @var2 = 1;
11549
ERROR 42000: You 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;
11551
DROP PROCEDURE IF EXISTS sp1;
11553
Note 1305 PROCEDURE sp1 does not exist
11554
CREATE PROCEDURE sp1( )
11556
declare call handler for sqlstate '02000' set @var2 = 1;
11558
ERROR 42000: You 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;
11560
DROP PROCEDURE IF EXISTS sp1;
11562
Note 1305 PROCEDURE sp1 does not exist
11563
CREATE PROCEDURE sp1( )
11565
declare cascade handler for sqlstate '02000' set @var2 = 1;
11567
ERROR 42000: You 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;
11569
DROP PROCEDURE IF EXISTS sp1;
11571
Note 1305 PROCEDURE sp1 does not exist
11572
CREATE PROCEDURE sp1( )
11574
declare case handler for sqlstate '02000' set @var2 = 1;
11576
ERROR 42000: You 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;
11578
DROP PROCEDURE IF EXISTS sp1;
11580
Note 1305 PROCEDURE sp1 does not exist
11581
CREATE PROCEDURE sp1( )
11583
declare change handler for sqlstate '02000' set @var2 = 1;
11585
ERROR 42000: You 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;
11587
DROP PROCEDURE IF EXISTS sp1;
11589
Note 1305 PROCEDURE sp1 does not exist
11590
CREATE PROCEDURE sp1( )
11592
declare char handler for sqlstate '02000' set @var2 = 1;
11594
ERROR 42000: You 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;
11596
DROP PROCEDURE IF EXISTS sp1;
11598
Note 1305 PROCEDURE sp1 does not exist
11599
CREATE PROCEDURE sp1( )
11601
declare character handler for sqlstate '02000' set @var2 = 1;
11603
ERROR 42000: You 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;
11605
DROP PROCEDURE IF EXISTS sp1;
11607
Note 1305 PROCEDURE sp1 does not exist
11608
CREATE PROCEDURE sp1( )
11610
declare check handler for sqlstate '02000' set @var2 = 1;
11612
ERROR 42000: You 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;
11614
DROP PROCEDURE IF EXISTS sp1;
11616
Note 1305 PROCEDURE sp1 does not exist
11617
CREATE PROCEDURE sp1( )
11619
declare collate handler for sqlstate '02000' set @var2 = 1;
11621
ERROR 42000: You 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;
11623
DROP PROCEDURE IF EXISTS sp1;
11625
Note 1305 PROCEDURE sp1 does not exist
11626
CREATE PROCEDURE sp1( )
11628
declare column handler for sqlstate '02000' set @var2 = 1;
11630
ERROR 42000: You 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;
11632
DROP PROCEDURE IF EXISTS sp1;
11634
Note 1305 PROCEDURE sp1 does not exist
11635
CREATE PROCEDURE sp1( )
11637
declare condition handler for sqlstate '02000' set @var2 = 1;
11639
ERROR 42000: You 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;
11641
DROP PROCEDURE IF EXISTS sp1;
11643
Note 1305 PROCEDURE sp1 does not exist
11644
CREATE PROCEDURE sp1( )
11646
declare constraint handler for sqlstate '02000' set @var2 = 1;
11648
ERROR 42000: You 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;
11650
DROP PROCEDURE IF EXISTS sp1;
11652
Note 1305 PROCEDURE sp1 does not exist
11653
CREATE PROCEDURE sp1( )
11655
declare continue handler for sqlstate '02000' set @var2 = 1;
11657
DROP PROCEDURE IF EXISTS sp1;
11658
CREATE PROCEDURE sp1( )
11660
declare convert handler for sqlstate '02000' set @var2 = 1;
11662
ERROR 42000: You 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;
11664
DROP PROCEDURE IF EXISTS sp1;
11666
Note 1305 PROCEDURE sp1 does not exist
11667
CREATE PROCEDURE sp1( )
11669
declare create handler for sqlstate '02000' set @var2 = 1;
11671
ERROR 42000: You 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;
11673
DROP PROCEDURE IF EXISTS sp1;
11675
Note 1305 PROCEDURE sp1 does not exist
11676
CREATE PROCEDURE sp1( )
11678
declare cross handler for sqlstate '02000' set @var2 = 1;
11680
ERROR 42000: You 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;
11682
DROP PROCEDURE IF EXISTS sp1;
11684
Note 1305 PROCEDURE sp1 does not exist
11685
CREATE PROCEDURE sp1( )
11687
declare current_date handler for sqlstate '02000' set @var2 = 1;
11689
ERROR 42000: You 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;
11691
DROP PROCEDURE IF EXISTS sp1;
11693
Note 1305 PROCEDURE sp1 does not exist
11694
CREATE PROCEDURE sp1( )
11696
declare current_time handler for sqlstate '02000' set @var2 = 1;
11698
ERROR 42000: You 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;
11700
DROP PROCEDURE IF EXISTS sp1;
11702
Note 1305 PROCEDURE sp1 does not exist
11703
CREATE PROCEDURE sp1( )
11705
declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
11707
ERROR 42000: You 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;
11709
DROP PROCEDURE IF EXISTS sp1;
11711
Note 1305 PROCEDURE sp1 does not exist
11712
CREATE PROCEDURE sp1( )
11714
declare current_user handler for sqlstate '02000' set @var2 = 1;
11716
ERROR 42000: You 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;
11718
DROP PROCEDURE IF EXISTS sp1;
11720
Note 1305 PROCEDURE sp1 does not exist
11721
CREATE PROCEDURE sp1( )
11723
declare cursor handler for sqlstate '02000' set @var2 = 1;
11725
ERROR 42000: You 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;
11727
DROP PROCEDURE IF EXISTS sp1;
11729
Note 1305 PROCEDURE sp1 does not exist
11730
CREATE PROCEDURE sp1( )
11732
declare database handler for sqlstate '02000' set @var2 = 1;
11734
ERROR 42000: You 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;
11736
DROP PROCEDURE IF EXISTS sp1;
11738
Note 1305 PROCEDURE sp1 does not exist
11739
CREATE PROCEDURE sp1( )
11741
declare databases handler for sqlstate '02000' set @var2 = 1;
11743
ERROR 42000: You 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;
11745
DROP PROCEDURE IF EXISTS sp1;
11747
Note 1305 PROCEDURE sp1 does not exist
11748
CREATE PROCEDURE sp1( )
11750
declare day_hour handler for sqlstate '02000' set @var2 = 1;
11752
ERROR 42000: You 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;
11754
DROP PROCEDURE IF EXISTS sp1;
11756
Note 1305 PROCEDURE sp1 does not exist
11757
CREATE PROCEDURE sp1( )
11759
declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
11761
ERROR 42000: You 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;
11763
DROP PROCEDURE IF EXISTS sp1;
11765
Note 1305 PROCEDURE sp1 does not exist
11766
CREATE PROCEDURE sp1( )
11768
declare day_minute handler for sqlstate '02000' set @var2 = 1;
11770
ERROR 42000: You 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;
11772
DROP PROCEDURE IF EXISTS sp1;
11774
Note 1305 PROCEDURE sp1 does not exist
11775
CREATE PROCEDURE sp1( )
11777
declare day_second handler for sqlstate '02000' set @var2 = 1;
11779
ERROR 42000: You 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;
11781
DROP PROCEDURE IF EXISTS sp1;
11783
Note 1305 PROCEDURE sp1 does not exist
11784
CREATE PROCEDURE sp1( )
11786
declare dec handler for sqlstate '02000' set @var2 = 1;
11788
ERROR 42000: You 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;
11790
DROP PROCEDURE IF EXISTS sp1;
11792
Note 1305 PROCEDURE sp1 does not exist
11793
CREATE PROCEDURE sp1( )
11795
declare decimal handler for sqlstate '02000' set @var2 = 1;
11797
ERROR 42000: You 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;
11799
DROP PROCEDURE IF EXISTS sp1;
11801
Note 1305 PROCEDURE sp1 does not exist
11802
CREATE PROCEDURE sp1( )
11804
declare declare handler for sqlstate '02000' set @var2 = 1;
11806
ERROR 42000: You 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;
11808
DROP PROCEDURE IF EXISTS sp1;
11810
Note 1305 PROCEDURE sp1 does not exist
11811
CREATE PROCEDURE sp1( )
11813
declare default handler for sqlstate '02000' set @var2 = 1;
11815
ERROR 42000: You 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;
11817
DROP PROCEDURE IF EXISTS sp1;
11819
Note 1305 PROCEDURE sp1 does not exist
11820
CREATE PROCEDURE sp1( )
11822
declare delayed handler for sqlstate '02000' set @var2 = 1;
11824
ERROR 42000: You 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;
11826
DROP PROCEDURE IF EXISTS sp1;
11828
Note 1305 PROCEDURE sp1 does not exist
11829
CREATE PROCEDURE sp1( )
11831
declare delete handler for sqlstate '02000' set @var2 = 1;
11833
ERROR 42000: You 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;
11835
DROP PROCEDURE IF EXISTS sp1;
11837
Note 1305 PROCEDURE sp1 does not exist
11838
CREATE PROCEDURE sp1( )
11840
declare desc handler for sqlstate '02000' set @var2 = 1;
11842
ERROR 42000: You 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;
11844
DROP PROCEDURE IF EXISTS sp1;
11846
Note 1305 PROCEDURE sp1 does not exist
11847
CREATE PROCEDURE sp1( )
11849
declare describe handler for sqlstate '02000' set @var2 = 1;
11851
ERROR 42000: You 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;
11853
DROP PROCEDURE IF EXISTS sp1;
11855
Note 1305 PROCEDURE sp1 does not exist
11856
CREATE PROCEDURE sp1( )
11858
declare deterministic handler for sqlstate '02000' set @var2 = 1;
11860
ERROR 42000: You 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;
11862
DROP PROCEDURE IF EXISTS sp1;
11864
Note 1305 PROCEDURE sp1 does not exist
11865
CREATE PROCEDURE sp1( )
11867
declare distinct handler for sqlstate '02000' set @var2 = 1;
11869
ERROR 42000: You 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;
11871
DROP PROCEDURE IF EXISTS sp1;
11873
Note 1305 PROCEDURE sp1 does not exist
11874
CREATE PROCEDURE sp1( )
11876
declare distinctrow handler for sqlstate '02000' set @var2 = 1;
11878
ERROR 42000: You 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;
11880
DROP PROCEDURE IF EXISTS sp1;
11882
Note 1305 PROCEDURE sp1 does not exist
11883
CREATE PROCEDURE sp1( )
11885
declare div handler for sqlstate '02000' set @var2 = 1;
11887
ERROR 42000: You 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;
11889
DROP PROCEDURE IF EXISTS sp1;
11891
Note 1305 PROCEDURE sp1 does not exist
11892
CREATE PROCEDURE sp1( )
11894
declare double handler for sqlstate '02000' set @var2 = 1;
11896
ERROR 42000: You 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;
11898
DROP PROCEDURE IF EXISTS sp1;
11900
Note 1305 PROCEDURE sp1 does not exist
11901
CREATE PROCEDURE sp1( )
11903
declare drop handler for sqlstate '02000' set @var2 = 1;
11905
ERROR 42000: You 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;
11907
DROP PROCEDURE IF EXISTS sp1;
11909
Note 1305 PROCEDURE sp1 does not exist
11910
CREATE PROCEDURE sp1( )
11912
declare dual handler for sqlstate '02000' set @var2 = 1;
11914
ERROR 42000: You 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;
11916
DROP PROCEDURE IF EXISTS sp1;
11918
Note 1305 PROCEDURE sp1 does not exist
11919
CREATE PROCEDURE sp1( )
11921
declare each handler for sqlstate '02000' set @var2 = 1;
11923
ERROR 42000: You 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;
11925
DROP PROCEDURE IF EXISTS sp1;
11927
Note 1305 PROCEDURE sp1 does not exist
11928
CREATE PROCEDURE sp1( )
11930
declare else handler for sqlstate '02000' set @var2 = 1;
11932
ERROR 42000: You 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;
11934
DROP PROCEDURE IF EXISTS sp1;
11936
Note 1305 PROCEDURE sp1 does not exist
11937
CREATE PROCEDURE sp1( )
11939
declare elseif handler for sqlstate '02000' set @var2 = 1;
11941
ERROR 42000: You 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;
11943
DROP PROCEDURE IF EXISTS sp1;
11945
Note 1305 PROCEDURE sp1 does not exist
11946
CREATE PROCEDURE sp1( )
11948
declare enclosed handler for sqlstate '02000' set @var2 = 1;
11950
ERROR 42000: You 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;
11952
DROP PROCEDURE IF EXISTS sp1;
11954
Note 1305 PROCEDURE sp1 does not exist
11955
CREATE PROCEDURE sp1( )
11957
declare escaped handler for sqlstate '02000' set @var2 = 1;
11959
ERROR 42000: You 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;
11961
DROP PROCEDURE IF EXISTS sp1;
11963
Note 1305 PROCEDURE sp1 does not exist
11964
CREATE PROCEDURE sp1( )
11966
declare exists handler for sqlstate '02000' set @var2 = 1;
11968
ERROR 42000: You 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;
11970
DROP PROCEDURE IF EXISTS sp1;
11972
Note 1305 PROCEDURE sp1 does not exist
11973
CREATE PROCEDURE sp1( )
11975
declare exit handler for sqlstate '02000' set @var2 = 1;
11977
DROP PROCEDURE IF EXISTS sp1;
11978
CREATE PROCEDURE sp1( )
11980
declare explain 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 'explain 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 false 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 'false 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 fetch 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 'fetch 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 float 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 'float 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 float4 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 'float4 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 float8 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 'float8 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 for 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 'for 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 force 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 'force 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 foreign 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 'foreign 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 from 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 'from 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 fulltext 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 'fulltext 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 grant 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 'grant 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 group 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 'group 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 having 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 'having 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 high_priority 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 'high_priority 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 hour_microsecond 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 'hour_microsecond 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 hour_minute 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 'hour_minute 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 hour_second 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 'hour_second 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 if 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 'if 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 ignore 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 'ignore 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 in 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 'in 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 index 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 'index 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 infile 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 'infile 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 inner 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 'inner 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 inout 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 'inout 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 insensitive 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 'insensitive 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 insert 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 'insert 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 int 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 'int 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 int1 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 'int1 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 int2 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 'int2 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 int3 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 'int3 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 int4 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 'int4 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 int8 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 'int8 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 integer 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 'integer 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 interval 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 'interval 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 into 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 'into 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 is 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 'is 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 iterate 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 'iterate 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 join 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 'join 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 key 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 'key 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 keys 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 'keys 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 kill 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 'kill 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 leading 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 'leading 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 leave 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 'leave 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 left 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 'left 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 like 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 'like 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 limit 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 'limit 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 linear 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 'linear 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 lines 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 'lines 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 load 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 'load handler for sqlstate '02000' set @var2 = 1;
12425
DROP PROCEDURE IF EXISTS sp1;
12427
Note 1305 PROCEDURE sp1 does not exist
12428
CREATE PROCEDURE sp1( )
12430
declare localtime handler for sqlstate '02000' set @var2 = 1;
12432
ERROR 42000: You 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;
12434
DROP PROCEDURE IF EXISTS sp1;
12436
Note 1305 PROCEDURE sp1 does not exist
12437
CREATE PROCEDURE sp1( )
12439
declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
12441
ERROR 42000: You 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;
12443
DROP PROCEDURE IF EXISTS sp1;
12445
Note 1305 PROCEDURE sp1 does not exist
12446
CREATE PROCEDURE sp1( )
12448
declare lock handler for sqlstate '02000' set @var2 = 1;
12450
ERROR 42000: You 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;
12452
DROP PROCEDURE IF EXISTS sp1;
12454
Note 1305 PROCEDURE sp1 does not exist
12455
CREATE PROCEDURE sp1( )
12457
declare long handler for sqlstate '02000' set @var2 = 1;
12459
ERROR 42000: You 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;
12461
DROP PROCEDURE IF EXISTS sp1;
12463
Note 1305 PROCEDURE sp1 does not exist
12464
CREATE PROCEDURE sp1( )
12466
declare longblob handler for sqlstate '02000' set @var2 = 1;
12468
ERROR 42000: You 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;
12470
DROP PROCEDURE IF EXISTS sp1;
12472
Note 1305 PROCEDURE sp1 does not exist
12473
CREATE PROCEDURE sp1( )
12475
declare longtext handler for sqlstate '02000' set @var2 = 1;
12477
ERROR 42000: You 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;
12479
DROP PROCEDURE IF EXISTS sp1;
12481
Note 1305 PROCEDURE sp1 does not exist
12482
CREATE PROCEDURE sp1( )
12484
declare loop handler for sqlstate '02000' set @var2 = 1;
12486
ERROR 42000: You 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;
12488
DROP PROCEDURE IF EXISTS sp1;
12490
Note 1305 PROCEDURE sp1 does not exist
12491
CREATE PROCEDURE sp1( )
12493
declare low_priority handler for sqlstate '02000' set @var2 = 1;
12495
ERROR 42000: You 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;
12497
DROP PROCEDURE IF EXISTS sp1;
12499
Note 1305 PROCEDURE sp1 does not exist
12500
CREATE PROCEDURE sp1( )
12502
declare master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
12504
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
12506
DROP PROCEDURE IF EXISTS sp1;
12508
Note 1305 PROCEDURE sp1 does not exist
12509
CREATE PROCEDURE sp1( )
12511
declare match handler for sqlstate '02000' set @var2 = 1;
12513
ERROR 42000: You 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;
12515
DROP PROCEDURE IF EXISTS sp1;
12517
Note 1305 PROCEDURE sp1 does not exist
12518
CREATE PROCEDURE sp1( )
12520
declare mediumblob handler for sqlstate '02000' set @var2 = 1;
12522
ERROR 42000: You 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;
12524
DROP PROCEDURE IF EXISTS sp1;
12526
Note 1305 PROCEDURE sp1 does not exist
12527
CREATE PROCEDURE sp1( )
12529
declare mediumint handler for sqlstate '02000' set @var2 = 1;
12531
ERROR 42000: You 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;
12533
DROP PROCEDURE IF EXISTS sp1;
12535
Note 1305 PROCEDURE sp1 does not exist
12536
CREATE PROCEDURE sp1( )
12538
declare mediumtext handler for sqlstate '02000' set @var2 = 1;
12540
ERROR 42000: You 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;
12542
DROP PROCEDURE IF EXISTS sp1;
12544
Note 1305 PROCEDURE sp1 does not exist
12545
CREATE PROCEDURE sp1( )
12547
declare middleint handler for sqlstate '02000' set @var2 = 1;
12549
ERROR 42000: You 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;
12551
DROP PROCEDURE IF EXISTS sp1;
12553
Note 1305 PROCEDURE sp1 does not exist
12554
CREATE PROCEDURE sp1( )
12556
declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
12558
ERROR 42000: You 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;
12560
DROP PROCEDURE IF EXISTS sp1;
12562
Note 1305 PROCEDURE sp1 does not exist
12563
CREATE PROCEDURE sp1( )
12565
declare minute_second handler for sqlstate '02000' set @var2 = 1;
12567
ERROR 42000: You 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;
12569
DROP PROCEDURE IF EXISTS sp1;
12571
Note 1305 PROCEDURE sp1 does not exist
12572
CREATE PROCEDURE sp1( )
12574
declare mod handler for sqlstate '02000' set @var2 = 1;
12576
ERROR 42000: You 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;
12578
DROP PROCEDURE IF EXISTS sp1;
12580
Note 1305 PROCEDURE sp1 does not exist
12581
CREATE PROCEDURE sp1( )
12583
declare modifies handler for sqlstate '02000' set @var2 = 1;
12585
ERROR 42000: You 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;
12587
DROP PROCEDURE IF EXISTS sp1;
12589
Note 1305 PROCEDURE sp1 does not exist
12590
CREATE PROCEDURE sp1( )
12592
declare natural handler for sqlstate '02000' set @var2 = 1;
12594
ERROR 42000: You 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;
12596
DROP PROCEDURE IF EXISTS sp1;
12598
Note 1305 PROCEDURE sp1 does not exist
12599
CREATE PROCEDURE sp1( )
12601
declare not handler for sqlstate '02000' set @var2 = 1;
12603
ERROR 42000: You 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;
12605
DROP PROCEDURE IF EXISTS sp1;
12607
Note 1305 PROCEDURE sp1 does not exist
12608
CREATE PROCEDURE sp1( )
12610
declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
12612
ERROR 42000: You 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;
12614
DROP PROCEDURE IF EXISTS sp1;
12616
Note 1305 PROCEDURE sp1 does not exist
12617
CREATE PROCEDURE sp1( )
12619
declare null handler for sqlstate '02000' set @var2 = 1;
12621
ERROR 42000: You 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;
12623
DROP PROCEDURE IF EXISTS sp1;
12625
Note 1305 PROCEDURE sp1 does not exist
12626
CREATE PROCEDURE sp1( )
12628
declare numeric handler for sqlstate '02000' set @var2 = 1;
12630
ERROR 42000: You 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;
12632
DROP PROCEDURE IF EXISTS sp1;
12634
Note 1305 PROCEDURE sp1 does not exist
12635
CREATE PROCEDURE sp1( )
12637
declare on handler for sqlstate '02000' set @var2 = 1;
12639
ERROR 42000: You 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;
12641
DROP PROCEDURE IF EXISTS sp1;
12643
Note 1305 PROCEDURE sp1 does not exist
12644
CREATE PROCEDURE sp1( )
12646
declare optimize handler for sqlstate '02000' set @var2 = 1;
12648
ERROR 42000: You 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;
12650
DROP PROCEDURE IF EXISTS sp1;
12652
Note 1305 PROCEDURE sp1 does not exist
12653
CREATE PROCEDURE sp1( )
12655
declare option handler for sqlstate '02000' set @var2 = 1;
12657
ERROR 42000: You 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;
12659
DROP PROCEDURE IF EXISTS sp1;
12661
Note 1305 PROCEDURE sp1 does not exist
12662
CREATE PROCEDURE sp1( )
12664
declare optionally handler for sqlstate '02000' set @var2 = 1;
12666
ERROR 42000: You 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;
12668
DROP PROCEDURE IF EXISTS sp1;
12670
Note 1305 PROCEDURE sp1 does not exist
12671
CREATE PROCEDURE sp1( )
12673
declare or handler for sqlstate '02000' set @var2 = 1;
12675
ERROR 42000: You 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;
12677
DROP PROCEDURE IF EXISTS sp1;
12679
Note 1305 PROCEDURE sp1 does not exist
12680
CREATE PROCEDURE sp1( )
12682
declare order handler for sqlstate '02000' set @var2 = 1;
12684
ERROR 42000: You 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;
12686
DROP PROCEDURE IF EXISTS sp1;
12688
Note 1305 PROCEDURE sp1 does not exist
12689
CREATE PROCEDURE sp1( )
12691
declare out handler for sqlstate '02000' set @var2 = 1;
12693
ERROR 42000: You 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;
12695
DROP PROCEDURE IF EXISTS sp1;
12697
Note 1305 PROCEDURE sp1 does not exist
12698
CREATE PROCEDURE sp1( )
12700
declare outer handler for sqlstate '02000' set @var2 = 1;
12702
ERROR 42000: You 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;
12704
DROP PROCEDURE IF EXISTS sp1;
12706
Note 1305 PROCEDURE sp1 does not exist
12707
CREATE PROCEDURE sp1( )
12709
declare outfile handler for sqlstate '02000' set @var2 = 1;
12711
ERROR 42000: You 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;
12713
DROP PROCEDURE IF EXISTS sp1;
12715
Note 1305 PROCEDURE sp1 does not exist
12716
CREATE PROCEDURE sp1( )
12718
declare precision handler for sqlstate '02000' set @var2 = 1;
12720
ERROR 42000: You 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;
12722
DROP PROCEDURE IF EXISTS sp1;
12724
Note 1305 PROCEDURE sp1 does not exist
12725
CREATE PROCEDURE sp1( )
12727
declare primary handler for sqlstate '02000' set @var2 = 1;
12729
ERROR 42000: You 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;
12731
DROP PROCEDURE IF EXISTS sp1;
12733
Note 1305 PROCEDURE sp1 does not exist
12734
CREATE PROCEDURE sp1( )
12736
declare privileges handler for sqlstate '02000' set @var2 = 1;
12738
ERROR 42000: You 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;
12740
DROP PROCEDURE IF EXISTS sp1;
12742
Note 1305 PROCEDURE sp1 does not exist
12743
CREATE PROCEDURE sp1( )
12745
declare procedure handler for sqlstate '02000' set @var2 = 1;
12747
ERROR 42000: You 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;
12749
DROP PROCEDURE IF EXISTS sp1;
12751
Note 1305 PROCEDURE sp1 does not exist
12752
CREATE PROCEDURE sp1( )
12754
declare purge handler for sqlstate '02000' set @var2 = 1;
12756
ERROR 42000: You 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;
12758
DROP PROCEDURE IF EXISTS sp1;
12760
Note 1305 PROCEDURE sp1 does not exist
12761
CREATE PROCEDURE sp1( )
12763
declare range handler for sqlstate '02000' set @var2 = 1;
12765
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range handler for sqlstate '02000' set @var2 = 1;
12767
DROP PROCEDURE IF EXISTS sp1;
12769
Note 1305 PROCEDURE sp1 does not exist
12770
CREATE PROCEDURE sp1( )
12772
declare read handler for sqlstate '02000' set @var2 = 1;
12774
ERROR 42000: You 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;
12776
DROP PROCEDURE IF EXISTS sp1;
12778
Note 1305 PROCEDURE sp1 does not exist
12779
CREATE PROCEDURE sp1( )
12781
declare reads handler for sqlstate '02000' set @var2 = 1;
12783
ERROR 42000: You 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;
12785
DROP PROCEDURE IF EXISTS sp1;
12787
Note 1305 PROCEDURE sp1 does not exist
12788
CREATE PROCEDURE sp1( )
12790
declare read_only handler for sqlstate '02000' set @var2 = 1;
12792
ERROR 42000: You 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;
12794
DROP PROCEDURE IF EXISTS sp1;
12796
Note 1305 PROCEDURE sp1 does not exist
12797
CREATE PROCEDURE sp1( )
12799
declare read_write handler for sqlstate '02000' set @var2 = 1;
12801
ERROR 42000: You 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_write handler for sqlstate '02000' set @var2 = 1;
12803
DROP PROCEDURE IF EXISTS sp1;
12805
Note 1305 PROCEDURE sp1 does not exist
12806
CREATE PROCEDURE sp1( )
12808
declare real handler for sqlstate '02000' set @var2 = 1;
12810
ERROR 42000: You 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;
12812
DROP PROCEDURE IF EXISTS sp1;
12814
Note 1305 PROCEDURE sp1 does not exist
12815
CREATE PROCEDURE sp1( )
12817
declare references handler for sqlstate '02000' set @var2 = 1;
12819
ERROR 42000: You 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;
12821
DROP PROCEDURE IF EXISTS sp1;
12823
Note 1305 PROCEDURE sp1 does not exist
12824
CREATE PROCEDURE sp1( )
12826
declare regexp handler for sqlstate '02000' set @var2 = 1;
12828
ERROR 42000: You 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;
12830
DROP PROCEDURE IF EXISTS sp1;
12832
Note 1305 PROCEDURE sp1 does not exist
12833
CREATE PROCEDURE sp1( )
12835
declare release handler for sqlstate '02000' set @var2 = 1;
12837
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release handler for sqlstate '02000' set @var2 = 1;
12839
DROP PROCEDURE IF EXISTS sp1;
12841
Note 1305 PROCEDURE sp1 does not exist
12842
CREATE PROCEDURE sp1( )
12844
declare rename handler for sqlstate '02000' set @var2 = 1;
12846
ERROR 42000: You 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;
12848
DROP PROCEDURE IF EXISTS sp1;
12850
Note 1305 PROCEDURE sp1 does not exist
12851
CREATE PROCEDURE sp1( )
12853
declare repeat handler for sqlstate '02000' set @var2 = 1;
12855
ERROR 42000: You 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;
12857
DROP PROCEDURE IF EXISTS sp1;
12859
Note 1305 PROCEDURE sp1 does not exist
12860
CREATE PROCEDURE sp1( )
12862
declare replace handler for sqlstate '02000' set @var2 = 1;
12864
ERROR 42000: You 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;
12866
DROP PROCEDURE IF EXISTS sp1;
12868
Note 1305 PROCEDURE sp1 does not exist
12869
CREATE PROCEDURE sp1( )
12871
declare require handler for sqlstate '02000' set @var2 = 1;
12873
ERROR 42000: You 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;
12875
DROP PROCEDURE IF EXISTS sp1;
12877
Note 1305 PROCEDURE sp1 does not exist
12878
CREATE PROCEDURE sp1( )
12880
declare restrict handler for sqlstate '02000' set @var2 = 1;
12882
ERROR 42000: You 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;
12884
DROP PROCEDURE IF EXISTS sp1;
12886
Note 1305 PROCEDURE sp1 does not exist
12887
CREATE PROCEDURE sp1( )
12889
declare return handler for sqlstate '02000' set @var2 = 1;
12891
ERROR 42000: You 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;
12893
DROP PROCEDURE IF EXISTS sp1;
12895
Note 1305 PROCEDURE sp1 does not exist
12896
CREATE PROCEDURE sp1( )
12898
declare revoke handler for sqlstate '02000' set @var2 = 1;
12900
ERROR 42000: You 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;
12902
DROP PROCEDURE IF EXISTS sp1;
12904
Note 1305 PROCEDURE sp1 does not exist
12905
CREATE PROCEDURE sp1( )
12907
declare right handler for sqlstate '02000' set @var2 = 1;
12909
ERROR 42000: You 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;
12911
DROP PROCEDURE IF EXISTS sp1;
12913
Note 1305 PROCEDURE sp1 does not exist
12914
CREATE PROCEDURE sp1( )
12916
declare rlike handler for sqlstate '02000' set @var2 = 1;
12918
ERROR 42000: You 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;
12920
DROP PROCEDURE IF EXISTS sp1;
12922
Note 1305 PROCEDURE sp1 does not exist
12923
CREATE PROCEDURE sp1( )
12925
declare schema handler for sqlstate '02000' set @var2 = 1;
12927
ERROR 42000: You 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;
12929
DROP PROCEDURE IF EXISTS sp1;
12931
Note 1305 PROCEDURE sp1 does not exist
12932
CREATE PROCEDURE sp1( )
12934
declare schemas handler for sqlstate '02000' set @var2 = 1;
12936
ERROR 42000: You 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;
12938
DROP PROCEDURE IF EXISTS sp1;
12940
Note 1305 PROCEDURE sp1 does not exist
12941
CREATE PROCEDURE sp1( )
12943
declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
12945
ERROR 42000: You 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;
12947
DROP PROCEDURE IF EXISTS sp1;
12949
Note 1305 PROCEDURE sp1 does not exist
12950
CREATE PROCEDURE sp1( )
12952
declare select handler for sqlstate '02000' set @var2 = 1;
12954
ERROR 42000: You 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;
12956
DROP PROCEDURE IF EXISTS sp1;
12958
Note 1305 PROCEDURE sp1 does not exist
12959
CREATE PROCEDURE sp1( )
12961
declare sensitive handler for sqlstate '02000' set @var2 = 1;
12963
ERROR 42000: You 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;
12965
DROP PROCEDURE IF EXISTS sp1;
12967
Note 1305 PROCEDURE sp1 does not exist
12968
CREATE PROCEDURE sp1( )
12970
declare separator handler for sqlstate '02000' set @var2 = 1;
12972
ERROR 42000: You 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;
12974
DROP PROCEDURE IF EXISTS sp1;
12976
Note 1305 PROCEDURE sp1 does not exist
12977
CREATE PROCEDURE sp1( )
12979
declare set handler for sqlstate '02000' set @var2 = 1;
12981
ERROR 42000: You 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;
12983
DROP PROCEDURE IF EXISTS sp1;
12985
Note 1305 PROCEDURE sp1 does not exist
12986
CREATE PROCEDURE sp1( )
12988
declare show handler for sqlstate '02000' set @var2 = 1;
12990
ERROR 42000: You 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;
12992
DROP PROCEDURE IF EXISTS sp1;
12994
Note 1305 PROCEDURE sp1 does not exist
12995
CREATE PROCEDURE sp1( )
12997
declare smallint handler for sqlstate '02000' set @var2 = 1;
12999
ERROR 42000: You 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;
13001
DROP PROCEDURE IF EXISTS sp1;
13003
Note 1305 PROCEDURE sp1 does not exist
13004
CREATE PROCEDURE sp1( )
13006
declare spatial handler for sqlstate '02000' set @var2 = 1;
13008
ERROR 42000: You 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;
13010
DROP PROCEDURE IF EXISTS sp1;
13012
Note 1305 PROCEDURE sp1 does not exist
13013
CREATE PROCEDURE sp1( )
13015
declare specific handler for sqlstate '02000' set @var2 = 1;
13017
ERROR 42000: You 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;
13019
DROP PROCEDURE IF EXISTS sp1;
13021
Note 1305 PROCEDURE sp1 does not exist
13022
CREATE PROCEDURE sp1( )
13024
declare sql handler for sqlstate '02000' set @var2 = 1;
13026
ERROR 42000: You 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;
13028
DROP PROCEDURE IF EXISTS sp1;
13030
Note 1305 PROCEDURE sp1 does not exist
13031
CREATE PROCEDURE sp1( )
13033
declare sqlexception handler for sqlstate '02000' set @var2 = 1;
13035
ERROR 42000: You 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;
13037
DROP PROCEDURE IF EXISTS sp1;
13039
Note 1305 PROCEDURE sp1 does not exist
13040
CREATE PROCEDURE sp1( )
13042
declare sqlstate handler for sqlstate '02000' set @var2 = 1;
13044
ERROR 42000: You 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;
13046
DROP PROCEDURE IF EXISTS sp1;
13048
Note 1305 PROCEDURE sp1 does not exist
13049
CREATE PROCEDURE sp1( )
13051
declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
13053
ERROR 42000: You 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;
13055
DROP PROCEDURE IF EXISTS sp1;
13057
Note 1305 PROCEDURE sp1 does not exist
13058
CREATE PROCEDURE sp1( )
13060
declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
13062
ERROR 42000: You 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;
13064
DROP PROCEDURE IF EXISTS sp1;
13066
Note 1305 PROCEDURE sp1 does not exist
13067
CREATE PROCEDURE sp1( )
13069
declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
13071
ERROR 42000: You 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;
13073
DROP PROCEDURE IF EXISTS sp1;
13075
Note 1305 PROCEDURE sp1 does not exist
13076
CREATE PROCEDURE sp1( )
13078
declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
13080
ERROR 42000: You 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;
13082
DROP PROCEDURE IF EXISTS sp1;
13084
Note 1305 PROCEDURE sp1 does not exist
13085
CREATE PROCEDURE sp1( )
13087
declare ssl handler for sqlstate '02000' set @var2 = 1;
13089
ERROR 42000: You 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;
13091
DROP PROCEDURE IF EXISTS sp1;
13093
Note 1305 PROCEDURE sp1 does not exist
13094
CREATE PROCEDURE sp1( )
13096
declare starting handler for sqlstate '02000' set @var2 = 1;
13098
ERROR 42000: You 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;
13100
DROP PROCEDURE IF EXISTS sp1;
13102
Note 1305 PROCEDURE sp1 does not exist
13103
CREATE PROCEDURE sp1( )
13105
declare straight_join handler for sqlstate '02000' set @var2 = 1;
13107
ERROR 42000: You 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;
13109
DROP PROCEDURE IF EXISTS sp1;
13111
Note 1305 PROCEDURE sp1 does not exist
13112
CREATE PROCEDURE sp1( )
13114
declare table handler for sqlstate '02000' set @var2 = 1;
13116
ERROR 42000: You 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;
13118
DROP PROCEDURE IF EXISTS sp1;
13120
Note 1305 PROCEDURE sp1 does not exist
13121
CREATE PROCEDURE sp1( )
13123
declare terminated handler for sqlstate '02000' set @var2 = 1;
13125
ERROR 42000: You 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;
13127
DROP PROCEDURE IF EXISTS sp1;
13129
Note 1305 PROCEDURE sp1 does not exist
13130
CREATE PROCEDURE sp1( )
13132
declare then handler for sqlstate '02000' set @var2 = 1;
13134
ERROR 42000: You 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;
13136
DROP PROCEDURE IF EXISTS sp1;
13138
Note 1305 PROCEDURE sp1 does not exist
13139
CREATE PROCEDURE sp1( )
13141
declare tinyblob handler for sqlstate '02000' set @var2 = 1;
13143
ERROR 42000: You 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;
13145
DROP PROCEDURE IF EXISTS sp1;
13147
Note 1305 PROCEDURE sp1 does not exist
13148
CREATE PROCEDURE sp1( )
13150
declare tinyint handler for sqlstate '02000' set @var2 = 1;
13152
ERROR 42000: You 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;
13154
DROP PROCEDURE IF EXISTS sp1;
13156
Note 1305 PROCEDURE sp1 does not exist
13157
CREATE PROCEDURE sp1( )
13159
declare tinytext handler for sqlstate '02000' set @var2 = 1;
13161
ERROR 42000: You 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;
13163
DROP PROCEDURE IF EXISTS sp1;
13165
Note 1305 PROCEDURE sp1 does not exist
13166
CREATE PROCEDURE sp1( )
13168
declare to handler for sqlstate '02000' set @var2 = 1;
13170
ERROR 42000: You 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;
13172
DROP PROCEDURE IF EXISTS sp1;
13174
Note 1305 PROCEDURE sp1 does not exist
13175
CREATE PROCEDURE sp1( )
13177
declare trailing handler for sqlstate '02000' set @var2 = 1;
13179
ERROR 42000: You 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;
13181
DROP PROCEDURE IF EXISTS sp1;
13183
Note 1305 PROCEDURE sp1 does not exist
13184
CREATE PROCEDURE sp1( )
13186
declare trigger handler for sqlstate '02000' set @var2 = 1;
13188
ERROR 42000: You 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;
13190
DROP PROCEDURE IF EXISTS sp1;
13192
Note 1305 PROCEDURE sp1 does not exist
13193
CREATE PROCEDURE sp1( )
13195
declare true handler for sqlstate '02000' set @var2 = 1;
13197
ERROR 42000: You 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;
13199
DROP PROCEDURE IF EXISTS sp1;
13201
Note 1305 PROCEDURE sp1 does not exist
13202
CREATE PROCEDURE sp1( )
13204
declare undo handler for sqlstate '02000' set @var2 = 1;
13206
ERROR 42000: You 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;
13208
DROP PROCEDURE IF EXISTS sp1;
13210
Note 1305 PROCEDURE sp1 does not exist
13211
CREATE PROCEDURE sp1( )
13213
declare union handler for sqlstate '02000' set @var2 = 1;
13215
ERROR 42000: You 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;
13217
DROP PROCEDURE IF EXISTS sp1;
13219
Note 1305 PROCEDURE sp1 does not exist
13220
CREATE PROCEDURE sp1( )
13222
declare unique handler for sqlstate '02000' set @var2 = 1;
13224
ERROR 42000: You 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;
13226
DROP PROCEDURE IF EXISTS sp1;
13228
Note 1305 PROCEDURE sp1 does not exist
13229
CREATE PROCEDURE sp1( )
13231
declare unlock handler for sqlstate '02000' set @var2 = 1;
13233
ERROR 42000: You 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;
13235
DROP PROCEDURE IF EXISTS sp1;
13237
Note 1305 PROCEDURE sp1 does not exist
13238
CREATE PROCEDURE sp1( )
13240
declare unsigned handler for sqlstate '02000' set @var2 = 1;
13242
ERROR 42000: You 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;
13244
DROP PROCEDURE IF EXISTS sp1;
13246
Note 1305 PROCEDURE sp1 does not exist
13247
CREATE PROCEDURE sp1( )
13249
declare update handler for sqlstate '02000' set @var2 = 1;
13251
ERROR 42000: You 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;
13253
DROP PROCEDURE IF EXISTS sp1;
13255
Note 1305 PROCEDURE sp1 does not exist
13256
CREATE PROCEDURE sp1( )
13258
declare usage handler for sqlstate '02000' set @var2 = 1;
13260
ERROR 42000: You 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;
13262
DROP PROCEDURE IF EXISTS sp1;
13264
Note 1305 PROCEDURE sp1 does not exist
13265
CREATE PROCEDURE sp1( )
13267
declare use handler for sqlstate '02000' set @var2 = 1;
13269
ERROR 42000: You 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;
13271
DROP PROCEDURE IF EXISTS sp1;
13273
Note 1305 PROCEDURE sp1 does not exist
13274
CREATE PROCEDURE sp1( )
13276
declare using handler for sqlstate '02000' set @var2 = 1;
13278
ERROR 42000: You 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;
13280
DROP PROCEDURE IF EXISTS sp1;
13282
Note 1305 PROCEDURE sp1 does not exist
13283
CREATE PROCEDURE sp1( )
13285
declare utc_date handler for sqlstate '02000' set @var2 = 1;
13287
ERROR 42000: You 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;
13289
DROP PROCEDURE IF EXISTS sp1;
13291
Note 1305 PROCEDURE sp1 does not exist
13292
CREATE PROCEDURE sp1( )
13294
declare utc_time handler for sqlstate '02000' set @var2 = 1;
13296
ERROR 42000: You 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;
13298
DROP PROCEDURE IF EXISTS sp1;
13300
Note 1305 PROCEDURE sp1 does not exist
13301
CREATE PROCEDURE sp1( )
13303
declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
13305
ERROR 42000: You 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;
13307
DROP PROCEDURE IF EXISTS sp1;
13309
Note 1305 PROCEDURE sp1 does not exist
13310
CREATE PROCEDURE sp1( )
13312
declare values handler for sqlstate '02000' set @var2 = 1;
13314
ERROR 42000: You 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;
13316
DROP PROCEDURE IF EXISTS sp1;
13318
Note 1305 PROCEDURE sp1 does not exist
13319
CREATE PROCEDURE sp1( )
13321
declare varbinary handler for sqlstate '02000' set @var2 = 1;
13323
ERROR 42000: You 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;
13325
DROP PROCEDURE IF EXISTS sp1;
13327
Note 1305 PROCEDURE sp1 does not exist
13328
CREATE PROCEDURE sp1( )
13330
declare varchar handler for sqlstate '02000' set @var2 = 1;
13332
ERROR 42000: You 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;
13334
DROP PROCEDURE IF EXISTS sp1;
13336
Note 1305 PROCEDURE sp1 does not exist
13337
CREATE PROCEDURE sp1( )
13339
declare varcharacter handler for sqlstate '02000' set @var2 = 1;
13341
ERROR 42000: You 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;
13343
DROP PROCEDURE IF EXISTS sp1;
13345
Note 1305 PROCEDURE sp1 does not exist
13346
CREATE PROCEDURE sp1( )
13348
declare varying handler for sqlstate '02000' set @var2 = 1;
13350
ERROR 42000: You 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;
13352
DROP PROCEDURE IF EXISTS sp1;
13354
Note 1305 PROCEDURE sp1 does not exist
13355
CREATE PROCEDURE sp1( )
13357
declare when handler for sqlstate '02000' set @var2 = 1;
13359
ERROR 42000: You 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;
13361
DROP PROCEDURE IF EXISTS sp1;
13363
Note 1305 PROCEDURE sp1 does not exist
13364
CREATE PROCEDURE sp1( )
13366
declare where handler for sqlstate '02000' set @var2 = 1;
13368
ERROR 42000: You 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;
13370
DROP PROCEDURE IF EXISTS sp1;
13372
Note 1305 PROCEDURE sp1 does not exist
13373
CREATE PROCEDURE sp1( )
13375
declare while handler for sqlstate '02000' set @var2 = 1;
13377
ERROR 42000: You 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;
13379
DROP PROCEDURE IF EXISTS sp1;
13381
Note 1305 PROCEDURE sp1 does not exist
13382
CREATE PROCEDURE sp1( )
13384
declare with handler for sqlstate '02000' set @var2 = 1;
13386
ERROR 42000: You 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;
13388
DROP PROCEDURE IF EXISTS sp1;
13390
Note 1305 PROCEDURE sp1 does not exist
13391
CREATE PROCEDURE sp1( )
13393
declare write handler for sqlstate '02000' set @var2 = 1;
13395
ERROR 42000: You 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;
13397
DROP PROCEDURE IF EXISTS sp1;
13399
Note 1305 PROCEDURE sp1 does not exist
13400
CREATE PROCEDURE sp1( )
13402
declare xor handler for sqlstate '02000' set @var2 = 1;
13404
ERROR 42000: You 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;
13406
DROP PROCEDURE IF EXISTS sp1;
13408
Note 1305 PROCEDURE sp1 does not exist
13409
CREATE PROCEDURE sp1( )
13411
declare year_month handler for sqlstate '02000' set @var2 = 1;
13413
ERROR 42000: You 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;
13415
DROP PROCEDURE IF EXISTS sp1;
13417
Note 1305 PROCEDURE sp1 does not exist
13418
CREATE PROCEDURE sp1( )
13420
declare zerofill handler for sqlstate '02000' set @var2 = 1;
13422
ERROR 42000: You 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;
13427
--------------------------------------------------------------------------------
13430
DROP PROCEDURE IF EXISTS sp1;
13431
CREATE PROCEDURE sp1()
13435
declare cond1 condition for sqlstate '42000';
13436
declare cur1 cursor for SELECT f1 from t2 limit 1;
13437
declare continue handler for cond1 set @x = 4;
13443
declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
13444
declare continue handler for sqlstate '42000' set @x = 3;
13462
Warning 1265 Data truncated for column 'y' at row 3
13463
Warning 1265 Data truncated for column 'y' at row 1
13467
DROP PROCEDURE sp1;
13470
--------------------------------------------------------------------------------
13473
DROP PROCEDURE IF EXISTS sp1;
13475
Note 1305 PROCEDURE sp1 does not exist
13476
CREATE PROCEDURE sp1()
13478
declare continue handler for sqlstate '42000' set @x2 = 1;
13479
set session sort_buffer_size = 10 * 1024 * 1024;
13480
SELECT @@sort_buffer_size;
13483
set global sort_buffer_size = 2 * 1024 * 1024;
13484
SELECT @@sort_buffer_size;
13485
set @@sort_buffer_size = 10 * 1024 * 1024;
13486
SELECT @@sort_buffer_size;
13500
--------------------------------------------------------------------------------
13501
DROP PROCEDURE IF EXISTS sp1;
13502
CREATE PROCEDURE sp1()
13504
declare xx char default 'x';
13505
declare xy char default 'y';
13506
declare xz char default 'z';
13507
set @xx = xx, @xy = xy;
13509
SELECT @xx, @xy, @xz;
13514
DROP PROCEDURE sp1;
13517
--------------------------------------------------------------------------------
13519
DROP PROCEDURE IF EXISTS sp1;
13521
Note 1305 PROCEDURE sp1 does not exist
13522
CREATE PROCEDURE sp1()
13533
Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
13534
DROP PROCEDURE IF EXISTS sp1;
13535
CREATE PROCEDURE sp1()
13545
DROP PROCEDURE sp1;
13547
Testcase 4.2.31 - a:
13548
--------------------------------------------------------------------------------
13550
DROP PROCEDURE IF EXISTS sp1;
13552
Note 1305 PROCEDURE sp1 does not exist
13553
CREATE PROCEDURE sp1()
13561
Warning 1265 Data truncated for column 'xx' at row 1
13565
DROP PROCEDURE sp1;
13567
Testcase 4.2.31 - b:
13568
--------------------------------------------------------------------------------
13569
DROP PROCEDURE IF EXISTS sp1;
13571
Note 1305 PROCEDURE sp1 does not exist
13572
CREATE PROCEDURE sp1()
13582
Warning 1265 Data truncated for column 'xx' at row 1
13583
DROP PROCEDURE IF EXISTS sp1;
13584
CREATE PROCEDURE sp1()
13593
DROP PROCEDURE sp1;
13595
Testcase 4.2.31 - c:
13596
--------------------------------------------------------------------------------
13597
DROP PROCEDURE IF EXISTS sp1;
13599
Note 1305 PROCEDURE sp1 does not exist
13600
CREATE PROCEDURE sp1()
13602
declare xx datetime;
13608
0000-00-00 00:00:00
13610
Warning 1264 Out of range value for column 'xx' at row 1
13611
DROP PROCEDURE IF EXISTS sp1;
13612
CREATE PROCEDURE sp1()
13614
declare xx datetime;
13615
set xx = '2006-06-06 01:01:01';
13620
2006-06-06 01:01:01
13621
DROP PROCEDURE sp1;
13623
Testcase 4.2.31 - d:
13624
--------------------------------------------------------------------------------
13625
DROP PROCEDURE IF EXISTS sp1;
13627
Note 1305 PROCEDURE sp1 does not exist
13628
CREATE PROCEDURE sp1()
13630
declare xx varchar(20);
13631
set xx = "abcdefghijk";
13637
DROP PROCEDURE sp1;
13639
Testcase 4.2.31 - e:
13640
--------------------------------------------------------------------------------
13641
DROP PROCEDURE IF EXISTS sp1;
13643
Note 1305 PROCEDURE sp1 does not exist
13644
CREATE PROCEDURE sp1()
13646
declare xx tinyint;
13654
Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
13655
DROP PROCEDURE IF EXISTS sp1;
13656
CREATE PROCEDURE sp1()
13658
declare xx tinyint;
13665
DROP PROCEDURE sp1;
13668
--------------------------------------------------------------------------------
13669
DROP PROCEDURE IF EXISTS sp1;
13671
Note 1305 PROCEDURE sp1 does not exist
13672
CREATE PROCEDURE sp1( )
13674
declare x integer; declare y integer;
13675
SELECT sal, f2 into x, y from t2 limit 1;
13676
set @x=x; set @y=y;
13678
DROP PROCEDURE IF EXISTS sp1;
13679
CREATE PROCEDURE sp1()
13681
declare x char ascii;
13682
SELECT f1 into x from t2 limit 1;
13686
Warning 1265 Data truncated for column 'x' at row 1
13687
DROP PROCEDURE IF EXISTS sp1;
13688
CREATE PROCEDURE sp1()
13690
declare x tinytext;
13691
SELECT f1 into x from t2 limit 1;
13694
DROP PROCEDURE IF EXISTS sp1;
13695
CREATE PROCEDURE sp1()
13698
SELECT f1 into x from t2 limit 1;
13701
DROP PROCEDURE IF EXISTS sp1;
13702
CREATE PROCEDURE sp1()
13704
declare x mediumtext;
13705
SELECT f1 into x from t2 limit 1;
13708
DROP PROCEDURE IF EXISTS sp1;
13709
CREATE PROCEDURE sp1()
13711
declare x longtext;
13712
SELECT f1 into x from t2 limit 1;
13715
DROP PROCEDURE IF EXISTS sp1;
13716
CREATE PROCEDURE sp1()
13718
declare x tinyblob;
13719
SELECT f1 into x from t2 limit 1;
13722
DROP PROCEDURE IF EXISTS sp1;
13723
CREATE PROCEDURE sp1()
13726
SELECT f1 into x from t2 limit 1;
13729
DROP PROCEDURE IF EXISTS sp1;
13730
CREATE PROCEDURE sp1()
13732
declare x mediumblob;
13733
SELECT f1 into x from t2 limit 1;
13736
DROP PROCEDURE IF EXISTS sp1;
13737
CREATE PROCEDURE sp1()
13739
declare x longblob;
13740
SELECT f1 into x from t2 limit 1;
13743
DROP PROCEDURE IF EXISTS sp1;
13744
CREATE PROCEDURE sp1()
13747
SELECT f1 into x from t2 limit 1;
13751
Warning 1265 Data truncated for column 'x' at row 1
13752
DROP PROCEDURE IF EXISTS sp1;
13753
CREATE PROCEDURE sp1()
13756
SELECT f1 into x from t2 limit 1;
13759
DROP PROCEDURE IF EXISTS sp1;
13760
CREATE PROCEDURE sp1()
13762
declare x tinyint unsigned;
13763
SELECT f1 into x from t2 limit 1;
13766
DROP PROCEDURE IF EXISTS sp1;
13767
CREATE PROCEDURE sp1()
13769
declare x tinyint zerofill;
13770
SELECT f1 into x from t2 limit 1;
13773
DROP PROCEDURE IF EXISTS sp1;
13774
CREATE PROCEDURE sp1()
13776
declare x tinyint unsigned zerofill;
13777
SELECT f1 into x from t2 limit 1;
13780
DROP PROCEDURE IF EXISTS sp1;
13781
CREATE PROCEDURE sp1()
13783
declare x smallint;
13784
SELECT f1 into x from t2 limit 1;
13787
DROP PROCEDURE IF EXISTS sp1;
13788
CREATE PROCEDURE sp1()
13790
declare x smallint unsigned;
13791
SELECT f1 into x from t2 limit 1;
13794
DROP PROCEDURE IF EXISTS sp1;
13795
CREATE PROCEDURE sp1()
13797
declare x smallint zerofill;
13798
SELECT f1 into x from t2 limit 1;
13801
DROP PROCEDURE IF EXISTS sp1;
13802
CREATE PROCEDURE sp1()
13804
declare x smallint unsigned zerofill;
13805
SELECT f1 into x from t2 limit 1;
13808
DROP PROCEDURE IF EXISTS sp1;
13809
CREATE PROCEDURE sp1()
13811
declare x mediumint;
13812
SELECT f1 into x from t2 limit 1;
13815
DROP PROCEDURE IF EXISTS sp1;
13816
CREATE PROCEDURE sp1()
13818
declare x mediumint unsigned;
13819
SELECT f1 into x from t2 limit 1;
13822
DROP PROCEDURE IF EXISTS sp1;
13823
CREATE PROCEDURE sp1()
13825
declare x mediumint zerofill;
13826
SELECT f1 into x from t2 limit 1;
13829
DROP PROCEDURE IF EXISTS sp1;
13830
CREATE PROCEDURE sp1()
13832
declare x mediumint unsigned zerofill;
13833
SELECT f1 into x from t2 limit 1;
13836
DROP PROCEDURE IF EXISTS sp1;
13837
CREATE PROCEDURE sp1()
13840
SELECT f1 into x from t2 limit 1;
13843
DROP PROCEDURE IF EXISTS sp1;
13844
CREATE PROCEDURE sp1()
13846
declare x int unsigned;
13847
SELECT f1 into x from t2 limit 1;
13850
DROP PROCEDURE IF EXISTS sp1;
13851
CREATE PROCEDURE sp1()
13853
declare x int zerofill;
13854
SELECT f1 into x from t2 limit 1;
13857
DROP PROCEDURE IF EXISTS sp1;
13858
CREATE PROCEDURE sp1()
13860
declare x int unsigned zerofill;
13861
SELECT f1 into x from t2 limit 1;
13864
DROP PROCEDURE IF EXISTS sp1;
13865
CREATE PROCEDURE sp1()
13868
SELECT f1 into x from t2 limit 1;
13871
DROP PROCEDURE IF EXISTS sp1;
13872
CREATE PROCEDURE sp1()
13874
declare x bigint unsigned;
13875
SELECT f1 into x from t2 limit 1;
13878
DROP PROCEDURE IF EXISTS sp1;
13879
CREATE PROCEDURE sp1()
13881
declare x bigint zerofill;
13882
SELECT f1 into x from t2 limit 1;
13885
DROP PROCEDURE IF EXISTS sp1;
13886
CREATE PROCEDURE sp1()
13888
declare x bigint unsigned zerofill;
13889
SELECT f1 into x from t2 limit 1;
13892
DROP PROCEDURE IF EXISTS sp1;
13893
CREATE PROCEDURE sp1()
13896
SELECT f1 into x from t2 limit 1;
13899
DROP PROCEDURE IF EXISTS sp1;
13900
CREATE PROCEDURE sp1()
13902
declare x decimal unsigned;
13903
SELECT f1 into x from t2 limit 1;
13906
DROP PROCEDURE IF EXISTS sp1;
13907
CREATE PROCEDURE sp1()
13909
declare x decimal zerofill;
13910
SELECT f1 into x from t2 limit 1;
13913
DROP PROCEDURE IF EXISTS sp1;
13914
CREATE PROCEDURE sp1()
13916
declare x decimal unsigned zerofill;
13917
SELECT f1 into x from t2 limit 1;
13920
DROP PROCEDURE IF EXISTS sp1;
13921
CREATE PROCEDURE sp1()
13924
SELECT f1 into x from t2 limit 1;
13927
DROP PROCEDURE IF EXISTS sp1;
13928
CREATE PROCEDURE sp1()
13930
declare x numeric unsigned;
13931
SELECT f1 into x from t2 limit 1;
13934
DROP PROCEDURE IF EXISTS sp1;
13935
CREATE PROCEDURE sp1()
13937
declare x numeric zerofill;
13938
SELECT f1 into x from t2 limit 1;
13941
DROP PROCEDURE IF EXISTS sp1;
13942
CREATE PROCEDURE sp1()
13944
declare x numeric unsigned zerofill;
13945
SELECT f1 into x from t2 limit 1;
13948
DROP PROCEDURE IF EXISTS sp1;
13949
CREATE PROCEDURE sp1()
13952
SELECT f1 into x from t2 limit 1;
13955
DROP PROCEDURE IF EXISTS sp1;
13956
CREATE PROCEDURE sp1()
13958
declare x real unsigned;
13959
SELECT f1 into x from t2 limit 1;
13962
DROP PROCEDURE IF EXISTS sp1;
13963
CREATE PROCEDURE sp1()
13965
declare x real zerofill;
13966
SELECT f1 into x from t2 limit 1;
13969
DROP PROCEDURE IF EXISTS sp1;
13970
CREATE PROCEDURE sp1()
13972
declare x real unsigned zerofill;
13973
SELECT f1 into x from t2 limit 1;
13976
DROP PROCEDURE IF EXISTS sp1;
13977
CREATE PROCEDURE sp1()
13980
SELECT f1 into x from t2 limit 1;
13983
DROP PROCEDURE IF EXISTS sp1;
13984
CREATE PROCEDURE sp1()
13986
declare x float unsigned;
13987
SELECT f1 into x from t2 limit 1;
13990
DROP PROCEDURE IF EXISTS sp1;
13991
CREATE PROCEDURE sp1()
13993
declare x float zerofill;
13994
SELECT f1 into x from t2 limit 1;
13997
DROP PROCEDURE IF EXISTS sp1;
13998
CREATE PROCEDURE sp1()
14000
declare x float unsigned zerofill;
14001
SELECT f1 into x from t2 limit 1;
14004
DROP PROCEDURE IF EXISTS sp1;
14005
CREATE PROCEDURE sp1()
14008
SELECT f1 into x from t2 limit 1;
14011
DROP PROCEDURE IF EXISTS sp1;
14012
CREATE PROCEDURE sp1()
14015
SELECT f1 into x from t2 limit 1;
14018
DROP PROCEDURE IF EXISTS sp1;
14019
CREATE PROCEDURE sp1()
14021
declare x datetime;
14022
SELECT f1 into x from t2 limit 1;
14025
DROP PROCEDURE IF EXISTS sp1;
14026
CREATE PROCEDURE sp1()
14028
declare x timestamp;
14029
SELECT f1 into x from t2 limit 1;
14032
DROP PROCEDURE IF EXISTS sp1;
14033
CREATE PROCEDURE sp1()
14036
SELECT f1 into x from t2 limit 1;
14039
DROP PROCEDURE IF EXISTS sp1;
14040
CREATE PROCEDURE sp1()
14043
SELECT f1 into x from t2 limit 1;
14046
DROP PROCEDURE IF EXISTS sp1;
14047
CREATE PROCEDURE sp1()
14050
SELECT f1 into x from t2 limit 1;
14053
DROP PROCEDURE IF EXISTS sp1;
14054
CREATE PROCEDURE sp1()
14056
declare x enum("1enum", "2enum");
14057
SELECT f1 into x from t2 limit 1;
14060
DROP PROCEDURE IF EXISTS sp1;
14061
CREATE PROCEDURE sp1()
14063
declare x set("1set", "2set");
14064
SELECT f1 into x from t2 limit 1;
14067
DROP PROCEDURE sp1;
14070
--------------------------------------------------------------------------------
14071
DROP PROCEDURE IF EXISTS sp1;
14073
Note 1305 PROCEDURE sp1 does not exist
14074
CREATE PROCEDURE sp1()
14076
declare notable condition for sqlstate '42S02';
14077
declare continue handler for notable set @x2=1;
14079
insert into t2(f1) values (1);
14081
insert into t2(f1) values (1);
14085
DROP PROCEDURE sp1;
14088
--------------------------------------------------------------------------------
14089
DROP PROCEDURE IF EXISTS sp1;
14091
Note 1305 PROCEDURE sp1 does not exist
14092
CREATE PROCEDURE sp1()
14094
declare cond1 condition for sqlstate '42000';
14095
declare cond1 condition for sqlstate '23000';
14096
declare continue handler for cond1 set @var2 = 1;
14097
insert into tnull values(1);
14099
ERROR 42000: Duplicate condition: cond1
14102
--------------------------------------------------------------------------------
14103
DROP PROCEDURE IF EXISTS sp1;
14105
Note 1305 PROCEDURE sp1 does not exist
14106
CREATE PROCEDURE sp1()
14108
declare cond1 condition for sqlstate '1';
14109
declare continue handler for cond1 set @var2 = 1;
14110
insert into tnull values( 1);
14112
ERROR 42000: Bad SQLSTATE: '1'
14113
DROP PROCEDURE IF EXISTS sp1;
14114
CREATE PROCEDURE sp1()
14116
declare cond1 condition for sqlstate '12';
14117
declare continue handler for cond1 set @var2 = 1;
14118
insert into tnull values( 1);
14120
ERROR 42000: Bad SQLSTATE: '12'
14121
DROP PROCEDURE IF EXISTS sp1;
14122
CREATE PROCEDURE sp1()
14124
declare cond1 condition for sqlstate '123';
14125
declare continue handler for cond1 set @var2 = 1;
14126
insert into tnull values( 1);
14128
ERROR 42000: Bad SQLSTATE: '123'
14129
DROP PROCEDURE IF EXISTS sp1;
14130
CREATE PROCEDURE sp1()
14132
declare cond1 condition for sqlstate '1234';
14133
declare continue handler for cond1 set @var2 = 1;
14134
insert into tnull values( 1);
14136
ERROR 42000: Bad SQLSTATE: '1234'
14137
DROP PROCEDURE IF EXISTS sp1;
14138
CREATE PROCEDURE sp1()
14140
declare cond1 condition for sqlstate '123456';
14141
declare continue handler for cond1 set @var2 = 1;
14142
insert into tnull values( 1);
14144
ERROR 42000: Bad SQLSTATE: '123456'
14147
--------------------------------------------------------------------------------
14148
DROP PROCEDURE IF EXISTS sp1;
14149
CREATE PROCEDURE sp1()
14151
declare cond1 condition for sqlstate 'abcdefghi';
14152
declare continue handler for cond1 set @var2 = 1;
14153
insert into tnull values( 1);
14155
ERROR 42000: Bad SQLSTATE: 'abcdefghi'
14156
DROP PROCEDURE IF EXISTS sp1;
14157
CREATE PROCEDURE sp1()
14159
declare cond1 condition for sqlstate '42000test';
14160
declare continue handler for cond1 set @var2 = 1;
14161
insert into tnull values( 1);
14163
ERROR 42000: Bad SQLSTATE: '42000test'
14164
DROP PROCEDURE IF EXISTS sp1;
14165
CREATE PROCEDURE sp1()
14167
declare cond1 condition for sqlstate '00000@#$%^&';
14168
declare continue handler for cond1 set @var2 = 1;
14169
insert into tnull values( 1);
14171
ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
14172
DROP PROCEDURE IF EXISTS sp1;
14173
CREATE PROCEDURE sp1()
14175
declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
14176
declare continue handler for cond1 set @var2 = 1;
14177
insert into tnull values( 1);
14179
ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
14180
DROP PROCEDURE IF EXISTS sp1;
14181
CREATE PROCEDURE sp1()
14183
declare cond1 condition for sqlstate 'null';
14184
declare continue handler for cond1 set @var2 = 1;
14185
insert into tnull values( 1);
14187
ERROR 42000: Bad SQLSTATE: 'null'
14188
DROP PROCEDURE IF EXISTS sp1;
14189
CREATE PROCEDURE sp1()
14191
declare cond1 condition for sqlstate ' ';
14192
declare continue handler for cond1 set @var2 = 1;
14193
insert into tnull values( 1);
14195
ERROR 42000: Bad SQLSTATE: ' '
14196
DROP PROCEDURE IF EXISTS sp1;
14197
CREATE PROCEDURE sp1()
14199
declare cond1 condition for sqlstate 1234567890;
14200
declare continue handler for cond1 set @var2 = 1;
14201
insert into tnull values( 1);
14203
ERROR 42000: You 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;
14204
declare continue handler for cond1 set @var2 = 1;
14205
insert into tnull ' at line 3
14206
DROP PROCEDURE IF EXISTS sp1;
14207
CREATE PROCEDURE sp1()
14209
declare cond1 condition for sqlstate '2005-03-03';
14210
declare continue handler for cond1 set @var2 = 1;
14211
insert into tnull values( 1);
14213
ERROR 42000: Bad SQLSTATE: '2005-03-03'
14216
--------------------------------------------------------------------------------
14217
DROP PROCEDURE IF EXISTS sp1;
14218
CREATE PROCEDURE sp1()
14220
declare cond1 condition for sqlstate '00000';
14221
declare continue handler for cond1 set @var2 = 1;
14228
DROP PROCEDURE sp1;
14231
--------------------------------------------------------------------------------
14232
DROP PROCEDURE IF EXISTS sp1;
14233
CREATE PROCEDURE handler1 ()
14235
declare continue handler for sqlstate '23000' set @varr1 = 5;
14236
declare continue handler for sqlstate '23000' set @varr3 = 7;
14238
ERROR 42000: Duplicate handler declared in the same block
14239
DROP PROCEDURE IF EXISTS handler1;
14241
Note 1305 PROCEDURE handler1 does not exist
14242
CREATE PROCEDURE handler1 ()
14244
declare mycondition condition for sqlstate '23000';
14245
declare continue handler for mycondition set @varr3 = 7;
14246
declare continue handler for sqlstate '23000' set @varr3 = 7;
14248
ERROR 42000: Duplicate handler declared in the same block
14251
--------------------------------------------------------------------------------
14252
DROP PROCEDURE IF EXISTS sp1;
14253
CREATE PROCEDURE sp1()
14255
declare continue handler for sqlstate '1' set @var2 = 1;
14257
ERROR 42000: Bad SQLSTATE: '1'
14258
DROP PROCEDURE IF EXISTS sp1;
14259
CREATE PROCEDURE sp1()
14261
declare continue handler for sqlstate '12' set @var2 = 1;
14263
ERROR 42000: Bad SQLSTATE: '12'
14264
DROP PROCEDURE IF EXISTS sp1;
14265
CREATE PROCEDURE sp1()
14267
declare continue handler for sqlstate '123' set @var2 = 1;
14269
ERROR 42000: Bad SQLSTATE: '123'
14270
DROP PROCEDURE IF EXISTS sp1;
14271
CREATE PROCEDURE sp1()
14273
declare continue handler for sqlstate '1234' set @var2 = 1;
14275
ERROR 42000: Bad SQLSTATE: '1234'
14276
DROP PROCEDURE IF EXISTS sp1;
14277
CREATE PROCEDURE sp1()
14279
declare continue handler for sqlstate '123456' set @var2 = 1;
14281
ERROR 42000: Bad SQLSTATE: '123456'
14284
--------------------------------------------------------------------------------
14285
DROP PROCEDURE IF EXISTS sp1;
14286
CREATE PROCEDURE sp1()
14288
declare continue handler for sqlstate '42s0200test' set @var2 = 1;
14289
insert into tnull values( 1);
14292
ERROR 42000: Bad SQLSTATE: '42s0200test'
14295
--------------------------------------------------------------------------------
14296
DROP PROCEDURE IF EXISTS sp1;
14297
CREATE PROCEDURE sp1()
14299
declare continue handler for sqlstate '00000' set @var2 = 1;
14306
DROP PROCEDURE sp1;
14309
--------------------------------------------------------------------------------
14310
DROP PROCEDURE IF EXISTS sp1;
14311
CREATE PROCEDURE sp1( )
14313
declare done int default 0;
14314
declare count integer default 20;
14315
declare newf1 char(20);
14316
declare newf2 char(20);
14317
declare newf3 char(20);
14318
declare newf4 integer;
14319
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14320
declare cur1 cursor for SELECT f1, f2 from t2;
14321
declare continue handler for sqlstate '02000' set done = 1;
14324
set count = count - 1;
14326
fetch cur1 into newf1, newlf1, newf3, newsal;
14327
set count = count - 1;
14332
ERROR 42000: Duplicate cursor: cur1
14335
--------------------------------------------------------------------------------
14336
DROP PROCEDURE IF EXISTS sp1;
14337
CREATE PROCEDURE sp1( )
14339
declare done int default 0;
14340
declare count integer default 20;
14341
declare newf1 char(20);
14342
declare newf2 char(20);
14343
declare newf3 char(20);
14344
declare newf4 integer;
14345
declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
14346
declare continue handler for sqlstate '02000' set done = 1;
14349
set count = count - 1;
14351
fetch cur1 into newf1, newlf1, newf3, newsal;
14352
set count = count - 1;
14357
ERROR 42000: Cursor SELECT must not have INTO
14360
--------------------------------------------------------------------------------
14363
--------------------------------------------------------------------------------
14364
DROP PROCEDURE IF EXISTS sp1;
14365
CREATE PROCEDURE sp1( )
14367
declare done int default 0;
14368
declare count integer default 20;
14369
declare newf1 char(20);
14370
declare newf2 char(20);
14371
declare newf3 char(20);
14372
declare newf4 integer;
14373
declare continue handler for sqlstate '02000' set done = 1;
14376
set count = count - 1;
14378
fetch cur1 into newf1, newf2, newf4, newf3;
14379
set count = count - 1;
14384
ERROR 42000: Undefined CURSOR: cur1
14385
DROP PROCEDURE IF EXISTS sp1;
14386
CREATE PROCEDURE sp1( )
14388
declare done int default 0;
14389
declare count integer default 0;
14390
declare newf1 char(20);
14391
declare newf2 char(20);
14392
declare newf3 char(20);
14393
declare newf4 integer;
14394
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14395
declare continue handler for sqlstate '02000' set done = 1;
14400
set count = count - 1;
14402
fetch cur1 into newf1, newf2, newf3, newf4;
14403
set count = count - 1;
14410
ERROR 24000: Cursor is already open
14413
--------------------------------------------------------------------------------
14414
DROP PROCEDURE IF EXISTS sp1;
14415
CREATE PROCEDURE sp1( )
14417
declare done int default 0;
14418
declare count integer default 20;
14419
declare newf1 char(20);
14420
declare newf2 char(20);
14421
declare newf3 char(20);
14422
declare newf4 integer;
14423
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
14424
declare continue handler for sqlstate '02000' set done = 1;
14428
set count = count - 1;
14430
fetch cur1 into newf1, newf2, newf4, newf3;
14431
set count = count - 1;
14437
ERROR 24000: Cursor is already open
14438
DROP PROCEDURE sp1;
14441
--------------------------------------------------------------------------------
14442
DROP PROCEDURE IF EXISTS sp1;
14444
Note 1305 PROCEDURE sp1 does not exist
14445
CREATE PROCEDURE sp1( )
14447
declare done int default 0;
14448
declare count integer default 20;
14449
declare newf1 char(20);
14450
declare newf2 char(20);
14451
declare newf3 char(20);
14452
declare newf4 integer;
14453
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
14454
declare cur2 cursor for SELECT f1, f2 from t2;
14455
declare continue handler for sqlstate '02000' set done = 1;
14458
set count = count - 1;
14460
fetch cur1 into newf1, newf2, newf4, newf3;
14461
set count = count - 1;
14467
ERROR 24000: Cursor is not open
14468
DROP PROCEDURE sp1;
14471
--------------------------------------------------------------------------------
14472
DROP PROCEDURE IF EXISTS sp1;
14474
Note 1305 PROCEDURE sp1 does not exist
14475
CREATE PROCEDURE sp1( )
14477
declare done int default 0;
14478
declare count integer default 20;
14479
declare newf1 char(20);
14480
declare newf2 char(20);
14481
declare newf3 char(20);
14482
declare newf4 integer;
14483
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14484
declare continue handler for sqlstate '02000' set done = 1;
14486
set count = count - 1;
14488
fetch cur1 into newf1, newf2, newf4, newf3;
14489
set count = count - 1;
14496
ERROR 24000: Cursor is not open
14497
DROP PROCEDURE IF EXISTS sp1;
14498
CREATE PROCEDURE sp1( )
14500
declare done int default 0;
14501
declare count integer default 10;
14502
declare newf1 char(20);
14503
declare newf2 char(20);
14504
declare newf3 char(20);
14505
declare newf4 integer;
14506
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14507
declare continue handler for sqlstate '02000' set done = 1;
14510
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14511
set count = count - 1;
14513
fetch cur1 into newf1, newf2, newf3, newf4;
14514
set count = count - 1;
14522
ERROR 24000: Cursor is not open
14523
DROP PROCEDURE sp1;
14526
--------------------------------------------------------------------------------
14527
DROP PROCEDURE IF EXISTS sp1;
14529
Note 1305 PROCEDURE sp1 does not exist
14530
CREATE PROCEDURE sp1( )
14532
declare done int default 0;
14533
declare count integer default 20;
14534
declare newf1 char(20);
14535
declare newf2 char(20);
14536
declare newf3 char(20);
14537
declare newf4 integer;
14538
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14539
declare continue handler for sqlstate '02000' set done = 1;
14543
set count = count - 1;
14545
fetch cur1 into newf1, newf2, newf4, newf3;
14546
set count = count - 1;
14551
ERROR 24000: Cursor is not open
14552
DROP PROCEDURE IF EXISTS sp1;
14553
CREATE PROCEDURE sp1( )
14555
declare done int default 0;
14556
declare count integer default 20;
14557
declare newf1 char(20);
14558
declare newf2 char(20);
14559
declare newf3 char(20);
14560
declare newf4 integer;
14561
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14562
declare continue handler for sqlstate '02000' set done = 1;
14566
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14569
fetch cur1 into newf1, newf2, newf3, newf4;
14572
ERROR 24000: Cursor is not open
14573
DROP PROCEDURE sp1;
14576
--------------------------------------------------------------------------------
14577
DROP PROCEDURE IF EXISTS sp1;
14579
Note 1305 PROCEDURE sp1 does not exist
14580
CREATE PROCEDURE sp1( )
14582
declare done int default 0;
14583
declare count integer default 20;
14584
declare newf2 char(20);
14585
declare newf1 int1;
14586
declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
14587
declare continue handler for sqlstate '02000' set done = 1;
14590
set count = count - 1;
14592
fetch cur1 into newf1, newf2;
14596
set count = count - 1;
14640
DROP PROCEDURE sp1;
14643
--------------------------------------------------------------------------------
14644
DROP PROCEDURE IF EXISTS sp1;
14646
Note 1305 PROCEDURE sp1 does not exist
14647
CREATE PROCEDURE sp1()
14649
declare done int default 0;
14650
declare count integer default 20;
14651
declare newf1 char(20);
14652
declare newf2 char(20);
14653
declare newf3 char(20);
14654
declare newf4 integer;
14655
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14656
declare continue handler for sqlstate '02000' set done = 1;
14660
set count = count - 1;
14662
fetch cur1 into newf1, newf2, newf4, newf3;
14663
set count = count - 1;
14669
ERROR 24000: Cursor is not open
14670
DROP PROCEDURE IF EXISTS sp1;
14671
CREATE PROCEDURE sp1( )
14673
declare done int default 0;
14674
declare count integer default 0;
14675
declare newf1 char(20);
14676
declare newf2 char(20);
14677
declare newf3 char(20);
14678
declare newf4 integer;
14679
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14680
declare continue handler for sqlstate '02000' set done = 1;
14682
declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14688
ERROR 24000: Cursor is not open
14689
DROP PROCEDURE sp1;
14692
--------------------------------------------------------------------------------
14693
DROP PROCEDURE IF EXISTS sp1;
14695
Note 1305 PROCEDURE sp1 does not exist
14696
CREATE PROCEDURE sp1( )
14698
declare done int default 0;
14699
declare count integer default 20;
14700
declare newf1 char(20);
14701
declare newf2 char(20);
14702
declare newf3 char(20);
14703
declare newf4 integer;
14704
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14708
fetch cur1 into newf1, newf2, newf4, newf3;
14710
fetch cur1 into newf1, newf2, newf4, newf3;
14714
ERROR 02000: No data - zero rows fetched, selected, or processed
14715
DROP PROCEDURE sp1;
14718
--------------------------------------------------------------------------------
14719
DROP PROCEDURE IF EXISTS sp1;
14721
Note 1305 PROCEDURE sp1 does not exist
14722
CREATE PROCEDURE sp1( )
14724
declare done int default 0;
14725
declare count integer default 20;
14726
declare newf1 char(20);
14727
declare newf2 char(20);
14728
declare newf3 char(20);
14729
declare newf4 integer;
14730
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14733
fetch cur1 into newf1, newf2, newf4, newf3;
14735
fetch cur1 into newf1, newf2, newf4, newf3;
14740
ERROR 02000: No data - zero rows fetched, selected, or processed
14741
DROP PROCEDURE sp1;
14744
--------------------------------------------------------------------------------
14745
DROP PROCEDURE IF EXISTS sp1;
14747
Note 1305 PROCEDURE sp1 does not exist
14748
CREATE PROCEDURE sp1( )
14750
declare done int default 0;
14751
declare count integer default 20;
14752
declare newf1 char(20);
14753
declare newf2 char(20);
14754
declare newf3 char(20);
14755
declare newf4 integer;
14756
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14757
declare continue handler for sqlstate '02000' set done = 1;
14760
set count = count - 1;
14762
fetch cur1 into newf1, newf2, newf4, newf3;
14763
set count = count - 1;
14766
fetch cur1 into newf1, newf2, newf4, newf3;
14770
ERROR 24000: Cursor is not open
14771
DROP PROCEDURE sp1;
14774
--------------------------------------------------------------------------------
14775
DROP PROCEDURE IF EXISTS sp1;
14777
Note 1305 PROCEDURE sp1 does not exist
14778
CREATE PROCEDURE sp1( )
14780
declare done int default 0;
14781
declare count integer default 20;
14782
declare newf1 char(20);
14783
declare newf2 char(20);
14784
declare newf3 char(20);
14785
declare newf4 integer;
14786
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14787
declare continue handler for sqlstate '02000' set done = 1;
14790
# set count = count - 1;
14791
# while count > 0 do
14792
fetch cur1 into newf1, newf2, newf4, newf3;
14793
# set count = count - 1;
14796
fetch cur1 into newf1, newf2, newf4, newf3;
14799
DROP PROCEDURE sp1;
14802
--------------------------------------------------------------------------------
14803
create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
14804
create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
14805
DROP PROCEDURE IF EXISTS sp1;
14807
Note 1305 PROCEDURE sp1 does not exist
14808
CREATE PROCEDURE sp1( )
14810
declare done int default 0;
14811
declare count integer default 20;
14812
declare newf1 char(20);
14813
declare newf2 char(20);
14814
declare newf3 char(20);
14815
declare newf4 integer;
14816
declare newf21 char(20);
14817
declare newf22 char(20);
14818
declare newf23 char(20);
14819
declare newf24 integer;
14820
declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
14821
declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
14822
declare continue handler for sqlstate '02000' set done = 1;
14829
fetch cur1 into newf1, newf2, newf4, newf3;
14830
set count = count - 1;
14833
insert into temp1 values(newf1, newf2, newf4, newf3);
14839
fetch cur2 into newf21, newf22, newf24, newf23;
14840
set count = count - 1;
14843
insert into temp2 values(newf21, newf22, newf24, newf23);
14847
SELECT count(*) from temp1;
14850
SELECT * from temp2;
14852
NULL NULL NULL NULL
14853
DROP PROCEDURE sp1;
14857
Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
14858
. IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
14859
--------------------------------------------------------------------------------
14863
--------------------------------------------------------------------------------
14864
DROP PROCEDURE IF EXISTS sp1;
14865
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
14866
CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
14867
middleinitial CHAR,
14868
lastname VARCHAR(50),
14869
age_averylongfieldname_averylongname_1234569 int,
14870
COMMENT TEXT) ENGINE=innodb;
14871
INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
14872
VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
14873
CREATE PROCEDURE sp1(a int)
14875
declare itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx char;
14876
declare itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx varchar(100);
14877
declare itisjustamediumsizeintintegervariablename integer;
14878
set itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
14879
set itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx = 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
14880
set itisjustamediumsizeintintegervariablename = 5;
14884
set @comment='value of a is greater than 100';
14887
set @comment='value of a is less than 50';
14889
set @comment='value of a is less than 25';
14891
set @comment='value of a is greater than 50 and less than 100';
14894
set @comment='value of a is 100';
14896
if itisjustamediumsizeintintegervariablename = 0 then leave label1;
14898
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
14899
values( itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
14900
concat(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx, ' ', a),
14902
set itisjustamediumsizeintintegervariablename = itisjustamediumsizeintintegervariablename - 1;
14912
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
14913
ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
14914
middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
14915
a aaaaaaaaaabbbbbbbbc 0 default
14916
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14917
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14918
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14919
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14920
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
14921
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14922
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14923
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14924
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14925
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
14926
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14927
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14928
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14929
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14930
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
14931
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14932
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14933
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14934
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14935
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
14936
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14937
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14938
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14939
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14940
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
14941
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14942
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14943
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14944
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14945
b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
14946
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
14947
DROP PROCEDURE sp1;
14950
--------------------------------------------------------------------------------
14951
DROP PROCEDURE IF EXISTS sp2;
14952
CREATE PROCEDURE sp2( action char(20) )
14954
declare v1 char(20);
14955
declare v2 char(20);
14956
declare count integer;
14958
set v2 = 'address';
14960
case when action = 'delete' then
14961
insert into t3 values(v1, v2, count);
14962
delete from t3 where f1=v1;
14963
when action = 'insert' then
14965
insert into t3 values(v1, v2, count);
14966
set count = count + 1;
14971
insert into t3 values(v1, v2, count);
14972
if count > 5 then leave label1;
14974
set count = count + 1;
14979
insert into t3 values(v1, v2, count);
14980
set count = count + 1;
14983
label1: while count < 5 do
14984
insert into t3 values(v1, v2, count);
14985
if count > 5 then leave label1;
14987
set count = count + 1;
14990
set @dummystring = 'temp value';
14993
CALL sp2( 'insert' );
14994
SELECT * from t3 where f3 <=5 && f3 >= 0;
15014
SELECT count(*) from t3;
15017
CALL sp2( 'delete' );
15018
SELECT count(*) from t3;
15022
SELECT @dummystring;
15025
DROP PROCEDURE sp2;
15029
Ensure that all sub-clauses that should not be supported are disallowed with
15030
an appropriate error message. (case)
15031
--------------------------------------------------------------------------------
15032
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15033
DROP PROCEDURE IF EXISTS sp3;
15034
create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
15035
CREATE PROCEDURE sp3( action char(20) )
15038
when action = 'delete' then
15039
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15041
set @dummystring = 'temp value';
15045
ERROR 42000: You 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
15046
when action = 'delete' then
15047
delete from res_t3_itisalongname_1381742_itsav' at line 3
15048
DROP PROCEDURE IF EXISTS sp3;
15049
CREATE PROCEDURE sp3( action char(20) )
15053
action = 'delete' then
15054
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15056
set @dummystring = 'temp value';
15061
ERROR 42000: You 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
15062
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15065
DROP PROCEDURE IF EXISTS sp3;
15066
CREATE PROCEDURE sp3( action char(20) )
15069
when action = 'delete' then
15070
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15071
then action = 'truncate' when
15072
truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15074
set @dummystring = 'temp value';
15078
ERROR 42000: You 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
15079
truncate from res_t3_itisalongname_1381742_itsave' at line 6
15080
DROP PROCEDURE IF EXISTS sp3;
15081
CREATE PROCEDURE sp3( action char(20) )
15083
declare v1 char(20);
15084
declare v2 char(20);
15085
declare count integer;
15092
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15095
ERROR 42000: You 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
15096
delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 11
15097
DROP PROCEDURE IF EXISTS sp3;
15098
CREATE PROCEDURE sp3( action char(20) )
15100
declare count int default 1;
15101
declare done int default 0;
15102
declare continue handler for sqlstate 'HY000' set done=1;
15105
when action = 'delete' then
15107
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15109
when action = 'insert' then
15110
label2: while count < 10 do
15112
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
15113
values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
15114
set count = count + 1;
15121
set @dummystring = 'temp value';
15128
SELECT count, done;
15130
CALL sp3('insert');
15134
Warning 1265 Data truncated for column 'name' at row 1
15135
Warning 1265 Data truncated for column 'name' at row 2
15136
Warning 1265 Data truncated for column 'name' at row 3
15137
Warning 1265 Data truncated for column 'name' at row 4
15138
Warning 1265 Data truncated for column 'name' at row 5
15139
Warning 1265 Data truncated for column 'name' at row 6
15140
Warning 1265 Data truncated for column 'name' at row 7
15141
Warning 1265 Data truncated for column 'name' at row 8
15142
Warning 1265 Data truncated for column 'name' at row 9
15143
DROP PROCEDURE sp3;
15144
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15147
--------------------------------------------------------------------------------
15148
DROP PROCEDURE IF EXISTS sp4;
15149
CREATE PROCEDURE sp4()
15154
if count > 10 then leave label1;
15156
set count = count + 1;
15157
elseif count > 20 then
15163
ERROR 42000: You 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
15169
DROP PROCEDURE IF EXISTS sp4;
15170
CREATE PROCEDURE sp4()
15176
set count = count + 1;
15183
ERROR 42000: You 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
15184
set count = count + 1;
15188
iterate lab' at line 6
15189
DROP PROCEDURE IF EXISTS sp4;
15190
CREATE PROCEDURE sp4()
15195
elseif count > 20 then
15203
ERROR 42000: You 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
15208
iterate lab' at line 6
15209
DROP PROCEDURE IF EXISTS sp4;
15210
CREATE PROCEDURE sp4()
15223
ERROR 42000: You 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;
15228
iterate label1;' at line 6
15229
DROP PROCEDURE IF EXISTS sp4;
15230
CREATE PROCEDURE sp4()
15232
declare i int default 10;
15246
ERROR 42000: You 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;
15252
DROP PROCEDURE IF EXISTS sp4;
15253
CREATE PROCEDURE sp4()
15255
declare idummy int default 10;
15262
declare idummy2 int default 10;
15276
ERROR 42S22: Unknown column 'idummy2' in 'field list'
15277
DROP PROCEDURE sp4;
15280
--------------------------------------------------------------------------------
15281
DROP PROCEDURE IF EXISTS sp5;
15282
CREATE PROCEDURE sp5()
15284
declare count integer default 1;
15289
when count = 1 then
15290
set count = count + 1;
15293
ERROR 42000: You 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
15295
when count = 1 then
15296
set count = count + 1;
15299
DROP PROCEDURE IF EXISTS sp5;
15300
CREATE PROCEDURE sp5(count int)
15302
when case count = 1 then
15304
when count = 2 then
15305
set count = count + 1;
15308
ERROR 42000: You 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
15310
when count = 2 then
15311
set count = count' at line 3
15312
DROP PROCEDURE IF EXISTS sp5;
15313
CREATE PROCEDURE sp5(count int)
15316
when count = 1 then
15318
when count = 2 then
15319
set count = count + 1;
15322
ERROR 42000: You 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;
15323
when count = 1 then
15325
when count = 2 then
15326
set count = coun' at line 3
15327
DROP PROCEDURE IF EXISTS sp5;
15328
CREATE PROCEDURE sp5(count int)
15330
when count = 1 then
15332
case when count = 2 then
15333
set count = count + 1;
15336
ERROR 42000: You 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
15338
case when count = 2 then
15339
set count = count' at line 3
15343
Ensure that all supported sub-clauses are supported only in the correct order (repeat).
15344
--------------------------------------------------------------------------------
15345
DROP PROCEDURE IF EXISTS sp6;
15346
CREATE PROCEDURE sp6()
15348
declare count1 integer default 1;
15350
set count1 = count1 + 1;
15351
if count1 > 5 then leave label1; END if;
15355
ERROR 42000: You 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;
15358
DROP PROCEDURE IF EXISTS sp6;
15359
CREATE PROCEDURE sp6()
15361
declare count1 integer default 1;
15362
label1: until count1 > 5
15364
set count1 = count1 + 1;
15365
if count1 > 5 then leave label1; END if;
15368
ERROR 42000: You 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
15370
set count1 = count1 + 1;
15371
if count1 > 5 then leave label1' at line 4
15372
DROP PROCEDURE IF EXISTS sp6;
15373
CREATE PROCEDURE sp6()
15375
declare count1 integer default 1;
15377
set count1 = count1 + 1;
15378
if count1 > 5 then leave label1; END if;
15382
ERROR 42000: You 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
15383
set count1 = count1 + 1;
15384
if count1 > 5 then leave label1; END if;
15386
DROP PROCEDURE IF EXISTS sp6;
15387
CREATE PROCEDURE sp6()
15389
declare count1 integer default 1;
15391
set count1 = count1 + 1;
15392
if count1 > 5 then leave label1; END if;
15395
ERROR 42000: You 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;
15397
DROP PROCEDURE IF EXISTS sp6;
15398
CREATE PROCEDURE sp6()
15400
declare count1 integer default 1;
15402
set count1 = count1 + 1;
15403
if count1 > 5 then leave label1; END if;
15408
ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
15412
DROP PROCEDURE IF EXISTS sp6;
15413
CREATE PROCEDURE sp6()
15415
declare count1 integer default 1;
15417
set count1 = count1-1;
15425
DROP PROCEDURE sp6;
15428
--------------------------------------------------------------------------------
15429
DROP PROCEDURE IF EXISTS sp7;
15430
CREATE PROCEDURE sp7()
15433
set @dummystring = 'temp value';
15434
if count > 10 then leave label1;
15439
ERROR 42000: You 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;
15442
DROP PROCEDURE IF EXISTS sp7;
15443
CREATE PROCEDURE sp7()
15446
set @dummystring = 'temp value';
15447
if count > 10 then leave label1;
15452
ERROR 42000: You 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;
15453
set @dummystring = 'temp value';
15454
if count > 10 then leave label1;
15456
DROP PROCEDURE IF EXISTS sp7;
15457
CREATE PROCEDURE sp7()
15459
label1: iterate label1;
15461
set @dummystring = 'temp value';
15462
if count > 10 then leave label1;
15466
ERROR 42000: You 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;
15468
set @dummystring = 'temp value';
15469
if count > 10 then leave l' at line 3
15472
--------------------------------------------------------------------------------
15473
DROP PROCEDURE IF EXISTS sp8;
15474
CREATE PROCEDURE sp8()
15476
declare v1 int default 5;
15481
ERROR 42000: You 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
15485
DROP PROCEDURE IF EXISTS sp8;
15486
CREATE PROCEDURE sp8()
15488
declare v1 int default 5;
15493
ERROR 42000: You 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
15497
DROP PROCEDURE IF EXISTS sp8;
15498
CREATE PROCEDURE sp8()
15500
declare v1 int default 5;
15505
ERROR 42000: You 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;
15511
--------------------------------------------------------------------------------
15512
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15513
DROP PROCEDURE IF EXISTS sp12;
15514
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15515
CREATE PROCEDURE sp12( )
15517
declare count1 integer default 1;
15518
declare count2 int;
15520
if count1 > 2 then leave label1;
15522
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15524
if count2 > 2 then leave label2;
15526
set count2 = count2 + 1;
15528
set count1 = count1 + 1;
15532
ERROR 42000: End-label label1 without match
15533
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15536
--------------------------------------------------------------------------------
15537
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15538
DROP PROCEDURE IF EXISTS sp13;
15539
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15540
CREATE PROCEDURE sp13( )
15542
declare count1 integer default 1;
15544
if count1 > 2 then leave lable1;
15546
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15547
set count1 = count1 + 1;
15552
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15556
DROP PROCEDURE sp13;
15557
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15560
--------------------------------------------------------------------------------
15561
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15562
DROP PROCEDURE IF EXISTS sp14;
15563
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15564
CREATE PROCEDURE sp14( )
15566
declare count1 integer default 1;
15568
if count1 > 2 then leave lable1;
15570
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15571
set count1 = count1 + 1;
15575
ERROR 42000: LEAVE with no matching label: lable1
15576
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15579
--------------------------------------------------------------------------------
15580
drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15581
DROP PROCEDURE IF EXISTS sp15;
15582
create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15583
CREATE PROCEDURE sp15( )
15585
declare count1 integer default 1;
15587
if count1 > 2 then leave lable1;
15589
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15590
set count1 = count1 + 1;
15594
ERROR 42000: You 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
15595
if count1 > 2 then leave lable1;
15597
insert into res_t3_itisalongname_1' at line 4
15601
Ensure that every beginning label with the same scope must be unique.
15602
--------------------------------------------------------------------------------
15603
DROP PROCEDURE IF EXISTS sp16;
15604
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15605
CREATE PROCEDURE sp16( )
15607
declare count1 integer default 1;
15608
declare count2 integer default 1;
15610
set count1 = count1 + 1;
15613
set count2 = count2 + 1;
15614
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
15620
ERROR 42000: Redefining label label1
15621
DROP PROCEDURE IF EXISTS sp16;
15622
CREATE PROCEDURE sp16( )
15624
declare count1 integer default 1;
15625
declare count2 integer default 1;
15626
declare count3 integer default 1;
15628
set count1 = count1 + 1;
15630
set count2 = count2 + 1;
15638
set count3 = count3 + 1;
15643
ERROR 42000: Redefining label label1
15646
--------------------------------------------------------------------------------
15649
--------------------------------------------------------------------------------
15650
DROP PROCEDURE IF EXISTS sp18;
15651
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15652
CREATE PROCEDURE sp18( )
15654
declare count1 integer default 1;
15656
set count1 = count1 + 1;
15657
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15661
ERROR 42000: End-label label2 without match
15664
--------------------------------------------------------------------------------
15665
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15666
DROP PROCEDURE IF EXISTS sp19;
15667
CREATE PROCEDURE sp19( )
15669
declare count1 integer default 1;
15671
set count1 = count1 + 1;
15672
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15677
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15680
DROP PROCEDURE sp19;
15683
--------------------------------------------------------------------------------
15684
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15685
DROP PROCEDURE IF EXISTS sp20;
15686
CREATE PROCEDURE sp20( )
15688
declare count1 integer default 1;
15690
set count1 = count1 + 1;
15691
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15695
ERROR 42000: You 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;
15699
--------------------------------------------------------------------------------
15702
--------------------------------------------------------------------------------
15703
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15704
DROP PROCEDURE IF EXISTS sp22;
15705
CREATE PROCEDURE sp22( )
15707
declare count1 integer default 1;
15708
declare count2 integer default 1;
15709
while count1 < 3 do
15710
set count1 = count1 + 1;
15712
label1: while count2 < 3 do
15713
set count2 = count2 + 1;
15714
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15718
ERROR 42000: End-label label2 without match
15721
--------------------------------------------------------------------------------
15722
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15723
DROP PROCEDURE IF EXISTS sp23;
15724
CREATE PROCEDURE sp23( )
15726
declare count1 integer default 1;
15727
declare count2 integer default 1;
15728
while count1 < 3 do
15729
set count1 = count1 + 1;
15731
while count2 < 3 do
15732
set count2 = count2 + 1;
15733
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15737
ERROR 42000: You 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;
15742
--------------------------------------------------------------------------------
15743
delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15744
DROP PROCEDURE IF EXISTS sp25;
15745
CREATE PROCEDURE sp25( )
15747
declare count1 integer default 1;
15748
declare count2 integer default 1;
15749
while count1 < 3 do
15750
set count1 = count1 + 1;
15752
label1: while count2 < 3 do
15753
set count2 = count2 + 1;
15754
insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15759
SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15765
DROP PROCEDURE sp25;
15766
drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15768
Section 3.1.4 - Checks for the global nature of stored procedures:
15769
--------------------------------------------------------------------------------
15773
--------------------------------------------------------------------------------
15774
DROP PROCEDURE IF EXISTS sp1;
15775
DROP DATABASE IF EXISTS d40401;
15776
CREATE PROCEDURE sp1 ( n char(20) )
15780
CREATE DATABASE d40401;
15782
CALL db_storedproc.sp1('abcd');
15786
DROP PROCEDURE sp1;
15787
DROP DATABASE d40401;
15790
--------------------------------------------------------------------------------
15791
DROP FUNCTION IF EXISTS fn1;
15792
DROP FUNCTION IF EXISTS fn11;
15793
DROP DATABASE IF EXISTS d40402;
15794
CREATE FUNCTION fn1(n int) returns int
15800
CREATE DATABASE d40402;
15802
SELECT db_storedproc.fn1(100);
15803
db_storedproc.fn1(100)
15805
SELECT db_storedproc.fn1(1000);
15806
db_storedproc.fn1(1000)
15808
CREATE FUNCTION db_storedproc.fn11(n int) returns int
15814
SELECT db_storedproc.fn11(100);
15815
db_storedproc.fn11(100)
15817
SELECT db_storedproc.fn11(1000);
15818
db_storedproc.fn11(1000)
15822
DROP FUNCTION fn11;
15823
DROP DATABASE d40402;
15826
--------------------------------------------------------------------------------
15827
DROP DATABASE IF EXISTS d1;
15828
DROP DATABASE IF EXISTS d2;
15829
CREATE DATABASE d1;
15830
CREATE DATABASE d2;
15832
create table res_t41(a char(5), b char(10));
15833
insert into res_t41 values('abcde', 'a!@#$%^&*(');
15835
create table res_t42(a char(5), b char(10));
15837
CREATE PROCEDURE sp2(n char (20))
15839
SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
15840
insert into d2.res_t42 values (@a, @b);
15843
CALL d1.sp2('a!@#$%^&*(');
15846
SELECT * from d1.res_t41;
15849
SELECT * from res_t42;
15857
--------------------------------------------------------------------------------
15858
DROP DATABASE IF EXISTS d1;
15859
CREATE DATABASE d1;
15861
CREATE PROCEDURE sp3()
15865
ERROR 0A000: USE is not allowed in stored procedures
15870
--------------------------------------------------------------------------------
15871
DROP DATABASE IF EXISTS d1;
15872
CREATE DATABASE d1;
15874
create table t43(a char(5), b char(10));
15875
insert into t43 values('abcde', 'a!@#$%^&*(');
15876
CREATE PROCEDURE d1.sp4()
15877
SELECT * from d1.t43;
15878
SELECT * from mysql.proc where specific_name = 'sp4';
15879
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15880
d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from d1.t43
15883
CREATE DATABASE d1;
15885
create table t44(a char(5), b char(10));
15886
SELECT * from mysql.proc where specific_name = 'sp4';
15887
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15892
--------------------------------------------------------------------------------
15894
DROP PROCEDURE IF EXISTS sp5;
15895
CREATE PROCEDURE sp5()
15896
SELECT * from db_storedproc.t4 limit 0, 10;
15897
SELECT db from mysql.proc where specific_name = 'sp5';
15900
DROP PROCEDURE sp5;
15903
--------------------------------------------------------------------------------
15905
drop table IF EXISTS t46;
15906
DROP PROCEDURE IF EXISTS sp6;
15907
create table t46(f1 char(20), f2 char(20));
15908
insert into t46 values ('abcd', 'wxyz');
15909
CREATE PROCEDURE db_storedproc.sp6()
15910
SELECT * from db_storedproc.t4 limit 0, 10;
15911
SELECT db from mysql.proc where specific_name = 'sp6';
15915
DROP PROCEDURE sp6;
15918
--------------------------------------------------------------------------------
15919
DROP DATABASE IF EXISTS d1;
15920
DROP DATABASE IF EXISTS d2;
15921
CREATE DATABASE d1;
15922
CREATE DATABASE d2;
15924
CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
15925
SELECT * from t1 where t1.f1 = n;
15927
alter procedure d1.sp8 sql security definer comment 'updated';
15928
SELECT * from mysql.proc where specific_name='sp8' and db='d1';
15929
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15930
d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created updated latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 where t1.f1 = n
15933
--------------------------------------------------------------------------------
15935
DROP FUNCTION IF EXISTS fn1;
15936
DROP FUNCTION IF EXISTS fn11;
15937
CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
15944
alter function d1.fn2 sql security definer comment 'updated';
15945
SELECT * from mysql.proc where specific_name='fn2' and db='d1';
15946
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15947
d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
15951
END root@localhost modified created updated latin1 latin1_swedish_ci latin1_swedish_ci BEGIN
15958
--------------------------------------------------------------------------------
15960
CREATE PROCEDURE sp9 ( n char(20) )
15961
SELECT * from t1 where t1.f1 = n;
15963
DROP PROCEDURE d1.sp9;
15964
SELECT * from mysql.proc where specific_name='sp9' and db='d1';
15965
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15968
--------------------------------------------------------------------------------
15970
CREATE FUNCTION d1.fn3(n int) returns int
15977
DROP FUNCTION d1.fn3;
15978
SELECT * from mysql.proc where specific_name='fn3' and db='d1';
15979
db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8
15984
Section 3.1.5 - Parameter use checks:
15985
Functions with all data types
15986
--------------------------------------------------------------------------------
15987
DROP DATABASE IF EXISTS d1;
15988
CREATE DATABASE d1;
15990
DROP FUNCTION IF EXISTS fn1;
15991
CREATE FUNCTION fn1( f1 bigint) returns bigint
15993
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
15996
SELECT fn1(-9.22e+18);
15998
-9220000000000000000
15999
DROP FUNCTION IF EXISTS fn2;
16000
CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
16002
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16005
SELECT fn2(1.84e+19);
16007
18400000000000000000
16008
DROP FUNCTION IF EXISTS fn3;
16009
CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
16011
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16014
SELECT fn3(1.84e+17);
16017
DROP FUNCTION IF EXISTS fn4;
16018
CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
16020
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16023
SELECT fn4(-9.22e+15);
16027
Warning 1264 Out of range value for column 'f1' at row 1
16028
DROP FUNCTION IF EXISTS fn5;
16029
CREATE FUNCTION fn5( f1 decimal) returns decimal
16031
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16034
SELECT fn5(-1.00e+09);
16037
DROP FUNCTION IF EXISTS fn6;
16038
CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
16040
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16043
SELECT fn6(-1.00e+09);
16046
DROP FUNCTION IF EXISTS fn7;
16047
CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
16049
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16052
SELECT fn7(99999999999);
16056
Warning 1264 Out of range value for column 'f1' at row 1
16057
Note 1265 Data truncated for column 'f1' at row 1
16058
Warning 1264 Out of range value for column 'f1' at row 1
16059
DROP FUNCTION IF EXISTS fn8;
16060
CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
16062
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16065
SELECT fn8(999999999);
16069
Note 1265 Data truncated for column 'f1' at row 1
16070
DROP FUNCTION IF EXISTS fn9;
16071
CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
16073
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16076
SELECT fn9(-1.00e+09);
16080
Warning 1264 Out of range value for column 'f1' at row 1
16081
Warning 1264 Out of range value for column 'f1' at row 1
16082
DROP FUNCTION IF EXISTS fn10;
16083
CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
16085
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16088
SELECT fn10(-1.00e+09);
16091
DROP FUNCTION IF EXISTS fn11;
16092
CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
16094
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16097
SELECT fn11(99999999999);
16101
Warning 1264 Out of range value for column 'f1' at row 1
16102
Note 1265 Data truncated for column 'f1' at row 1
16103
Warning 1264 Out of range value for column 'f1' at row 1
16104
DROP FUNCTION IF EXISTS fn12;
16105
CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
16107
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16110
SELECT fn12(999999999);
16114
Note 1265 Data truncated for column 'f1' at row 1
16115
DROP FUNCTION IF EXISTS fn13;
16116
CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
16118
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16121
SELECT fn13(-1.00e+09);
16125
Warning 1264 Out of range value for column 'f1' at row 1
16126
Warning 1264 Out of range value for column 'f1' at row 1
16127
DROP FUNCTION IF EXISTS fn14;
16128
CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
16130
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16133
SELECT fn14(-1.00e+21);
16135
-1000000000000000000000.000000000000000000000000000000
16136
DROP FUNCTION IF EXISTS fn15;
16137
CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
16139
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16142
SELECT fn15(1.00e+16);
16144
10000000000000000.000000000000000000000000000000
16145
DROP FUNCTION IF EXISTS fn16;
16146
CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
16148
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16151
SELECT fn16(1.00e+16);
16153
000000000000000010000000000000000.000000000000000000000000000000
16154
DROP FUNCTION IF EXISTS fn17;
16155
CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
16157
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16160
SELECT fn17(-1.00e+21);
16162
000000000000000000000000000000010.000000000000000000000000000000
16164
Warning 1264 Out of range value for column 'f1' at row 1
16165
Warning 1264 Out of range value for column 'f1' at row 1
16166
DROP FUNCTION IF EXISTS fn18_d;
16167
CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
16169
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16172
SELECT fn18_d( -1000000000000000000000000000000 );
16173
fn18_d( -1000000000000000000000000000000 )
16174
-1000000000000000000000000000000
16175
DROP FUNCTION IF EXISTS fn19_du;
16176
CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
16178
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16181
SELECT fn19_du( 100000000000000000000 );
16182
fn19_du( 100000000000000000000 )
16183
100000000000000000000
16184
DROP FUNCTION IF EXISTS fn20_duz;
16185
CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
16187
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16190
SELECT fn20_duz( 1000000000000000000000000 );
16191
fn20_duz( 1000000000000000000000000 )
16192
0000000000000000000000000000000000000001000000000000000000000000
16193
DROP FUNCTION IF EXISTS fn21_d_z;
16194
CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
16196
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16199
SELECT fn21_d_z(1.00e+00);
16201
0000000000000000000000000000000000000000000000000000000000000010
16203
Note 1265 Data truncated for column 'f1' at row 1
16204
Warning 1264 Out of range value for column 'f1' at row 1
16205
DROP FUNCTION IF EXISTS fn22;
16206
CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
16208
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16211
SELECT fn22(1.00e+00);
16215
Note 1265 Data truncated for column 'f1' at row 1
16216
Warning 1264 Out of range value for column 'f1' at row 1
16217
DROP FUNCTION IF EXISTS fn23;
16218
CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
16220
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16223
SELECT fn23(1.00e+00);
16227
Note 1265 Data truncated for column 'f1' at row 1
16228
Warning 1264 Out of range value for column 'f1' at row 1
16229
DROP FUNCTION IF EXISTS fn24;
16230
CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
16232
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16235
SELECT fn24(-1.00e+09);
16239
Warning 1264 Out of range value for column 'f1' at row 1
16240
Warning 1264 Out of range value for column 'f1' at row 1
16241
DROP FUNCTION IF EXISTS fn25;
16242
CREATE FUNCTION fn25( f1 double) returns double
16244
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16247
SELECT fn25(1.00e+00);
16250
DROP FUNCTION IF EXISTS fn26;
16251
CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
16253
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16256
SELECT fn26(1.00e+00);
16260
Warning 1264 Out of range value for column 'f1' at row 1
16261
DROP FUNCTION IF EXISTS fn27;
16262
CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
16264
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16267
SELECT fn27(1.00e+00);
16271
Warning 1264 Out of range value for column 'f1' at row 1
16272
DROP FUNCTION IF EXISTS fn28;
16273
CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
16275
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16278
SELECT fn28(1.00e+00);
16282
Warning 1264 Out of range value for column 'f1' at row 1
16283
DROP FUNCTION IF EXISTS fn29;
16284
CREATE FUNCTION fn29( f1 float) returns float
16286
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16289
SELECT fn29(1.00e+00);
16292
DROP FUNCTION IF EXISTS fn30;
16293
CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
16295
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16298
SELECT fn30(1.00e+00);
16302
Warning 1264 Out of range value for column 'f1' at row 1
16303
DROP FUNCTION IF EXISTS fn31;
16304
CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
16306
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16309
SELECT fn31(1.00e+00);
16313
Warning 1264 Out of range value for column 'f1' at row 1
16314
DROP FUNCTION IF EXISTS fn32;
16315
CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
16317
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16320
SELECT fn32(1.00e+00);
16324
Warning 1264 Out of range value for column 'f1' at row 1
16325
DROP FUNCTION IF EXISTS fn33;
16326
CREATE FUNCTION fn33( f1 float(0)) returns float(0)
16328
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16331
SELECT fn33(1.00e+00);
16334
DROP FUNCTION IF EXISTS fn34;
16335
CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
16337
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16340
SELECT fn34(1.00e+00);
16344
Warning 1264 Out of range value for column 'f1' at row 1
16345
DROP FUNCTION IF EXISTS fn35;
16346
CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
16348
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16351
SELECT fn35(1.00e+00);
16355
Warning 1264 Out of range value for column 'f1' at row 1
16356
DROP FUNCTION IF EXISTS fn36;
16357
CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
16359
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16362
SELECT fn36(1.00e+00);
16366
Warning 1264 Out of range value for column 'f1' at row 1
16367
DROP FUNCTION IF EXISTS fn37;
16368
CREATE FUNCTION fn37( f1 float(23)) returns float(23)
16370
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16373
SELECT fn37(1.00e+00);
16376
DROP FUNCTION IF EXISTS fn38;
16377
CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
16379
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16382
SELECT fn38(1.00e+00);
16386
Warning 1264 Out of range value for column 'f1' at row 1
16387
DROP FUNCTION IF EXISTS fn39;
16388
CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
16390
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16393
SELECT fn39(1.00e+00);
16397
Warning 1264 Out of range value for column 'f1' at row 1
16398
DROP FUNCTION IF EXISTS fn40;
16399
CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
16401
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16404
SELECT fn40(1.00e+00);
16408
Warning 1264 Out of range value for column 'f1' at row 1
16409
DROP FUNCTION IF EXISTS fn41;
16410
CREATE FUNCTION fn41( f1 float(24)) returns float(24)
16412
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16415
SELECT fn41(1.00e+00);
16418
DROP FUNCTION IF EXISTS fn42;
16419
CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
16421
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16424
SELECT fn42(1.00e+00);
16428
Warning 1264 Out of range value for column 'f1' at row 1
16429
DROP FUNCTION IF EXISTS fn43;
16430
CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
16432
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16435
SELECT fn43(1.00e+00);
16439
Warning 1264 Out of range value for column 'f1' at row 1
16440
DROP FUNCTION IF EXISTS fn44;
16441
CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
16443
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16446
SELECT fn44(1.00e+00);
16450
Warning 1264 Out of range value for column 'f1' at row 1
16451
DROP FUNCTION IF EXISTS fn45;
16452
CREATE FUNCTION fn45( f1 float(53)) returns float(53)
16454
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16457
SELECT fn45(1.00e+00);
16460
DROP FUNCTION IF EXISTS fn46;
16461
CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
16463
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16466
SELECT fn46(1.00e+00);
16470
Warning 1264 Out of range value for column 'f1' at row 1
16471
DROP FUNCTION IF EXISTS fn47;
16472
CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
16474
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16477
SELECT fn47(1.00e+00);
16481
Warning 1264 Out of range value for column 'f1' at row 1
16482
DROP FUNCTION IF EXISTS fn48;
16483
CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
16485
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16488
SELECT fn48(1.00e+00);
16492
Warning 1264 Out of range value for column 'f1' at row 1
16493
DROP FUNCTION IF EXISTS fn49;
16494
CREATE FUNCTION fn49( f1 int) returns int
16496
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16499
SELECT fn49(-2.15e+09);
16503
Warning 1264 Out of range value for column 'f1' at row 1
16504
Warning 1264 Out of range value for column 'f1' at row 1
16505
DROP FUNCTION IF EXISTS fn50;
16506
CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
16508
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16511
SELECT fn50(4.29e+09);
16514
DROP FUNCTION IF EXISTS fn51;
16515
CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
16517
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16520
SELECT fn51(4.29e+09);
16523
DROP FUNCTION IF EXISTS fn52;
16524
CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
16526
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16529
SELECT fn52(2.15e+08);
16532
DROP FUNCTION IF EXISTS fn53;
16533
CREATE FUNCTION fn53( f1 mediumint) returns mediumint
16535
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16538
SELECT fn53(-8388600);
16542
Warning 1264 Out of range value for column 'f1' at row 1
16543
DROP FUNCTION IF EXISTS fn54;
16544
CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
16546
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16549
SELECT fn54(16777201);
16552
DROP FUNCTION IF EXISTS fn55;
16553
CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
16555
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16558
SELECT fn55(16777210);
16561
DROP FUNCTION IF EXISTS fn56;
16562
CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
16564
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16567
SELECT fn56(-8388601);
16571
Warning 1264 Out of range value for column 'f1' at row 1
16572
Warning 1264 Out of range value for column 'f1' at row 1
16573
Warning 1264 Out of range value for column 'f1' at row 1
16574
DROP FUNCTION IF EXISTS fn57;
16575
CREATE FUNCTION fn57( f1 numeric) returns numeric
16577
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16580
SELECT fn57(-999999999);
16584
Note 1265 Data truncated for column 'f1' at row 1
16585
DROP FUNCTION IF EXISTS fn58;
16586
CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
16588
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16591
SELECT fn58(-999999999);
16595
Note 1265 Data truncated for column 'f1' at row 1
16596
DROP FUNCTION IF EXISTS fn59;
16597
CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
16599
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16602
SELECT fn59(9999999999);
16606
Note 1265 Data truncated for column 'f1' at row 1
16607
Warning 1264 Out of range value for column 'f1' at row 1
16608
DROP FUNCTION IF EXISTS fn60;
16609
CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
16611
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16614
SELECT fn60(99999999);
16618
Note 1265 Data truncated for column 'f1' at row 1
16619
DROP FUNCTION IF EXISTS fn61;
16620
CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
16622
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16625
SELECT fn61(-99999999);
16629
Warning 1264 Out of range value for column 'f1' at row 1
16630
Warning 1264 Out of range value for column 'f1' at row 1
16631
DROP FUNCTION IF EXISTS fn62;
16632
CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
16634
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16637
SELECT fn62(-999999999);
16641
Note 1265 Data truncated for column 'f1' at row 1
16642
DROP FUNCTION IF EXISTS fn63;
16643
CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
16645
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16648
SELECT fn63(9999999999);
16652
Note 1265 Data truncated for column 'f1' at row 1
16653
Warning 1264 Out of range value for column 'f1' at row 1
16654
DROP FUNCTION IF EXISTS fn64;
16655
CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
16657
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16660
SELECT fn64(99999999);
16664
Note 1265 Data truncated for column 'f1' at row 1
16665
DROP FUNCTION IF EXISTS fn65;
16666
CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
16668
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16671
SELECT fn65(-99999999);
16675
Warning 1264 Out of range value for column 'f1' at row 1
16676
Warning 1264 Out of range value for column 'f1' at row 1
16677
DROP FUNCTION IF EXISTS fn66;
16678
CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
16680
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16683
SELECT fn66(-1e+36);
16685
-999999999999999999999999999999989.999999999999999999999999999999
16687
Warning 1264 Out of range value for column 'f1' at row 1
16688
Note 1265 Data truncated for column 'f1' at row 1
16689
Warning 1264 Out of range value for column 'f1' at row 1
16690
Warning 1264 Out of range value for column 'f1' at row 1
16691
DROP FUNCTION IF EXISTS fn67;
16692
CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
16694
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16697
SELECT fn67(1e+36);
16699
999999999999999999999999999999999.999999999999999999999999999999
16701
Warning 1264 Out of range value for column 'f1' at row 1
16702
Note 1265 Data truncated for column 'f1' at row 1
16703
Warning 1264 Out of range value for column 'f1' at row 1
16704
DROP FUNCTION IF EXISTS fn68;
16705
CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
16707
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16710
SELECT fn68(1e+36);
16712
999999999999999999999999999999999.999999999999999999999999999999
16714
Warning 1264 Out of range value for column 'f1' at row 1
16715
Note 1265 Data truncated for column 'f1' at row 1
16716
Warning 1264 Out of range value for column 'f1' at row 1
16717
DROP FUNCTION IF EXISTS fn69;
16718
CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
16720
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16723
SELECT fn69(-1e+36);
16725
000000000000000000000000000000010.000000000000000000000000000000
16727
Warning 1264 Out of range value for column 'f1' at row 1
16728
Warning 1264 Out of range value for column 'f1' at row 1
16729
DROP FUNCTION IF EXISTS fn70_n;
16730
CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
16732
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16735
SELECT fn70_n( -1000000000000000000000000000000 );
16736
fn70_n( -1000000000000000000000000000000 )
16737
-1000000000000000000000000000000
16738
SELECT fn70_n( -10000000000000000000000000000000000000000 );
16739
fn70_n( -10000000000000000000000000000000000000000 )
16740
-10000000000000000000000000000000000000000
16741
DROP FUNCTION IF EXISTS fn71_nu;
16742
CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
16744
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16747
SELECT fn71_nu( 10000000000000000000000000000000000000000 );
16748
fn71_nu( 10000000000000000000000000000000000000000 )
16749
10000000000000000000000000000000000000000
16750
DROP FUNCTION IF EXISTS fn72_nuz;
16751
CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
16753
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16756
SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
16757
fn72_nuz( 10000000000000000000000000000000000000000 )
16758
0000000000000000000000010000000000000000000000000000000000000000
16759
DROP FUNCTION IF EXISTS fn73_n_z;
16760
CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
16762
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16765
SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
16766
fn73_n_z( 10000000000000000000000000000000000000000 )
16767
0000000000000000000000010000000000000000000000000000000000000000
16768
DROP FUNCTION IF EXISTS fn74;
16769
CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
16771
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16774
SELECT fn74(999999999);
16778
Note 1265 Data truncated for column 'f1' at row 1
16779
DROP FUNCTION IF EXISTS fn75;
16780
CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
16782
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16785
SELECT fn75(999999999);
16789
Note 1265 Data truncated for column 'f1' at row 1
16790
DROP FUNCTION IF EXISTS fn76;
16791
CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
16793
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16796
SELECT fn76(-999999999);
16800
Warning 1264 Out of range value for column 'f1' at row 1
16801
Warning 1264 Out of range value for column 'f1' at row 1
16802
DROP FUNCTION IF EXISTS fn77;
16803
CREATE FUNCTION fn77( f1 real) returns real
16805
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16811
DROP FUNCTION IF EXISTS fn78;
16812
CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
16814
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16821
Warning 1264 Out of range value for column 'f1' at row 1
16822
DROP FUNCTION IF EXISTS fn79;
16823
CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
16825
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16832
Warning 1264 Out of range value for column 'f1' at row 1
16833
DROP FUNCTION IF EXISTS fn80;
16834
CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
16836
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16843
Warning 1264 Out of range value for column 'f1' at row 1
16844
DROP FUNCTION IF EXISTS fn81;
16845
CREATE FUNCTION fn81( f1 smallint) returns smallint
16847
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16850
SELECT fn81(-32701);
16853
DROP FUNCTION IF EXISTS fn82;
16854
CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
16856
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16859
SELECT fn82(65531);
16862
DROP FUNCTION IF EXISTS fn83;
16863
CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
16865
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16868
SELECT fn83(65531);
16871
DROP FUNCTION IF EXISTS fn84;
16872
CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
16874
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16877
SELECT fn84(-32601);
16881
Warning 1264 Out of range value for column 'f1' at row 1
16882
Warning 1264 Out of range value for column 'f1' at row 1
16883
Warning 1264 Out of range value for column 'f1' at row 1
16884
DROP FUNCTION IF EXISTS fn85;
16885
CREATE FUNCTION fn85( f1 tinyint) returns tinyint
16887
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16893
DROP FUNCTION IF EXISTS fn86;
16894
CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
16896
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16902
DROP FUNCTION IF EXISTS fn87;
16903
CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
16905
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16911
DROP FUNCTION IF EXISTS fn88;
16912
CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
16914
set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16921
Warning 1264 Out of range value for column 'f1' at row 1
16922
Warning 1264 Out of range value for column 'f1' at row 1
16923
Warning 1264 Out of range value for column 'f1' at row 1
16924
DROP FUNCTION IF EXISTS fn89;
16925
CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
16927
IF f1 = '1enum' THEN
16934
SELECT fn89( '1enum');
16937
DROP FUNCTION IF EXISTS fn90;
16938
CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
16940
IF f1 = '1set' THEN
16947
SELECT fn90( '1set');
16950
DROP FUNCTION IF EXISTS fn91;
16951
CREATE FUNCTION fn91( f1 date) returns date
16953
set f1 = adddate(f1, interval 31 day);
16956
SELECT fn91('1997-12-31');
16959
DROP FUNCTION IF EXISTS fn92;
16960
CREATE FUNCTION fn92( f1 time) returns time
16962
set f1 = addtime(f1, '02:00:00.999998');
16965
SELECT fn92( '23:59:59.999999');
16966
fn92( '23:59:59.999999')
16968
DROP FUNCTION IF EXISTS fn93;
16969
CREATE FUNCTION fn93( f1 datetime) returns datetime
16971
set f1 = addtime(f1, '1 1:1:1.000002');
16974
SELECT fn93('1997-12-31 23:59:59.999999');
16975
fn93('1997-12-31 23:59:59.999999')
16976
1998-01-02 01:01:00
16977
DROP FUNCTION IF EXISTS fn94;
16978
CREATE FUNCTION fn94( f1 char) returns char
16980
set f1 = concat('a', f1);
16987
Warning 1265 Data truncated for column 'f1' at row 1
16988
DROP FUNCTION IF EXISTS fn95;
16989
CREATE FUNCTION fn95( f1 char ascii) returns char ascii
16991
set f1 = concat('a', f1);
16998
Warning 1265 Data truncated for column 'f1' at row 1
16999
DROP FUNCTION IF EXISTS fn96;
17000
CREATE FUNCTION fn96( f1 binary) returns binary(2)
17002
set f1 = concat('a', f1);
17009
Warning 1265 Data truncated for column 'f1' at row 1
17010
DROP FUNCTION IF EXISTS fn97;
17011
CREATE FUNCTION fn97( f1 longtext) returns longtext
17013
set f1 = concat('hello', f1);
17016
SELECT fn97( 'world');
17019
DROP FUNCTION IF EXISTS fn98;
17020
CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
17022
set f1 = concat('hello', f1);
17025
SELECT fn98( 'world');
17028
DROP FUNCTION IF EXISTS fn99;
17029
CREATE FUNCTION fn99( f1 text) returns text
17031
set f1 = concat('hello', f1);
17034
SELECT fn99( 'world');
17037
DROP FUNCTION IF EXISTS fn100;
17038
CREATE FUNCTION fn100( f1 tinytext) returns tinytext
17040
set f1 = concat('hello', f1);
17043
SELECT fn100( 'world');
17046
DROP FUNCTION IF EXISTS fn101;
17047
CREATE FUNCTION fn101( f1 year) returns year
17055
DROP FUNCTION IF EXISTS fn102;
17056
CREATE FUNCTION fn102( f1 year(4)) returns year(4)
17061
SELECT fn102(1982);
17064
DROP FUNCTION IF EXISTS fn103;
17065
CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
17070
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@');
17071
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\