Debian Codegraph @

mysql-test/suite/funcs_1/r/storedproc.result

raw
1
2 --source suite/funcs_1/storedproc/load_sp_tb.inc
3 --------------------------------------------------------------------------------
4 SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
5
6 --source suite/funcs_1/storedproc/cleanup_sp_tb.inc
7 --------------------------------------------------------------------------------
8 DROP DATABASE IF EXISTS db_storedproc;
9 DROP DATABASE IF EXISTS db_storedproc_1;
10 CREATE DATABASE db_storedproc charset utf8mb4;
11 CREATE DATABASE db_storedproc_1 charset utf8mb4;
12 USE db_storedproc;
13 create table t1(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
14 engine = <engine_to_be_tested>;
15 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t1;
16 create table t2(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
17 engine = <engine_to_be_tested>;
18 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t2;
19 create table t3(f1 char(20),f2 char(20),f3 integer) engine = <engine_to_be_tested>;
20 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t3.txt' into table t3;
21 create table t4(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
22 engine = <engine_to_be_tested>;
23 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t4;
24 USE db_storedproc_1;
25 create table t6(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
26 engine = <engine_to_be_tested>;
27 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t6;
28 USE db_storedproc;
29 create table t7 (f1 char(20), f2 char(25), f3 date, f4 int)
30 engine = <engine_to_be_tested>;
31 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t7.txt' into table t7;
32 Warnings:
33 Warning 1265 Data truncated for column 'f3' at row 1
34 Warning 1265 Data truncated for column 'f3' at row 2
35 Warning 1265 Data truncated for column 'f3' at row 3
36 Warning 1265 Data truncated for column 'f3' at row 4
37 Warning 1265 Data truncated for column 'f3' at row 5
38 Warning 1265 Data truncated for column 'f3' at row 6
39 Warning 1265 Data truncated for column 'f3' at row 7
40 Warning 1265 Data truncated for column 'f3' at row 8
41 Warning 1265 Data truncated for column 'f3' at row 9
42 Warning 1265 Data truncated for column 'f3' at row 10
43 create table t8 (f1 char(20), f2 char(25), f3 date, f4 int)
44 engine = <engine_to_be_tested>;
45 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t7.txt' into table t8;
46 Warnings:
47 Warning 1265 Data truncated for column 'f3' at row 1
48 Warning 1265 Data truncated for column 'f3' at row 2
49 Warning 1265 Data truncated for column 'f3' at row 3
50 Warning 1265 Data truncated for column 'f3' at row 4
51 Warning 1265 Data truncated for column 'f3' at row 5
52 Warning 1265 Data truncated for column 'f3' at row 6
53 Warning 1265 Data truncated for column 'f3' at row 7
54 Warning 1265 Data truncated for column 'f3' at row 8
55 Warning 1265 Data truncated for column 'f3' at row 9
56 Warning 1265 Data truncated for column 'f3' at row 10
57 create table t9(f1 int, f2 char(25), f3 int) engine = <engine_to_be_tested>;
58 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t9.txt' into table t9;
59 create table t10(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
60 engine = <engine_to_be_tested>;
61 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t10;
62 create table t11(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int)
63 engine = <engine_to_be_tested>;
64 load data infile '<MYSQLTEST_VARDIR>/std_data/funcs_1/t4.txt' into table t11;
65 SET sql_mode = default;
66 SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
67 set names latin1;
68
69 Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE
70 FUNCTION, ALTER PROCEDURE, ALTER FUNCTION, DROP PROCEDURE, DROP FUNCTION, SHOW
71 CREATE PROCEDURE, SHOW CREATE FUNCTION, SHOW CREATE PROCEDURE STATUS, SHOW
72 CREATE FUNCTION STATUS, and CALL statements:
73 --------------------------------------------------------------------------------
74
75 Testcase 4.1.1:
76 ---------------
77 Ensure that all clauses that should be supported are supported
78 CREATE PROCEDURE
79 --------------------------------------------------------------------------------
80 USE db_storedproc;
81 DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
82 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
83 CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 (f1 char(20) )
84 SELECT * from t1 where f2 = f1;
85 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
86 CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934('aaaa');
87 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
88 DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
89 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
90 CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 TINYTEXT )
91 LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'this is simple'
92 BEGIN
93 SET @v1 = f1;
94 SELECT @v1, @v1;
95 END//
96 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
97 CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' );
98 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
99 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
100 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
101 DROP PROCEDURE IF EXISTS sp1;
102 CREATE PROCEDURE sp1( f1 BINARY )
103 LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
104 BEGIN
105 SET @v1 = f1;
106 SELECT @v1;
107 END//
108 CALL sp1( 34 );
109 @v1
110 3
111 Warnings:
112 Warning 1265 Data truncated for column 'f1' at row 1
113 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
114 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
115 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
116 DROP PROCEDURE IF EXISTS sp1;
117 CREATE PROCEDURE sp1( f1 BLOB )
118 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
119 BEGIN
120 set @v1 = f1;
121 SELECT @v1;
122 END//
123 CALL sp1( 34 );
124 @v1
125 34
126 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
127 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
128 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
129 DROP PROCEDURE IF EXISTS sp1;
130 CREATE PROCEDURE sp1( f1 INT )
131 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
132 BEGIN
133 SET @v1 = f1;
134 SELECT @v1;
135 END//
136 CALL sp1( 34 );
137 @v1
138 34
139 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
140 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
141 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
142 DROP PROCEDURE IF EXISTS sp1;
143 CREATE PROCEDURE sp1( f1 DECIMAL(256, 30) )
144 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
145 BEGIN
146 SET @v1 = f1;
147 SELECT @v1;
148 END//
149 ERROR 42000: Too-big precision 256 specified for ''. Maximum is 65.
150 DROP PROCEDURE IF EXISTS sp1//
151 Warnings:
152 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
153 CREATE PROCEDURE sp1( f1 DECIMAL(66, 30) )
154 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
155 BEGIN
156 SET @v1 = f1;
157 SELECT @v1;
158 END//
159 ERROR 42000: Too-big precision 66 specified for ''. Maximum is 65.
160 DROP PROCEDURE IF EXISTS sp1//
161 Warnings:
162 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
163 DROP TABLE IF EXISTS t1_aux;
164 DROP PROCEDURE IF EXISTS sproc_1;
165 DROP FUNCTION IF EXISTS func_1;
166 CREATE TABLE t1_aux ( f1 DECIMAL(65, 30) );
167 INSERT INTO t1_aux SET f1 = NULL;
168 CREATE PROCEDURE sproc_1(f1 DECIMAL(65, 30), OUT f2 DECIMAL(65, 30))
169 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
170 BEGIN
171 SET f2 = NULL;
172 SET f2 = f1;
173 SET @v2_proc = f1;
174 END//
175 CREATE FUNCTION func_1(f1 DECIMAL(65, 30)) RETURNS DECIMAL(65,30)
176 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
177 BEGIN
178 RETURN f1;
179 END//
180 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
181 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
182 db_storedproc sproc_1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
183 SHOW FUNCTION STATUS WHERE db = 'db_storedproc';
184 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
185 db_storedproc func_1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
186 UPDATE t1_aux SET f1 = NULL;
187 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
188 UPDATE t1_aux SET f1 = 1.7976931348623157493578e+308;
189 SELECT f1 INTO @v1_tab FROM t1_aux;
190 CALL sproc_1(1.7976931348623157493578e+308, @v1_proc);
191 SET @v1_func = func_1(1.7976931348623157493578e+308);
192 UPDATE t1_aux SET f1 = NULL;
193 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
194 UPDATE t1_aux SET f1 = 0.1234567890987654321e+100;
195 SELECT f1 INTO @v1_tab FROM t1_aux;
196 CALL sproc_1(0.1234567890987654321e+100, @v1_proc);
197 SET @v1_func = func_1(0.1234567890987654321e+100);
198 UPDATE t1_aux SET f1 = NULL;
199 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
200 UPDATE t1_aux SET f1 = 0.1234567890987654321e+99;
201 SELECT f1 INTO @v1_tab FROM t1_aux;
202 CALL sproc_1(0.1234567890987654321e+99, @v1_proc);
203 SET @v1_func = func_1(0.1234567890987654321e+99);
204 UPDATE t1_aux SET f1 = NULL;
205 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
206 UPDATE t1_aux SET f1 = 0.1234567890987654321e+98;
207 SELECT f1 INTO @v1_tab FROM t1_aux;
208 CALL sproc_1(0.1234567890987654321e+98, @v1_proc);
209 SET @v1_func = func_1(0.1234567890987654321e+98);
210 UPDATE t1_aux SET f1 = NULL;
211 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
212 UPDATE t1_aux SET f1 = 0.1234567890987654321e+97;
213 SELECT f1 INTO @v1_tab FROM t1_aux;
214 CALL sproc_1(0.1234567890987654321e+97, @v1_proc);
215 SET @v1_func = func_1(0.1234567890987654321e+97);
216 UPDATE t1_aux SET f1 = NULL;
217 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
218 UPDATE t1_aux SET f1 = 0.1234567890987654321e+96;
219 SELECT f1 INTO @v1_tab FROM t1_aux;
220 CALL sproc_1(0.1234567890987654321e+96, @v1_proc);
221 SET @v1_func = func_1(0.1234567890987654321e+96);
222 UPDATE t1_aux SET f1 = NULL;
223 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
224 UPDATE t1_aux SET f1 = 0.1234567890987654321e+95;
225 SELECT f1 INTO @v1_tab FROM t1_aux;
226 CALL sproc_1(0.1234567890987654321e+95, @v1_proc);
227 SET @v1_func = func_1(0.1234567890987654321e+95);
228 UPDATE t1_aux SET f1 = NULL;
229 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
230 UPDATE t1_aux SET f1 = 0.1234567890987654321e+94;
231 SELECT f1 INTO @v1_tab FROM t1_aux;
232 CALL sproc_1(0.1234567890987654321e+94, @v1_proc);
233 SET @v1_func = func_1(0.1234567890987654321e+94);
234 UPDATE t1_aux SET f1 = NULL;
235 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
236 UPDATE t1_aux SET f1 = 0.1234567890987654321e+93;
237 SELECT f1 INTO @v1_tab FROM t1_aux;
238 CALL sproc_1(0.1234567890987654321e+93, @v1_proc);
239 SET @v1_func = func_1(0.1234567890987654321e+93);
240 UPDATE t1_aux SET f1 = NULL;
241 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
242 UPDATE t1_aux SET f1 = 0.1234567890987654321e+92;
243 SELECT f1 INTO @v1_tab FROM t1_aux;
244 CALL sproc_1(0.1234567890987654321e+92, @v1_proc);
245 SET @v1_func = func_1(0.1234567890987654321e+92);
246 UPDATE t1_aux SET f1 = NULL;
247 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
248 UPDATE t1_aux SET f1 = 0.1234567890987654321e+91;
249 SELECT f1 INTO @v1_tab FROM t1_aux;
250 CALL sproc_1(0.1234567890987654321e+91, @v1_proc);
251 SET @v1_func = func_1(0.1234567890987654321e+91);
252 UPDATE t1_aux SET f1 = NULL;
253 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
254 UPDATE t1_aux SET f1 = 0.1234567890987654321e+90;
255 SELECT f1 INTO @v1_tab FROM t1_aux;
256 CALL sproc_1(0.1234567890987654321e+90, @v1_proc);
257 SET @v1_func = func_1(0.1234567890987654321e+90);
258 UPDATE t1_aux SET f1 = NULL;
259 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
260 UPDATE t1_aux SET f1 = 0.1234567890987654321e+89;
261 SELECT f1 INTO @v1_tab FROM t1_aux;
262 CALL sproc_1(0.1234567890987654321e+89, @v1_proc);
263 SET @v1_func = func_1(0.1234567890987654321e+89);
264 UPDATE t1_aux SET f1 = NULL;
265 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
266 UPDATE t1_aux SET f1 = 0.1234567890987654321e+88;
267 SELECT f1 INTO @v1_tab FROM t1_aux;
268 CALL sproc_1(0.1234567890987654321e+88, @v1_proc);
269 SET @v1_func = func_1(0.1234567890987654321e+88);
270 UPDATE t1_aux SET f1 = NULL;
271 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
272 UPDATE t1_aux SET f1 = 0.1234567890987654321e+87;
273 SELECT f1 INTO @v1_tab FROM t1_aux;
274 CALL sproc_1(0.1234567890987654321e+87, @v1_proc);
275 SET @v1_func = func_1(0.1234567890987654321e+87);
276 UPDATE t1_aux SET f1 = NULL;
277 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
278 UPDATE t1_aux SET f1 = 0.1234567890987654321e+86;
279 SELECT f1 INTO @v1_tab FROM t1_aux;
280 CALL sproc_1(0.1234567890987654321e+86, @v1_proc);
281 SET @v1_func = func_1(0.1234567890987654321e+86);
282 UPDATE t1_aux SET f1 = NULL;
283 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
284 UPDATE t1_aux SET f1 = 0.1234567890987654321e+85;
285 SELECT f1 INTO @v1_tab FROM t1_aux;
286 CALL sproc_1(0.1234567890987654321e+85, @v1_proc);
287 SET @v1_func = func_1(0.1234567890987654321e+85);
288 UPDATE t1_aux SET f1 = NULL;
289 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
290 UPDATE t1_aux SET f1 = 0.1234567890987654321e+84;
291 SELECT f1 INTO @v1_tab FROM t1_aux;
292 CALL sproc_1(0.1234567890987654321e+84, @v1_proc);
293 SET @v1_func = func_1(0.1234567890987654321e+84);
294 UPDATE t1_aux SET f1 = NULL;
295 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
296 UPDATE t1_aux SET f1 = 0.1234567890987654321e+83;
297 SELECT f1 INTO @v1_tab FROM t1_aux;
298 CALL sproc_1(0.1234567890987654321e+83, @v1_proc);
299 SET @v1_func = func_1(0.1234567890987654321e+83);
300 UPDATE t1_aux SET f1 = NULL;
301 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
302 UPDATE t1_aux SET f1 = 0.1234567890987654321e+82;
303 SELECT f1 INTO @v1_tab FROM t1_aux;
304 CALL sproc_1(0.1234567890987654321e+82, @v1_proc);
305 SET @v1_func = func_1(0.1234567890987654321e+82);
306 UPDATE t1_aux SET f1 = NULL;
307 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
308 UPDATE t1_aux SET f1 = 0.1234567890987654321e+81;
309 SELECT f1 INTO @v1_tab FROM t1_aux;
310 CALL sproc_1(0.1234567890987654321e+81, @v1_proc);
311 SET @v1_func = func_1(0.1234567890987654321e+81);
312 UPDATE t1_aux SET f1 = NULL;
313 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
314 UPDATE t1_aux SET f1 = 0.1234567890987654321e+80;
315 SELECT f1 INTO @v1_tab FROM t1_aux;
316 CALL sproc_1(0.1234567890987654321e+80, @v1_proc);
317 SET @v1_func = func_1(0.1234567890987654321e+80);
318 UPDATE t1_aux SET f1 = NULL;
319 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
320 UPDATE t1_aux SET f1 = 0.1234567890987654321e+79;
321 SELECT f1 INTO @v1_tab FROM t1_aux;
322 CALL sproc_1(0.1234567890987654321e+79, @v1_proc);
323 SET @v1_func = func_1(0.1234567890987654321e+79);
324 UPDATE t1_aux SET f1 = NULL;
325 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
326 UPDATE t1_aux SET f1 = 0.1234567890987654321e+78;
327 SELECT f1 INTO @v1_tab FROM t1_aux;
328 CALL sproc_1(0.1234567890987654321e+78, @v1_proc);
329 SET @v1_func = func_1(0.1234567890987654321e+78);
330 UPDATE t1_aux SET f1 = NULL;
331 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
332 UPDATE t1_aux SET f1 = 0.1234567890987654321e+77;
333 SELECT f1 INTO @v1_tab FROM t1_aux;
334 CALL sproc_1(0.1234567890987654321e+77, @v1_proc);
335 SET @v1_func = func_1(0.1234567890987654321e+77);
336 UPDATE t1_aux SET f1 = NULL;
337 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
338 UPDATE t1_aux SET f1 = 0.1234567890987654321e+76;
339 SELECT f1 INTO @v1_tab FROM t1_aux;
340 CALL sproc_1(0.1234567890987654321e+76, @v1_proc);
341 SET @v1_func = func_1(0.1234567890987654321e+76);
342 UPDATE t1_aux SET f1 = NULL;
343 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
344 UPDATE t1_aux SET f1 = 0.1234567890987654321e+75;
345 SELECT f1 INTO @v1_tab FROM t1_aux;
346 CALL sproc_1(0.1234567890987654321e+75, @v1_proc);
347 SET @v1_func = func_1(0.1234567890987654321e+75);
348 UPDATE t1_aux SET f1 = NULL;
349 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
350 UPDATE t1_aux SET f1 = 0.1234567890987654321e+74;
351 SELECT f1 INTO @v1_tab FROM t1_aux;
352 CALL sproc_1(0.1234567890987654321e+74, @v1_proc);
353 SET @v1_func = func_1(0.1234567890987654321e+74);
354 UPDATE t1_aux SET f1 = NULL;
355 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
356 UPDATE t1_aux SET f1 = 0.1234567890987654321e+73;
357 SELECT f1 INTO @v1_tab FROM t1_aux;
358 CALL sproc_1(0.1234567890987654321e+73, @v1_proc);
359 SET @v1_func = func_1(0.1234567890987654321e+73);
360 UPDATE t1_aux SET f1 = NULL;
361 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
362 UPDATE t1_aux SET f1 = 0.1234567890987654321e+72;
363 SELECT f1 INTO @v1_tab FROM t1_aux;
364 CALL sproc_1(0.1234567890987654321e+72, @v1_proc);
365 SET @v1_func = func_1(0.1234567890987654321e+72);
366 UPDATE t1_aux SET f1 = NULL;
367 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
368 UPDATE t1_aux SET f1 = 0.1234567890987654321e+71;
369 SELECT f1 INTO @v1_tab FROM t1_aux;
370 CALL sproc_1(0.1234567890987654321e+71, @v1_proc);
371 SET @v1_func = func_1(0.1234567890987654321e+71);
372 UPDATE t1_aux SET f1 = NULL;
373 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
374 UPDATE t1_aux SET f1 = 0.1234567890987654321e+70;
375 SELECT f1 INTO @v1_tab FROM t1_aux;
376 CALL sproc_1(0.1234567890987654321e+70, @v1_proc);
377 SET @v1_func = func_1(0.1234567890987654321e+70);
378 UPDATE t1_aux SET f1 = NULL;
379 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
380 UPDATE t1_aux SET f1 = 0.1234567890987654321e+69;
381 SELECT f1 INTO @v1_tab FROM t1_aux;
382 CALL sproc_1(0.1234567890987654321e+69, @v1_proc);
383 SET @v1_func = func_1(0.1234567890987654321e+69);
384 UPDATE t1_aux SET f1 = NULL;
385 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
386 UPDATE t1_aux SET f1 = 0.1234567890987654321e+68;
387 SELECT f1 INTO @v1_tab FROM t1_aux;
388 CALL sproc_1(0.1234567890987654321e+68, @v1_proc);
389 SET @v1_func = func_1(0.1234567890987654321e+68);
390 UPDATE t1_aux SET f1 = NULL;
391 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
392 UPDATE t1_aux SET f1 = 0.1234567890987654321e+67;
393 SELECT f1 INTO @v1_tab FROM t1_aux;
394 CALL sproc_1(0.1234567890987654321e+67, @v1_proc);
395 SET @v1_func = func_1(0.1234567890987654321e+67);
396 UPDATE t1_aux SET f1 = NULL;
397 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
398 UPDATE t1_aux SET f1 = 0.1234567890987654321e+66;
399 SELECT f1 INTO @v1_tab FROM t1_aux;
400 CALL sproc_1(0.1234567890987654321e+66, @v1_proc);
401 SET @v1_func = func_1(0.1234567890987654321e+66);
402 UPDATE t1_aux SET f1 = NULL;
403 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
404 UPDATE t1_aux SET f1 = 0.1234567890987654321e+65;
405 SELECT f1 INTO @v1_tab FROM t1_aux;
406 CALL sproc_1(0.1234567890987654321e+65, @v1_proc);
407 SET @v1_func = func_1(0.1234567890987654321e+65);
408 UPDATE t1_aux SET f1 = NULL;
409 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
410 UPDATE t1_aux SET f1 = 0.1234567890987654321e+64;
411 SELECT f1 INTO @v1_tab FROM t1_aux;
412 CALL sproc_1(0.1234567890987654321e+64, @v1_proc);
413 SET @v1_func = func_1(0.1234567890987654321e+64);
414 UPDATE t1_aux SET f1 = NULL;
415 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
416 UPDATE t1_aux SET f1 = 0.1234567890987654321e+63;
417 SELECT f1 INTO @v1_tab FROM t1_aux;
418 CALL sproc_1(0.1234567890987654321e+63, @v1_proc);
419 SET @v1_func = func_1(0.1234567890987654321e+63);
420 UPDATE t1_aux SET f1 = NULL;
421 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
422 UPDATE t1_aux SET f1 = 0.1234567890987654321e+62;
423 SELECT f1 INTO @v1_tab FROM t1_aux;
424 CALL sproc_1(0.1234567890987654321e+62, @v1_proc);
425 SET @v1_func = func_1(0.1234567890987654321e+62);
426 UPDATE t1_aux SET f1 = NULL;
427 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
428 UPDATE t1_aux SET f1 = 0.1234567890987654321e+61;
429 SELECT f1 INTO @v1_tab FROM t1_aux;
430 CALL sproc_1(0.1234567890987654321e+61, @v1_proc);
431 SET @v1_func = func_1(0.1234567890987654321e+61);
432 UPDATE t1_aux SET f1 = NULL;
433 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
434 UPDATE t1_aux SET f1 = 0.1234567890987654321e+60;
435 SELECT f1 INTO @v1_tab FROM t1_aux;
436 CALL sproc_1(0.1234567890987654321e+60, @v1_proc);
437 SET @v1_func = func_1(0.1234567890987654321e+60);
438 UPDATE t1_aux SET f1 = NULL;
439 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
440 UPDATE t1_aux SET f1 = 0.1234567890987654321e+59;
441 SELECT f1 INTO @v1_tab FROM t1_aux;
442 CALL sproc_1(0.1234567890987654321e+59, @v1_proc);
443 SET @v1_func = func_1(0.1234567890987654321e+59);
444 UPDATE t1_aux SET f1 = NULL;
445 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
446 UPDATE t1_aux SET f1 = 0.1234567890987654321e+58;
447 SELECT f1 INTO @v1_tab FROM t1_aux;
448 CALL sproc_1(0.1234567890987654321e+58, @v1_proc);
449 SET @v1_func = func_1(0.1234567890987654321e+58);
450 UPDATE t1_aux SET f1 = NULL;
451 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
452 UPDATE t1_aux SET f1 = 0.1234567890987654321e+57;
453 SELECT f1 INTO @v1_tab FROM t1_aux;
454 CALL sproc_1(0.1234567890987654321e+57, @v1_proc);
455 SET @v1_func = func_1(0.1234567890987654321e+57);
456 UPDATE t1_aux SET f1 = NULL;
457 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
458 UPDATE t1_aux SET f1 = 0.1234567890987654321e+56;
459 SELECT f1 INTO @v1_tab FROM t1_aux;
460 CALL sproc_1(0.1234567890987654321e+56, @v1_proc);
461 SET @v1_func = func_1(0.1234567890987654321e+56);
462 UPDATE t1_aux SET f1 = NULL;
463 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
464 UPDATE t1_aux SET f1 = 0.1234567890987654321e+55;
465 SELECT f1 INTO @v1_tab FROM t1_aux;
466 CALL sproc_1(0.1234567890987654321e+55, @v1_proc);
467 SET @v1_func = func_1(0.1234567890987654321e+55);
468 UPDATE t1_aux SET f1 = NULL;
469 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
470 UPDATE t1_aux SET f1 = 0.1234567890987654321e+54;
471 SELECT f1 INTO @v1_tab FROM t1_aux;
472 CALL sproc_1(0.1234567890987654321e+54, @v1_proc);
473 SET @v1_func = func_1(0.1234567890987654321e+54);
474 UPDATE t1_aux SET f1 = NULL;
475 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
476 UPDATE t1_aux SET f1 = 0.1234567890987654321e+53;
477 SELECT f1 INTO @v1_tab FROM t1_aux;
478 CALL sproc_1(0.1234567890987654321e+53, @v1_proc);
479 SET @v1_func = func_1(0.1234567890987654321e+53);
480 UPDATE t1_aux SET f1 = NULL;
481 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
482 UPDATE t1_aux SET f1 = 0.1234567890987654321e+52;
483 SELECT f1 INTO @v1_tab FROM t1_aux;
484 CALL sproc_1(0.1234567890987654321e+52, @v1_proc);
485 SET @v1_func = func_1(0.1234567890987654321e+52);
486 UPDATE t1_aux SET f1 = NULL;
487 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
488 UPDATE t1_aux SET f1 = 0.1234567890987654321e+51;
489 SELECT f1 INTO @v1_tab FROM t1_aux;
490 CALL sproc_1(0.1234567890987654321e+51, @v1_proc);
491 SET @v1_func = func_1(0.1234567890987654321e+51);
492 UPDATE t1_aux SET f1 = NULL;
493 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
494 UPDATE t1_aux SET f1 = 0.1234567890987654321e+50;
495 SELECT f1 INTO @v1_tab FROM t1_aux;
496 CALL sproc_1(0.1234567890987654321e+50, @v1_proc);
497 SET @v1_func = func_1(0.1234567890987654321e+50);
498 UPDATE t1_aux SET f1 = NULL;
499 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
500 UPDATE t1_aux SET f1 = 0.1234567890987654321e+49;
501 SELECT f1 INTO @v1_tab FROM t1_aux;
502 CALL sproc_1(0.1234567890987654321e+49, @v1_proc);
503 SET @v1_func = func_1(0.1234567890987654321e+49);
504 UPDATE t1_aux SET f1 = NULL;
505 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
506 UPDATE t1_aux SET f1 = 0.1234567890987654321e+48;
507 SELECT f1 INTO @v1_tab FROM t1_aux;
508 CALL sproc_1(0.1234567890987654321e+48, @v1_proc);
509 SET @v1_func = func_1(0.1234567890987654321e+48);
510 UPDATE t1_aux SET f1 = NULL;
511 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
512 UPDATE t1_aux SET f1 = 0.1234567890987654321e+47;
513 SELECT f1 INTO @v1_tab FROM t1_aux;
514 CALL sproc_1(0.1234567890987654321e+47, @v1_proc);
515 SET @v1_func = func_1(0.1234567890987654321e+47);
516 UPDATE t1_aux SET f1 = NULL;
517 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
518 UPDATE t1_aux SET f1 = 0.1234567890987654321e+46;
519 SELECT f1 INTO @v1_tab FROM t1_aux;
520 CALL sproc_1(0.1234567890987654321e+46, @v1_proc);
521 SET @v1_func = func_1(0.1234567890987654321e+46);
522 UPDATE t1_aux SET f1 = NULL;
523 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
524 UPDATE t1_aux SET f1 = 0.1234567890987654321e+45;
525 SELECT f1 INTO @v1_tab FROM t1_aux;
526 CALL sproc_1(0.1234567890987654321e+45, @v1_proc);
527 SET @v1_func = func_1(0.1234567890987654321e+45);
528 UPDATE t1_aux SET f1 = NULL;
529 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
530 UPDATE t1_aux SET f1 = 0.1234567890987654321e+44;
531 SELECT f1 INTO @v1_tab FROM t1_aux;
532 CALL sproc_1(0.1234567890987654321e+44, @v1_proc);
533 SET @v1_func = func_1(0.1234567890987654321e+44);
534 UPDATE t1_aux SET f1 = NULL;
535 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
536 UPDATE t1_aux SET f1 = 0.1234567890987654321e+43;
537 SELECT f1 INTO @v1_tab FROM t1_aux;
538 CALL sproc_1(0.1234567890987654321e+43, @v1_proc);
539 SET @v1_func = func_1(0.1234567890987654321e+43);
540 UPDATE t1_aux SET f1 = NULL;
541 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
542 UPDATE t1_aux SET f1 = 0.1234567890987654321e+42;
543 SELECT f1 INTO @v1_tab FROM t1_aux;
544 CALL sproc_1(0.1234567890987654321e+42, @v1_proc);
545 SET @v1_func = func_1(0.1234567890987654321e+42);
546 UPDATE t1_aux SET f1 = NULL;
547 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
548 UPDATE t1_aux SET f1 = 0.1234567890987654321e+41;
549 SELECT f1 INTO @v1_tab FROM t1_aux;
550 CALL sproc_1(0.1234567890987654321e+41, @v1_proc);
551 SET @v1_func = func_1(0.1234567890987654321e+41);
552 UPDATE t1_aux SET f1 = NULL;
553 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
554 UPDATE t1_aux SET f1 = 0.1234567890987654321e+40;
555 SELECT f1 INTO @v1_tab FROM t1_aux;
556 CALL sproc_1(0.1234567890987654321e+40, @v1_proc);
557 SET @v1_func = func_1(0.1234567890987654321e+40);
558 UPDATE t1_aux SET f1 = NULL;
559 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
560 UPDATE t1_aux SET f1 = 0.1234567890987654321e+39;
561 SELECT f1 INTO @v1_tab FROM t1_aux;
562 CALL sproc_1(0.1234567890987654321e+39, @v1_proc);
563 SET @v1_func = func_1(0.1234567890987654321e+39);
564 UPDATE t1_aux SET f1 = NULL;
565 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
566 UPDATE t1_aux SET f1 = 0.1234567890987654321e+38;
567 SELECT f1 INTO @v1_tab FROM t1_aux;
568 CALL sproc_1(0.1234567890987654321e+38, @v1_proc);
569 SET @v1_func = func_1(0.1234567890987654321e+38);
570 UPDATE t1_aux SET f1 = NULL;
571 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
572 UPDATE t1_aux SET f1 = 0.1234567890987654321e+37;
573 SELECT f1 INTO @v1_tab FROM t1_aux;
574 CALL sproc_1(0.1234567890987654321e+37, @v1_proc);
575 SET @v1_func = func_1(0.1234567890987654321e+37);
576 UPDATE t1_aux SET f1 = NULL;
577 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
578 UPDATE t1_aux SET f1 = 0.1234567890987654321e+36;
579 SELECT f1 INTO @v1_tab FROM t1_aux;
580 CALL sproc_1(0.1234567890987654321e+36, @v1_proc);
581 SET @v1_func = func_1(0.1234567890987654321e+36);
582 UPDATE t1_aux SET f1 = NULL;
583 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
584 UPDATE t1_aux SET f1 = 0.1234567890987654321e+35;
585 SELECT f1 INTO @v1_tab FROM t1_aux;
586 CALL sproc_1(0.1234567890987654321e+35, @v1_proc);
587 SET @v1_func = func_1(0.1234567890987654321e+35);
588 UPDATE t1_aux SET f1 = NULL;
589 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
590 UPDATE t1_aux SET f1 = 0.1234567890987654321e+34;
591 SELECT f1 INTO @v1_tab FROM t1_aux;
592 CALL sproc_1(0.1234567890987654321e+34, @v1_proc);
593 SET @v1_func = func_1(0.1234567890987654321e+34);
594 UPDATE t1_aux SET f1 = NULL;
595 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
596 UPDATE t1_aux SET f1 = 0.1234567890987654321e+33;
597 SELECT f1 INTO @v1_tab FROM t1_aux;
598 CALL sproc_1(0.1234567890987654321e+33, @v1_proc);
599 SET @v1_func = func_1(0.1234567890987654321e+33);
600 UPDATE t1_aux SET f1 = NULL;
601 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
602 UPDATE t1_aux SET f1 = 0.1234567890987654321e+32;
603 SELECT f1 INTO @v1_tab FROM t1_aux;
604 CALL sproc_1(0.1234567890987654321e+32, @v1_proc);
605 SET @v1_func = func_1(0.1234567890987654321e+32);
606 UPDATE t1_aux SET f1 = NULL;
607 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
608 UPDATE t1_aux SET f1 = 0.1234567890987654321e+31;
609 SELECT f1 INTO @v1_tab FROM t1_aux;
610 CALL sproc_1(0.1234567890987654321e+31, @v1_proc);
611 SET @v1_func = func_1(0.1234567890987654321e+31);
612 UPDATE t1_aux SET f1 = NULL;
613 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
614 UPDATE t1_aux SET f1 = 0.1234567890987654321e+30;
615 SELECT f1 INTO @v1_tab FROM t1_aux;
616 CALL sproc_1(0.1234567890987654321e+30, @v1_proc);
617 SET @v1_func = func_1(0.1234567890987654321e+30);
618 UPDATE t1_aux SET f1 = NULL;
619 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
620 UPDATE t1_aux SET f1 = 0.1234567890987654321e+29;
621 SELECT f1 INTO @v1_tab FROM t1_aux;
622 CALL sproc_1(0.1234567890987654321e+29, @v1_proc);
623 SET @v1_func = func_1(0.1234567890987654321e+29);
624 UPDATE t1_aux SET f1 = NULL;
625 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
626 UPDATE t1_aux SET f1 = 0.1234567890987654321e+28;
627 SELECT f1 INTO @v1_tab FROM t1_aux;
628 CALL sproc_1(0.1234567890987654321e+28, @v1_proc);
629 SET @v1_func = func_1(0.1234567890987654321e+28);
630 UPDATE t1_aux SET f1 = NULL;
631 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
632 UPDATE t1_aux SET f1 = 0.1234567890987654321e+27;
633 SELECT f1 INTO @v1_tab FROM t1_aux;
634 CALL sproc_1(0.1234567890987654321e+27, @v1_proc);
635 SET @v1_func = func_1(0.1234567890987654321e+27);
636 UPDATE t1_aux SET f1 = NULL;
637 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
638 UPDATE t1_aux SET f1 = 0.1234567890987654321e+26;
639 SELECT f1 INTO @v1_tab FROM t1_aux;
640 CALL sproc_1(0.1234567890987654321e+26, @v1_proc);
641 SET @v1_func = func_1(0.1234567890987654321e+26);
642 UPDATE t1_aux SET f1 = NULL;
643 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
644 UPDATE t1_aux SET f1 = 0.1234567890987654321e+25;
645 SELECT f1 INTO @v1_tab FROM t1_aux;
646 CALL sproc_1(0.1234567890987654321e+25, @v1_proc);
647 SET @v1_func = func_1(0.1234567890987654321e+25);
648 UPDATE t1_aux SET f1 = NULL;
649 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
650 UPDATE t1_aux SET f1 = 0.1234567890987654321e+24;
651 SELECT f1 INTO @v1_tab FROM t1_aux;
652 CALL sproc_1(0.1234567890987654321e+24, @v1_proc);
653 SET @v1_func = func_1(0.1234567890987654321e+24);
654 UPDATE t1_aux SET f1 = NULL;
655 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
656 UPDATE t1_aux SET f1 = 0.1234567890987654321e+23;
657 SELECT f1 INTO @v1_tab FROM t1_aux;
658 CALL sproc_1(0.1234567890987654321e+23, @v1_proc);
659 SET @v1_func = func_1(0.1234567890987654321e+23);
660 UPDATE t1_aux SET f1 = NULL;
661 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
662 UPDATE t1_aux SET f1 = 0.1234567890987654321e+22;
663 SELECT f1 INTO @v1_tab FROM t1_aux;
664 CALL sproc_1(0.1234567890987654321e+22, @v1_proc);
665 SET @v1_func = func_1(0.1234567890987654321e+22);
666 UPDATE t1_aux SET f1 = NULL;
667 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
668 UPDATE t1_aux SET f1 = 0.1234567890987654321e+21;
669 SELECT f1 INTO @v1_tab FROM t1_aux;
670 CALL sproc_1(0.1234567890987654321e+21, @v1_proc);
671 SET @v1_func = func_1(0.1234567890987654321e+21);
672 UPDATE t1_aux SET f1 = NULL;
673 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
674 UPDATE t1_aux SET f1 = 0.1234567890987654321e+20;
675 SELECT f1 INTO @v1_tab FROM t1_aux;
676 CALL sproc_1(0.1234567890987654321e+20, @v1_proc);
677 SET @v1_func = func_1(0.1234567890987654321e+20);
678 UPDATE t1_aux SET f1 = NULL;
679 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
680 UPDATE t1_aux SET f1 = 0.1234567890987654321e+19;
681 SELECT f1 INTO @v1_tab FROM t1_aux;
682 CALL sproc_1(0.1234567890987654321e+19, @v1_proc);
683 SET @v1_func = func_1(0.1234567890987654321e+19);
684 UPDATE t1_aux SET f1 = NULL;
685 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
686 UPDATE t1_aux SET f1 = 0.1234567890987654321e+18;
687 SELECT f1 INTO @v1_tab FROM t1_aux;
688 CALL sproc_1(0.1234567890987654321e+18, @v1_proc);
689 SET @v1_func = func_1(0.1234567890987654321e+18);
690 UPDATE t1_aux SET f1 = NULL;
691 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
692 UPDATE t1_aux SET f1 = 0.1234567890987654321e+17;
693 SELECT f1 INTO @v1_tab FROM t1_aux;
694 CALL sproc_1(0.1234567890987654321e+17, @v1_proc);
695 SET @v1_func = func_1(0.1234567890987654321e+17);
696 UPDATE t1_aux SET f1 = NULL;
697 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
698 UPDATE t1_aux SET f1 = 0.1234567890987654321e+16;
699 SELECT f1 INTO @v1_tab FROM t1_aux;
700 CALL sproc_1(0.1234567890987654321e+16, @v1_proc);
701 SET @v1_func = func_1(0.1234567890987654321e+16);
702 UPDATE t1_aux SET f1 = NULL;
703 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
704 UPDATE t1_aux SET f1 = 0.1234567890987654321e+15;
705 SELECT f1 INTO @v1_tab FROM t1_aux;
706 CALL sproc_1(0.1234567890987654321e+15, @v1_proc);
707 SET @v1_func = func_1(0.1234567890987654321e+15);
708 UPDATE t1_aux SET f1 = NULL;
709 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
710 UPDATE t1_aux SET f1 = 0.1234567890987654321e+14;
711 SELECT f1 INTO @v1_tab FROM t1_aux;
712 CALL sproc_1(0.1234567890987654321e+14, @v1_proc);
713 SET @v1_func = func_1(0.1234567890987654321e+14);
714 UPDATE t1_aux SET f1 = NULL;
715 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
716 UPDATE t1_aux SET f1 = 0.1234567890987654321e+13;
717 SELECT f1 INTO @v1_tab FROM t1_aux;
718 CALL sproc_1(0.1234567890987654321e+13, @v1_proc);
719 SET @v1_func = func_1(0.1234567890987654321e+13);
720 UPDATE t1_aux SET f1 = NULL;
721 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
722 UPDATE t1_aux SET f1 = 0.1234567890987654321e+12;
723 SELECT f1 INTO @v1_tab FROM t1_aux;
724 CALL sproc_1(0.1234567890987654321e+12, @v1_proc);
725 SET @v1_func = func_1(0.1234567890987654321e+12);
726 UPDATE t1_aux SET f1 = NULL;
727 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
728 UPDATE t1_aux SET f1 = 0.1234567890987654321e+11;
729 SELECT f1 INTO @v1_tab FROM t1_aux;
730 CALL sproc_1(0.1234567890987654321e+11, @v1_proc);
731 SET @v1_func = func_1(0.1234567890987654321e+11);
732 UPDATE t1_aux SET f1 = NULL;
733 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
734 UPDATE t1_aux SET f1 = 0.1234567890987654321e+10;
735 SELECT f1 INTO @v1_tab FROM t1_aux;
736 CALL sproc_1(0.1234567890987654321e+10, @v1_proc);
737 SET @v1_func = func_1(0.1234567890987654321e+10);
738 UPDATE t1_aux SET f1 = NULL;
739 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
740 UPDATE t1_aux SET f1 = 0.1234567890987654321e+9;
741 SELECT f1 INTO @v1_tab FROM t1_aux;
742 CALL sproc_1(0.1234567890987654321e+9, @v1_proc);
743 SET @v1_func = func_1(0.1234567890987654321e+9);
744 UPDATE t1_aux SET f1 = NULL;
745 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
746 UPDATE t1_aux SET f1 = 0.1234567890987654321e+8;
747 SELECT f1 INTO @v1_tab FROM t1_aux;
748 CALL sproc_1(0.1234567890987654321e+8, @v1_proc);
749 SET @v1_func = func_1(0.1234567890987654321e+8);
750 UPDATE t1_aux SET f1 = NULL;
751 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
752 UPDATE t1_aux SET f1 = 0.1234567890987654321e+7;
753 SELECT f1 INTO @v1_tab FROM t1_aux;
754 CALL sproc_1(0.1234567890987654321e+7, @v1_proc);
755 SET @v1_func = func_1(0.1234567890987654321e+7);
756 UPDATE t1_aux SET f1 = NULL;
757 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
758 UPDATE t1_aux SET f1 = 0.1234567890987654321e+6;
759 SELECT f1 INTO @v1_tab FROM t1_aux;
760 CALL sproc_1(0.1234567890987654321e+6, @v1_proc);
761 SET @v1_func = func_1(0.1234567890987654321e+6);
762 UPDATE t1_aux SET f1 = NULL;
763 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
764 UPDATE t1_aux SET f1 = 0.1234567890987654321e+5;
765 SELECT f1 INTO @v1_tab FROM t1_aux;
766 CALL sproc_1(0.1234567890987654321e+5, @v1_proc);
767 SET @v1_func = func_1(0.1234567890987654321e+5);
768 UPDATE t1_aux SET f1 = NULL;
769 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
770 UPDATE t1_aux SET f1 = 0.1234567890987654321e+4;
771 SELECT f1 INTO @v1_tab FROM t1_aux;
772 CALL sproc_1(0.1234567890987654321e+4, @v1_proc);
773 SET @v1_func = func_1(0.1234567890987654321e+4);
774 UPDATE t1_aux SET f1 = NULL;
775 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
776 UPDATE t1_aux SET f1 = 0.1234567890987654321e+3;
777 SELECT f1 INTO @v1_tab FROM t1_aux;
778 CALL sproc_1(0.1234567890987654321e+3, @v1_proc);
779 SET @v1_func = func_1(0.1234567890987654321e+3);
780 UPDATE t1_aux SET f1 = NULL;
781 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
782 UPDATE t1_aux SET f1 = 0.1234567890987654321e+2;
783 SELECT f1 INTO @v1_tab FROM t1_aux;
784 CALL sproc_1(0.1234567890987654321e+2, @v1_proc);
785 SET @v1_func = func_1(0.1234567890987654321e+2);
786 UPDATE t1_aux SET f1 = NULL;
787 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
788 UPDATE t1_aux SET f1 = 0.1234567890987654321e+1;
789 SELECT f1 INTO @v1_tab FROM t1_aux;
790 CALL sproc_1(0.1234567890987654321e+1, @v1_proc);
791 SET @v1_func = func_1(0.1234567890987654321e+1);
792 UPDATE t1_aux SET f1 = NULL;
793 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
794 UPDATE t1_aux SET f1 = 0.1234567890987654321e+0;
795 SELECT f1 INTO @v1_tab FROM t1_aux;
796 CALL sproc_1(0.1234567890987654321e+0, @v1_proc);
797 SET @v1_func = func_1(0.1234567890987654321e+0);
798 UPDATE t1_aux SET f1 = NULL;
799 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
800 UPDATE t1_aux SET f1 = 0.1234567890987654321e-100;
801 SELECT f1 INTO @v1_tab FROM t1_aux;
802 CALL sproc_1(0.1234567890987654321e-100, @v1_proc);
803 SET @v1_func = func_1(0.1234567890987654321e-100);
804 UPDATE t1_aux SET f1 = NULL;
805 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
806 UPDATE t1_aux SET f1 = 0.1234567890987654321e-99;
807 SELECT f1 INTO @v1_tab FROM t1_aux;
808 CALL sproc_1(0.1234567890987654321e-99, @v1_proc);
809 SET @v1_func = func_1(0.1234567890987654321e-99);
810 UPDATE t1_aux SET f1 = NULL;
811 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
812 UPDATE t1_aux SET f1 = 0.1234567890987654321e-98;
813 SELECT f1 INTO @v1_tab FROM t1_aux;
814 CALL sproc_1(0.1234567890987654321e-98, @v1_proc);
815 SET @v1_func = func_1(0.1234567890987654321e-98);
816 UPDATE t1_aux SET f1 = NULL;
817 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
818 UPDATE t1_aux SET f1 = 0.1234567890987654321e-97;
819 SELECT f1 INTO @v1_tab FROM t1_aux;
820 CALL sproc_1(0.1234567890987654321e-97, @v1_proc);
821 SET @v1_func = func_1(0.1234567890987654321e-97);
822 UPDATE t1_aux SET f1 = NULL;
823 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
824 UPDATE t1_aux SET f1 = 0.1234567890987654321e-96;
825 SELECT f1 INTO @v1_tab FROM t1_aux;
826 CALL sproc_1(0.1234567890987654321e-96, @v1_proc);
827 SET @v1_func = func_1(0.1234567890987654321e-96);
828 UPDATE t1_aux SET f1 = NULL;
829 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
830 UPDATE t1_aux SET f1 = 0.1234567890987654321e-95;
831 SELECT f1 INTO @v1_tab FROM t1_aux;
832 CALL sproc_1(0.1234567890987654321e-95, @v1_proc);
833 SET @v1_func = func_1(0.1234567890987654321e-95);
834 UPDATE t1_aux SET f1 = NULL;
835 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
836 UPDATE t1_aux SET f1 = 0.1234567890987654321e-94;
837 SELECT f1 INTO @v1_tab FROM t1_aux;
838 CALL sproc_1(0.1234567890987654321e-94, @v1_proc);
839 SET @v1_func = func_1(0.1234567890987654321e-94);
840 UPDATE t1_aux SET f1 = NULL;
841 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
842 UPDATE t1_aux SET f1 = 0.1234567890987654321e-93;
843 SELECT f1 INTO @v1_tab FROM t1_aux;
844 CALL sproc_1(0.1234567890987654321e-93, @v1_proc);
845 SET @v1_func = func_1(0.1234567890987654321e-93);
846 UPDATE t1_aux SET f1 = NULL;
847 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
848 UPDATE t1_aux SET f1 = 0.1234567890987654321e-92;
849 SELECT f1 INTO @v1_tab FROM t1_aux;
850 CALL sproc_1(0.1234567890987654321e-92, @v1_proc);
851 SET @v1_func = func_1(0.1234567890987654321e-92);
852 UPDATE t1_aux SET f1 = NULL;
853 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
854 UPDATE t1_aux SET f1 = 0.1234567890987654321e-91;
855 SELECT f1 INTO @v1_tab FROM t1_aux;
856 CALL sproc_1(0.1234567890987654321e-91, @v1_proc);
857 SET @v1_func = func_1(0.1234567890987654321e-91);
858 UPDATE t1_aux SET f1 = NULL;
859 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
860 UPDATE t1_aux SET f1 = 0.1234567890987654321e-90;
861 SELECT f1 INTO @v1_tab FROM t1_aux;
862 CALL sproc_1(0.1234567890987654321e-90, @v1_proc);
863 SET @v1_func = func_1(0.1234567890987654321e-90);
864 UPDATE t1_aux SET f1 = NULL;
865 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
866 UPDATE t1_aux SET f1 = 0.1234567890987654321e-89;
867 SELECT f1 INTO @v1_tab FROM t1_aux;
868 CALL sproc_1(0.1234567890987654321e-89, @v1_proc);
869 SET @v1_func = func_1(0.1234567890987654321e-89);
870 UPDATE t1_aux SET f1 = NULL;
871 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
872 UPDATE t1_aux SET f1 = 0.1234567890987654321e-88;
873 SELECT f1 INTO @v1_tab FROM t1_aux;
874 CALL sproc_1(0.1234567890987654321e-88, @v1_proc);
875 SET @v1_func = func_1(0.1234567890987654321e-88);
876 UPDATE t1_aux SET f1 = NULL;
877 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
878 UPDATE t1_aux SET f1 = 0.1234567890987654321e-87;
879 SELECT f1 INTO @v1_tab FROM t1_aux;
880 CALL sproc_1(0.1234567890987654321e-87, @v1_proc);
881 SET @v1_func = func_1(0.1234567890987654321e-87);
882 UPDATE t1_aux SET f1 = NULL;
883 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
884 UPDATE t1_aux SET f1 = 0.1234567890987654321e-86;
885 SELECT f1 INTO @v1_tab FROM t1_aux;
886 CALL sproc_1(0.1234567890987654321e-86, @v1_proc);
887 SET @v1_func = func_1(0.1234567890987654321e-86);
888 UPDATE t1_aux SET f1 = NULL;
889 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
890 UPDATE t1_aux SET f1 = 0.1234567890987654321e-85;
891 SELECT f1 INTO @v1_tab FROM t1_aux;
892 CALL sproc_1(0.1234567890987654321e-85, @v1_proc);
893 SET @v1_func = func_1(0.1234567890987654321e-85);
894 UPDATE t1_aux SET f1 = NULL;
895 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
896 UPDATE t1_aux SET f1 = 0.1234567890987654321e-84;
897 SELECT f1 INTO @v1_tab FROM t1_aux;
898 CALL sproc_1(0.1234567890987654321e-84, @v1_proc);
899 SET @v1_func = func_1(0.1234567890987654321e-84);
900 UPDATE t1_aux SET f1 = NULL;
901 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
902 UPDATE t1_aux SET f1 = 0.1234567890987654321e-83;
903 SELECT f1 INTO @v1_tab FROM t1_aux;
904 CALL sproc_1(0.1234567890987654321e-83, @v1_proc);
905 SET @v1_func = func_1(0.1234567890987654321e-83);
906 UPDATE t1_aux SET f1 = NULL;
907 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
908 UPDATE t1_aux SET f1 = 0.1234567890987654321e-82;
909 SELECT f1 INTO @v1_tab FROM t1_aux;
910 CALL sproc_1(0.1234567890987654321e-82, @v1_proc);
911 SET @v1_func = func_1(0.1234567890987654321e-82);
912 UPDATE t1_aux SET f1 = NULL;
913 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
914 UPDATE t1_aux SET f1 = 0.1234567890987654321e-81;
915 SELECT f1 INTO @v1_tab FROM t1_aux;
916 CALL sproc_1(0.1234567890987654321e-81, @v1_proc);
917 SET @v1_func = func_1(0.1234567890987654321e-81);
918 UPDATE t1_aux SET f1 = NULL;
919 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
920 UPDATE t1_aux SET f1 = 0.1234567890987654321e-80;
921 SELECT f1 INTO @v1_tab FROM t1_aux;
922 CALL sproc_1(0.1234567890987654321e-80, @v1_proc);
923 SET @v1_func = func_1(0.1234567890987654321e-80);
924 UPDATE t1_aux SET f1 = NULL;
925 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
926 UPDATE t1_aux SET f1 = 0.1234567890987654321e-79;
927 SELECT f1 INTO @v1_tab FROM t1_aux;
928 CALL sproc_1(0.1234567890987654321e-79, @v1_proc);
929 SET @v1_func = func_1(0.1234567890987654321e-79);
930 UPDATE t1_aux SET f1 = NULL;
931 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
932 UPDATE t1_aux SET f1 = 0.1234567890987654321e-78;
933 SELECT f1 INTO @v1_tab FROM t1_aux;
934 CALL sproc_1(0.1234567890987654321e-78, @v1_proc);
935 SET @v1_func = func_1(0.1234567890987654321e-78);
936 UPDATE t1_aux SET f1 = NULL;
937 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
938 UPDATE t1_aux SET f1 = 0.1234567890987654321e-77;
939 SELECT f1 INTO @v1_tab FROM t1_aux;
940 CALL sproc_1(0.1234567890987654321e-77, @v1_proc);
941 SET @v1_func = func_1(0.1234567890987654321e-77);
942 UPDATE t1_aux SET f1 = NULL;
943 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
944 UPDATE t1_aux SET f1 = 0.1234567890987654321e-76;
945 SELECT f1 INTO @v1_tab FROM t1_aux;
946 CALL sproc_1(0.1234567890987654321e-76, @v1_proc);
947 SET @v1_func = func_1(0.1234567890987654321e-76);
948 UPDATE t1_aux SET f1 = NULL;
949 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
950 UPDATE t1_aux SET f1 = 0.1234567890987654321e-75;
951 SELECT f1 INTO @v1_tab FROM t1_aux;
952 CALL sproc_1(0.1234567890987654321e-75, @v1_proc);
953 SET @v1_func = func_1(0.1234567890987654321e-75);
954 UPDATE t1_aux SET f1 = NULL;
955 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
956 UPDATE t1_aux SET f1 = 0.1234567890987654321e-74;
957 SELECT f1 INTO @v1_tab FROM t1_aux;
958 CALL sproc_1(0.1234567890987654321e-74, @v1_proc);
959 SET @v1_func = func_1(0.1234567890987654321e-74);
960 UPDATE t1_aux SET f1 = NULL;
961 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
962 UPDATE t1_aux SET f1 = 0.1234567890987654321e-73;
963 SELECT f1 INTO @v1_tab FROM t1_aux;
964 CALL sproc_1(0.1234567890987654321e-73, @v1_proc);
965 SET @v1_func = func_1(0.1234567890987654321e-73);
966 UPDATE t1_aux SET f1 = NULL;
967 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
968 UPDATE t1_aux SET f1 = 0.1234567890987654321e-72;
969 SELECT f1 INTO @v1_tab FROM t1_aux;
970 CALL sproc_1(0.1234567890987654321e-72, @v1_proc);
971 SET @v1_func = func_1(0.1234567890987654321e-72);
972 UPDATE t1_aux SET f1 = NULL;
973 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
974 UPDATE t1_aux SET f1 = 0.1234567890987654321e-71;
975 SELECT f1 INTO @v1_tab FROM t1_aux;
976 CALL sproc_1(0.1234567890987654321e-71, @v1_proc);
977 SET @v1_func = func_1(0.1234567890987654321e-71);
978 UPDATE t1_aux SET f1 = NULL;
979 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
980 UPDATE t1_aux SET f1 = 0.1234567890987654321e-70;
981 SELECT f1 INTO @v1_tab FROM t1_aux;
982 CALL sproc_1(0.1234567890987654321e-70, @v1_proc);
983 SET @v1_func = func_1(0.1234567890987654321e-70);
984 UPDATE t1_aux SET f1 = NULL;
985 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
986 UPDATE t1_aux SET f1 = 0.1234567890987654321e-69;
987 SELECT f1 INTO @v1_tab FROM t1_aux;
988 CALL sproc_1(0.1234567890987654321e-69, @v1_proc);
989 SET @v1_func = func_1(0.1234567890987654321e-69);
990 UPDATE t1_aux SET f1 = NULL;
991 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
992 UPDATE t1_aux SET f1 = 0.1234567890987654321e-68;
993 SELECT f1 INTO @v1_tab FROM t1_aux;
994 CALL sproc_1(0.1234567890987654321e-68, @v1_proc);
995 SET @v1_func = func_1(0.1234567890987654321e-68);
996 UPDATE t1_aux SET f1 = NULL;
997 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
998 UPDATE t1_aux SET f1 = 0.1234567890987654321e-67;
999 SELECT f1 INTO @v1_tab FROM t1_aux;
1000 CALL sproc_1(0.1234567890987654321e-67, @v1_proc);
1001 SET @v1_func = func_1(0.1234567890987654321e-67);
1002 UPDATE t1_aux SET f1 = NULL;
1003 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1004 UPDATE t1_aux SET f1 = 0.1234567890987654321e-66;
1005 SELECT f1 INTO @v1_tab FROM t1_aux;
1006 CALL sproc_1(0.1234567890987654321e-66, @v1_proc);
1007 SET @v1_func = func_1(0.1234567890987654321e-66);
1008 UPDATE t1_aux SET f1 = NULL;
1009 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1010 UPDATE t1_aux SET f1 = 0.1234567890987654321e-65;
1011 SELECT f1 INTO @v1_tab FROM t1_aux;
1012 CALL sproc_1(0.1234567890987654321e-65, @v1_proc);
1013 SET @v1_func = func_1(0.1234567890987654321e-65);
1014 UPDATE t1_aux SET f1 = NULL;
1015 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1016 UPDATE t1_aux SET f1 = 0.1234567890987654321e-64;
1017 SELECT f1 INTO @v1_tab FROM t1_aux;
1018 CALL sproc_1(0.1234567890987654321e-64, @v1_proc);
1019 SET @v1_func = func_1(0.1234567890987654321e-64);
1020 UPDATE t1_aux SET f1 = NULL;
1021 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1022 UPDATE t1_aux SET f1 = 0.1234567890987654321e-63;
1023 SELECT f1 INTO @v1_tab FROM t1_aux;
1024 CALL sproc_1(0.1234567890987654321e-63, @v1_proc);
1025 SET @v1_func = func_1(0.1234567890987654321e-63);
1026 UPDATE t1_aux SET f1 = NULL;
1027 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1028 UPDATE t1_aux SET f1 = 0.1234567890987654321e-62;
1029 SELECT f1 INTO @v1_tab FROM t1_aux;
1030 CALL sproc_1(0.1234567890987654321e-62, @v1_proc);
1031 SET @v1_func = func_1(0.1234567890987654321e-62);
1032 UPDATE t1_aux SET f1 = NULL;
1033 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1034 UPDATE t1_aux SET f1 = 0.1234567890987654321e-61;
1035 SELECT f1 INTO @v1_tab FROM t1_aux;
1036 CALL sproc_1(0.1234567890987654321e-61, @v1_proc);
1037 SET @v1_func = func_1(0.1234567890987654321e-61);
1038 UPDATE t1_aux SET f1 = NULL;
1039 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1040 UPDATE t1_aux SET f1 = 0.1234567890987654321e-60;
1041 SELECT f1 INTO @v1_tab FROM t1_aux;
1042 CALL sproc_1(0.1234567890987654321e-60, @v1_proc);
1043 SET @v1_func = func_1(0.1234567890987654321e-60);
1044 UPDATE t1_aux SET f1 = NULL;
1045 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1046 UPDATE t1_aux SET f1 = 0.1234567890987654321e-59;
1047 SELECT f1 INTO @v1_tab FROM t1_aux;
1048 CALL sproc_1(0.1234567890987654321e-59, @v1_proc);
1049 SET @v1_func = func_1(0.1234567890987654321e-59);
1050 UPDATE t1_aux SET f1 = NULL;
1051 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1052 UPDATE t1_aux SET f1 = 0.1234567890987654321e-58;
1053 SELECT f1 INTO @v1_tab FROM t1_aux;
1054 CALL sproc_1(0.1234567890987654321e-58, @v1_proc);
1055 SET @v1_func = func_1(0.1234567890987654321e-58);
1056 UPDATE t1_aux SET f1 = NULL;
1057 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1058 UPDATE t1_aux SET f1 = 0.1234567890987654321e-57;
1059 SELECT f1 INTO @v1_tab FROM t1_aux;
1060 CALL sproc_1(0.1234567890987654321e-57, @v1_proc);
1061 SET @v1_func = func_1(0.1234567890987654321e-57);
1062 UPDATE t1_aux SET f1 = NULL;
1063 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1064 UPDATE t1_aux SET f1 = 0.1234567890987654321e-56;
1065 SELECT f1 INTO @v1_tab FROM t1_aux;
1066 CALL sproc_1(0.1234567890987654321e-56, @v1_proc);
1067 SET @v1_func = func_1(0.1234567890987654321e-56);
1068 UPDATE t1_aux SET f1 = NULL;
1069 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1070 UPDATE t1_aux SET f1 = 0.1234567890987654321e-55;
1071 SELECT f1 INTO @v1_tab FROM t1_aux;
1072 CALL sproc_1(0.1234567890987654321e-55, @v1_proc);
1073 SET @v1_func = func_1(0.1234567890987654321e-55);
1074 UPDATE t1_aux SET f1 = NULL;
1075 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1076 UPDATE t1_aux SET f1 = 0.1234567890987654321e-54;
1077 SELECT f1 INTO @v1_tab FROM t1_aux;
1078 CALL sproc_1(0.1234567890987654321e-54, @v1_proc);
1079 SET @v1_func = func_1(0.1234567890987654321e-54);
1080 UPDATE t1_aux SET f1 = NULL;
1081 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1082 UPDATE t1_aux SET f1 = 0.1234567890987654321e-53;
1083 SELECT f1 INTO @v1_tab FROM t1_aux;
1084 CALL sproc_1(0.1234567890987654321e-53, @v1_proc);
1085 SET @v1_func = func_1(0.1234567890987654321e-53);
1086 UPDATE t1_aux SET f1 = NULL;
1087 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1088 UPDATE t1_aux SET f1 = 0.1234567890987654321e-52;
1089 SELECT f1 INTO @v1_tab FROM t1_aux;
1090 CALL sproc_1(0.1234567890987654321e-52, @v1_proc);
1091 SET @v1_func = func_1(0.1234567890987654321e-52);
1092 UPDATE t1_aux SET f1 = NULL;
1093 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1094 UPDATE t1_aux SET f1 = 0.1234567890987654321e-51;
1095 SELECT f1 INTO @v1_tab FROM t1_aux;
1096 CALL sproc_1(0.1234567890987654321e-51, @v1_proc);
1097 SET @v1_func = func_1(0.1234567890987654321e-51);
1098 UPDATE t1_aux SET f1 = NULL;
1099 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1100 UPDATE t1_aux SET f1 = 0.1234567890987654321e-50;
1101 SELECT f1 INTO @v1_tab FROM t1_aux;
1102 CALL sproc_1(0.1234567890987654321e-50, @v1_proc);
1103 SET @v1_func = func_1(0.1234567890987654321e-50);
1104 UPDATE t1_aux SET f1 = NULL;
1105 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1106 UPDATE t1_aux SET f1 = 0.1234567890987654321e-49;
1107 SELECT f1 INTO @v1_tab FROM t1_aux;
1108 CALL sproc_1(0.1234567890987654321e-49, @v1_proc);
1109 SET @v1_func = func_1(0.1234567890987654321e-49);
1110 UPDATE t1_aux SET f1 = NULL;
1111 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1112 UPDATE t1_aux SET f1 = 0.1234567890987654321e-48;
1113 SELECT f1 INTO @v1_tab FROM t1_aux;
1114 CALL sproc_1(0.1234567890987654321e-48, @v1_proc);
1115 SET @v1_func = func_1(0.1234567890987654321e-48);
1116 UPDATE t1_aux SET f1 = NULL;
1117 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1118 UPDATE t1_aux SET f1 = 0.1234567890987654321e-47;
1119 SELECT f1 INTO @v1_tab FROM t1_aux;
1120 CALL sproc_1(0.1234567890987654321e-47, @v1_proc);
1121 SET @v1_func = func_1(0.1234567890987654321e-47);
1122 UPDATE t1_aux SET f1 = NULL;
1123 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1124 UPDATE t1_aux SET f1 = 0.1234567890987654321e-46;
1125 SELECT f1 INTO @v1_tab FROM t1_aux;
1126 CALL sproc_1(0.1234567890987654321e-46, @v1_proc);
1127 SET @v1_func = func_1(0.1234567890987654321e-46);
1128 UPDATE t1_aux SET f1 = NULL;
1129 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1130 UPDATE t1_aux SET f1 = 0.1234567890987654321e-45;
1131 SELECT f1 INTO @v1_tab FROM t1_aux;
1132 CALL sproc_1(0.1234567890987654321e-45, @v1_proc);
1133 SET @v1_func = func_1(0.1234567890987654321e-45);
1134 UPDATE t1_aux SET f1 = NULL;
1135 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1136 UPDATE t1_aux SET f1 = 0.1234567890987654321e-44;
1137 SELECT f1 INTO @v1_tab FROM t1_aux;
1138 CALL sproc_1(0.1234567890987654321e-44, @v1_proc);
1139 SET @v1_func = func_1(0.1234567890987654321e-44);
1140 UPDATE t1_aux SET f1 = NULL;
1141 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1142 UPDATE t1_aux SET f1 = 0.1234567890987654321e-43;
1143 SELECT f1 INTO @v1_tab FROM t1_aux;
1144 CALL sproc_1(0.1234567890987654321e-43, @v1_proc);
1145 SET @v1_func = func_1(0.1234567890987654321e-43);
1146 UPDATE t1_aux SET f1 = NULL;
1147 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1148 UPDATE t1_aux SET f1 = 0.1234567890987654321e-42;
1149 SELECT f1 INTO @v1_tab FROM t1_aux;
1150 CALL sproc_1(0.1234567890987654321e-42, @v1_proc);
1151 SET @v1_func = func_1(0.1234567890987654321e-42);
1152 UPDATE t1_aux SET f1 = NULL;
1153 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1154 UPDATE t1_aux SET f1 = 0.1234567890987654321e-41;
1155 SELECT f1 INTO @v1_tab FROM t1_aux;
1156 CALL sproc_1(0.1234567890987654321e-41, @v1_proc);
1157 SET @v1_func = func_1(0.1234567890987654321e-41);
1158 UPDATE t1_aux SET f1 = NULL;
1159 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1160 UPDATE t1_aux SET f1 = 0.1234567890987654321e-40;
1161 SELECT f1 INTO @v1_tab FROM t1_aux;
1162 CALL sproc_1(0.1234567890987654321e-40, @v1_proc);
1163 SET @v1_func = func_1(0.1234567890987654321e-40);
1164 UPDATE t1_aux SET f1 = NULL;
1165 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1166 UPDATE t1_aux SET f1 = 0.1234567890987654321e-39;
1167 SELECT f1 INTO @v1_tab FROM t1_aux;
1168 CALL sproc_1(0.1234567890987654321e-39, @v1_proc);
1169 SET @v1_func = func_1(0.1234567890987654321e-39);
1170 UPDATE t1_aux SET f1 = NULL;
1171 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1172 UPDATE t1_aux SET f1 = 0.1234567890987654321e-38;
1173 SELECT f1 INTO @v1_tab FROM t1_aux;
1174 CALL sproc_1(0.1234567890987654321e-38, @v1_proc);
1175 SET @v1_func = func_1(0.1234567890987654321e-38);
1176 UPDATE t1_aux SET f1 = NULL;
1177 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1178 UPDATE t1_aux SET f1 = 0.1234567890987654321e-37;
1179 SELECT f1 INTO @v1_tab FROM t1_aux;
1180 CALL sproc_1(0.1234567890987654321e-37, @v1_proc);
1181 SET @v1_func = func_1(0.1234567890987654321e-37);
1182 UPDATE t1_aux SET f1 = NULL;
1183 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1184 UPDATE t1_aux SET f1 = 0.1234567890987654321e-36;
1185 SELECT f1 INTO @v1_tab FROM t1_aux;
1186 CALL sproc_1(0.1234567890987654321e-36, @v1_proc);
1187 SET @v1_func = func_1(0.1234567890987654321e-36);
1188 UPDATE t1_aux SET f1 = NULL;
1189 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1190 UPDATE t1_aux SET f1 = 0.1234567890987654321e-35;
1191 SELECT f1 INTO @v1_tab FROM t1_aux;
1192 CALL sproc_1(0.1234567890987654321e-35, @v1_proc);
1193 SET @v1_func = func_1(0.1234567890987654321e-35);
1194 UPDATE t1_aux SET f1 = NULL;
1195 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1196 UPDATE t1_aux SET f1 = 0.1234567890987654321e-34;
1197 SELECT f1 INTO @v1_tab FROM t1_aux;
1198 CALL sproc_1(0.1234567890987654321e-34, @v1_proc);
1199 SET @v1_func = func_1(0.1234567890987654321e-34);
1200 UPDATE t1_aux SET f1 = NULL;
1201 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1202 UPDATE t1_aux SET f1 = 0.1234567890987654321e-33;
1203 SELECT f1 INTO @v1_tab FROM t1_aux;
1204 CALL sproc_1(0.1234567890987654321e-33, @v1_proc);
1205 SET @v1_func = func_1(0.1234567890987654321e-33);
1206 UPDATE t1_aux SET f1 = NULL;
1207 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1208 UPDATE t1_aux SET f1 = 0.1234567890987654321e-32;
1209 SELECT f1 INTO @v1_tab FROM t1_aux;
1210 CALL sproc_1(0.1234567890987654321e-32, @v1_proc);
1211 SET @v1_func = func_1(0.1234567890987654321e-32);
1212 UPDATE t1_aux SET f1 = NULL;
1213 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1214 UPDATE t1_aux SET f1 = 0.1234567890987654321e-31;
1215 SELECT f1 INTO @v1_tab FROM t1_aux;
1216 CALL sproc_1(0.1234567890987654321e-31, @v1_proc);
1217 SET @v1_func = func_1(0.1234567890987654321e-31);
1218 UPDATE t1_aux SET f1 = NULL;
1219 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1220 UPDATE t1_aux SET f1 = 0.1234567890987654321e-30;
1221 SELECT f1 INTO @v1_tab FROM t1_aux;
1222 CALL sproc_1(0.1234567890987654321e-30, @v1_proc);
1223 SET @v1_func = func_1(0.1234567890987654321e-30);
1224 UPDATE t1_aux SET f1 = NULL;
1225 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1226 UPDATE t1_aux SET f1 = 0.1234567890987654321e-29;
1227 SELECT f1 INTO @v1_tab FROM t1_aux;
1228 CALL sproc_1(0.1234567890987654321e-29, @v1_proc);
1229 SET @v1_func = func_1(0.1234567890987654321e-29);
1230 UPDATE t1_aux SET f1 = NULL;
1231 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1232 UPDATE t1_aux SET f1 = 0.1234567890987654321e-28;
1233 SELECT f1 INTO @v1_tab FROM t1_aux;
1234 CALL sproc_1(0.1234567890987654321e-28, @v1_proc);
1235 SET @v1_func = func_1(0.1234567890987654321e-28);
1236 UPDATE t1_aux SET f1 = NULL;
1237 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1238 UPDATE t1_aux SET f1 = 0.1234567890987654321e-27;
1239 SELECT f1 INTO @v1_tab FROM t1_aux;
1240 CALL sproc_1(0.1234567890987654321e-27, @v1_proc);
1241 SET @v1_func = func_1(0.1234567890987654321e-27);
1242 UPDATE t1_aux SET f1 = NULL;
1243 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1244 UPDATE t1_aux SET f1 = 0.1234567890987654321e-26;
1245 SELECT f1 INTO @v1_tab FROM t1_aux;
1246 CALL sproc_1(0.1234567890987654321e-26, @v1_proc);
1247 SET @v1_func = func_1(0.1234567890987654321e-26);
1248 UPDATE t1_aux SET f1 = NULL;
1249 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1250 UPDATE t1_aux SET f1 = 0.1234567890987654321e-25;
1251 SELECT f1 INTO @v1_tab FROM t1_aux;
1252 CALL sproc_1(0.1234567890987654321e-25, @v1_proc);
1253 SET @v1_func = func_1(0.1234567890987654321e-25);
1254 UPDATE t1_aux SET f1 = NULL;
1255 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1256 UPDATE t1_aux SET f1 = 0.1234567890987654321e-24;
1257 SELECT f1 INTO @v1_tab FROM t1_aux;
1258 CALL sproc_1(0.1234567890987654321e-24, @v1_proc);
1259 SET @v1_func = func_1(0.1234567890987654321e-24);
1260 UPDATE t1_aux SET f1 = NULL;
1261 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1262 UPDATE t1_aux SET f1 = 0.1234567890987654321e-23;
1263 SELECT f1 INTO @v1_tab FROM t1_aux;
1264 CALL sproc_1(0.1234567890987654321e-23, @v1_proc);
1265 SET @v1_func = func_1(0.1234567890987654321e-23);
1266 UPDATE t1_aux SET f1 = NULL;
1267 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1268 UPDATE t1_aux SET f1 = 0.1234567890987654321e-22;
1269 SELECT f1 INTO @v1_tab FROM t1_aux;
1270 CALL sproc_1(0.1234567890987654321e-22, @v1_proc);
1271 SET @v1_func = func_1(0.1234567890987654321e-22);
1272 UPDATE t1_aux SET f1 = NULL;
1273 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1274 UPDATE t1_aux SET f1 = 0.1234567890987654321e-21;
1275 SELECT f1 INTO @v1_tab FROM t1_aux;
1276 CALL sproc_1(0.1234567890987654321e-21, @v1_proc);
1277 SET @v1_func = func_1(0.1234567890987654321e-21);
1278 UPDATE t1_aux SET f1 = NULL;
1279 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1280 UPDATE t1_aux SET f1 = 0.1234567890987654321e-20;
1281 SELECT f1 INTO @v1_tab FROM t1_aux;
1282 CALL sproc_1(0.1234567890987654321e-20, @v1_proc);
1283 SET @v1_func = func_1(0.1234567890987654321e-20);
1284 UPDATE t1_aux SET f1 = NULL;
1285 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1286 UPDATE t1_aux SET f1 = 0.1234567890987654321e-19;
1287 SELECT f1 INTO @v1_tab FROM t1_aux;
1288 CALL sproc_1(0.1234567890987654321e-19, @v1_proc);
1289 SET @v1_func = func_1(0.1234567890987654321e-19);
1290 UPDATE t1_aux SET f1 = NULL;
1291 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1292 UPDATE t1_aux SET f1 = 0.1234567890987654321e-18;
1293 SELECT f1 INTO @v1_tab FROM t1_aux;
1294 CALL sproc_1(0.1234567890987654321e-18, @v1_proc);
1295 SET @v1_func = func_1(0.1234567890987654321e-18);
1296 UPDATE t1_aux SET f1 = NULL;
1297 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1298 UPDATE t1_aux SET f1 = 0.1234567890987654321e-17;
1299 SELECT f1 INTO @v1_tab FROM t1_aux;
1300 CALL sproc_1(0.1234567890987654321e-17, @v1_proc);
1301 SET @v1_func = func_1(0.1234567890987654321e-17);
1302 UPDATE t1_aux SET f1 = NULL;
1303 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1304 UPDATE t1_aux SET f1 = 0.1234567890987654321e-16;
1305 SELECT f1 INTO @v1_tab FROM t1_aux;
1306 CALL sproc_1(0.1234567890987654321e-16, @v1_proc);
1307 SET @v1_func = func_1(0.1234567890987654321e-16);
1308 UPDATE t1_aux SET f1 = NULL;
1309 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1310 UPDATE t1_aux SET f1 = 0.1234567890987654321e-15;
1311 SELECT f1 INTO @v1_tab FROM t1_aux;
1312 CALL sproc_1(0.1234567890987654321e-15, @v1_proc);
1313 SET @v1_func = func_1(0.1234567890987654321e-15);
1314 UPDATE t1_aux SET f1 = NULL;
1315 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1316 UPDATE t1_aux SET f1 = 0.1234567890987654321e-14;
1317 SELECT f1 INTO @v1_tab FROM t1_aux;
1318 CALL sproc_1(0.1234567890987654321e-14, @v1_proc);
1319 SET @v1_func = func_1(0.1234567890987654321e-14);
1320 UPDATE t1_aux SET f1 = NULL;
1321 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1322 UPDATE t1_aux SET f1 = 0.1234567890987654321e-13;
1323 SELECT f1 INTO @v1_tab FROM t1_aux;
1324 CALL sproc_1(0.1234567890987654321e-13, @v1_proc);
1325 SET @v1_func = func_1(0.1234567890987654321e-13);
1326 UPDATE t1_aux SET f1 = NULL;
1327 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1328 UPDATE t1_aux SET f1 = 0.1234567890987654321e-12;
1329 SELECT f1 INTO @v1_tab FROM t1_aux;
1330 CALL sproc_1(0.1234567890987654321e-12, @v1_proc);
1331 SET @v1_func = func_1(0.1234567890987654321e-12);
1332 UPDATE t1_aux SET f1 = NULL;
1333 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1334 UPDATE t1_aux SET f1 = 0.1234567890987654321e-11;
1335 SELECT f1 INTO @v1_tab FROM t1_aux;
1336 CALL sproc_1(0.1234567890987654321e-11, @v1_proc);
1337 SET @v1_func = func_1(0.1234567890987654321e-11);
1338 UPDATE t1_aux SET f1 = NULL;
1339 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1340 UPDATE t1_aux SET f1 = 0.1234567890987654321e-10;
1341 SELECT f1 INTO @v1_tab FROM t1_aux;
1342 CALL sproc_1(0.1234567890987654321e-10, @v1_proc);
1343 SET @v1_func = func_1(0.1234567890987654321e-10);
1344 UPDATE t1_aux SET f1 = NULL;
1345 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1346 UPDATE t1_aux SET f1 = 0.1234567890987654321e-9;
1347 SELECT f1 INTO @v1_tab FROM t1_aux;
1348 CALL sproc_1(0.1234567890987654321e-9, @v1_proc);
1349 SET @v1_func = func_1(0.1234567890987654321e-9);
1350 UPDATE t1_aux SET f1 = NULL;
1351 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1352 UPDATE t1_aux SET f1 = 0.1234567890987654321e-8;
1353 SELECT f1 INTO @v1_tab FROM t1_aux;
1354 CALL sproc_1(0.1234567890987654321e-8, @v1_proc);
1355 SET @v1_func = func_1(0.1234567890987654321e-8);
1356 UPDATE t1_aux SET f1 = NULL;
1357 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1358 UPDATE t1_aux SET f1 = 0.1234567890987654321e-7;
1359 SELECT f1 INTO @v1_tab FROM t1_aux;
1360 CALL sproc_1(0.1234567890987654321e-7, @v1_proc);
1361 SET @v1_func = func_1(0.1234567890987654321e-7);
1362 UPDATE t1_aux SET f1 = NULL;
1363 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1364 UPDATE t1_aux SET f1 = 0.1234567890987654321e-6;
1365 SELECT f1 INTO @v1_tab FROM t1_aux;
1366 CALL sproc_1(0.1234567890987654321e-6, @v1_proc);
1367 SET @v1_func = func_1(0.1234567890987654321e-6);
1368 UPDATE t1_aux SET f1 = NULL;
1369 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1370 UPDATE t1_aux SET f1 = 0.1234567890987654321e-5;
1371 SELECT f1 INTO @v1_tab FROM t1_aux;
1372 CALL sproc_1(0.1234567890987654321e-5, @v1_proc);
1373 SET @v1_func = func_1(0.1234567890987654321e-5);
1374 UPDATE t1_aux SET f1 = NULL;
1375 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1376 UPDATE t1_aux SET f1 = 0.1234567890987654321e-4;
1377 SELECT f1 INTO @v1_tab FROM t1_aux;
1378 CALL sproc_1(0.1234567890987654321e-4, @v1_proc);
1379 SET @v1_func = func_1(0.1234567890987654321e-4);
1380 UPDATE t1_aux SET f1 = NULL;
1381 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1382 UPDATE t1_aux SET f1 = 0.1234567890987654321e-3;
1383 SELECT f1 INTO @v1_tab FROM t1_aux;
1384 CALL sproc_1(0.1234567890987654321e-3, @v1_proc);
1385 SET @v1_func = func_1(0.1234567890987654321e-3);
1386 UPDATE t1_aux SET f1 = NULL;
1387 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1388 UPDATE t1_aux SET f1 = 0.1234567890987654321e-2;
1389 SELECT f1 INTO @v1_tab FROM t1_aux;
1390 CALL sproc_1(0.1234567890987654321e-2, @v1_proc);
1391 SET @v1_func = func_1(0.1234567890987654321e-2);
1392 UPDATE t1_aux SET f1 = NULL;
1393 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1394 UPDATE t1_aux SET f1 = 0.1234567890987654321e-1;
1395 SELECT f1 INTO @v1_tab FROM t1_aux;
1396 CALL sproc_1(0.1234567890987654321e-1, @v1_proc);
1397 SET @v1_func = func_1(0.1234567890987654321e-1);
1398 UPDATE t1_aux SET f1 = NULL;
1399 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1400 UPDATE t1_aux SET f1 = 0.1234567890987654321e-0;
1401 SELECT f1 INTO @v1_tab FROM t1_aux;
1402 CALL sproc_1(0.1234567890987654321e-0, @v1_proc);
1403 SET @v1_func = func_1(0.1234567890987654321e-0);
1404 DROP PROCEDURE sproc_1;
1405 DROP FUNCTION func_1;
1406 DROP TABLE t1_aux;
1407 DROP PROCEDURE IF EXISTS sp1;
1408 CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
1409 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1410 BEGIN
1411 SELECT f1;
1412 END//
1413 Warnings:
1414 Note 1291 Column '' has duplicated value 'value1' in ENUM
1415 CALL sp1( "value1" );
1416 f1
1417 value1
1418 Warnings:
1419 Note 1291 Column '' has duplicated value 'value1' in ENUM
1420 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1421 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1422 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1423 DROP PROCEDURE IF EXISTS sp1;
1424 CREATE PROCEDURE sp1( f1 SET("value1", "value1") )
1425 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1426 BEGIN
1427 SELECT f1;
1428 END//
1429 Warnings:
1430 Note 1291 Column '' has duplicated value 'value1' in SET
1431 CALL sp1( "value1, value1" );
1432 f1
1433 value1
1434 Warnings:
1435 Note 1291 Column '' has duplicated value 'value1' in SET
1436 Warning 1265 Data truncated for column 'f1' at row 1
1437 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1438 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1439 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1440 DROP PROCEDURE IF EXISTS sp1;
1441 CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
1442 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1443 BEGIN
1444 SELECT f1;
1445 END//
1446 Warnings:
1447 Note 1291 Column '' has duplicated value 'value1' in ENUM
1448 CALL sp1( "value1" );
1449 f1
1450 value1
1451 Warnings:
1452 Note 1291 Column '' has duplicated value 'value1' in ENUM
1453 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1454 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1455 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1456 DROP PROCEDURE IF EXISTS sp1;
1457 CREATE PROCEDURE sp1( f1 TEXT ) LANGUAGE SQL SELECT f1;
1458 CALL sp1( 'abc' );
1459 f1
1460 abc
1461 SHOW PROCEDURE STATUS LIKE 'sp1';
1462 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1463 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1464 DROP PROCEDURE IF EXISTS sp1;
1465 CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1;
1466 CALL sp1( 'abc' );
1467 f1
1468 abc
1469 SHOW PROCEDURE STATUS LIKE 'sp1';
1470 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1471 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1472 DROP PROCEDURE IF EXISTS sp1;
1473 CREATE PROCEDURE sp1( f1 TEXT ) NOT DETERMINISTIC SELECT f1;
1474 CALL sp1( 'abc' );
1475 f1
1476 abc
1477 SHOW PROCEDURE STATUS LIKE 'sp1';
1478 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1479 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1480 DROP PROCEDURE IF EXISTS sp1;
1481 CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY DEFINER SELECT f1;
1482 CALL sp1( 'abc' );
1483 f1
1484 abc
1485 SHOW PROCEDURE STATUS LIKE 'sp1';
1486 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1487 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1488 DROP PROCEDURE IF EXISTS sp1;
1489 CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY INVOKER SELECT f1;
1490 CALL sp1( 'abc' );
1491 f1
1492 abc
1493 SHOW PROCEDURE STATUS LIKE 'sp1';
1494 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1495 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1496 DROP PROCEDURE IF EXISTS sp1;
1497 CREATE PROCEDURE sp1( f1 TEXT ) COMMENT 'this is simple' SELECT f1;
1498 CALL sp1( 'abc' );
1499 f1
1500 abc
1501 SHOW PROCEDURE STATUS LIKE 'sp1';
1502 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1503 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1504 DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
1505 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
1506 DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
1507 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
1508 DROP PROCEDURE sp1;
1509 Warnings:
1510 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1511
1512 Testcase 4.1.2:
1513 ---------------
1514 Ensure that all clauses that should be supported are supported
1515 CREATE FUNCTION
1516 --------------------------------------------------------------------------------
1517 Warnings:
1518 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1519 DROP FUNCTION IF EXISTS fn1;
1520 CREATE FUNCTION fn1 (s CHAR(20)) RETURNS CHAR(50)
1521 RETURN CONCAT('hello, ', s, '!');
1522 SELECT fn1('world');
1523 fn1('world')
1524 hello, world!
1525 DROP FUNCTION IF EXISTS fn1;
1526 CREATE FUNCTION fn1( f1 MEDIUMTEXT ) RETURNS MEDIUMTEXT
1527 LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'this is simple'
1528 BEGIN
1529 SET @v1 = 'hello';
1530 SET f1 = CONCAT( @v1, f1 );
1531 RETURN f1;
1532 END//
1533 SELECT fn1( ' world');
1534 fn1( ' world')
1535 hello world
1536 SHOW FUNCTION STATUS LIKE 'fn1';
1537 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1538 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1539 DROP FUNCTION IF EXISTS fn1;
1540 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT
1541 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1542 BEGIN
1543 SET f1 = 1 + f1;
1544 RETURN f1;
1545 END//
1546 SELECT fn1( 126 );
1547 fn1( 126 )
1548 127
1549 SHOW FUNCTION STATUS LIKE 'fn1';
1550 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1551 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1552 DROP FUNCTION IF EXISTS fn1;
1553 CREATE FUNCTION fn1( f1 DECIMAL(63, 31) ) RETURNS DECIMAL(63, 31)
1554 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1555 BEGIN
1556 SET f1 = 1000000 + f1;
1557 RETURN f1;
1558 END//
1559 ERROR 42000: Too big scale 31 specified for column ''. Maximum is 30.
1560 SELECT fn1( 1.3326e+8 );
1561 ERROR 42000: FUNCTION db_storedproc.fn1 does not exist
1562 CREATE FUNCTION fn1( f1 DECIMAL(63, 30) ) RETURNS DECIMAL(63, 30)
1563 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1564 BEGIN
1565 SET f1 = 1000000 + f1;
1566 RETURN f1;
1567 END//
1568 SELECT fn1( 1.3326e+8 );
1569 fn1( 1.3326e+8 )
1570 134260000.000000000000000000000000000000
1571 SHOW FUNCTION STATUS LIKE 'fn1';
1572 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1573 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1574 DROP FUNCTION IF EXISTS fn1;
1575 CREATE FUNCTION fn1( f1 ENUM("value1", "value1") ) RETURNS DECIMAL(63, 30)
1576 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1577 BEGIN
1578 RETURN f1;
1579 END//
1580 Warnings:
1581 Note 1291 Column '' has duplicated value 'value1' in ENUM
1582 SELECT fn1( "value1" );
1583 fn1( "value1" )
1584 1.000000000000000000000000000000
1585 SHOW FUNCTION STATUS LIKE 'fn1';
1586 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1587 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1588 DROP FUNCTION IF EXISTS fn1;
1589 CREATE FUNCTION fn1( f1 SET("value1", "value1") ) RETURNS DECIMAL(63, 30)
1590 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1591 BEGIN
1592 RETURN f1;
1593 END//
1594 Warnings:
1595 Note 1291 Column '' has duplicated value 'value1' in SET
1596 SELECT fn1( "value1, value1" );
1597 fn1( "value1, value1" )
1598 1.000000000000000000000000000000
1599 SHOW FUNCTION STATUS LIKE 'fn1';
1600 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1601 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1602 DROP FUNCTION IF EXISTS fn1;
1603 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT LANGUAGE SQL
1604 BEGIN
1605 SET f1 = 1 + f1;
1606 RETURN f1;
1607 END//
1608 SELECT fn1( 126 );
1609 fn1( 126 )
1610 127
1611 SHOW FUNCTION STATUS LIKE 'fn1';
1612 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1613 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1614 DROP FUNCTION IF EXISTS fn1;
1615 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT DETERMINISTIC
1616 BEGIN
1617 SET f1 = 1 + f1;
1618 RETURN f1;
1619 END//
1620 SELECT fn1( 126 );
1621 fn1( 126 )
1622 127
1623 SHOW FUNCTION STATUS LIKE 'fn1';
1624 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1625 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1626 DROP FUNCTION IF EXISTS fn1;
1627 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT NOT DETERMINISTIC
1628 BEGIN
1629 SET f1 = 1 + f1;
1630 RETURN f1;
1631 END//
1632 SELECT fn1( 126 );
1633 fn1( 126 )
1634 127
1635 SHOW FUNCTION STATUS LIKE 'fn1';
1636 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1637 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1638 DROP FUNCTION IF EXISTS fn1;
1639 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY DEFINER
1640 BEGIN
1641 SET f1 = 1 + f1;
1642 RETURN f1;
1643 END//
1644 SELECT fn1( 126 );
1645 fn1( 126 )
1646 127
1647 SHOW FUNCTION STATUS LIKE 'fn1';
1648 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1649 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1650 DROP FUNCTION IF EXISTS fn1;
1651 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY INVOKER
1652 BEGIN
1653 SET f1 = 1 + f1;
1654 RETURN f1;
1655 END//
1656 SELECT fn1( 126 );
1657 fn1( 126 )
1658 127
1659 SHOW FUNCTION STATUS LIKE 'fn1';
1660 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1661 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1662 DROP FUNCTION IF EXISTS fn1;
1663 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT COMMENT 'this is simple'
1664 BEGIN
1665 SET f1 = 1 + f1;
1666 RETURN f1;
1667 END//
1668 SELECT fn1( 126 );
1669 fn1( 126 )
1670 127
1671 SHOW FUNCTION STATUS LIKE 'fn1';
1672 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1673 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1674 DROP FUNCTION fn1;
1675 Warnings:
1676 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1677
1678 Testcase 4.1.3:
1679 ---------------
1680 Ensure that all clauses that should be supported are supported
1681 SHOW CREATE PROC
1682 --------------------------------------------------------------------------------
1683 Warnings:
1684 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1685 DROP PROCEDURE IF EXISTS sp1;
1686 CREATE PROCEDURE sp1 (f1 char(20) )
1687 SELECT * from t1 where f2 = f1;
1688 show CREATE PROCEDURE sp1;
1689 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
1690 sp1 NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`(f1 char(20) )
1691 SELECT * from t1 where f2 = f1 latin1 <modified> <created>
1692 DROP PROCEDURE sp1;
1693 Warnings:
1694 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1695
1696 Testcase 4.1.4:
1697 ---------------
1698 show create function
1699 --------------------------------------------------------------------------------
1700 Warnings:
1701 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1702 DROP FUNCTION IF EXISTS fn1;
1703 CREATE FUNCTION fn1 (s char(20)) returns char(50)
1704 return concat('hello, ', s, '!');
1705 show CREATE FUNCTION fn1;
1706 Function sql_mode Create Function character_set_client collation_connection Database Collation
1707 fn1 NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(s char(20)) RETURNS char(50) CHARSET utf8mb4
1708 return concat('hello, ', s, '!') latin1 <modified> <created>
1709 DROP FUNCTION fn1;
1710 Warnings:
1711 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1712
1713 Testcase 4.1.5:
1714 ---------------
1715 SHOW PROCEDURE status
1716 --------------------------------------------------------------------------------
1717 Warnings:
1718 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1719 CREATE PROCEDURE sp5()
1720 SELECT * from t1;
1721 SHOW PROCEDURE status like 'sp5';
1722 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1723 db_storedproc sp5 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1724 DROP PROCEDURE sp5;
1725 Warnings:
1726 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1727
1728 Testcase 4.1.6:
1729 ---------------
1730 show function status
1731 --------------------------------------------------------------------------------
1732 Warnings:
1733 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1734 CREATE FUNCTION fn5(a int) returns int
1735 BEGIN
1736 set @b = 0.9 * a;
1737 return @b;
1738 END//
1739 SHOW FUNCTION STATUS LIKE 'fn5';
1740 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1741 db_storedproc fn5 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1742 DROP FUNCTION fn5;
1743 Warnings:
1744 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1745
1746 Testcase 4.1.7:
1747 ---------------
1748 CALL procedure
1749 --------------------------------------------------------------------------------
1750 Warnings:
1751 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1752 DROP PROCEDURE IF EXISTS sp7a;
1753 DROP PROCEDURE IF EXISTS sp7b;
1754 DROP PROCEDURE IF EXISTS sp7c;
1755 CREATE PROCEDURE sp7a(a char(20))
1756 SELECT * from t1 where t1.f2 = a;
1757 CALL sp7a( 'xyz' );
1758 f1 f2 f3 f4 f5 f6
1759 CREATE PROCEDURE sp7b (a char (20), out b char(20))
1760 SELECT f1 into b from t1 where t1.f2= a;
1761 CALL sp7b('xyz', @out_param);
1762 Warnings:
1763 Warning 1329 No data - zero rows fetched, selected, or processed
1764 SELECT @out_param;
1765 @out_param
1766 NULL
1767 CREATE PROCEDURE sp7c (a char (20), out b char(20), inout c int)
1768 BEGIN
1769 SELECT f1 into b from t1 where t1.f2=a;
1770 update t1 set t1.f2=999 where t1.f4=c;
1771 SELECT f2 into c from t1 where t1.f2=999;
1772 END//
1773 set @c=1;
1774 CALL sp7c('xyz', @out_param, @c);
1775 SELECT @out_param;
1776 @out_param
1777 NULL
1778 SELECT @c;
1779 @c
1780 1
1781 DROP PROCEDURE sp7a;
1782 DROP PROCEDURE sp7b;
1783 DROP PROCEDURE sp7c;
1784 Warnings:
1785 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1786
1787 Testcase 4.1.8:
1788 ---------------
1789 calling function
1790 --------------------------------------------------------------------------------
1791 Warnings:
1792 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1793 CREATE FUNCTION fn8(a char(20)) returns char(50)
1794 return concat('hello, ', a, '!');
1795 SELECT fn8('world');
1796 fn8('world')
1797 hello, world!
1798 DROP FUNCTION fn8;
1799 Warnings:
1800 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1801
1802 Testcase 4.1.9:
1803 ---------------
1804 drop procedure
1805 --------------------------------------------------------------------------------
1806 Warnings:
1807 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1808 SELECT * from information_schema.routines where specific_name='sp9';
1809 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1810 DROP PROCEDURE IF EXISTS sp9;
1811 SELECT * from information_schema.routines where specific_name='sp9';
1812 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1813 CREATE PROCEDURE sp9()SELECT * from t1;
1814 SELECT * from information_schema.routines where specific_name='sp9';
1815 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1816 sp9 def db_storedproc sp9 PROCEDURE NULL NULL NULL NULL NULL NULL NULL NULL SQL SELECT * from t1 NULL SQL SQL NO CONTAINS SQL NULL DEFINER <created> <modified> NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1817 DROP PROCEDURE sp9;
1818 SELECT * from information_schema.routines where specific_name='sp9';
1819 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1820 CREATE PROCEDURE sp9()SELECT * from t1;
1821 SELECT * from information_schema.routines where specific_name='sp9';
1822 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1823 sp9 def db_storedproc sp9 PROCEDURE NULL NULL NULL NULL NULL NULL NULL NULL SQL SELECT * from t1 NULL SQL SQL NO CONTAINS SQL NULL DEFINER <created> <modified> NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1824 DROP PROCEDURE IF EXISTS sp9;
1825 SELECT * from information_schema.routines where specific_name='sp9';
1826 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1827 Warnings:
1828 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1829
1830 Testcase 4.1.10:
1831 ----------------
1832 DROP FUNCTION
1833 --------------------------------------------------------------------------------
1834 Warnings:
1835 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1836 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1837 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1838 DROP FUNCTION IF EXISTS fn10;
1839 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1840 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1841 CREATE FUNCTION fn10() returns int return 100;
1842 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1843 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1844 fn10 def db_storedproc fn10 FUNCTION int NULL NULL 10 0 NULL NULL NULL int SQL return 100 NULL SQL SQL NO CONTAINS SQL NULL DEFINER <created> <modified> NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1845 DROP FUNCTION fn10;
1846 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1847 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1848 CREATE FUNCTION fn10() returns int return 100;
1849 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1850 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1851 fn10 def db_storedproc fn10 FUNCTION int NULL NULL 10 0 NULL NULL NULL int SQL return 100 NULL SQL SQL NO CONTAINS SQL NULL DEFINER <created> <modified> NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
1852 DROP FUNCTION IF EXISTS fn10;
1853 SELECT * from information_schema.routines where specific_name='fn10' and routine_type='FUNCTION';
1854 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
1855 Warnings:
1856 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1857
1858 Testcase 4.1.11:
1859 ----------------
1860 alter proc
1861 --------------------------------------------------------------------------------
1862 Warnings:
1863 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1864 create user 'user_1'@'localhost';
1865 grant execute on db_storedproc.* to 'user_1'@'localhost';
1866 flush privileges;
1867 drop table IF EXISTS mysql.t1;
1868 Warnings:
1869 Note 1051 Unknown table 'mysql.t1'
1870 create table mysql.t1( f1 char );
1871 DROP PROCEDURE IF EXISTS sp11;
1872 Warnings:
1873 Note 1305 PROCEDURE db_storedproc.sp11 does not exist
1874 CREATE PROCEDURE sp11() insert into mysql.t1 values('a');
1875 SELECT security_type from information_schema.routines where specific_name='sp11';
1876 SECURITY_TYPE
1877 DEFINER
1878
1879 user_1@localhost db_storedproc
1880 CALL sp11();
1881 USE db_storedproc;
1882
1883 root@localhost db_storedproc
1884 alter procedure sp11 sql security invoker;
1885 SELECT security_type from information_schema.routines where specific_name='sp11';
1886 SECURITY_TYPE
1887 INVOKER
1888
1889 user_1@localhost db_storedproc
1890 USE db_storedproc;
1891 CALL sp11();
1892 ERROR 42000: INSERT command denied to user 'user_1'@'localhost' for table 't1'
1893 commit work;
1894
1895 root@localhost db_storedproc
1896 alter procedure sp11 sql security DEFINER;
1897 SELECT security_type from information_schema.routines where specific_name='sp11';
1898 SECURITY_TYPE
1899 DEFINER
1900 CALL sp11();
1901 DROP USER 'user_1'@'localhost';
1902 DROP PROCEDURE sp11;
1903 drop table mysql.t1;
1904 Warnings:
1905 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1906
1907 Testcase 4.1.12:
1908 ----------------
1909 alter function
1910 --------------------------------------------------------------------------------
1911 Warnings:
1912 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1913 CREATE FUNCTION fn12() returns int
1914 return 100;
1915 SELECT security_type from information_schema.routines where specific_name='fn12';
1916 SECURITY_TYPE
1917 DEFINER
1918 SELECT fn12();
1919 fn12()
1920 100
1921 alter function fn12 sql security invoker;
1922 SELECT security_type from information_schema.routines where specific_name='fn12';
1923 SECURITY_TYPE
1924 INVOKER
1925 SELECT fn12();
1926 fn12()
1927 100
1928 alter function fn12 sql security DEFINER;
1929 SELECT security_type from information_schema.routines where specific_name='fn12';
1930 SECURITY_TYPE
1931 DEFINER
1932 SELECT fn12();
1933 fn12()
1934 100
1935 DROP FUNCTION fn12;
1936 Warnings:
1937 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1938
1939 Testcase 4.1.13:
1940 ----------------
1941 alter proc
1942 --------------------------------------------------------------------------------
1943 Warnings:
1944 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1945 DROP PROCEDURE IF EXISTS sp11;
1946 Warnings:
1947 Note 1305 PROCEDURE db_storedproc.sp11 does not exist
1948 CREATE PROCEDURE sp11()
1949 SELECT * from t1;
1950 SELECT comment from information_schema.routines where specific_name='sp11';
1951 ERROR 42S22: Unknown column 'comment' in 'field list'
1952 alter procedure sp11 comment 'this is simple';
1953 SELECT comment from information_schema.routines where specific_name='sp11';
1954 ERROR 42S22: Unknown column 'comment' in 'field list'
1955 DROP PROCEDURE sp11;
1956 Warnings:
1957 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1958
1959 Testcase 4.1.14:
1960 ----------------
1961 alter function
1962 --------------------------------------------------------------------------------
1963 Warnings:
1964 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1965 DROP FUNCTION IF EXISTS fn12;
1966 Warnings:
1967 Note 1305 FUNCTION db_storedproc.fn12 does not exist
1968 CREATE FUNCTION fn12() returns int
1969 return 100;
1970 SELECT routine_comment from information_schema.routines where specific_name='fn12';
1971 ROUTINE_COMMENT
1972
1973 alter function fn12 comment 'this is simple';
1974 SELECT routine_comment from information_schema.routines where specific_name='fn12';
1975 ROUTINE_COMMENT
1976 this is simple
1977 DROP FUNCTION fn12;
1978 Warnings:
1979 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1980
1981 Testcase 4.1.15:
1982 ----------------
1983 Ensure that any invalid stored procedure name is never accepted, and that an
1984 appropriate error message is returned when the name is rejected
1985 --------------------------------------------------------------------------------
1986 Warnings:
1987 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
1988 CREATE PROCEDURE sp1()
1989 DROP PROCEDURE sp1;
1990 ERROR HY000: Can't drop or alter a PROCEDURE from within another stored routine
1991 CREATE PROCEDURE !_sp1( f1 char(20) )
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 '!_sp1( f1 char(20) )
1994 SELECT * from t1 where f2 = f1' at line 1
1995 CREATE PROCEDURE `function`()
1996 SELECT * from t1 where f2=f1;
1997 DROP PROCEDURE `function`;
1998 CREATE PROCEDURE accessible()
1999 SELECT * from t1 where f2=f1;
2000 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible()
2001 SELECT * from t1 where f2=f1' at line 1
2002 CREATE PROCEDURE add()
2003 SELECT * from t1 where f2=f1;
2004 ERROR 42000: You 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()
2005 SELECT * from t1 where f2=f1' at line 1
2006 CREATE PROCEDURE all()
2007 SELECT * from t1 where f2=f1;
2008 ERROR 42000: You 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()
2009 SELECT * from t1 where f2=f1' at line 1
2010 CREATE PROCEDURE alter()
2011 SELECT * from t1 where f2=f1;
2012 ERROR 42000: You 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()
2013 SELECT * from t1 where f2=f1' at line 1
2014 CREATE PROCEDURE analyze()
2015 SELECT * from t1 where f2=f1;
2016 ERROR 42000: You 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()
2017 SELECT * from t1 where f2=f1' at line 1
2018 CREATE PROCEDURE and()
2019 SELECT * from t1 where f2=f1;
2020 ERROR 42000: You 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()
2021 SELECT * from t1 where f2=f1' at line 1
2022 CREATE PROCEDURE as()
2023 SELECT * from t1 where f2=f1;
2024 ERROR 42000: You 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()
2025 SELECT * from t1 where f2=f1' at line 1
2026 CREATE PROCEDURE asc()
2027 SELECT * from t1 where f2=f1;
2028 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc()
2029 SELECT * from t1 where f2=f1' at line 1
2030 CREATE PROCEDURE asensitive()
2031 SELECT * from t1 where f2=f1;
2032 ERROR 42000: You 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()
2033 SELECT * from t1 where f2=f1' at line 1
2034 CREATE PROCEDURE before()
2035 SELECT * from t1 where f2=f1;
2036 ERROR 42000: You 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()
2037 SELECT * from t1 where f2=f1' at line 1
2038 CREATE PROCEDURE between()
2039 SELECT * from t1 where f2=f1;
2040 ERROR 42000: You 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()
2041 SELECT * from t1 where f2=f1' at line 1
2042 CREATE PROCEDURE bigint()
2043 SELECT * from t1 where f2=f1;
2044 ERROR 42000: You 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()
2045 SELECT * from t1 where f2=f1' at line 1
2046 CREATE PROCEDURE binary()
2047 SELECT * from t1 where f2=f1;
2048 ERROR 42000: You 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()
2049 SELECT * from t1 where f2=f1' at line 1
2050 CREATE PROCEDURE blob()
2051 SELECT * from t1 where f2=f1;
2052 ERROR 42000: You 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()
2053 SELECT * from t1 where f2=f1' at line 1
2054 CREATE PROCEDURE both()
2055 SELECT * from t1 where f2=f1;
2056 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both()
2057 SELECT * from t1 where f2=f1' at line 1
2058 CREATE PROCEDURE by()
2059 SELECT * from t1 where f2=f1;
2060 ERROR 42000: You 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()
2061 SELECT * from t1 where f2=f1' at line 1
2062 CREATE PROCEDURE call()
2063 SELECT * from t1 where f2=f1;
2064 ERROR 42000: You 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()
2065 SELECT * from t1 where f2=f1' at line 1
2066 CREATE PROCEDURE cascade()
2067 SELECT * from t1 where f2=f1;
2068 ERROR 42000: You 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()
2069 SELECT * from t1 where f2=f1' at line 1
2070 CREATE PROCEDURE case()
2071 SELECT * from t1 where f2=f1;
2072 ERROR 42000: You 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()
2073 SELECT * from t1 where f2=f1' at line 1
2074 CREATE PROCEDURE change()
2075 SELECT * from t1 where f2=f1;
2076 ERROR 42000: You 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()
2077 SELECT * from t1 where f2=f1' at line 1
2078 CREATE PROCEDURE char()
2079 SELECT * from t1 where f2=f1;
2080 ERROR 42000: You 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()
2081 SELECT * from t1 where f2=f1' at line 1
2082 CREATE PROCEDURE character()
2083 SELECT * from t1 where f2=f1;
2084 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character()
2085 SELECT * from t1 where f2=f1' at line 1
2086 CREATE PROCEDURE check()
2087 SELECT * from t1 where f2=f1;
2088 ERROR 42000: You 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()
2089 SELECT * from t1 where f2=f1' at line 1
2090 CREATE PROCEDURE collate()
2091 SELECT * from t1 where f2=f1;
2092 ERROR 42000: You 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()
2093 SELECT * from t1 where f2=f1' at line 1
2094 CREATE PROCEDURE column()
2095 SELECT * from t1 where f2=f1;
2096 ERROR 42000: You 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()
2097 SELECT * from t1 where f2=f1' at line 1
2098 CREATE PROCEDURE condition()
2099 SELECT * from t1 where f2=f1;
2100 ERROR 42000: You 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()
2101 SELECT * from t1 where f2=f1' at line 1
2102 CREATE PROCEDURE constraint()
2103 SELECT * from t1 where f2=f1;
2104 ERROR 42000: You 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()
2105 SELECT * from t1 where f2=f1' at line 1
2106 CREATE PROCEDURE continue()
2107 SELECT * from t1 where f2=f1;
2108 ERROR 42000: You 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()
2109 SELECT * from t1 where f2=f1' at line 1
2110 CREATE PROCEDURE convert()
2111 SELECT * from t1 where f2=f1;
2112 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert()
2113 SELECT * from t1 where f2=f1' at line 1
2114 CREATE PROCEDURE create()
2115 SELECT * from t1 where f2=f1;
2116 ERROR 42000: You 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()
2117 SELECT * from t1 where f2=f1' at line 1
2118 CREATE PROCEDURE cross()
2119 SELECT * from t1 where f2=f1;
2120 ERROR 42000: You 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()
2121 SELECT * from t1 where f2=f1' at line 1
2122 CREATE PROCEDURE current_date()
2123 SELECT * from t1 where f2=f1;
2124 ERROR 42000: You 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()
2125 SELECT * from t1 where f2=f1' at line 1
2126 CREATE PROCEDURE current_time()
2127 SELECT * from t1 where f2=f1;
2128 ERROR 42000: You 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()
2129 SELECT * from t1 where f2=f1' at line 1
2130 CREATE PROCEDURE current_timestamp()
2131 SELECT * from t1 where f2=f1;
2132 ERROR 42000: You 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()
2133 SELECT * from t1 where f2=f1' at line 1
2134 CREATE PROCEDURE current_user()
2135 SELECT * from t1 where f2=f1;
2136 ERROR 42000: You 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()
2137 SELECT * from t1 where f2=f1' at line 1
2138 CREATE PROCEDURE cursor()
2139 SELECT * from t1 where f2=f1;
2140 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor()
2141 SELECT * from t1 where f2=f1' at line 1
2142 CREATE PROCEDURE database()
2143 SELECT * from t1 where f2=f1;
2144 ERROR 42000: You 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()
2145 SELECT * from t1 where f2=f1' at line 1
2146 CREATE PROCEDURE databases()
2147 SELECT * from t1 where f2=f1;
2148 ERROR 42000: You 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()
2149 SELECT * from t1 where f2=f1' at line 1
2150 CREATE PROCEDURE day_hour()
2151 SELECT * from t1 where f2=f1;
2152 ERROR 42000: You 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()
2153 SELECT * from t1 where f2=f1' at line 1
2154 CREATE PROCEDURE day_microsecond()
2155 SELECT * from t1 where f2=f1;
2156 ERROR 42000: You 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()
2157 SELECT * from t1 where f2=f1' at line 1
2158 CREATE PROCEDURE day_minute()
2159 SELECT * from t1 where f2=f1;
2160 ERROR 42000: You 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()
2161 SELECT * from t1 where f2=f1' at line 1
2162 CREATE PROCEDURE day_second()
2163 SELECT * from t1 where f2=f1;
2164 ERROR 42000: You 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()
2165 SELECT * from t1 where f2=f1' at line 1
2166 CREATE PROCEDURE dec()
2167 SELECT * from t1 where f2=f1;
2168 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec()
2169 SELECT * from t1 where f2=f1' at line 1
2170 CREATE PROCEDURE decimal()
2171 SELECT * from t1 where f2=f1;
2172 ERROR 42000: You 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()
2173 SELECT * from t1 where f2=f1' at line 1
2174 CREATE PROCEDURE declare()
2175 SELECT * from t1 where f2=f1;
2176 ERROR 42000: You 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()
2177 SELECT * from t1 where f2=f1' at line 1
2178 CREATE PROCEDURE default()
2179 SELECT * from t1 where f2=f1;
2180 ERROR 42000: You 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()
2181 SELECT * from t1 where f2=f1' at line 1
2182 CREATE PROCEDURE delayed()
2183 SELECT * from t1 where f2=f1;
2184 ERROR 42000: You 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()
2185 SELECT * from t1 where f2=f1' at line 1
2186 CREATE PROCEDURE delete()
2187 SELECT * from t1 where f2=f1;
2188 ERROR 42000: You 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()
2189 SELECT * from t1 where f2=f1' at line 1
2190 CREATE PROCEDURE desc()
2191 SELECT * from t1 where f2=f1;
2192 ERROR 42000: You 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()
2193 SELECT * from t1 where f2=f1' at line 1
2194 CREATE PROCEDURE describe()
2195 SELECT * from t1 where f2=f1;
2196 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe()
2197 SELECT * from t1 where f2=f1' at line 1
2198 CREATE PROCEDURE deterministic()
2199 SELECT * from t1 where f2=f1;
2200 ERROR 42000: You 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()
2201 SELECT * from t1 where f2=f1' at line 1
2202 CREATE PROCEDURE distinct()
2203 SELECT * from t1 where f2=f1;
2204 ERROR 42000: You 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()
2205 SELECT * from t1 where f2=f1' at line 1
2206 CREATE PROCEDURE distinctrow()
2207 SELECT * from t1 where f2=f1;
2208 ERROR 42000: You 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()
2209 SELECT * from t1 where f2=f1' at line 1
2210 CREATE PROCEDURE div()
2211 SELECT * from t1 where f2=f1;
2212 ERROR 42000: You 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()
2213 SELECT * from t1 where f2=f1' at line 1
2214 CREATE PROCEDURE double()
2215 SELECT * from t1 where f2=f1;
2216 ERROR 42000: You 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()
2217 SELECT * from t1 where f2=f1' at line 1
2218 CREATE PROCEDURE drop()
2219 SELECT * from t1 where f2=f1;
2220 ERROR 42000: You 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()
2221 SELECT * from t1 where f2=f1' at line 1
2222 CREATE PROCEDURE dual()
2223 SELECT * from t1 where f2=f1;
2224 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual()
2225 SELECT * from t1 where f2=f1' at line 1
2226 CREATE PROCEDURE each()
2227 SELECT * from t1 where f2=f1;
2228 ERROR 42000: You 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()
2229 SELECT * from t1 where f2=f1' at line 1
2230 CREATE PROCEDURE else()
2231 SELECT * from t1 where f2=f1;
2232 ERROR 42000: You 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()
2233 SELECT * from t1 where f2=f1' at line 1
2234 CREATE PROCEDURE elseif()
2235 SELECT * from t1 where f2=f1;
2236 ERROR 42000: You 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()
2237 SELECT * from t1 where f2=f1' at line 1
2238 CREATE PROCEDURE enclosed()
2239 SELECT * from t1 where f2=f1;
2240 ERROR 42000: You 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()
2241 SELECT * from t1 where f2=f1' at line 1
2242 CREATE PROCEDURE escaped()
2243 SELECT * from t1 where f2=f1;
2244 ERROR 42000: You 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()
2245 SELECT * from t1 where f2=f1' at line 1
2246 CREATE PROCEDURE exists()
2247 SELECT * from t1 where f2=f1;
2248 ERROR 42000: You 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()
2249 SELECT * from t1 where f2=f1' at line 1
2250 CREATE PROCEDURE exit()
2251 SELECT * from t1 where f2=f1;
2252 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit()
2253 SELECT * from t1 where f2=f1' at line 1
2254 CREATE PROCEDURE explain()
2255 SELECT * from t1 where f2=f1;
2256 ERROR 42000: You 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()
2257 SELECT * from t1 where f2=f1' at line 1
2258 CREATE PROCEDURE false()
2259 SELECT * from t1 where f2=f1;
2260 ERROR 42000: You 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()
2261 SELECT * from t1 where f2=f1' at line 1
2262 CREATE PROCEDURE fetch()
2263 SELECT * from t1 where f2=f1;
2264 ERROR 42000: You 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()
2265 SELECT * from t1 where f2=f1' at line 1
2266 CREATE PROCEDURE fields()
2267 SELECT * from t1 where f2=f1;
2268 DROP PROCEDURE fields;
2269 CREATE PROCEDURE float()
2270 SELECT * from t1 where f2=f1;
2271 ERROR 42000: You 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()
2272 SELECT * from t1 where f2=f1' at line 1
2273 CREATE PROCEDURE for()
2274 SELECT * from t1 where f2=f1;
2275 ERROR 42000: You 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()
2276 SELECT * from t1 where f2=f1' at line 1
2277 CREATE PROCEDURE force()
2278 SELECT * from t1 where f2=f1;
2279 ERROR 42000: You 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()
2280 SELECT * from t1 where f2=f1' at line 1
2281 CREATE PROCEDURE foreign()
2282 SELECT * from t1 where f2=f1;
2283 ERROR 42000: You 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()
2284 SELECT * from t1 where f2=f1' at line 1
2285 CREATE PROCEDURE from()
2286 SELECT * from t1 where f2=f1;
2287 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from()
2288 SELECT * from t1 where f2=f1' at line 1
2289 CREATE PROCEDURE fulltext()
2290 SELECT * from t1 where f2=f1;
2291 ERROR 42000: You 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()
2292 SELECT * from t1 where f2=f1' at line 1
2293 CREATE PROCEDURE grant()
2294 SELECT * from t1 where f2=f1;
2295 ERROR 42000: You 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()
2296 SELECT * from t1 where f2=f1' at line 1
2297 CREATE PROCEDURE group()
2298 SELECT * from t1 where f2=f1;
2299 ERROR 42000: You 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()
2300 SELECT * from t1 where f2=f1' at line 1
2301 CREATE PROCEDURE having()
2302 SELECT * from t1 where f2=f1;
2303 ERROR 42000: You 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()
2304 SELECT * from t1 where f2=f1' at line 1
2305 CREATE PROCEDURE high_priority()
2306 SELECT * from t1 where f2=f1;
2307 ERROR 42000: You 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()
2308 SELECT * from t1 where f2=f1' at line 1
2309 CREATE PROCEDURE hour_microsecond()
2310 SELECT * from t1 where f2=f1;
2311 ERROR 42000: You 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()
2312 SELECT * from t1 where f2=f1' at line 1
2313 CREATE PROCEDURE hour_minute()
2314 SELECT * from t1 where f2=f1;
2315 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute()
2316 SELECT * from t1 where f2=f1' at line 1
2317 CREATE PROCEDURE hour_second()
2318 SELECT * from t1 where f2=f1;
2319 ERROR 42000: You 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()
2320 SELECT * from t1 where f2=f1' at line 1
2321 CREATE PROCEDURE if()
2322 SELECT * from t1 where f2=f1;
2323 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '()
2324 SELECT * from t1 where f2=f1' at line 1
2325 CREATE PROCEDURE ignore()
2326 SELECT * from t1 where f2=f1;
2327 ERROR 42000: You 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()
2328 SELECT * from t1 where f2=f1' at line 1
2329 CREATE PROCEDURE in()
2330 SELECT * from t1 where f2=f1;
2331 ERROR 42000: You 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()
2332 SELECT * from t1 where f2=f1' at line 1
2333 CREATE PROCEDURE index()
2334 SELECT * from t1 where f2=f1;
2335 ERROR 42000: You 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()
2336 SELECT * from t1 where f2=f1' at line 1
2337 CREATE PROCEDURE infile()
2338 SELECT * from t1 where f2=f1;
2339 ERROR 42000: You 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()
2340 SELECT * from t1 where f2=f1' at line 1
2341 CREATE PROCEDURE inner()
2342 SELECT * from t1 where f2=f1;
2343 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner()
2344 SELECT * from t1 where f2=f1' at line 1
2345 CREATE PROCEDURE inout()
2346 SELECT * from t1 where f2=f1;
2347 ERROR 42000: You 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()
2348 SELECT * from t1 where f2=f1' at line 1
2349 CREATE PROCEDURE insensitive()
2350 SELECT * from t1 where f2=f1;
2351 ERROR 42000: You 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()
2352 SELECT * from t1 where f2=f1' at line 1
2353 CREATE PROCEDURE insert()
2354 SELECT * from t1 where f2=f1;
2355 ERROR 42000: You 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()
2356 SELECT * from t1 where f2=f1' at line 1
2357 CREATE PROCEDURE int()
2358 SELECT * from t1 where f2=f1;
2359 ERROR 42000: You 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()
2360 SELECT * from t1 where f2=f1' at line 1
2361 CREATE PROCEDURE int1()
2362 SELECT * from t1 where f2=f1;
2363 ERROR 42000: You 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()
2364 SELECT * from t1 where f2=f1' at line 1
2365 CREATE PROCEDURE int2()
2366 SELECT * from t1 where f2=f1;
2367 ERROR 42000: You 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()
2368 SELECT * from t1 where f2=f1' at line 1
2369 CREATE PROCEDURE int3()
2370 SELECT * from t1 where f2=f1;
2371 ERROR 42000: You 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()
2372 SELECT * from t1 where f2=f1' at line 1
2373 CREATE PROCEDURE int4()
2374 SELECT * from t1 where f2=f1;
2375 ERROR 42000: You 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()
2376 SELECT * from t1 where f2=f1' at line 1
2377 CREATE PROCEDURE int8()
2378 SELECT * from t1 where f2=f1;
2379 ERROR 42000: You 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()
2380 SELECT * from t1 where f2=f1' at line 1
2381 CREATE PROCEDURE integer()
2382 SELECT * from t1 where f2=f1;
2383 ERROR 42000: You 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()
2384 SELECT * from t1 where f2=f1' at line 1
2385 CREATE PROCEDURE interval()
2386 SELECT * from t1 where f2=f1;
2387 ERROR 42000: You 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()
2388 SELECT * from t1 where f2=f1' at line 1
2389 CREATE PROCEDURE into()
2390 SELECT * from t1 where f2=f1;
2391 ERROR 42000: You 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()
2392 SELECT * from t1 where f2=f1' at line 1
2393 CREATE PROCEDURE is()
2394 SELECT * from t1 where f2=f1;
2395 ERROR 42000: You 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()
2396 SELECT * from t1 where f2=f1' at line 1
2397 CREATE PROCEDURE iterate()
2398 SELECT * from t1 where f2=f1;
2399 ERROR 42000: You 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()
2400 SELECT * from t1 where f2=f1' at line 1
2401 CREATE PROCEDURE join()
2402 SELECT * from t1 where f2=f1;
2403 ERROR 42000: You 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()
2404 SELECT * from t1 where f2=f1' at line 1
2405 CREATE PROCEDURE key()
2406 SELECT * from t1 where f2=f1;
2407 ERROR 42000: You 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()
2408 SELECT * from t1 where f2=f1' at line 1
2409 CREATE PROCEDURE keys()
2410 SELECT * from t1 where f2=f1;
2411 ERROR 42000: You 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()
2412 SELECT * from t1 where f2=f1' at line 1
2413 CREATE PROCEDURE kill()
2414 SELECT * from t1 where f2=f1;
2415 ERROR 42000: You 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()
2416 SELECT * from t1 where f2=f1' at line 1
2417 CREATE PROCEDURE leading()
2418 SELECT * from t1 where f2=f1;
2419 ERROR 42000: You 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()
2420 SELECT * from t1 where f2=f1' at line 1
2421 CREATE PROCEDURE leave()
2422 SELECT * from t1 where f2=f1;
2423 ERROR 42000: You 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()
2424 SELECT * from t1 where f2=f1' at line 1
2425 CREATE PROCEDURE left()
2426 SELECT * from t1 where f2=f1;
2427 ERROR 42000: You 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()
2428 SELECT * from t1 where f2=f1' at line 1
2429 CREATE PROCEDURE like()
2430 SELECT * from t1 where f2=f1;
2431 ERROR 42000: You 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()
2432 SELECT * from t1 where f2=f1' at line 1
2433 CREATE PROCEDURE limit()
2434 SELECT * from t1 where f2=f1;
2435 ERROR 42000: You 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()
2436 SELECT * from t1 where f2=f1' at line 1
2437 CREATE PROCEDURE linear()
2438 SELECT * from t1 where f2=f1;
2439 ERROR 42000: You 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()
2440 SELECT * from t1 where f2=f1' at line 1
2441 CREATE PROCEDURE lines()
2442 SELECT * from t1 where f2=f1;
2443 ERROR 42000: You 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()
2444 SELECT * from t1 where f2=f1' at line 1
2445 CREATE PROCEDURE load()
2446 SELECT * from t1 where f2=f1;
2447 ERROR 42000: You 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()
2448 SELECT * from t1 where f2=f1' at line 1
2449 CREATE PROCEDURE localtime()
2450 SELECT * from t1 where f2=f1;
2451 ERROR 42000: You 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()
2452 SELECT * from t1 where f2=f1' at line 1
2453 CREATE PROCEDURE localtimestamp()
2454 SELECT * from t1 where f2=f1;
2455 ERROR 42000: You 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()
2456 SELECT * from t1 where f2=f1' at line 1
2457 CREATE PROCEDURE lock()
2458 SELECT * from t1 where f2=f1;
2459 ERROR 42000: You 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()
2460 SELECT * from t1 where f2=f1' at line 1
2461 CREATE PROCEDURE long()
2462 SELECT * from t1 where f2=f1;
2463 ERROR 42000: You 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()
2464 SELECT * from t1 where f2=f1' at line 1
2465 CREATE PROCEDURE longblob()
2466 SELECT * from t1 where f2=f1;
2467 ERROR 42000: You 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()
2468 SELECT * from t1 where f2=f1' at line 1
2469 CREATE PROCEDURE longtext()
2470 SELECT * from t1 where f2=f1;
2471 ERROR 42000: You 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()
2472 SELECT * from t1 where f2=f1' at line 1
2473 CREATE PROCEDURE loop()
2474 SELECT * from t1 where f2=f1;
2475 ERROR 42000: You 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()
2476 SELECT * from t1 where f2=f1' at line 1
2477 CREATE PROCEDURE low_priority()
2478 SELECT * from t1 where f2=f1;
2479 ERROR 42000: You 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()
2480 SELECT * from t1 where f2=f1' at line 1
2481 CREATE PROCEDURE master_ssl_verify_server_cert()
2482 SELECT * from t1 where f2=f1;
2483 ERROR 42000: You 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()
2484 SELECT * from t1 where f2=f1' at line 1
2485 CREATE PROCEDURE match()
2486 SELECT * from t1 where f2=f1;
2487 ERROR 42000: You 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()
2488 SELECT * from t1 where f2=f1' at line 1
2489 CREATE PROCEDURE mediumblob()
2490 SELECT * from t1 where f2=f1;
2491 ERROR 42000: You 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()
2492 SELECT * from t1 where f2=f1' at line 1
2493 CREATE PROCEDURE mediumint()
2494 SELECT * from t1 where f2=f1;
2495 ERROR 42000: You 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()
2496 SELECT * from t1 where f2=f1' at line 1
2497 CREATE PROCEDURE mediumtext()
2498 SELECT * from t1 where f2=f1;
2499 ERROR 42000: You 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()
2500 SELECT * from t1 where f2=f1' at line 1
2501 CREATE PROCEDURE middleint()
2502 SELECT * from t1 where f2=f1;
2503 ERROR 42000: You 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()
2504 SELECT * from t1 where f2=f1' at line 1
2505 CREATE PROCEDURE minute_microsecond()
2506 SELECT * from t1 where f2=f1;
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 'minute_microsecond()
2508 SELECT * from t1 where f2=f1' at line 1
2509 CREATE PROCEDURE minute_second()
2510 SELECT * from t1 where f2=f1;
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 'minute_second()
2512 SELECT * from t1 where f2=f1' at line 1
2513 CREATE PROCEDURE mod()
2514 SELECT * from t1 where f2=f1;
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 'mod()
2516 SELECT * from t1 where f2=f1' at line 1
2517 CREATE PROCEDURE modifies()
2518 SELECT * from t1 where f2=f1;
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 'modifies()
2520 SELECT * from t1 where f2=f1' at line 1
2521 CREATE PROCEDURE natural()
2522 SELECT * from t1 where f2=f1;
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 'natural()
2524 SELECT * from t1 where f2=f1' at line 1
2525 CREATE PROCEDURE not()
2526 SELECT * from t1 where f2=f1;
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 'not()
2528 SELECT * from t1 where f2=f1' at line 1
2529 CREATE PROCEDURE no_write_to_binlog()
2530 SELECT * from t1 where f2=f1;
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 'no_write_to_binlog()
2532 SELECT * from t1 where f2=f1' at line 1
2533 CREATE PROCEDURE null()
2534 SELECT * from t1 where f2=f1;
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 'null()
2536 SELECT * from t1 where f2=f1' at line 1
2537 CREATE PROCEDURE numeric()
2538 SELECT * from t1 where f2=f1;
2539 ERROR 42000: You 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()
2540 SELECT * from t1 where f2=f1' at line 1
2541 CREATE PROCEDURE on()
2542 SELECT * from t1 where f2=f1;
2543 ERROR 42000: You 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()
2544 SELECT * from t1 where f2=f1' at line 1
2545 CREATE PROCEDURE optimize()
2546 SELECT * from t1 where f2=f1;
2547 ERROR 42000: You 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()
2548 SELECT * from t1 where f2=f1' at line 1
2549 CREATE PROCEDURE option()
2550 SELECT * from t1 where f2=f1;
2551 ERROR 42000: You 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()
2552 SELECT * from t1 where f2=f1' at line 1
2553 CREATE PROCEDURE optionally()
2554 SELECT * from t1 where f2=f1;
2555 ERROR 42000: You 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()
2556 SELECT * from t1 where f2=f1' at line 1
2557 CREATE PROCEDURE or()
2558 SELECT * from t1 where f2=f1;
2559 ERROR 42000: You 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()
2560 SELECT * from t1 where f2=f1' at line 1
2561 CREATE PROCEDURE order()
2562 SELECT * from t1 where f2=f1;
2563 ERROR 42000: You 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()
2564 SELECT * from t1 where f2=f1' at line 1
2565 CREATE PROCEDURE out()
2566 SELECT * from t1 where f2=f1;
2567 ERROR 42000: You 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()
2568 SELECT * from t1 where f2=f1' at line 1
2569 CREATE PROCEDURE outer()
2570 SELECT * from t1 where f2=f1;
2571 ERROR 42000: You 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()
2572 SELECT * from t1 where f2=f1' at line 1
2573 CREATE PROCEDURE outfile()
2574 SELECT * from t1 where f2=f1;
2575 ERROR 42000: You 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()
2576 SELECT * from t1 where f2=f1' at line 1
2577 CREATE PROCEDURE precision()
2578 SELECT * from t1 where f2=f1;
2579 ERROR 42000: You 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()
2580 SELECT * from t1 where f2=f1' at line 1
2581 CREATE PROCEDURE primary()
2582 SELECT * from t1 where f2=f1;
2583 ERROR 42000: You 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()
2584 SELECT * from t1 where f2=f1' at line 1
2585 CREATE PROCEDURE procedure()
2586 SELECT * from t1 where f2=f1;
2587 ERROR 42000: You 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()
2588 SELECT * from t1 where f2=f1' at line 1
2589 CREATE PROCEDURE purge()
2590 SELECT * from t1 where f2=f1;
2591 ERROR 42000: You 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()
2592 SELECT * from t1 where f2=f1' at line 1
2593 CREATE PROCEDURE range()
2594 SELECT * from t1 where f2=f1;
2595 ERROR 42000: You 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()
2596 SELECT * from t1 where f2=f1' at line 1
2597 CREATE PROCEDURE read()
2598 SELECT * from t1 where f2=f1;
2599 ERROR 42000: You 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()
2600 SELECT * from t1 where f2=f1' at line 1
2601 CREATE PROCEDURE reads()
2602 SELECT * from t1 where f2=f1;
2603 ERROR 42000: You 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()
2604 SELECT * from t1 where f2=f1' at line 1
2605 CREATE PROCEDURE real()
2606 SELECT * from t1 where f2=f1;
2607 ERROR 42000: You 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()
2608 SELECT * from t1 where f2=f1' at line 1
2609 CREATE PROCEDURE references()
2610 SELECT * from t1 where f2=f1;
2611 ERROR 42000: You 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()
2612 SELECT * from t1 where f2=f1' at line 1
2613 CREATE PROCEDURE regexp()
2614 SELECT * from t1 where f2=f1;
2615 ERROR 42000: You 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()
2616 SELECT * from t1 where f2=f1' at line 1
2617 CREATE PROCEDURE release()
2618 SELECT * from t1 where f2=f1;
2619 ERROR 42000: You 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()
2620 SELECT * from t1 where f2=f1' at line 1
2621 CREATE PROCEDURE rename()
2622 SELECT * from t1 where f2=f1;
2623 ERROR 42000: You 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()
2624 SELECT * from t1 where f2=f1' at line 1
2625 CREATE PROCEDURE repeat()
2626 SELECT * from t1 where f2=f1;
2627 ERROR 42000: You 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()
2628 SELECT * from t1 where f2=f1' at line 1
2629 CREATE PROCEDURE replace()
2630 SELECT * from t1 where f2=f1;
2631 ERROR 42000: You 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()
2632 SELECT * from t1 where f2=f1' at line 1
2633 CREATE PROCEDURE require()
2634 SELECT * from t1 where f2=f1;
2635 ERROR 42000: You 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()
2636 SELECT * from t1 where f2=f1' at line 1
2637 CREATE PROCEDURE restrict()
2638 SELECT * from t1 where f2=f1;
2639 ERROR 42000: You 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()
2640 SELECT * from t1 where f2=f1' at line 1
2641 CREATE PROCEDURE return()
2642 SELECT * from t1 where f2=f1;
2643 ERROR 42000: You 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()
2644 SELECT * from t1 where f2=f1' at line 1
2645 CREATE PROCEDURE revoke()
2646 SELECT * from t1 where f2=f1;
2647 ERROR 42000: You 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()
2648 SELECT * from t1 where f2=f1' at line 1
2649 CREATE PROCEDURE right()
2650 SELECT * from t1 where f2=f1;
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 'right()
2652 SELECT * from t1 where f2=f1' at line 1
2653 CREATE PROCEDURE rlike()
2654 SELECT * from t1 where f2=f1;
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 'rlike()
2656 SELECT * from t1 where f2=f1' at line 1
2657 CREATE PROCEDURE schema()
2658 SELECT * from t1 where f2=f1;
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 'schema()
2660 SELECT * from t1 where f2=f1' at line 1
2661 CREATE PROCEDURE schemas()
2662 SELECT * from t1 where f2=f1;
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 'schemas()
2664 SELECT * from t1 where f2=f1' at line 1
2665 CREATE PROCEDURE second_microsecond()
2666 SELECT * from t1 where f2=f1;
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 'second_microsecond()
2668 SELECT * from t1 where f2=f1' at line 1
2669 CREATE PROCEDURE select()
2670 SELECT * from t1 where f2=f1;
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 'select()
2672 SELECT * from t1 where f2=f1' at line 1
2673 CREATE PROCEDURE sensitive()
2674 SELECT * from t1 where f2=f1;
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 'sensitive()
2676 SELECT * from t1 where f2=f1' at line 1
2677 CREATE PROCEDURE separator()
2678 SELECT * from t1 where f2=f1;
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 'separator()
2680 SELECT * from t1 where f2=f1' at line 1
2681 CREATE PROCEDURE set()
2682 SELECT * from t1 where f2=f1;
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 'set()
2684 SELECT * from t1 where f2=f1' at line 1
2685 CREATE PROCEDURE show()
2686 SELECT * from t1 where f2=f1;
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 'show()
2688 SELECT * from t1 where f2=f1' at line 1
2689 CREATE PROCEDURE smallint()
2690 SELECT * from t1 where f2=f1;
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 'smallint()
2692 SELECT * from t1 where f2=f1' at line 1
2693 CREATE PROCEDURE spatial()
2694 SELECT * from t1 where f2=f1;
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 'spatial()
2696 SELECT * from t1 where f2=f1' at line 1
2697 CREATE PROCEDURE specific()
2698 SELECT * from t1 where f2=f1;
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 'specific()
2700 SELECT * from t1 where f2=f1' at line 1
2701 CREATE PROCEDURE sql()
2702 SELECT * from t1 where f2=f1;
2703 ERROR 42000: You 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()
2704 SELECT * from t1 where f2=f1' at line 1
2705 CREATE PROCEDURE sqlexception()
2706 SELECT * from t1 where f2=f1;
2707 ERROR 42000: You 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()
2708 SELECT * from t1 where f2=f1' at line 1
2709 CREATE PROCEDURE sqlstate()
2710 SELECT * from t1 where f2=f1;
2711 ERROR 42000: You 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()
2712 SELECT * from t1 where f2=f1' at line 1
2713 CREATE PROCEDURE sqlwarning()
2714 SELECT * from t1 where f2=f1;
2715 ERROR 42000: You 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()
2716 SELECT * from t1 where f2=f1' at line 1
2717 CREATE PROCEDURE sql_big_result()
2718 SELECT * from t1 where f2=f1;
2719 ERROR 42000: You 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()
2720 SELECT * from t1 where f2=f1' at line 1
2721 CREATE PROCEDURE sql_calc_found_rows()
2722 SELECT * from t1 where f2=f1;
2723 ERROR 42000: You 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()
2724 SELECT * from t1 where f2=f1' at line 1
2725 CREATE PROCEDURE sql_small_result()
2726 SELECT * from t1 where f2=f1;
2727 ERROR 42000: You 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()
2728 SELECT * from t1 where f2=f1' at line 1
2729 CREATE PROCEDURE ssl()
2730 SELECT * from t1 where f2=f1;
2731 ERROR 42000: You 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()
2732 SELECT * from t1 where f2=f1' at line 1
2733 CREATE PROCEDURE starting()
2734 SELECT * from t1 where f2=f1;
2735 ERROR 42000: You 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()
2736 SELECT * from t1 where f2=f1' at line 1
2737 CREATE PROCEDURE straight_join()
2738 SELECT * from t1 where f2=f1;
2739 ERROR 42000: You 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()
2740 SELECT * from t1 where f2=f1' at line 1
2741 CREATE PROCEDURE table()
2742 SELECT * from t1 where f2=f1;
2743 ERROR 42000: You 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()
2744 SELECT * from t1 where f2=f1' at line 1
2745 CREATE PROCEDURE terminated()
2746 SELECT * from t1 where f2=f1;
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 'terminated()
2748 SELECT * from t1 where f2=f1' at line 1
2749 CREATE PROCEDURE then()
2750 SELECT * from t1 where f2=f1;
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 'then()
2752 SELECT * from t1 where f2=f1' at line 1
2753 CREATE PROCEDURE tinyblob()
2754 SELECT * from t1 where f2=f1;
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 'tinyblob()
2756 SELECT * from t1 where f2=f1' at line 1
2757 CREATE PROCEDURE tinyint()
2758 SELECT * from t1 where f2=f1;
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 'tinyint()
2760 SELECT * from t1 where f2=f1' at line 1
2761 CREATE PROCEDURE tinytext()
2762 SELECT * from t1 where f2=f1;
2763 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext()
2764 SELECT * from t1 where f2=f1' at line 1
2765 CREATE PROCEDURE to()
2766 SELECT * from t1 where f2=f1;
2767 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to()
2768 SELECT * from t1 where f2=f1' at line 1
2769 CREATE PROCEDURE trailing()
2770 SELECT * from t1 where f2=f1;
2771 ERROR 42000: You 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()
2772 SELECT * from t1 where f2=f1' at line 1
2773 CREATE PROCEDURE trigger()
2774 SELECT * from t1 where f2=f1;
2775 ERROR 42000: You 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()
2776 SELECT * from t1 where f2=f1' at line 1
2777 CREATE PROCEDURE true()
2778 SELECT * from t1 where f2=f1;
2779 ERROR 42000: You 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()
2780 SELECT * from t1 where f2=f1' at line 1
2781 CREATE PROCEDURE undo()
2782 SELECT * from t1 where f2=f1;
2783 ERROR 42000: You 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()
2784 SELECT * from t1 where f2=f1' at line 1
2785 CREATE PROCEDURE union()
2786 SELECT * from t1 where f2=f1;
2787 ERROR 42000: You 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()
2788 SELECT * from t1 where f2=f1' at line 1
2789 CREATE PROCEDURE unique()
2790 SELECT * from t1 where f2=f1;
2791 ERROR 42000: You 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()
2792 SELECT * from t1 where f2=f1' at line 1
2793 CREATE PROCEDURE unlock()
2794 SELECT * from t1 where f2=f1;
2795 ERROR 42000: You 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()
2796 SELECT * from t1 where f2=f1' at line 1
2797 CREATE PROCEDURE unsigned()
2798 SELECT * from t1 where f2=f1;
2799 ERROR 42000: You 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()
2800 SELECT * from t1 where f2=f1' at line 1
2801 CREATE PROCEDURE update()
2802 SELECT * from t1 where f2=f1;
2803 ERROR 42000: You 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()
2804 SELECT * from t1 where f2=f1' at line 1
2805 CREATE PROCEDURE usage()
2806 SELECT * from t1 where f2=f1;
2807 ERROR 42000: You 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()
2808 SELECT * from t1 where f2=f1' at line 1
2809 CREATE PROCEDURE use()
2810 SELECT * from t1 where f2=f1;
2811 ERROR 42000: You 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()
2812 SELECT * from t1 where f2=f1' at line 1
2813 CREATE PROCEDURE using()
2814 SELECT * from t1 where f2=f1;
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 'using()
2816 SELECT * from t1 where f2=f1' at line 1
2817 CREATE PROCEDURE utc_date()
2818 SELECT * from t1 where f2=f1;
2819 ERROR 42000: You 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()
2820 SELECT * from t1 where f2=f1' at line 1
2821 CREATE PROCEDURE utc_time()
2822 SELECT * from t1 where f2=f1;
2823 ERROR 42000: You 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()
2824 SELECT * from t1 where f2=f1' at line 1
2825 CREATE PROCEDURE utc_timestamp()
2826 SELECT * from t1 where f2=f1;
2827 ERROR 42000: You 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()
2828 SELECT * from t1 where f2=f1' at line 1
2829 CREATE PROCEDURE values()
2830 SELECT * from t1 where f2=f1;
2831 ERROR 42000: You 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()
2832 SELECT * from t1 where f2=f1' at line 1
2833 CREATE PROCEDURE varbinary()
2834 SELECT * from t1 where f2=f1;
2835 ERROR 42000: You 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()
2836 SELECT * from t1 where f2=f1' at line 1
2837 CREATE PROCEDURE varchar()
2838 SELECT * from t1 where f2=f1;
2839 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar()
2840 SELECT * from t1 where f2=f1' at line 1
2841 CREATE PROCEDURE varcharacter()
2842 SELECT * from t1 where f2=f1;
2843 ERROR 42000: You 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()
2844 SELECT * from t1 where f2=f1' at line 1
2845 CREATE PROCEDURE varying()
2846 SELECT * from t1 where f2=f1;
2847 ERROR 42000: You 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()
2848 SELECT * from t1 where f2=f1' at line 1
2849 CREATE PROCEDURE when()
2850 SELECT * from t1 where f2=f1;
2851 ERROR 42000: You 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()
2852 SELECT * from t1 where f2=f1' at line 1
2853 CREATE PROCEDURE where()
2854 SELECT * from t1 where f2=f1;
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 'where()
2856 SELECT * from t1 where f2=f1' at line 1
2857 CREATE PROCEDURE while()
2858 SELECT * from t1 where f2=f1;
2859 ERROR 42000: You 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()
2860 SELECT * from t1 where f2=f1' at line 1
2861 CREATE PROCEDURE with()
2862 SELECT * from t1 where f2=f1;
2863 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with()
2864 SELECT * from t1 where f2=f1' at line 1
2865 CREATE PROCEDURE write()
2866 SELECT * from t1 where f2=f1;
2867 ERROR 42000: You 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()
2868 SELECT * from t1 where f2=f1' at line 1
2869 CREATE PROCEDURE xor()
2870 SELECT * from t1 where f2=f1;
2871 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor()
2872 SELECT * from t1 where f2=f1' at line 1
2873 CREATE PROCEDURE year_month()
2874 SELECT * from t1 where f2=f1;
2875 ERROR 42000: You 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()
2876 SELECT * from t1 where f2=f1' at line 1
2877 CREATE PROCEDURE zerofill()
2878 SELECT * from t1 where f2=f1;
2879 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill()
2880 SELECT * from t1 where f2=f1' at line 1
2881 Warnings:
2882 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2883
2884 Testcase 4.1.15:
2885 ----------------
2886 Ensure that any invalid function name is never accepted, and that an appropriate
2887 error message is returned when the name is rejected
2888 --------------------------------------------------------------------------------
2889 Warnings:
2890 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
2891 CREATE FUNCTION !_fn1(f1 char) returns char
2892 return f1;
2893 ERROR 42000: You 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
2894 return f1' at line 1
2895 CREATE FUNCTION char(f1 char) returns char
2896 return f1;
2897 ERROR 42000: You 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
2898 return f1' at line 1
2899 CREATE FUNCTION char binary(f1 char binary) returns char binary
2900 return f1;
2901 ERROR 42000: You 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
2902 return f1' at line 1
2903 CREATE FUNCTION char ascii(f1 char ascii) returns char ascii
2904 return f1;
2905 ERROR 42000: You 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
2906 return f1' at line 1
2907 CREATE FUNCTION char not null(f1 char not null) returns char not null
2908 return f1;
2909 ERROR 42000: You 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
2910 return f1' at line 1
2911 CREATE FUNCTION char binary not null(f1 char binary not null) returns char binary not null
2912 return f1;
2913 ERROR 42000: You 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
2914 retur' at line 1
2915 CREATE FUNCTION char ascii not null(f1 char ascii not null) returns char ascii not null
2916 return f1;
2917 ERROR 42000: You 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
2918 return f' at line 1
2919 CREATE FUNCTION tinytext(f1 tinytext) returns tinytext
2920 return f1;
2921 ERROR 42000: You 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
2922 return f1' at line 1
2923 CREATE FUNCTION text(f1 text) returns text
2924 return f1;
2925 DROP FUNCTION text;
2926 CREATE FUNCTION mediumtext(f1 mediumtext) returns mediumtext
2927 return f1;
2928 ERROR 42000: You 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
2929 return f1' at line 1
2930 CREATE FUNCTION longtext(f1 longtext) returns longtext
2931 return f1;
2932 ERROR 42000: You 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
2933 return f1' at line 1
2934 CREATE FUNCTION tinytext not null(f1 tinytext not null) returns tinytext not null
2935 return f1;
2936 ERROR 42000: You 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
2937 return f1' at line 1
2938 CREATE FUNCTION text not null(f1 text not null) returns text not null
2939 return f1;
2940 ERROR 42000: You 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
2941 return f1' at line 1
2942 CREATE FUNCTION mediumtext not null(f1 mediumtext not null) returns mediumtext not null
2943 return f1;
2944 ERROR 42000: You 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
2945 return f' at line 1
2946 CREATE FUNCTION longtext not null(f1 longtext not null) returns longtext not null
2947 return f1;
2948 ERROR 42000: You 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
2949 return f1' at line 1
2950 CREATE FUNCTION tinyblob(f1 tinyblob) returns tinyblob
2951 return f1;
2952 ERROR 42000: You 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
2953 return f1' at line 1
2954 CREATE FUNCTION blob(f1 blob) returns blob
2955 return f1;
2956 ERROR 42000: You 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
2957 return f1' at line 1
2958 CREATE FUNCTION mediumblob(f1 mediumblob) returns mediumblob
2959 return f1;
2960 ERROR 42000: You 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
2961 return f1' at line 1
2962 CREATE FUNCTION longblob(f1 longblob) returns longblob
2963 return f1;
2964 ERROR 42000: You 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
2965 return f1' at line 1
2966 CREATE FUNCTION tinyblob not null(f1 tinyblob not null) returns tinyblob not null
2967 return f1;
2968 ERROR 42000: You 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
2969 return f1' at line 1
2970 CREATE FUNCTION blob not null(f1 blob not null) returns blob not null
2971 return f1;
2972 ERROR 42000: You 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
2973 return f1' at line 1
2974 CREATE FUNCTION mediumblob not null(f1 mediumblob not null) returns mediumblob not null
2975 return f1;
2976 ERROR 42000: You 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
2977 return f' at line 1
2978 CREATE FUNCTION longblob not null(f1 longblob not null) returns longblob not null
2979 return f1;
2980 ERROR 42000: You 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
2981 return f1' at line 1
2982 CREATE FUNCTION binary(f1 binary) returns binary
2983 return f1;
2984 ERROR 42000: You 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
2985 return f1' at line 1
2986 CREATE FUNCTION binary not null(f1 binary not null) returns binary not null
2987 return f1;
2988 ERROR 42000: You 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
2989 return f1' at line 1
2990 CREATE FUNCTION tinyint(f1 tinyint) returns tinyint
2991 return f1;
2992 ERROR 42000: You 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
2993 return f1' at line 1
2994 CREATE FUNCTION tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
2995 return f1;
2996 ERROR 42000: You 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
2997 return f1' at line 1
2998 CREATE FUNCTION tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
2999 return f1;
3000 ERROR 42000: You 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
3001 return f1' at line 1
3002 CREATE FUNCTION tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
3003 return f1;
3004 ERROR 42000: You 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
3005 CREATE FUNCTION smallint(f1 smallint) returns smallint
3006 return f1;
3007 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint(f1 smallint) returns smallint
3008 return f1' at line 1
3009 CREATE FUNCTION smallint unsigned(f1 smallint unsigned) returns smallint unsigned
3010 return f1;
3011 ERROR 42000: You 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
3012 return f1' at line 1
3013 CREATE FUNCTION smallint zerofill(f1 smallint zerofill) returns smallint zerofill
3014 return f1;
3015 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill(f1 smallint zerofill) returns smallint zerofill
3016 return f1' at line 1
3017 CREATE FUNCTION smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsigned zerofill
3018 return f1;
3019 ERROR 42000: You 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
3020 CREATE FUNCTION mediumint(f1 mediumint) returns mediumint
3021 return f1;
3022 ERROR 42000: You 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
3023 return f1' at line 1
3024 CREATE FUNCTION mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
3025 return f1;
3026 ERROR 42000: You 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
3027 return f1' at line 1
3028 CREATE FUNCTION mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
3029 return f1;
3030 ERROR 42000: You 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
3031 return f1' at line 1
3032 CREATE FUNCTION mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
3033 return f1;
3034 ERROR 42000: You 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
3035 CREATE FUNCTION int(f1 int) returns int
3036 return f1;
3037 ERROR 42000: You 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
3038 return f1' at line 1
3039 CREATE FUNCTION int1(f1 int1) returns int1
3040 return f1;
3041 ERROR 42000: You 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
3042 return f1' at line 1
3043 CREATE FUNCTION int2(f1 int2) returns int2
3044 return f1;
3045 ERROR 42000: You 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
3046 return f1' at line 1
3047 CREATE FUNCTION int3(f1 int3) returns int3
3048 return f1;
3049 ERROR 42000: You 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
3050 return f1' at line 1
3051 CREATE FUNCTION int4(f1 int4) returns int4
3052 return f1;
3053 ERROR 42000: You 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
3054 return f1' at line 1
3055 CREATE FUNCTION int8(f1 int8) returns int8
3056 return f1;
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 'int8(f1 int8) returns int8
3058 return f1' at line 1
3059 CREATE FUNCTION int unsigned(f1 int unsigned) returns int unsigned
3060 return f1;
3061 ERROR 42000: You 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
3062 return f1' at line 1
3063 CREATE FUNCTION int zerofill(f1 int zerofill) returns int zerofill
3064 return f1;
3065 ERROR 42000: You 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
3066 return f1' at line 1
3067 CREATE FUNCTION int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill
3068 return f1;
3069 ERROR 42000: You 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
3070 re' at line 1
3071 CREATE FUNCTION bigint(f1 bigint) returns bigint
3072 return f1;
3073 ERROR 42000: You 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
3074 return f1' at line 1
3075 CREATE FUNCTION bigint unsigned(f1 bigint unsigned) returns bigint unsigned
3076 return f1;
3077 ERROR 42000: You 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
3078 return f1' at line 1
3079 CREATE FUNCTION bigint zerofill(f1 bigint zerofill) returns bigint zerofill
3080 return f1;
3081 ERROR 42000: You 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
3082 return f1' at line 1
3083 CREATE FUNCTION bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned zerofill
3084 return f1;
3085 ERROR 42000: You 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
3086 CREATE FUNCTION decimal(f1 decimal) returns decimal
3087 return f1;
3088 ERROR 42000: You 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
3089 return f1' at line 1
3090 CREATE FUNCTION decimal unsigned(f1 decimal unsigned) returns decimal unsigned
3091 return f1;
3092 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned(f1 decimal unsigned) returns decimal unsigned
3093 return f1' at line 1
3094 CREATE FUNCTION decimal zerofill(f1 decimal zerofill) returns decimal zerofill
3095 return f1;
3096 ERROR 42000: You 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
3097 return f1' at line 1
3098 CREATE FUNCTION decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned zerofill
3099 return f1;
3100 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned' at line 1
3101 CREATE FUNCTION numeric(f1 numeric) returns numeric
3102 return f1;
3103 ERROR 42000: You 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
3104 return f1' at line 1
3105 CREATE FUNCTION numeric unsigned(f1 numeric unsigned) returns numeric unsigned
3106 return f1;
3107 ERROR 42000: You 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
3108 return f1' at line 1
3109 CREATE FUNCTION numeric zerofill(f1 numeric zerofill) returns numeric zerofill
3110 return f1;
3111 ERROR 42000: You 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
3112 return f1' at line 1
3113 CREATE FUNCTION numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned zerofill
3114 return f1;
3115 ERROR 42000: You 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
3116 CREATE FUNCTION real(f1 real) returns real
3117 return f1;
3118 ERROR 42000: You 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
3119 return f1' at line 1
3120 CREATE FUNCTION real unsigned(f1 real unsigned) returns real unsigned
3121 return f1;
3122 ERROR 42000: You 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
3123 return f1' at line 1
3124 CREATE FUNCTION real zerofill(f1 real zerofill) returns real zerofill
3125 return f1;
3126 ERROR 42000: You 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
3127 return f1' at line 1
3128 CREATE FUNCTION real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill
3129 return f1;
3130 ERROR 42000: You 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
3131 CREATE FUNCTION float(f1 float) returns float
3132 return f1;
3133 ERROR 42000: You 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
3134 return f1' at line 1
3135 CREATE FUNCTION float unsigned(f1 float unsigned) returns float unsigned
3136 return f1;
3137 ERROR 42000: You 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
3138 return f1' at line 1
3139 CREATE FUNCTION float zerofill(f1 float zerofill) returns float zerofill
3140 return f1;
3141 ERROR 42000: You 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
3142 return f1' at line 1
3143 CREATE FUNCTION float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerofill
3144 return f1;
3145 ERROR 42000: You 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
3146 CREATE FUNCTION date(f1 date) returns date
3147 return f1;
3148 DROP FUNCTION date;
3149 CREATE FUNCTION time(f1 time) returns time
3150 return f1;
3151 DROP FUNCTION time;
3152 CREATE FUNCTION datetime(f1 datetime) returns datetime
3153 return f1;
3154 DROP FUNCTION datetime;
3155 CREATE FUNCTION timestamp(f1 timestamp) returns timestamp
3156 return f1;
3157 DROP FUNCTION timestamp;
3158 CREATE FUNCTION year(f1 year) returns year
3159 return f1;
3160 DROP FUNCTION year;
3161 CREATE FUNCTION year(4)(f1 year(4)) returns year(4)
3162 return f1;
3163 ERROR 42000: You 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)
3164 return f1' at line 1
3165 CREATE FUNCTION enum("1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
3166 return f1;
3167 ERROR 42000: You 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")
3168 retu' at line 1
3169 CREATE FUNCTION set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
3170 return f1;
3171 ERROR 42000: You 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")
3172 return f' at line 1
3173 DROP FUNCTION IF EXISTS fn1;
3174 Warnings:
3175 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3176 CREATE FUNCTION fn1(f1 char ) returns char
3177 return f1;
3178 DROP FUNCTION IF EXISTS fn1;
3179 CREATE FUNCTION fn1(f1 char binary ) returns char binary
3180 return f1;
3181 ERROR 42000: This version of MySQL doesn't yet support 'return value collation'
3182 DROP FUNCTION IF EXISTS fn1;
3183 Warnings:
3184 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3185 CREATE FUNCTION fn1(f1 char ascii ) returns char ascii
3186 return f1;
3187 Warnings:
3188 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
3189 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
3190 DROP FUNCTION IF EXISTS fn1;
3191 CREATE FUNCTION fn1(f1 char not null ) returns char not null
3192 return f1;
3193 ERROR 42000: You 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
3194 return f1' at line 1
3195 DROP FUNCTION IF EXISTS fn1;
3196 Warnings:
3197 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3198 CREATE FUNCTION fn1(f1 char binary not null ) returns char binary not null
3199 return f1;
3200 ERROR 42000: You 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
3201 return f1' at line 1
3202 DROP FUNCTION IF EXISTS fn1;
3203 Warnings:
3204 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3205 CREATE FUNCTION fn1(f1 char ascii not null ) returns char ascii not null
3206 return f1;
3207 ERROR 42000: You 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
3208 return f1' at line 1
3209 DROP FUNCTION IF EXISTS fn1;
3210 Warnings:
3211 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3212 CREATE FUNCTION fn1(f1 tinytext ) returns tinytext
3213 return f1;
3214 DROP FUNCTION IF EXISTS fn1;
3215 CREATE FUNCTION fn1(f1 text ) returns text
3216 return f1;
3217 DROP FUNCTION IF EXISTS fn1;
3218 CREATE FUNCTION fn1(f1 mediumtext ) returns mediumtext
3219 return f1;
3220 DROP FUNCTION IF EXISTS fn1;
3221 CREATE FUNCTION fn1(f1 longtext ) returns longtext
3222 return f1;
3223 DROP FUNCTION IF EXISTS fn1;
3224 CREATE FUNCTION fn1(f1 tinytext not null ) returns tinytext not null
3225 return f1;
3226 ERROR 42000: You 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
3227 return f1' at line 1
3228 DROP FUNCTION IF EXISTS fn1;
3229 Warnings:
3230 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3231 CREATE FUNCTION fn1(f1 text not null ) returns text not null
3232 return f1;
3233 ERROR 42000: You 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
3234 return f1' at line 1
3235 DROP FUNCTION IF EXISTS fn1;
3236 Warnings:
3237 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3238 CREATE FUNCTION fn1(f1 mediumtext not null ) returns mediumtext not null
3239 return f1;
3240 ERROR 42000: You 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
3241 return f1' at line 1
3242 DROP FUNCTION IF EXISTS fn1;
3243 Warnings:
3244 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3245 CREATE FUNCTION fn1(f1 longtext not null ) returns longtext not null
3246 return f1;
3247 ERROR 42000: You 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
3248 return f1' at line 1
3249 DROP FUNCTION IF EXISTS fn1;
3250 Warnings:
3251 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3252 CREATE FUNCTION fn1(f1 tinyblob ) returns tinyblob
3253 return f1;
3254 DROP FUNCTION IF EXISTS fn1;
3255 CREATE FUNCTION fn1(f1 blob ) returns blob
3256 return f1;
3257 DROP FUNCTION IF EXISTS fn1;
3258 CREATE FUNCTION fn1(f1 mediumblob ) returns mediumblob
3259 return f1;
3260 DROP FUNCTION IF EXISTS fn1;
3261 CREATE FUNCTION fn1(f1 longblob ) returns longblob
3262 return f1;
3263 DROP FUNCTION IF EXISTS fn1;
3264 CREATE FUNCTION fn1(f1 tinyblob not null ) returns tinyblob not null
3265 return f1;
3266 ERROR 42000: You 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
3267 return f1' at line 1
3268 DROP FUNCTION IF EXISTS fn1;
3269 Warnings:
3270 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3271 CREATE FUNCTION fn1(f1 blob not null ) returns blob not null
3272 return f1;
3273 ERROR 42000: You 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
3274 return f1' at line 1
3275 DROP FUNCTION IF EXISTS fn1;
3276 Warnings:
3277 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3278 CREATE FUNCTION fn1(f1 mediumblob not null ) returns mediumblob not null
3279 return f1;
3280 ERROR 42000: You 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
3281 return f1' at line 1
3282 DROP FUNCTION IF EXISTS fn1;
3283 Warnings:
3284 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3285 CREATE FUNCTION fn1(f1 longblob not null ) returns longblob not null
3286 return f1;
3287 ERROR 42000: You 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
3288 return f1' at line 1
3289 DROP FUNCTION IF EXISTS fn1;
3290 Warnings:
3291 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3292 CREATE FUNCTION fn1(f1 binary ) returns binary
3293 return f1;
3294 DROP FUNCTION IF EXISTS fn1;
3295 CREATE FUNCTION fn1(f1 binary not null ) returns binary not null
3296 return f1;
3297 ERROR 42000: You 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
3298 return f1' at line 1
3299 DROP FUNCTION IF EXISTS fn1;
3300 Warnings:
3301 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3302 CREATE FUNCTION fn1(f1 tinyint ) returns tinyint
3303 return f1;
3304 DROP FUNCTION IF EXISTS fn1;
3305 CREATE FUNCTION fn1(f1 tinyint unsigned ) returns tinyint unsigned
3306 return f1;
3307 DROP FUNCTION IF EXISTS fn1;
3308 CREATE FUNCTION fn1(f1 tinyint zerofill ) returns tinyint zerofill
3309 return f1;
3310 Warnings:
3311 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3312 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3313 DROP FUNCTION IF EXISTS fn1;
3314 CREATE FUNCTION fn1(f1 tinyint unsigned zerofill ) returns tinyint unsigned zerofill
3315 return f1;
3316 Warnings:
3317 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3318 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3319 DROP FUNCTION IF EXISTS fn1;
3320 CREATE FUNCTION fn1(f1 smallint ) returns smallint
3321 return f1;
3322 DROP FUNCTION IF EXISTS fn1;
3323 CREATE FUNCTION fn1(f1 smallint unsigned ) returns smallint unsigned
3324 return f1;
3325 DROP FUNCTION IF EXISTS fn1;
3326 CREATE FUNCTION fn1(f1 smallint zerofill ) returns smallint zerofill
3327 return f1;
3328 Warnings:
3329 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3330 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3331 DROP FUNCTION IF EXISTS fn1;
3332 CREATE FUNCTION fn1(f1 smallint unsigned zerofill ) returns smallint unsigned zerofill
3333 return f1;
3334 Warnings:
3335 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3336 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3337 DROP FUNCTION IF EXISTS fn1;
3338 CREATE FUNCTION fn1(f1 mediumint ) returns mediumint
3339 return f1;
3340 DROP FUNCTION IF EXISTS fn1;
3341 CREATE FUNCTION fn1(f1 mediumint unsigned ) returns mediumint unsigned
3342 return f1;
3343 DROP FUNCTION IF EXISTS fn1;
3344 CREATE FUNCTION fn1(f1 mediumint zerofill ) returns mediumint zerofill
3345 return f1;
3346 Warnings:
3347 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3348 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3349 DROP FUNCTION IF EXISTS fn1;
3350 CREATE FUNCTION fn1(f1 mediumint unsigned zerofill ) returns mediumint unsigned zerofill
3351 return f1;
3352 Warnings:
3353 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3354 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3355 DROP FUNCTION IF EXISTS fn1;
3356 CREATE FUNCTION fn1(f1 int ) returns int
3357 return f1;
3358 DROP FUNCTION IF EXISTS fn1;
3359 CREATE FUNCTION fn1(f1 int unsigned ) returns int unsigned
3360 return f1;
3361 DROP FUNCTION IF EXISTS fn1;
3362 CREATE FUNCTION fn1(f1 int1 unsigned ) returns int1 unsigned
3363 return f1;
3364 DROP FUNCTION IF EXISTS fn1;
3365 CREATE FUNCTION fn1(f1 int2 unsigned ) returns int2 unsigned
3366 return f1;
3367 DROP FUNCTION IF EXISTS fn1;
3368 CREATE FUNCTION fn1(f1 int3 unsigned ) returns int3 unsigned
3369 return f1;
3370 DROP FUNCTION IF EXISTS fn1;
3371 CREATE FUNCTION fn1(f1 int4 unsigned ) returns int4 unsigned
3372 return f1;
3373 DROP FUNCTION IF EXISTS fn1;
3374 CREATE FUNCTION fn1(f1 int8 unsigned ) returns int8 unsigned
3375 return f1;
3376 DROP FUNCTION IF EXISTS fn1;
3377 CREATE FUNCTION fn1(f1 int zerofill ) returns int zerofill
3378 return f1;
3379 Warnings:
3380 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3381 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3382 DROP FUNCTION IF EXISTS fn1;
3383 CREATE FUNCTION fn1(f1 int unsigned zerofill ) returns int unsigned zerofill
3384 return f1;
3385 Warnings:
3386 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3387 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3388 DROP FUNCTION IF EXISTS fn1;
3389 CREATE FUNCTION fn1(f1 bigint ) returns bigint
3390 return f1;
3391 DROP FUNCTION IF EXISTS fn1;
3392 CREATE FUNCTION fn1(f1 bigint unsigned ) returns bigint unsigned
3393 return f1;
3394 DROP FUNCTION IF EXISTS fn1;
3395 CREATE FUNCTION fn1(f1 bigint zerofill ) returns bigint zerofill
3396 return f1;
3397 Warnings:
3398 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3399 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3400 DROP FUNCTION IF EXISTS fn1;
3401 CREATE FUNCTION fn1(f1 bigint unsigned zerofill ) returns bigint unsigned zerofill
3402 return f1;
3403 Warnings:
3404 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3405 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3406 DROP FUNCTION IF EXISTS fn1;
3407 CREATE FUNCTION fn1(f1 decimal ) returns decimal
3408 return f1;
3409 DROP FUNCTION IF EXISTS fn1;
3410 CREATE FUNCTION fn1(f1 decimal unsigned ) returns decimal unsigned
3411 return f1;
3412 Warnings:
3413 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3414 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3415 DROP FUNCTION IF EXISTS fn1;
3416 CREATE FUNCTION fn1(f1 decimal zerofill ) returns decimal zerofill
3417 return f1;
3418 Warnings:
3419 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3420 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3421 DROP FUNCTION IF EXISTS fn1;
3422 CREATE FUNCTION fn1(f1 decimal unsigned zerofill ) returns decimal unsigned zerofill
3423 return f1;
3424 Warnings:
3425 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3426 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3427 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3428 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3429 DROP FUNCTION IF EXISTS fn1;
3430 CREATE FUNCTION fn1(f1 numeric ) returns numeric
3431 return f1;
3432 DROP FUNCTION IF EXISTS fn1;
3433 CREATE FUNCTION fn1(f1 numeric unsigned ) returns numeric unsigned
3434 return f1;
3435 Warnings:
3436 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3437 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3438 DROP FUNCTION IF EXISTS fn1;
3439 CREATE FUNCTION fn1(f1 numeric zerofill ) returns numeric zerofill
3440 return f1;
3441 Warnings:
3442 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3443 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3444 DROP FUNCTION IF EXISTS fn1;
3445 CREATE FUNCTION fn1(f1 numeric unsigned zerofill ) returns numeric unsigned zerofill
3446 return f1;
3447 Warnings:
3448 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3449 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3450 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3451 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3452 DROP FUNCTION IF EXISTS fn1;
3453 CREATE FUNCTION fn1(f1 real ) returns real
3454 return f1;
3455 DROP FUNCTION IF EXISTS fn1;
3456 CREATE FUNCTION fn1(f1 real unsigned ) returns real unsigned
3457 return f1;
3458 Warnings:
3459 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3460 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3461 DROP FUNCTION IF EXISTS fn1;
3462 CREATE FUNCTION fn1(f1 real zerofill ) returns real zerofill
3463 return f1;
3464 Warnings:
3465 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3466 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3467 DROP FUNCTION IF EXISTS fn1;
3468 CREATE FUNCTION fn1(f1 real unsigned zerofill ) returns real unsigned zerofill
3469 return f1;
3470 Warnings:
3471 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3472 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3473 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3474 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3475 DROP FUNCTION IF EXISTS fn1;
3476 CREATE FUNCTION fn1(f1 float ) returns float
3477 return f1;
3478 DROP FUNCTION IF EXISTS fn1;
3479 CREATE FUNCTION fn1(f1 float unsigned ) returns float unsigned
3480 return f1;
3481 Warnings:
3482 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3483 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3484 DROP FUNCTION IF EXISTS fn1;
3485 CREATE FUNCTION fn1(f1 float zerofill ) returns float zerofill
3486 return f1;
3487 Warnings:
3488 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3489 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3490 DROP FUNCTION IF EXISTS fn1;
3491 CREATE FUNCTION fn1(f1 float unsigned zerofill ) returns float unsigned zerofill
3492 return f1;
3493 Warnings:
3494 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3495 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3496 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
3497 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
3498 DROP FUNCTION IF EXISTS fn1;
3499 CREATE FUNCTION fn1(f1 date ) returns date
3500 return f1;
3501 DROP FUNCTION IF EXISTS fn1;
3502 CREATE FUNCTION fn1(f1 time ) returns time
3503 return f1;
3504 DROP FUNCTION IF EXISTS fn1;
3505 CREATE FUNCTION fn1(f1 datetime ) returns datetime
3506 return f1;
3507 DROP FUNCTION IF EXISTS fn1;
3508 CREATE FUNCTION fn1(f1 timestamp ) returns timestamp
3509 return f1;
3510 DROP FUNCTION IF EXISTS fn1;
3511 CREATE FUNCTION fn1(f1 year ) returns year
3512 return f1;
3513 DROP FUNCTION IF EXISTS fn1;
3514 CREATE FUNCTION fn1(f1 year(f1 4) ) returns year(4)
3515 return f1;
3516 ERROR 42000: You 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)
3517 return f1' at line 1
3518 DROP FUNCTION IF EXISTS fn1;
3519 Warnings:
3520 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3521 CREATE FUNCTION fn1(f1 enum(f1 "1enum", "2enum") ) returns enum("1enum", "2enum")
3522 return f1;
3523 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 "1enum", "2enum") ) returns enum("1enum", "2enum")
3524 return f1' at line 1
3525 DROP FUNCTION IF EXISTS fn1;
3526 Warnings:
3527 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3528 CREATE FUNCTION fn1(f1 set(f1 "1set", "2set") ) returns set("1set", "2set")
3529 return f1;
3530 ERROR 42000: You 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")
3531 return f1' at line 1
3532 Warnings:
3533 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3534
3535 Testcase 4.1.16:
3536 ----------------
3537 Ensure that a reference to a non-existent stored procedure is rejected with an
3538 appropriate error message
3539 --------------------------------------------------------------------------------
3540 Warnings:
3541 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3542 DROP PROCEDURE IF EXISTS sp16;
3543 Warnings:
3544 Note 1305 PROCEDURE db_storedproc.sp16 does not exist
3545 CALL sp16( 'xyz' );
3546 ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3547 CREATE DATABASE db1;
3548 USE db1;
3549 CREATE PROCEDURE sp16()
3550 BEGIN
3551 set @var1 = 1;
3552 SELECT @var1;
3553 END//
3554 CALL db_storedproc.sp16();
3555 ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3556 USE db_storedproc;
3557 DROP PROCEDURE db1.sp16;
3558 DROP DATABASE db1;
3559 Warnings:
3560 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3561
3562 Testcase 4.1.17:
3563 ----------------
3564 Ensure that it is possible to drop, create and CALL/execute a procedure and a
3565 function with the same name, even in the same database
3566 --------------------------------------------------------------------------------
3567 Warnings:
3568 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3569 USE db_storedproc;
3570 DROP FUNCTION IF EXISTS sp1;
3571 Warnings:
3572 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3573 DROP PROCEDURE IF EXISTS sp1;
3574 Warnings:
3575 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3576 CREATE PROCEDURE sp1 ()
3577 BEGIN
3578 declare x enum( 'db1', 'test' ) default 'test';
3579 SELECT x;
3580 END//
3581 CALL sp1();
3582 x
3583 test
3584 CREATE FUNCTION sp1 (y char) returns char return y;
3585 SELECT sp1( 'a' );
3586 sp1( 'a' )
3587 a
3588 DROP DATABASE IF EXISTS db1;
3589 Warnings:
3590 Note 1008 Can't drop database 'db1'; database doesn't exist
3591 CREATE DATABASE db1;
3592 USE db1;
3593 CALL db_storedproc.sp1( );
3594 x
3595 test
3596 SELECT db_storedproc.sp1( 'a' );
3597 db_storedproc.sp1( 'a' )
3598 a
3599 DROP FUNCTION db_storedproc.sp1;
3600 USE db_storedproc;
3601 SELECT sp1('a');
3602 ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3603 DROP PROCEDURE sp1;
3604 CALL sp1();
3605 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3606 SELECT sp1('a');
3607 ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3608 USE db_storedproc;
3609 DROP DATABASE db1;
3610 Warnings:
3611 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3612
3613 Testcase 4.1.18:
3614 ----------------
3615 Ensure that it is possible to alter a procedure and
3616 a function with the same name, in the same database
3617 --------------------------------------------------------------------------------
3618 Warnings:
3619 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3620 USE db_storedproc;
3621 DROP PROCEDURE IF EXISTS sp1;
3622 Warnings:
3623 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3624 DROP FUNCTION IF EXISTS sp1;
3625 Warnings:
3626 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3627 set @x=null;
3628 set @y=null;
3629 CREATE PROCEDURE sp1()
3630 BEGIN
3631 set @x= 1;
3632 SELECT @x;
3633 END//
3634 CREATE FUNCTION sp1 () returns int return 2.2;
3635 CALL db_storedproc.sp1();
3636 @x
3637 1
3638 SELECT db_storedproc.sp1();
3639 db_storedproc.sp1()
3640 2
3641 DROP DATABASE IF EXISTS db1;
3642 Warnings:
3643 Note 1008 Can't drop database 'db1'; database doesn't exist
3644 CREATE DATABASE db1;
3645 USE db1;
3646 alter procedure db_storedproc.sp1 sql security invoker;
3647 SELECT routine_name, routine_type, security_type from information_schema.routines
3648 where routine_schema like 'db_storedproc%' and routine_name='sp1';
3649 ROUTINE_NAME ROUTINE_TYPE SECURITY_TYPE
3650 sp1 FUNCTION DEFINER
3651 sp1 PROCEDURE INVOKER
3652 alter function db_storedproc.sp1 sql security invoker;
3653 SELECT routine_name, routine_type, security_type from information_schema.routines
3654 where routine_schema like 'db_storedproc%' and routine_name='sp1';
3655 ROUTINE_NAME ROUTINE_TYPE SECURITY_TYPE
3656 sp1 FUNCTION INVOKER
3657 sp1 PROCEDURE INVOKER
3658 CALL db_storedproc.sp1();
3659 @x
3660 1
3661 SELECT db_storedproc.sp1();
3662 db_storedproc.sp1()
3663 2
3664 USE db_storedproc;
3665 alter procedure sp1 sql security DEFINER;
3666 CALL db_storedproc.sp1();
3667 @x
3668 1
3669 SELECT db_storedproc.sp1();
3670 db_storedproc.sp1()
3671 2
3672 alter function sp1 sql security DEFINER;
3673 SELECT routine_name, routine_type, security_type from information_schema.routines
3674 where routine_schema like 'db_storedproc%' and routine_name='sp1';
3675 ROUTINE_NAME ROUTINE_TYPE SECURITY_TYPE
3676 sp1 FUNCTION DEFINER
3677 sp1 PROCEDURE DEFINER
3678 CALL db_storedproc.sp1();
3679 @x
3680 1
3681 SELECT db_storedproc.sp1();
3682 db_storedproc.sp1()
3683 2
3684 USE db_storedproc;
3685 DROP DATABASE db1;
3686 DROP PROCEDURE db_storedproc.sp1;
3687 DROP FUNCTION db_storedproc.sp1;
3688 Warnings:
3689 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3690
3691 Testcase 4.1.19:
3692 ----------------
3693 verify altering procedure and function with the same name, does not affect
3694 properties of a procedure and a function with the same name in the different
3695 database.
3696 --------------------------------------------------------------------------------
3697 Warnings:
3698 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3699 CREATE DATABASE db_storedproc_3122;
3700 USE db_storedproc;
3701 SET @x = NULL;
3702 SET @y = NULL;
3703 DROP PROCEDURE IF EXISTS sp1;
3704 Warnings:
3705 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3706 DROP FUNCTION IF EXISTS sp1;
3707 Warnings:
3708 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3709 DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
3710 Warnings:
3711 Note 1305 PROCEDURE db_storedproc_3122.sp1 does not exist
3712 DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
3713 Warnings:
3714 Note 1305 FUNCTION db_storedproc_3122.sp1 does not exist
3715 CREATE PROCEDURE sp1()
3716 BEGIN
3717 SET @x = 1;
3718 SELECT @x;
3719 END//
3720 CREATE FUNCTION db_storedproc_3122.sp1() RETURNS DOUBLE RETURN 2.2;
3721 CALL sp1();
3722 @x
3723 1
3724 SELECT db_storedproc_3122.sp1();
3725 db_storedproc_3122.sp1()
3726 2.2
3727 USE db_storedproc_3122;
3728 CREATE PROCEDURE sp1 ()
3729 BEGIN
3730 SET @x = 3;
3731 SELECT @x;
3732 END//
3733 CREATE FUNCTION db_storedproc.sp1() RETURNS DOUBLE RETURN 4.4;
3734 CALL sp1();
3735 @x
3736 3
3737 SELECT db_storedproc.sp1();
3738 db_storedproc.sp1()
3739 4.4
3740 ALTER PROCEDURE db_storedproc_3122.sp1 SQL SECURITY INVOKER;
3741 ALTER FUNCTION sp1 SQL SECURITY INVOKER;
3742 SELECT routine_name, routine_type, security_type from information_schema.routines
3743 where routine_schema like 'db_storedproc%' and routine_name='sp1';
3744 ROUTINE_NAME ROUTINE_TYPE SECURITY_TYPE
3745 sp1 FUNCTION DEFINER
3746 sp1 FUNCTION INVOKER
3747 sp1 PROCEDURE DEFINER
3748 sp1 PROCEDURE INVOKER
3749 CALL db_storedproc.sp1();
3750 @x
3751 1
3752 SELECT db_storedproc.sp1();
3753 db_storedproc.sp1()
3754 4.4
3755 CALL db_storedproc_3122.sp1();
3756 @x
3757 3
3758 SELECT db_storedproc_3122.sp1();
3759 db_storedproc_3122.sp1()
3760 2.2
3761 USE db_storedproc;
3762 DROP DATABASE db_storedproc_3122;
3763 DROP FUNCTION db_storedproc.sp1;
3764 DROP PROCEDURE db_storedproc.sp1;
3765 Warnings:
3766 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3767
3768 Testcase 4.1.20:
3769 ----------------
3770 Ensure that it is possible to alter the comment of a procedure
3771 and a function with the same name, even in the same database
3772 --------------------------------------------------------------------------------
3773 Warnings:
3774 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3775 USE db_storedproc;
3776 set @x=null;
3777 DROP PROCEDURE IF EXISTS sp1;
3778 DROP FUNCTION IF EXISTS sp1;
3779 CREATE PROCEDURE sp1 () set @x= 1;
3780 CREATE FUNCTION sp1 () returns int return 2;
3781 DROP DATABASE IF EXISTS db_storedproc_3122;
3782 Warnings:
3783 Note 1008 Can't drop database 'db_storedproc_3122'; database doesn't exist
3784 CREATE DATABASE db_storedproc_3122;
3785 USE db_storedproc_3122;
3786 CREATE PROCEDURE sp1 () set @x= 3;
3787 CREATE FUNCTION sp1 () returns int return 4;
3788 alter procedure sp1 sql security invoker comment 'this is a procedure';
3789 alter function sp1 sql security invoker comment 'this is a function';
3790 alter procedure sp1 sql security DEFINER;
3791 alter function sp1 sql security DEFINER;
3792 show CREATE PROCEDURE sp1;
3793 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
3794 sp1 NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`()
3795 COMMENT 'this is a procedure'
3796 set @x= 3 latin1 <modified> <created>
3797 show CREATE FUNCTION sp1;
3798 Function sql_mode Create Function character_set_client collation_connection Database Collation
3799 sp1 NO_ENGINE_SUBSTITUTION CREATE DEFINER=`root`@`localhost` FUNCTION `sp1`() RETURNS int
3800 COMMENT 'this is a function'
3801 return 4 latin1 <modified> <created>
3802 USE db_storedproc;
3803 DROP DATABASE db_storedproc_3122;
3804 DROP FUNCTION db_storedproc.sp1;
3805 DROP PROCEDURE db_storedproc.sp1;
3806 Warnings:
3807 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3808
3809 Testcase 4.1.21:
3810 ----------------
3811 Ensure that it is not possible to create two procedures with same name
3812 in same database
3813 --------------------------------------------------------------------------------
3814 Warnings:
3815 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3816 USE db_storedproc;
3817 set @x=null;
3818 set @y=null;
3819 CREATE DATABASE db1;
3820 DROP PROCEDURE IF EXISTS sp1;
3821 Warnings:
3822 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3823 CREATE PROCEDURE sp1 () set @x=1;
3824 CREATE PROCEDURE sp1 () set @x=2;
3825 ERROR 42000: PROCEDURE sp1 already exists
3826 CALL sp1();
3827 SELECT @x;
3828 @x
3829 1
3830 USE db1;
3831 CREATE PROCEDURE db_storedproc.sp1 () set @x=3;
3832 ERROR 42000: PROCEDURE sp1 already exists
3833 CALL db_storedproc.sp1();
3834 SELECT @x;
3835 @x
3836 1
3837 DROP PROCEDURE IF EXISTS db_storedproc.sp1;
3838 CREATE PROCEDURE db_storedproc.sp1 () set @x=1;
3839 CREATE PROCEDURE db_storedproc.sp1 () set @x=2;
3840 ERROR 42000: PROCEDURE sp1 already exists
3841 CALL db_storedproc.sp1();
3842 SELECT @x;
3843 @x
3844 1
3845 USE db_storedproc;
3846 DROP DATABASE db1;
3847 DROP PROCEDURE db_storedproc.sp1;
3848 Warnings:
3849 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3850
3851 Testcase 4.1.22:
3852 ----------------
3853 Ensure that it is not possible to create two functions with same name in the
3854 same database
3855 --------------------------------------------------------------------------------
3856 Warnings:
3857 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3858 USE db_storedproc;
3859 DROP DATABASE IF EXISTS db1;
3860 Warnings:
3861 Note 1008 Can't drop database 'db1'; database doesn't exist
3862 CREATE DATABASE db1;
3863 DROP FUNCTION IF EXISTS fn1;
3864 Warnings:
3865 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3866 CREATE FUNCTION fn1 () returns int return 1;
3867 CREATE FUNCTION fn1 () returns int return 2;
3868 ERROR 42000: FUNCTION fn1 already exists
3869 SELECT fn1();
3870 fn1()
3871 1
3872 USE db1;
3873 CREATE FUNCTION db_storedproc.fn1 () returns int return 3;
3874 ERROR 42000: FUNCTION fn1 already exists
3875 SELECT db_storedproc.fn1();
3876 db_storedproc.fn1()
3877 1
3878 DROP FUNCTION IF EXISTS db_storedproc.fn1;
3879 CREATE FUNCTION db_storedproc.fn1 () returns int return 1;
3880 CREATE FUNCTION db_storedproc.fn1 () returns int return 2;
3881 ERROR 42000: FUNCTION fn1 already exists
3882 SELECT db_storedproc.fn1();
3883 db_storedproc.fn1()
3884 1
3885 USE db_storedproc;
3886 DROP DATABASE db1;
3887 DROP FUNCTION db_storedproc.fn1;
3888 Warnings:
3889 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3890
3891 Testcase 4.1.23:
3892 ----------------
3893 Ensure that it is possible to create two or more procedures with the same name,
3894 providing each resides in different databases
3895 --------------------------------------------------------------------------------
3896 Warnings:
3897 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3898 USE db_storedproc;
3899 set @x=null;
3900 set @y=null;
3901 DROP PROCEDURE IF EXISTS sp1;
3902 Warnings:
3903 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3904 CREATE PROCEDURE sp1 () set @x= 1;
3905 DROP DATABASE IF EXISTS test3124;
3906 Warnings:
3907 Note 1008 Can't drop database 'test3124'; database doesn't exist
3908 CREATE DATABASE test3124;
3909 USE test3124;
3910 CREATE PROCEDURE sp1 () set @y= 2;
3911 CALL sp1();
3912 SELECT @x, @y;
3913 @x @y
3914 NULL 2
3915 USE db_storedproc;
3916 CALL sp1();
3917 SELECT @x, @y;
3918 @x @y
3919 1 2
3920 USE db_storedproc;
3921 DROP DATABASE test3124;
3922 DROP PROCEDURE db_storedproc.sp1;
3923 Warnings:
3924 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3925
3926 Testcase 4.1.24:
3927 ----------------
3928 Ensure that it is possible to create two or more functions with the same name,
3929 providing each resides in different databases.
3930 --------------------------------------------------------------------------------
3931 Warnings:
3932 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3933 USE db_storedproc;
3934 DROP FUNCTION IF EXISTS f1;
3935 Warnings:
3936 Note 1305 FUNCTION db_storedproc.f1 does not exist
3937 CREATE FUNCTION f1 () returns int return 1;
3938 DROP DATABASE IF EXISTS test3125;
3939 Warnings:
3940 Note 1008 Can't drop database 'test3125'; database doesn't exist
3941 CREATE DATABASE test3125;
3942 USE test3125;
3943 CREATE FUNCTION f1 () returns int return 2;
3944 SELECT f1();
3945 f1()
3946 2
3947 USE db_storedproc;
3948 SELECT f1();
3949 f1()
3950 1
3951 USE db_storedproc;
3952 DROP DATABASE test3125;
3953 DROP FUNCTION db_storedproc.f1;
3954 Warnings:
3955 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3956
3957 Testcase 4.1.25:
3958 ----------------
3959 Ensure that any invalid function name is never accepted, and that an appropriate
3960 error message is returned when the name is rejected. (invalid func name)
3961 --------------------------------------------------------------------------------
3962 Warnings:
3963 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
3964 CREATE FUNCTION !_fn1( f1 char(20) ) returns int
3965 BEGIN
3966 SELECT * from t1 where f2 = f1;
3967 return 1;
3968 END//
3969 ERROR 42000: You 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
3970 BEGIN
3971 SELECT * from t1 where f2 = f1;
3972 return 1;' at line 1
3973 CREATE FUNCTION fn1( f1 char(20) ) return int
3974 BEGIN
3975 SELECT * from t1 where f2 = f1;
3976 return 1;
3977 END//
3978 ERROR 42000: You 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
3979 BEGIN
3980 SELECT * from t1 where f2 = f1;
3981 return 1;
3982 END' at line 1
3983 CREATE FUNCTION fn1() returns int
3984 return 'a';
3985 CREATE FUNCTION procedure() returns int
3986 return 1;
3987 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure() returns int
3988 return 1' at line 1
3989 CREATE FUNCTION fn1(a char) returns int lang sql return 1;
3990 ERROR 42000: You 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
3991 CREATE FUNCTION fn1(a char) returns int deterministic( return 1);
3992 ERROR 42000: You 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
3993 CREATE FUNCTION fn1(a char) returns int non deterministic return 1;
3994 ERROR 42000: You 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
3995 CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1;
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 'refiner return 1' at line 1
3997 DROP FUNCTION IF EXISTS fn1;
3998 Warnings:
3999 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4000
4001 Testcase 4.1.1:
4002 ---------------
4003 Ensure that all clauses that should be supported are supported.
4004 CREATE PROCEDURE
4005 --------------------------------------------------------------------------------
4006 Warnings:
4007 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4008 USE db_storedproc;
4009 set @count = 0;
4010 DROP PROCEDURE IF EXISTS sp1;
4011 CREATE PROCEDURE sp1(cnt int(20))
4012 BEGIN
4013 SELECT count(*) into cnt from t2;
4014 set @count = cnt;
4015 END//
4016 Warnings:
4017 Warning 1681 Integer display width is deprecated and will be removed in a future release.
4018 CALL sp1( 10 );
4019 SELECT @count;
4020 @count
4021 10
4022 DROP PROCEDURE sp1;
4023 Warnings:
4024 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4025
4026 Testcase 4.2.2:
4027 BEGINend
4028 --------------------------------------------------------------------------------
4029 Warnings:
4030 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4031 DROP PROCEDURE IF EXISTS sp1;
4032 CREATE PROCEDURE sp1( cnt int(20) )
4033 BEGIN
4034 SELECT count(*) into cnt from t2;
4035 set @count = cnt;
4036 SELECT @count;
4037 END//
4038 Warnings:
4039 Warning 1681 Integer display width is deprecated and will be removed in a future release.
4040 CALL sp1( 10 );
4041 @count
4042 10
4043 DROP PROCEDURE IF EXISTS sp1;
4044 CREATE PROCEDURE sp1( cnt int(20) )
4045 SELECT count(*) into cnt from t2;
4046 set @count = cnt;
4047 SELECT @count;
4048 END//
4049 ERROR 42S22: Unknown column 'cnt' in 'field list'
4050 CALL sp1( 10 );
4051 DROP PROCEDURE sp1;
4052 CREATE PROCEDURE sp1( cnt int(20) )
4053 END
4054 SELECT count(*) into cnt from t2;
4055 set @count = cnt;
4056 SELECT @count;
4057 BEGIN//
4058 ERROR 42000: You 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
4059 SELECT count(*) into cnt from t2;
4060 set @count = cnt;
4061 SELECT @count;
4062 BEGIN' at line 2
4063 CALL sp1( 10 );
4064 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
4065 DROP PROCEDURE IF EXISTS sp1;
4066 CREATE PROCEDURE sp1( cnt int(20) )
4067 BEGIN
4068 SELECT count(*) into cnt from t2;
4069 BEGIN
4070 BEGIN END;
4071 BEGIN
4072 END;
4073 set @count = cnt;
4074 SELECT @count;
4075 END//
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 '' at line 10
4077 Warnings:
4078 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4079
4080 Testcase 4.2.4:
4081 ---------------
4082 Ensure that every BEGIN statement is coupled with a terminating END statement.
4083 (BEGIN with no END)
4084 --------------------------------------------------------------------------------
4085 Warnings:
4086 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4087 DROP PROCEDURE IF EXISTS sp1;
4088 CREATE PROCEDURE sp1( )
4089 BEGIN
4090 declare x char;
4091 declare y char;
4092 SELECT f1, f2 into x, y from t2 limit 1;
4093 END//
4094 Warnings:
4095 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4096
4097 Testcase ....:
4098 --------------
4099
4100 --------------------------------------------------------------------------------
4101 Warnings:
4102 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
4103 DROP PROCEDURE IF EXISTS sp1;
4104 CREATE PROCEDURE sp1()
4105 accessible:BEGIN
4106 SELECT @x;
4107 END//
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 'accessible:BEGIN
4109 SELECT @x;
4110 END' at line 2
4111 DROP PROCEDURE IF EXISTS sp1;
4112 CREATE PROCEDURE sp1()
4113 add:BEGIN
4114 SELECT @x;
4115 END//
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 'add:BEGIN
4117 SELECT @x;
4118 END' at line 2
4119 DROP PROCEDURE IF EXISTS sp1;
4120 CREATE PROCEDURE sp1()
4121 all:BEGIN
4122 SELECT @x;
4123 END//
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 'all:BEGIN
4125 SELECT @x;
4126 END' at line 2
4127 DROP PROCEDURE IF EXISTS sp1;
4128 CREATE PROCEDURE sp1()
4129 alter:BEGIN
4130 SELECT @x;
4131 END//
4132 ERROR 0A000: ALTER VIEW is not allowed in stored procedures
4133 DROP PROCEDURE IF EXISTS sp1;
4134 CREATE PROCEDURE sp1()
4135 analyze:BEGIN
4136 SELECT @x;
4137 END//
4138 ERROR 42000: You 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
4139 SELECT @x;
4140 END' at line 2
4141 DROP PROCEDURE IF EXISTS sp1;
4142 CREATE PROCEDURE sp1()
4143 and:BEGIN
4144 SELECT @x;
4145 END//
4146 ERROR 42000: You 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
4147 SELECT @x;
4148 END' at line 2
4149 DROP PROCEDURE IF EXISTS sp1;
4150 CREATE PROCEDURE sp1()
4151 as:BEGIN
4152 SELECT @x;
4153 END//
4154 ERROR 42000: You 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
4155 SELECT @x;
4156 END' at line 2
4157 DROP PROCEDURE IF EXISTS sp1;
4158 CREATE PROCEDURE sp1()
4159 asc:BEGIN
4160 SELECT @x;
4161 END//
4162 ERROR 42000: You 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
4163 SELECT @x;
4164 END' at line 2
4165 DROP PROCEDURE IF EXISTS sp1;
4166 CREATE PROCEDURE sp1()
4167 asensitive:BEGIN
4168 SELECT @x;
4169 END//
4170 ERROR 42000: You 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
4171 SELECT @x;
4172 END' at line 2
4173 DROP PROCEDURE IF EXISTS sp1;
4174 CREATE PROCEDURE sp1()
4175 before:BEGIN
4176 SELECT @x;
4177 END//
4178 ERROR 42000: You 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
4179 SELECT @x;
4180 END' at line 2
4181 DROP PROCEDURE IF EXISTS sp1;
4182 CREATE PROCEDURE sp1()
4183 between:BEGIN
4184 SELECT @x;
4185 END//
4186 ERROR 42000: You 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
4187 SELECT @x;
4188 END' at line 2
4189 DROP PROCEDURE IF EXISTS sp1;
4190 CREATE PROCEDURE sp1()
4191 bigint:BEGIN
4192 SELECT @x;
4193 END//
4194 ERROR 42000: You 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
4195 SELECT @x;
4196 END' at line 2
4197 DROP PROCEDURE IF EXISTS sp1;
4198 CREATE PROCEDURE sp1()
4199 binary:BEGIN
4200 SELECT @x;
4201 END//
4202 ERROR 42000: You 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
4203 SELECT @x;
4204 END' at line 2
4205 DROP PROCEDURE IF EXISTS sp1;
4206 CREATE PROCEDURE sp1()
4207 blob:BEGIN
4208 SELECT @x;
4209 END//
4210 ERROR 42000: You 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
4211 SELECT @x;
4212 END' at line 2
4213 DROP PROCEDURE IF EXISTS sp1;
4214 CREATE PROCEDURE sp1()
4215 both:BEGIN
4216 SELECT @x;
4217 END//
4218 ERROR 42000: You 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
4219 SELECT @x;
4220 END' at line 2
4221 DROP PROCEDURE IF EXISTS sp1;
4222 CREATE PROCEDURE sp1()
4223 by:BEGIN
4224 SELECT @x;
4225 END//
4226 ERROR 42000: You 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
4227 SELECT @x;
4228 END' at line 2
4229 DROP PROCEDURE IF EXISTS sp1;
4230 CREATE PROCEDURE sp1()
4231 call:BEGIN
4232 SELECT @x;
4233 END//
4234 ERROR 42000: You 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
4235 SELECT @x;
4236 END' at line 2
4237 DROP PROCEDURE IF EXISTS sp1;
4238 CREATE PROCEDURE sp1()
4239 cascade:BEGIN
4240 SELECT @x;
4241 END//
4242 ERROR 42000: You 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
4243 SELECT @x;
4244 END' at line 2
4245 DROP PROCEDURE IF EXISTS sp1;
4246 CREATE PROCEDURE sp1()
4247 case:BEGIN
4248 SELECT @x;
4249 END//
4250 ERROR 42000: You 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
4251 SELECT @x;
4252 END' at line 2
4253 DROP PROCEDURE IF EXISTS sp1;
4254 CREATE PROCEDURE sp1()
4255 change:BEGIN
4256 SELECT @x;
4257 END//
4258 ERROR 42000: You 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
4259 SELECT @x;
4260 END' at line 2
4261 DROP PROCEDURE IF EXISTS sp1;
4262 CREATE PROCEDURE sp1()
4263 char:BEGIN
4264 SELECT @x;
4265 END//
4266 ERROR 42000: You 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
4267 SELECT @x;
4268 END' at line 2
4269 DROP PROCEDURE IF EXISTS sp1;
4270 CREATE PROCEDURE sp1()
4271 character:BEGIN
4272 SELECT @x;
4273 END//
4274 ERROR 42000: You 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
4275 SELECT @x;
4276 END' at line 2
4277 DROP PROCEDURE IF EXISTS sp1;
4278 CREATE PROCEDURE sp1()
4279 check:BEGIN
4280 SELECT @x;
4281 END//
4282 ERROR 42000: You 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
4283 SELECT @x;
4284 END' at line 2
4285 DROP PROCEDURE IF EXISTS sp1;
4286 CREATE PROCEDURE sp1()
4287 collate:BEGIN
4288 SELECT @x;
4289 END//
4290 ERROR 42000: You 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
4291 SELECT @x;
4292 END' at line 2
4293 DROP PROCEDURE IF EXISTS sp1;
4294 CREATE PROCEDURE sp1()
4295 column:BEGIN
4296 SELECT @x;
4297 END//
4298 ERROR 42000: You 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
4299 SELECT @x;
4300 END' at line 2
4301 DROP PROCEDURE IF EXISTS sp1;
4302 CREATE PROCEDURE sp1()
4303 condition:BEGIN
4304 SELECT @x;
4305 END//
4306 ERROR 42000: You 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
4307 SELECT @x;
4308 END' at line 2
4309 DROP PROCEDURE IF EXISTS sp1;
4310 CREATE PROCEDURE sp1()
4311 constraint:BEGIN
4312 SELECT @x;
4313 END//
4314 ERROR 42000: You 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
4315 SELECT @x;
4316 END' at line 2
4317 DROP PROCEDURE IF EXISTS sp1;
4318 CREATE PROCEDURE sp1()
4319 continue:BEGIN
4320 SELECT @x;
4321 END//
4322 ERROR 42000: You 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
4323 SELECT @x;
4324 END' at line 2
4325 DROP PROCEDURE IF EXISTS sp1;
4326 CREATE PROCEDURE sp1()
4327 convert:BEGIN
4328 SELECT @x;
4329 END//
4330 ERROR 42000: You 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
4331 SELECT @x;
4332 END' at line 2
4333 DROP PROCEDURE IF EXISTS sp1;
4334 CREATE PROCEDURE sp1()
4335 create:BEGIN
4336 SELECT @x;
4337 END//
4338 ERROR 42000: You 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
4339 SELECT @x;
4340 END' at line 2
4341 DROP PROCEDURE IF EXISTS sp1;
4342 CREATE PROCEDURE sp1()
4343 cross:BEGIN
4344 SELECT @x;
4345 END//
4346 ERROR 42000: You 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
4347 SELECT @x;
4348 END' at line 2
4349 DROP PROCEDURE IF EXISTS sp1;
4350 CREATE PROCEDURE sp1()
4351 current_date:BEGIN
4352 SELECT @x;
4353 END//
4354 ERROR 42000: You 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
4355 SELECT @x;
4356 END' at line 2
4357 DROP PROCEDURE IF EXISTS sp1;
4358 CREATE PROCEDURE sp1()
4359 current_time:BEGIN
4360 SELECT @x;
4361 END//
4362 ERROR 42000: You 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
4363 SELECT @x;
4364 END' at line 2
4365 DROP PROCEDURE IF EXISTS sp1;
4366 CREATE PROCEDURE sp1()
4367 current_timestamp:BEGIN
4368 SELECT @x;
4369 END//
4370 ERROR 42000: You 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
4371 SELECT @x;
4372 END' at line 2
4373 DROP PROCEDURE IF EXISTS sp1;
4374 CREATE PROCEDURE sp1()
4375 current_user:BEGIN
4376 SELECT @x;
4377 END//
4378 ERROR 42000: You 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
4379 SELECT @x;
4380 END' at line 2
4381 DROP PROCEDURE IF EXISTS sp1;
4382 CREATE PROCEDURE sp1()
4383 cursor:BEGIN
4384 SELECT @x;
4385 END//
4386 ERROR 42000: You 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
4387 SELECT @x;
4388 END' at line 2
4389 DROP PROCEDURE IF EXISTS sp1;
4390 CREATE PROCEDURE sp1()
4391 database:BEGIN
4392 SELECT @x;
4393 END//
4394 ERROR 42000: You 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
4395 SELECT @x;
4396 END' at line 2
4397 DROP PROCEDURE IF EXISTS sp1;
4398 CREATE PROCEDURE sp1()
4399 databases:BEGIN
4400 SELECT @x;
4401 END//
4402 ERROR 42000: You 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
4403 SELECT @x;
4404 END' at line 2
4405 DROP PROCEDURE IF EXISTS sp1;
4406 CREATE PROCEDURE sp1()
4407 day_hour:BEGIN
4408 SELECT @x;
4409 END//
4410 ERROR 42000: You 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
4411 SELECT @x;
4412 END' at line 2
4413 DROP PROCEDURE IF EXISTS sp1;
4414 CREATE PROCEDURE sp1()
4415 day_microsecond:BEGIN
4416 SELECT @x;
4417 END//
4418 ERROR 42000: You 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
4419 SELECT @x;
4420 END' at line 2
4421 DROP PROCEDURE IF EXISTS sp1;
4422 CREATE PROCEDURE sp1()
4423 day_minute:BEGIN
4424 SELECT @x;
4425 END//
4426 ERROR 42000: You 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
4427 SELECT @x;
4428 END' at line 2
4429 DROP PROCEDURE IF EXISTS sp1;
4430 CREATE PROCEDURE sp1()
4431 day_second:BEGIN
4432 SELECT @x;
4433 END//
4434 ERROR 42000: You 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
4435 SELECT @x;
4436 END' at line 2
4437 DROP PROCEDURE IF EXISTS sp1;
4438 CREATE PROCEDURE sp1()
4439 dec:BEGIN
4440 SELECT @x;
4441 END//
4442 ERROR 42000: You 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
4443 SELECT @x;
4444 END' at line 2
4445 DROP PROCEDURE IF EXISTS sp1;
4446 CREATE PROCEDURE sp1()
4447 decimal:BEGIN
4448 SELECT @x;
4449 END//
4450 ERROR 42000: You 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
4451 SELECT @x;
4452 END' at line 2
4453 DROP PROCEDURE IF EXISTS sp1;
4454 CREATE PROCEDURE sp1()
4455 declare:BEGIN
4456 SELECT @x;
4457 END//
4458 ERROR 42000: You 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
4459 SELECT @x;
4460 END' at line 2
4461 DROP PROCEDURE IF EXISTS sp1;
4462 CREATE PROCEDURE sp1()
4463 default:BEGIN
4464 SELECT @x;
4465 END//
4466 ERROR 42000: You 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
4467 SELECT @x;
4468 END' at line 2
4469 DROP PROCEDURE IF EXISTS sp1;
4470 CREATE PROCEDURE sp1()
4471 delayed:BEGIN
4472 SELECT @x;
4473 END//
4474 ERROR 42000: You 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
4475 SELECT @x;
4476 END' at line 2
4477 DROP PROCEDURE IF EXISTS sp1;
4478 CREATE PROCEDURE sp1()
4479 delete:BEGIN
4480 SELECT @x;
4481 END//
4482 ERROR 42000: You 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
4483 SELECT @x;
4484 END' at line 2
4485 DROP PROCEDURE IF EXISTS sp1;
4486 CREATE PROCEDURE sp1()
4487 desc:BEGIN
4488 SELECT @x;
4489 END//
4490 ERROR 42000: You 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
4491 SELECT @x;
4492 END' at line 2
4493 DROP PROCEDURE IF EXISTS sp1;
4494 CREATE PROCEDURE sp1()
4495 describe:BEGIN
4496 SELECT @x;
4497 END//
4498 ERROR 42000: You 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
4499 SELECT @x;
4500 END' at line 2
4501 DROP PROCEDURE IF EXISTS sp1;
4502 CREATE PROCEDURE sp1()
4503 deterministic:BEGIN
4504 SELECT @x;
4505 END//
4506 ERROR 42000: You 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
4507 SELECT @x;
4508 END' at line 2
4509 DROP PROCEDURE IF EXISTS sp1;
4510 CREATE PROCEDURE sp1()
4511 distinct:BEGIN
4512 SELECT @x;
4513 END//
4514 ERROR 42000: You 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
4515 SELECT @x;
4516 END' at line 2
4517 DROP PROCEDURE IF EXISTS sp1;
4518 CREATE PROCEDURE sp1()
4519 distinctrow:BEGIN
4520 SELECT @x;
4521 END//
4522 ERROR 42000: You 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
4523 SELECT @x;
4524 END' at line 2
4525 DROP PROCEDURE IF EXISTS sp1;
4526 CREATE PROCEDURE sp1()
4527 div:BEGIN
4528 SELECT @x;
4529 END//
4530 ERROR 42000: You 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
4531 SELECT @x;
4532 END' at line 2
4533 DROP PROCEDURE IF EXISTS sp1;
4534 CREATE PROCEDURE sp1()
4535 double:BEGIN
4536 SELECT @x;
4537 END//
4538 ERROR 42000: You 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
4539 SELECT @x;
4540 END' at line 2
4541 DROP PROCEDURE IF EXISTS sp1;
4542 CREATE PROCEDURE sp1()
4543 drop:BEGIN
4544 SELECT @x;
4545 END//
4546 ERROR 42000: You 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
4547 SELECT @x;
4548 END' at line 2
4549 DROP PROCEDURE IF EXISTS sp1;
4550 CREATE PROCEDURE sp1()
4551 dual:BEGIN
4552 SELECT @x;
4553 END//
4554 ERROR 42000: You 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
4555 SELECT @x;
4556 END' at line 2
4557 DROP PROCEDURE IF EXISTS sp1;
4558 CREATE PROCEDURE sp1()
4559 each:BEGIN
4560 SELECT @x;
4561 END//
4562 ERROR 42000: You 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
4563 SELECT @x;
4564 END' at line 2
4565 DROP PROCEDURE IF EXISTS sp1;
4566 CREATE PROCEDURE sp1()
4567 else:BEGIN
4568 SELECT @x;
4569 END//
4570 ERROR 42000: You 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
4571 SELECT @x;
4572 END' at line 2
4573 DROP PROCEDURE IF EXISTS sp1;
4574 CREATE PROCEDURE sp1()
4575 elseif:BEGIN
4576 SELECT @x;
4577 END//
4578 ERROR 42000: You 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
4579 SELECT @x;
4580 END' at line 2
4581 DROP PROCEDURE IF EXISTS sp1;
4582 CREATE PROCEDURE sp1()
4583 enclosed:BEGIN
4584 SELECT @x;
4585 END//
4586 ERROR 42000: You 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
4587 SELECT @x;
4588 END' at line 2
4589 DROP PROCEDURE IF EXISTS sp1;
4590 CREATE PROCEDURE sp1()
4591 escaped:BEGIN
4592 SELECT @x;
4593 END//
4594 ERROR 42000: You 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
4595 SELECT @x;
4596 END' at line 2
4597 DROP PROCEDURE IF EXISTS sp1;
4598 CREATE PROCEDURE sp1()
4599 exists:BEGIN
4600 SELECT @x;
4601 END//
4602 ERROR 42000: You 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
4603 SELECT @x;
4604 END' at line 2
4605 DROP PROCEDURE IF EXISTS sp1;
4606 CREATE PROCEDURE sp1()
4607 exit:BEGIN
4608 SELECT @x;
4609 END//
4610 ERROR 42000: You 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
4611 SELECT @x;
4612 END' at line 2
4613 DROP PROCEDURE IF EXISTS sp1;
4614 CREATE PROCEDURE sp1()
4615 explain:BEGIN
4616 SELECT @x;
4617 END//
4618 ERROR 42000: You 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
4619 SELECT @x;
4620 END' at line 2
4621 DROP PROCEDURE IF EXISTS sp1;
4622 CREATE PROCEDURE sp1()
4623 false:BEGIN
4624 SELECT @x;
4625 END//
4626 ERROR 42000: You 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
4627 SELECT @x;
4628 END' at line 2
4629 DROP PROCEDURE IF EXISTS sp1;
4630 CREATE PROCEDURE sp1()
4631 fetch:BEGIN
4632 SELECT @x;
4633 END//
4634 ERROR 42000: You 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
4635 SELECT @x;
4636 END' at line 2
4637 DROP PROCEDURE IF EXISTS sp1;
4638 CREATE PROCEDURE sp1()
4639 float:BEGIN
4640 SELECT @x;
4641 END//
4642 ERROR 42000: You 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
4643 SELECT @x;
4644 END' at line 2
4645 DROP PROCEDURE IF EXISTS sp1;
4646 CREATE PROCEDURE sp1()
4647 float4:BEGIN
4648 SELECT @x;
4649 END//
4650 ERROR 42000: You 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
4651 SELECT @x;
4652 END' at line 2
4653 DROP PROCEDURE IF EXISTS sp1;
4654 CREATE PROCEDURE sp1()
4655 float8:BEGIN
4656 SELECT @x;
4657 END//
4658 ERROR 42000: You 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
4659 SELECT @x;
4660 END' at line 2
4661 DROP PROCEDURE IF EXISTS sp1;
4662 CREATE PROCEDURE sp1()
4663 for:BEGIN
4664 SELECT @x;
4665 END//
4666 ERROR 42000: You 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
4667 SELECT @x;
4668 END' at line 2
4669 DROP PROCEDURE IF EXISTS sp1;
4670 CREATE PROCEDURE sp1()
4671 force:BEGIN
4672 SELECT @x;
4673 END//
4674 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force:BEGIN
4675 SELECT @x;
4676 END' at line 2
4677 DROP PROCEDURE IF EXISTS sp1;
4678 CREATE PROCEDURE sp1()
4679 foreign:BEGIN
4680 SELECT @x;
4681 END//
4682 ERROR 42000: You 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
4683 SELECT @x;
4684 END' at line 2
4685 DROP PROCEDURE IF EXISTS sp1;
4686 CREATE PROCEDURE sp1()
4687 from:BEGIN
4688 SELECT @x;
4689 END//
4690 ERROR 42000: You 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
4691 SELECT @x;
4692 END' at line 2
4693 DROP PROCEDURE IF EXISTS sp1;
4694 CREATE PROCEDURE sp1()
4695 fulltext:BEGIN
4696 SELECT @x;
4697 END//
4698 ERROR 42000: You 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
4699 SELECT @x;
4700 END' at line 2
4701 DROP PROCEDURE IF EXISTS sp1;
4702 CREATE PROCEDURE sp1()
4703 grant:BEGIN
4704 SELECT @x;
4705 END//
4706 ERROR 42000: You 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
4707 SELECT @x;
4708 END' at line 2
4709 DROP PROCEDURE IF EXISTS sp1;
4710 CREATE PROCEDURE sp1()
4711 group:BEGIN
4712 SELECT @x;
4713 END//
4714 ERROR 42000: You 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
4715 SELECT @x;
4716 END' at line 2
4717 DROP PROCEDURE IF EXISTS sp1;
4718 CREATE PROCEDURE sp1()
4719 having:BEGIN
4720 SELECT @x;
4721 END//
4722 ERROR 42000: You 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
4723 SELECT @x;
4724 END' at line 2
4725 DROP PROCEDURE IF EXISTS sp1;
4726 CREATE PROCEDURE sp1()
4727 high_priority:BEGIN
4728 SELECT @x;
4729 END//
4730 ERROR 42000: You 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
4731 SELECT @x;
4732 END' at line 2
4733 DROP PROCEDURE IF EXISTS sp1;
4734 CREATE PROCEDURE sp1()
4735 hour_microsecond:BEGIN
4736 SELECT @x;
4737 END//
4738 ERROR 42000: You 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
4739 SELECT @x;
4740 END' at line 2
4741 DROP PROCEDURE IF EXISTS sp1;
4742 CREATE PROCEDURE sp1()
4743 hour_minute:BEGIN
4744 SELECT @x;
4745 END//
4746 ERROR 42000: You 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
4747 SELECT @x;
4748 END' at line 2
4749 DROP PROCEDURE IF EXISTS sp1;
4750 CREATE PROCEDURE sp1()
4751 hour_second:BEGIN
4752 SELECT @x;
4753 END//
4754 ERROR 42000: You 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
4755 SELECT @x;
4756 END' at line 2
4757 DROP PROCEDURE IF EXISTS sp1;
4758 CREATE PROCEDURE sp1()
4759 if:BEGIN
4760 SELECT @x;
4761 END//
4762 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4763 SELECT @x;
4764 END' at line 2
4765 DROP PROCEDURE IF EXISTS sp1;
4766 CREATE PROCEDURE sp1()
4767 ignore:BEGIN
4768 SELECT @x;
4769 END//
4770 ERROR 42000: You 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
4771 SELECT @x;
4772 END' at line 2
4773 DROP PROCEDURE IF EXISTS sp1;
4774 CREATE PROCEDURE sp1()
4775 in:BEGIN
4776 SELECT @x;
4777 END//
4778 ERROR 42000: You 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
4779 SELECT @x;
4780 END' at line 2
4781 DROP PROCEDURE IF EXISTS sp1;
4782 CREATE PROCEDURE sp1()
4783 index:BEGIN
4784 SELECT @x;
4785 END//
4786 ERROR 42000: You 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
4787 SELECT @x;
4788 END' at line 2
4789 DROP PROCEDURE IF EXISTS sp1;
4790 CREATE PROCEDURE sp1()
4791 infile:BEGIN
4792 SELECT @x;
4793 END//
4794 ERROR 42000: You 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
4795 SELECT @x;
4796 END' at line 2
4797 DROP PROCEDURE IF EXISTS sp1;
4798 CREATE PROCEDURE sp1()
4799 inner:BEGIN
4800 SELECT @x;
4801 END//
4802 ERROR 42000: You 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
4803 SELECT @x;
4804 END' at line 2
4805 DROP PROCEDURE IF EXISTS sp1;
4806 CREATE PROCEDURE sp1()
4807 inout:BEGIN
4808 SELECT @x;
4809 END//
4810 ERROR 42000: You 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
4811 SELECT @x;
4812 END' at line 2
4813 DROP PROCEDURE IF EXISTS sp1;
4814 CREATE PROCEDURE sp1()
4815 insensitive:BEGIN
4816 SELECT @x;
4817 END//
4818 ERROR 42000: You 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
4819 SELECT @x;
4820 END' at line 2
4821 DROP PROCEDURE IF EXISTS sp1;
4822 CREATE PROCEDURE sp1()
4823 insert:BEGIN
4824 SELECT @x;
4825 END//
4826 ERROR 42000: You 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
4827 SELECT @x;
4828 END' at line 2
4829 DROP PROCEDURE IF EXISTS sp1;
4830 CREATE PROCEDURE sp1()
4831 int:BEGIN
4832 SELECT @x;
4833 END//
4834 ERROR 42000: You 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
4835 SELECT @x;
4836 END' at line 2
4837 DROP PROCEDURE IF EXISTS sp1;
4838 CREATE PROCEDURE sp1()
4839 int1:BEGIN
4840 SELECT @x;
4841 END//
4842 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1:BEGIN
4843 SELECT @x;
4844 END' at line 2
4845 DROP PROCEDURE IF EXISTS sp1;
4846 CREATE PROCEDURE sp1()
4847 int2:BEGIN
4848 SELECT @x;
4849 END//
4850 ERROR 42000: You 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
4851 SELECT @x;
4852 END' at line 2
4853 DROP PROCEDURE IF EXISTS sp1;
4854 CREATE PROCEDURE sp1()
4855 int3:BEGIN
4856 SELECT @x;
4857 END//
4858 ERROR 42000: You 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
4859 SELECT @x;
4860 END' at line 2
4861 DROP PROCEDURE IF EXISTS sp1;
4862 CREATE PROCEDURE sp1()
4863 int4:BEGIN
4864 SELECT @x;
4865 END//
4866 ERROR 42000: You 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
4867 SELECT @x;
4868 END' at line 2
4869 DROP PROCEDURE IF EXISTS sp1;
4870 CREATE PROCEDURE sp1()
4871 int8:BEGIN
4872 SELECT @x;
4873 END//
4874 ERROR 42000: You 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
4875 SELECT @x;
4876 END' at line 2
4877 DROP PROCEDURE IF EXISTS sp1;
4878 CREATE PROCEDURE sp1()
4879 integer:BEGIN
4880 SELECT @x;
4881 END//
4882 ERROR 42000: You 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
4883 SELECT @x;
4884 END' at line 2
4885 DROP PROCEDURE IF EXISTS sp1;
4886 CREATE PROCEDURE sp1()
4887 interval:BEGIN
4888 SELECT @x;
4889 END//
4890 ERROR 42000: You 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
4891 SELECT @x;
4892 END' at line 2
4893 DROP PROCEDURE IF EXISTS sp1;
4894 CREATE PROCEDURE sp1()
4895 into:BEGIN
4896 SELECT @x;
4897 END//
4898 ERROR 42000: You 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
4899 SELECT @x;
4900 END' at line 2
4901 DROP PROCEDURE IF EXISTS sp1;
4902 CREATE PROCEDURE sp1()
4903 is:BEGIN
4904 SELECT @x;
4905 END//
4906 ERROR 42000: You 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
4907 SELECT @x;
4908 END' at line 2
4909 DROP PROCEDURE IF EXISTS sp1;
4910 CREATE PROCEDURE sp1()
4911 iterate:BEGIN
4912 SELECT @x;
4913 END//
4914 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
4915 SELECT @x;
4916 END' at line 2
4917 DROP PROCEDURE IF EXISTS sp1;
4918 CREATE PROCEDURE sp1()
4919 join:BEGIN
4920 SELECT @x;
4921 END//
4922 ERROR 42000: You 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
4923 SELECT @x;
4924 END' at line 2
4925 DROP PROCEDURE IF EXISTS sp1;
4926 CREATE PROCEDURE sp1()
4927 key:BEGIN
4928 SELECT @x;
4929 END//
4930 ERROR 42000: You 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
4931 SELECT @x;
4932 END' at line 2
4933 DROP PROCEDURE IF EXISTS sp1;
4934 CREATE PROCEDURE sp1()
4935 keys:BEGIN
4936 SELECT @x;
4937 END//
4938 ERROR 42000: You 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
4939 SELECT @x;
4940 END' at line 2
4941 DROP PROCEDURE IF EXISTS sp1;
4942 CREATE PROCEDURE sp1()
4943 kill:BEGIN
4944 SELECT @x;
4945 END//
4946 ERROR 42000: You 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
4947 SELECT @x;
4948 END' at line 2
4949 DROP PROCEDURE IF EXISTS sp1;
4950 CREATE PROCEDURE sp1()
4951 leading:BEGIN
4952 SELECT @x;
4953 END//
4954 ERROR 42000: You 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
4955 SELECT @x;
4956 END' at line 2
4957 DROP PROCEDURE IF EXISTS sp1;
4958 CREATE PROCEDURE sp1()
4959 leave:BEGIN
4960 SELECT @x;
4961 END//
4962 ERROR 42000: You 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
4963 SELECT @x;
4964 END' at line 2
4965 DROP PROCEDURE IF EXISTS sp1;
4966 CREATE PROCEDURE sp1()
4967 left:BEGIN
4968 SELECT @x;
4969 END//
4970 ERROR 42000: You 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
4971 SELECT @x;
4972 END' at line 2
4973 DROP PROCEDURE IF EXISTS sp1;
4974 CREATE PROCEDURE sp1()
4975 like:BEGIN
4976 SELECT @x;
4977 END//
4978 ERROR 42000: You 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
4979 SELECT @x;
4980 END' at line 2
4981 DROP PROCEDURE IF EXISTS sp1;
4982 CREATE PROCEDURE sp1()
4983 limit:BEGIN
4984 SELECT @x;
4985 END//
4986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit:BEGIN
4987 SELECT @x;
4988 END' at line 2
4989 DROP PROCEDURE IF EXISTS sp1;
4990 CREATE PROCEDURE sp1()
4991 linear:BEGIN
4992 SELECT @x;
4993 END//
4994 ERROR 42000: You 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
4995 SELECT @x;
4996 END' at line 2
4997 DROP PROCEDURE IF EXISTS sp1;
4998 CREATE PROCEDURE sp1()
4999 lines:BEGIN
5000 SELECT @x;
5001 END//
5002 ERROR 42000: You 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
5003 SELECT @x;
5004 END' at line 2
5005 DROP PROCEDURE IF EXISTS sp1;
5006 CREATE PROCEDURE sp1()
5007 load:BEGIN
5008 SELECT @x;
5009 END//
5010 ERROR 42000: You 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
5011 SELECT @x;
5012 END' at line 2
5013 DROP PROCEDURE IF EXISTS sp1;
5014 CREATE PROCEDURE sp1()
5015 localtime:BEGIN
5016 SELECT @x;
5017 END//
5018 ERROR 42000: You 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
5019 SELECT @x;
5020 END' at line 2
5021 DROP PROCEDURE IF EXISTS sp1;
5022 CREATE PROCEDURE sp1()
5023 localtimestamp:BEGIN
5024 SELECT @x;
5025 END//
5026 ERROR 42000: You 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
5027 SELECT @x;
5028 END' at line 2
5029 DROP PROCEDURE IF EXISTS sp1;
5030 CREATE PROCEDURE sp1()
5031 lock:BEGIN
5032 SELECT @x;
5033 END//
5034 ERROR 42000: You 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
5035 SELECT @x;
5036 END' at line 2
5037 DROP PROCEDURE IF EXISTS sp1;
5038 CREATE PROCEDURE sp1()
5039 long:BEGIN
5040 SELECT @x;
5041 END//
5042 ERROR 42000: You 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
5043 SELECT @x;
5044 END' at line 2
5045 DROP PROCEDURE IF EXISTS sp1;
5046 CREATE PROCEDURE sp1()
5047 longblob:BEGIN
5048 SELECT @x;
5049 END//
5050 ERROR 42000: You 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
5051 SELECT @x;
5052 END' at line 2
5053 DROP PROCEDURE IF EXISTS sp1;
5054 CREATE PROCEDURE sp1()
5055 longtext:BEGIN
5056 SELECT @x;
5057 END//
5058 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext:BEGIN
5059 SELECT @x;
5060 END' at line 2
5061 DROP PROCEDURE IF EXISTS sp1;
5062 CREATE PROCEDURE sp1()
5063 loop:BEGIN
5064 SELECT @x;
5065 END//
5066 ERROR 42000: You 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
5067 SELECT @x;
5068 END' at line 2
5069 DROP PROCEDURE IF EXISTS sp1;
5070 CREATE PROCEDURE sp1()
5071 low_priority:BEGIN
5072 SELECT @x;
5073 END//
5074 ERROR 42000: You 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
5075 SELECT @x;
5076 END' at line 2
5077 DROP PROCEDURE IF EXISTS sp1;
5078 CREATE PROCEDURE sp1()
5079 master_ssl_verify_server_cert:BEGIN
5080 SELECT @x;
5081 END//
5082 ERROR 42000: You 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
5083 SELECT @x;
5084 END' at line 2
5085 DROP PROCEDURE IF EXISTS sp1;
5086 CREATE PROCEDURE sp1()
5087 match:BEGIN
5088 SELECT @x;
5089 END//
5090 ERROR 42000: You 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
5091 SELECT @x;
5092 END' at line 2
5093 DROP PROCEDURE IF EXISTS sp1;
5094 CREATE PROCEDURE sp1()
5095 mediumblob:BEGIN
5096 SELECT @x;
5097 END//
5098 ERROR 42000: You 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
5099 SELECT @x;
5100 END' at line 2
5101 DROP PROCEDURE IF EXISTS sp1;
5102 CREATE PROCEDURE sp1()
5103 mediumint:BEGIN
5104 SELECT @x;
5105 END//
5106 ERROR 42000: You 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
5107 SELECT @x;
5108 END' at line 2
5109 DROP PROCEDURE IF EXISTS sp1;
5110 CREATE PROCEDURE sp1()
5111 mediumtext:BEGIN
5112 SELECT @x;
5113 END//
5114 ERROR 42000: You 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
5115 SELECT @x;
5116 END' at line 2
5117 DROP PROCEDURE IF EXISTS sp1;
5118 CREATE PROCEDURE sp1()
5119 middleint:BEGIN
5120 SELECT @x;
5121 END//
5122 ERROR 42000: You 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
5123 SELECT @x;
5124 END' at line 2
5125 DROP PROCEDURE IF EXISTS sp1;
5126 CREATE PROCEDURE sp1()
5127 minute_microsecond:BEGIN
5128 SELECT @x;
5129 END//
5130 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond:BEGIN
5131 SELECT @x;
5132 END' at line 2
5133 DROP PROCEDURE IF EXISTS sp1;
5134 CREATE PROCEDURE sp1()
5135 minute_second:BEGIN
5136 SELECT @x;
5137 END//
5138 ERROR 42000: You 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
5139 SELECT @x;
5140 END' at line 2
5141 DROP PROCEDURE IF EXISTS sp1;
5142 CREATE PROCEDURE sp1()
5143 mod:BEGIN
5144 SELECT @x;
5145 END//
5146 ERROR 42000: You 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
5147 SELECT @x;
5148 END' at line 2
5149 DROP PROCEDURE IF EXISTS sp1;
5150 CREATE PROCEDURE sp1()
5151 modifies:BEGIN
5152 SELECT @x;
5153 END//
5154 ERROR 42000: You 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
5155 SELECT @x;
5156 END' at line 2
5157 DROP PROCEDURE IF EXISTS sp1;
5158 CREATE PROCEDURE sp1()
5159 natural:BEGIN
5160 SELECT @x;
5161 END//
5162 ERROR 42000: You 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
5163 SELECT @x;
5164 END' at line 2
5165 DROP PROCEDURE IF EXISTS sp1;
5166 CREATE PROCEDURE sp1()
5167 not:BEGIN
5168 SELECT @x;
5169 END//
5170 ERROR 42000: You 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
5171 SELECT @x;
5172 END' at line 2
5173 DROP PROCEDURE IF EXISTS sp1;
5174 CREATE PROCEDURE sp1()
5175 no_write_to_binlog:BEGIN
5176 SELECT @x;
5177 END//
5178 ERROR 42000: You 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
5179 SELECT @x;
5180 END' at line 2
5181 DROP PROCEDURE IF EXISTS sp1;
5182 CREATE PROCEDURE sp1()
5183 null:BEGIN
5184 SELECT @x;
5185 END//
5186 ERROR 42000: You 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
5187 SELECT @x;
5188 END' at line 2
5189 DROP PROCEDURE IF EXISTS sp1;
5190 CREATE PROCEDURE sp1()
5191 numeric:BEGIN
5192 SELECT @x;
5193 END//
5194 ERROR 42000: You 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
5195 SELECT @x;
5196 END' at line 2
5197 DROP PROCEDURE IF EXISTS sp1;
5198 CREATE PROCEDURE sp1()
5199 on:BEGIN
5200 SELECT @x;
5201 END//
5202 ERROR 42000: You 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
5203 SELECT @x;
5204 END' at line 2
5205 DROP PROCEDURE IF EXISTS sp1;
5206 CREATE PROCEDURE sp1()
5207 optimize:BEGIN
5208 SELECT @x;
5209 END//
5210 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
5211 SELECT @x;
5212 END' at line 2
5213 DROP PROCEDURE IF EXISTS sp1;
5214 CREATE PROCEDURE sp1()
5215 option:BEGIN
5216 SELECT @x;
5217 END//
5218 ERROR 42000: You 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
5219 SELECT @x;
5220 END' at line 2
5221 DROP PROCEDURE IF EXISTS sp1;
5222 CREATE PROCEDURE sp1()
5223 optionally:BEGIN
5224 SELECT @x;
5225 END//
5226 ERROR 42000: You 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
5227 SELECT @x;
5228 END' at line 2
5229 DROP PROCEDURE IF EXISTS sp1;
5230 CREATE PROCEDURE sp1()
5231 or:BEGIN
5232 SELECT @x;
5233 END//
5234 ERROR 42000: You 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
5235 SELECT @x;
5236 END' at line 2
5237 DROP PROCEDURE IF EXISTS sp1;
5238 CREATE PROCEDURE sp1()
5239 order:BEGIN
5240 SELECT @x;
5241 END//
5242 ERROR 42000: You 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
5243 SELECT @x;
5244 END' at line 2
5245 DROP PROCEDURE IF EXISTS sp1;
5246 CREATE PROCEDURE sp1()
5247 out:BEGIN
5248 SELECT @x;
5249 END//
5250 ERROR 42000: You 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
5251 SELECT @x;
5252 END' at line 2
5253 DROP PROCEDURE IF EXISTS sp1;
5254 CREATE PROCEDURE sp1()
5255 outer:BEGIN
5256 SELECT @x;
5257 END//
5258 ERROR 42000: You 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
5259 SELECT @x;
5260 END' at line 2
5261 DROP PROCEDURE IF EXISTS sp1;
5262 CREATE PROCEDURE sp1()
5263 outfile:BEGIN
5264 SELECT @x;
5265 END//
5266 ERROR 42000: You 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
5267 SELECT @x;
5268 END' at line 2
5269 DROP PROCEDURE IF EXISTS sp1;
5270 CREATE PROCEDURE sp1()
5271 precision:BEGIN
5272 SELECT @x;
5273 END//
5274 ERROR 42000: You 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
5275 SELECT @x;
5276 END' at line 2
5277 DROP PROCEDURE IF EXISTS sp1;
5278 CREATE PROCEDURE sp1()
5279 primary:BEGIN
5280 SELECT @x;
5281 END//
5282 ERROR 42000: You 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
5283 SELECT @x;
5284 END' at line 2
5285 DROP PROCEDURE IF EXISTS sp1;
5286 CREATE PROCEDURE sp1()
5287 procedure:BEGIN
5288 SELECT @x;
5289 END//
5290 ERROR 42000: You 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
5291 SELECT @x;
5292 END' at line 2
5293 DROP PROCEDURE IF EXISTS sp1;
5294 CREATE PROCEDURE sp1()
5295 purge:BEGIN
5296 SELECT @x;
5297 END//
5298 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
5299 SELECT @x;
5300 END' at line 2
5301 DROP PROCEDURE IF EXISTS sp1;
5302 CREATE PROCEDURE sp1()
5303 range:BEGIN
5304 SELECT @x;
5305 END//
5306 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range:BEGIN
5307 SELECT @x;
5308 END' at line 2
5309 DROP PROCEDURE IF EXISTS sp1;
5310 CREATE PROCEDURE sp1()
5311 read:BEGIN
5312 SELECT @x;
5313 END//
5314 ERROR 42000: You 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
5315 SELECT @x;
5316 END' at line 2
5317 DROP PROCEDURE IF EXISTS sp1;
5318 CREATE PROCEDURE sp1()
5319 reads:BEGIN
5320 SELECT @x;
5321 END//
5322 ERROR 42000: You 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
5323 SELECT @x;
5324 END' at line 2
5325 DROP PROCEDURE IF EXISTS sp1;
5326 DROP PROCEDURE IF EXISTS sp1;
5327 CREATE PROCEDURE sp1()
5328 read_write:BEGIN
5329 SELECT @x;
5330 END//
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 'read_write:BEGIN
5332 SELECT @x;
5333 END' at line 2
5334 DROP PROCEDURE IF EXISTS sp1;
5335 CREATE PROCEDURE sp1()
5336 real:BEGIN
5337 SELECT @x;
5338 END//
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 'real:BEGIN
5340 SELECT @x;
5341 END' at line 2
5342 DROP PROCEDURE IF EXISTS sp1;
5343 CREATE PROCEDURE sp1()
5344 references:BEGIN
5345 SELECT @x;
5346 END//
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 'references:BEGIN
5348 SELECT @x;
5349 END' at line 2
5350 DROP PROCEDURE IF EXISTS sp1;
5351 CREATE PROCEDURE sp1()
5352 regexp:BEGIN
5353 SELECT @x;
5354 END//
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 'regexp:BEGIN
5356 SELECT @x;
5357 END' at line 2
5358 DROP PROCEDURE IF EXISTS sp1;
5359 CREATE PROCEDURE sp1()
5360 release:BEGIN
5361 SELECT @x;
5362 END//
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 ':BEGIN
5364 SELECT @x;
5365 END' at line 2
5366 DROP PROCEDURE IF EXISTS sp1;
5367 CREATE PROCEDURE sp1()
5368 rename:BEGIN
5369 SELECT @x;
5370 END//
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 ':BEGIN
5372 SELECT @x;
5373 END' at line 2
5374 DROP PROCEDURE IF EXISTS sp1;
5375 CREATE PROCEDURE sp1()
5376 repeat:BEGIN
5377 SELECT @x;
5378 END//
5379 ERROR 42000: You 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
5380 SELECT @x;
5381 END' at line 2
5382 DROP PROCEDURE IF EXISTS sp1;
5383 CREATE PROCEDURE sp1()
5384 replace:BEGIN
5385 SELECT @x;
5386 END//
5387 ERROR 42000: You 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
5388 SELECT @x;
5389 END' at line 2
5390 DROP PROCEDURE IF EXISTS sp1;
5391 CREATE PROCEDURE sp1()
5392 require:BEGIN
5393 SELECT @x;
5394 END//
5395 ERROR 42000: You 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
5396 SELECT @x;
5397 END' at line 2
5398 DROP PROCEDURE IF EXISTS sp1;
5399 CREATE PROCEDURE sp1()
5400 restrict:BEGIN
5401 SELECT @x;
5402 END//
5403 ERROR 42000: You 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
5404 SELECT @x;
5405 END' at line 2
5406 DROP PROCEDURE IF EXISTS sp1;
5407 CREATE PROCEDURE sp1()
5408 return:BEGIN
5409 SELECT @x;
5410 END//
5411 ERROR 42000: You 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
5412 SELECT @x;
5413 END' at line 2
5414 DROP PROCEDURE IF EXISTS sp1;
5415 CREATE PROCEDURE sp1()
5416 revoke:BEGIN
5417 SELECT @x;
5418 END//
5419 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
5420 SELECT @x;
5421 END' at line 2
5422 DROP PROCEDURE IF EXISTS sp1;
5423 CREATE PROCEDURE sp1()
5424 right:BEGIN
5425 SELECT @x;
5426 END//
5427 ERROR 42000: You 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
5428 SELECT @x;
5429 END' at line 2
5430 DROP PROCEDURE IF EXISTS sp1;
5431 CREATE PROCEDURE sp1()
5432 rlike:BEGIN
5433 SELECT @x;
5434 END//
5435 ERROR 42000: You 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
5436 SELECT @x;
5437 END' at line 2
5438 DROP PROCEDURE IF EXISTS sp1;
5439 CREATE PROCEDURE sp1()
5440 schema:BEGIN
5441 SELECT @x;
5442 END//
5443 ERROR 42000: You 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
5444 SELECT @x;
5445 END' at line 2
5446 DROP PROCEDURE IF EXISTS sp1;
5447 CREATE PROCEDURE sp1()
5448 schemas:BEGIN
5449 SELECT @x;
5450 END//
5451 ERROR 42000: You 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
5452 SELECT @x;
5453 END' at line 2
5454 DROP PROCEDURE IF EXISTS sp1;
5455 CREATE PROCEDURE sp1()
5456 second_microsecond:BEGIN
5457 SELECT @x;
5458 END//
5459 ERROR 42000: You 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
5460 SELECT @x;
5461 END' at line 2
5462 DROP PROCEDURE IF EXISTS sp1;
5463 CREATE PROCEDURE sp1()
5464 select:BEGIN
5465 SELECT @x;
5466 END//
5467 ERROR 42000: You 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
5468 SELECT @x;
5469 END' at line 2
5470 DROP PROCEDURE IF EXISTS sp1;
5471 CREATE PROCEDURE sp1()
5472 sensitive:BEGIN
5473 SELECT @x;
5474 END//
5475 ERROR 42000: You 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
5476 SELECT @x;
5477 END' at line 2
5478 DROP PROCEDURE IF EXISTS sp1;
5479 CREATE PROCEDURE sp1()
5480 separator:BEGIN
5481 SELECT @x;
5482 END//
5483 ERROR 42000: You 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
5484 SELECT @x;
5485 END' at line 2
5486 DROP PROCEDURE IF EXISTS sp1;
5487 CREATE PROCEDURE sp1()
5488 set:BEGIN
5489 SELECT @x;
5490 END//
5491 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN
5492 SELECT @x;
5493 END' at line 2
5494 DROP PROCEDURE IF EXISTS sp1;
5495 CREATE PROCEDURE sp1()
5496 show:BEGIN
5497 SELECT @x;
5498 END//
5499 ERROR 42000: You 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
5500 SELECT @x;
5501 END' at line 2
5502 DROP PROCEDURE IF EXISTS sp1;
5503 CREATE PROCEDURE sp1()
5504 smallint:BEGIN
5505 SELECT @x;
5506 END//
5507 ERROR 42000: You 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
5508 SELECT @x;
5509 END' at line 2
5510 DROP PROCEDURE IF EXISTS sp1;
5511 CREATE PROCEDURE sp1()
5512 spatial:BEGIN
5513 SELECT @x;
5514 END//
5515 ERROR 42000: You 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
5516 SELECT @x;
5517 END' at line 2
5518 DROP PROCEDURE IF EXISTS sp1;
5519 CREATE PROCEDURE sp1()
5520 specific:BEGIN
5521 SELECT @x;
5522 END//
5523 ERROR 42000: You 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
5524 SELECT @x;
5525 END' at line 2
5526 DROP PROCEDURE IF EXISTS sp1;
5527 CREATE PROCEDURE sp1()
5528 sql:BEGIN
5529 SELECT @x;
5530 END//
5531 ERROR 42000: You 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
5532 SELECT @x;
5533 END' at line 2
5534 DROP PROCEDURE IF EXISTS sp1;
5535 CREATE PROCEDURE sp1()
5536 sqlexception:BEGIN
5537 SELECT @x;
5538 END//
5539 ERROR 42000: You 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
5540 SELECT @x;
5541 END' at line 2
5542 DROP PROCEDURE IF EXISTS sp1;
5543 CREATE PROCEDURE sp1()
5544 sqlstate:BEGIN
5545 SELECT @x;
5546 END//
5547 ERROR 42000: You 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
5548 SELECT @x;
5549 END' at line 2
5550 DROP PROCEDURE IF EXISTS sp1;
5551 CREATE PROCEDURE sp1()
5552 sqlwarning:BEGIN
5553 SELECT @x;
5554 END//
5555 ERROR 42000: You 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
5556 SELECT @x;
5557 END' at line 2
5558 DROP PROCEDURE IF EXISTS sp1;
5559 CREATE PROCEDURE sp1()
5560 sql_big_result:BEGIN
5561 SELECT @x;
5562 END//
5563 ERROR 42000: You 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
5564 SELECT @x;
5565 END' at line 2
5566 DROP PROCEDURE IF EXISTS sp1;
5567 CREATE PROCEDURE sp1()
5568 sql_calc_found_rows:BEGIN
5569 SELECT @x;
5570 END//
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 'sql_calc_found_rows:BEGIN
5572 SELECT @x;
5573 END' at line 2
5574 DROP PROCEDURE IF EXISTS sp1;
5575 CREATE PROCEDURE sp1()
5576 sql_small_result:BEGIN
5577 SELECT @x;
5578 END//
5579 ERROR 42000: You 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
5580 SELECT @x;
5581 END' at line 2
5582 DROP PROCEDURE IF EXISTS sp1;
5583 CREATE PROCEDURE sp1()
5584 ssl:BEGIN
5585 SELECT @x;
5586 END//
5587 ERROR 42000: You 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
5588 SELECT @x;
5589 END' at line 2
5590 DROP PROCEDURE IF EXISTS sp1;
5591 CREATE PROCEDURE sp1()
5592 starting:BEGIN
5593 SELECT @x;
5594 END//
5595 ERROR 42000: You 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
5596 SELECT @x;
5597 END' at line 2
5598 DROP PROCEDURE IF EXISTS sp1;
5599 CREATE PROCEDURE sp1()
5600 straight_join:BEGIN
5601 SELECT @x;
5602 END//
5603 ERROR 42000: You 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
5604 SELECT @x;
5605 END' at line 2
5606 DROP PROCEDURE IF EXISTS sp1;
5607 CREATE PROCEDURE sp1()
5608 table:BEGIN
5609 SELECT @x;
5610 END//
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 ':BEGIN
5612 SELECT @x;
5613 END' at line 2
5614 DROP PROCEDURE IF EXISTS sp1;
5615 CREATE PROCEDURE sp1()
5616 terminated:BEGIN
5617 SELECT @x;
5618 END//
5619 ERROR 42000: You 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
5620 SELECT @x;
5621 END' at line 2
5622 DROP PROCEDURE IF EXISTS sp1;
5623 CREATE PROCEDURE sp1()
5624 then:BEGIN
5625 SELECT @x;
5626 END//
5627 ERROR 42000: You 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
5628 SELECT @x;
5629 END' at line 2
5630 DROP PROCEDURE IF EXISTS sp1;
5631 CREATE PROCEDURE sp1()
5632 tinyblob:BEGIN
5633 SELECT @x;
5634 END//
5635 ERROR 42000: You 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
5636 SELECT @x;
5637 END' at line 2
5638 DROP PROCEDURE IF EXISTS sp1;
5639 CREATE PROCEDURE sp1()
5640 tinyint:BEGIN
5641 SELECT @x;
5642 END//
5643 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint:BEGIN
5644 SELECT @x;
5645 END' at line 2
5646 DROP PROCEDURE IF EXISTS sp1;
5647 CREATE PROCEDURE sp1()
5648 tinytext:BEGIN
5649 SELECT @x;
5650 END//
5651 ERROR 42000: You 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
5652 SELECT @x;
5653 END' at line 2
5654 DROP PROCEDURE IF EXISTS sp1;
5655 CREATE PROCEDURE sp1()
5656 to:BEGIN
5657 SELECT @x;
5658 END//
5659 ERROR 42000: You 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
5660 SELECT @x;
5661 END' at line 2
5662 DROP PROCEDURE IF EXISTS sp1;
5663 CREATE PROCEDURE sp1()
5664 trailing:BEGIN
5665 SELECT @x;
5666 END//
5667 ERROR 42000: You 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
5668 SELECT @x;
5669 END' at line 2
5670 DROP PROCEDURE IF EXISTS sp1;
5671 CREATE PROCEDURE sp1()
5672 trigger:BEGIN
5673 SELECT @x;
5674 END//
5675 ERROR 42000: You 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
5676 SELECT @x;
5677 END' at line 2
5678 DROP PROCEDURE IF EXISTS sp1;
5679 CREATE PROCEDURE sp1()
5680 true:BEGIN
5681 SELECT @x;
5682 END//
5683 ERROR 42000: You 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
5684 SELECT @x;
5685 END' at line 2
5686 DROP PROCEDURE IF EXISTS sp1;
5687 CREATE PROCEDURE sp1()
5688 undo:BEGIN
5689 SELECT @x;
5690 END//
5691 ERROR 42000: You 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
5692 SELECT @x;
5693 END' at line 2
5694 DROP PROCEDURE IF EXISTS sp1;
5695 CREATE PROCEDURE sp1()
5696 union:BEGIN
5697 SELECT @x;
5698 END//
5699 ERROR 42000: You 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
5700 SELECT @x;
5701 END' at line 2
5702 DROP PROCEDURE IF EXISTS sp1;
5703 CREATE PROCEDURE sp1()
5704 unique:BEGIN
5705 SELECT @x;
5706 END//
5707 ERROR 42000: You 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
5708 SELECT @x;
5709 END' at line 2
5710 DROP PROCEDURE IF EXISTS sp1;
5711 CREATE PROCEDURE sp1()
5712 unlock:BEGIN
5713 SELECT @x;
5714 END//
5715 ERROR 0A000: UNLOCK is not allowed in stored procedures
5716 DROP PROCEDURE IF EXISTS sp1;
5717 CREATE PROCEDURE sp1()
5718 unsigned:BEGIN
5719 SELECT @x;
5720 END//
5721 ERROR 42000: You 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
5722 SELECT @x;
5723 END' at line 2
5724 DROP PROCEDURE IF EXISTS sp1;
5725 CREATE PROCEDURE sp1()
5726 update:BEGIN
5727 SELECT @x;
5728 END//
5729 ERROR 42000: You 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
5730 SELECT @x;
5731 END' at line 2
5732 DROP PROCEDURE IF EXISTS sp1;
5733 CREATE PROCEDURE sp1()
5734 usage:BEGIN
5735 SELECT @x;
5736 END//
5737 ERROR 42000: You 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
5738 SELECT @x;
5739 END' at line 2
5740 DROP PROCEDURE IF EXISTS sp1;
5741 CREATE PROCEDURE sp1()
5742 use:BEGIN
5743 SELECT @x;
5744 END//
5745 ERROR 42000: You 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
5746 SELECT @x;
5747 END' at line 2
5748 DROP PROCEDURE IF EXISTS sp1;
5749 CREATE PROCEDURE sp1()
5750 using:BEGIN
5751 SELECT @x;
5752 END//
5753 ERROR 42000: You 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
5754 SELECT @x;
5755 END' at line 2
5756 DROP PROCEDURE IF EXISTS sp1;
5757 CREATE PROCEDURE sp1()
5758 utc_date:BEGIN
5759 SELECT @x;
5760 END//
5761 ERROR 42000: You 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
5762 SELECT @x;
5763 END' at line 2
5764 DROP PROCEDURE IF EXISTS sp1;
5765 CREATE PROCEDURE sp1()
5766 utc_time:BEGIN
5767 SELECT @x;
5768 END//
5769 ERROR 42000: You 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
5770 SELECT @x;
5771 END' at line 2
5772 DROP PROCEDURE IF EXISTS sp1;
5773 CREATE PROCEDURE sp1()
5774 utc_timestamp:BEGIN
5775 SELECT @x;
5776 END//
5777 ERROR 42000: You 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
5778 SELECT @x;
5779 END' at line 2
5780 DROP PROCEDURE IF EXISTS sp1;
5781 CREATE PROCEDURE sp1()
5782 values:BEGIN
5783 SELECT @x;
5784 END//
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 ':BEGIN
5786 SELECT @x;
5787 END' at line 2
5788 DROP PROCEDURE IF EXISTS sp1;
5789 CREATE PROCEDURE sp1()
5790 varbinary:BEGIN
5791 SELECT @x;
5792 END//
5793 ERROR 42000: You 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
5794 SELECT @x;
5795 END' at line 2
5796 DROP PROCEDURE IF EXISTS sp1;
5797 CREATE PROCEDURE sp1()
5798 varchar:BEGIN
5799 SELECT @x;
5800 END//
5801 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar:BEGIN
5802 SELECT @x;
5803 END' at line 2
5804 DROP PROCEDURE IF EXISTS sp1;
5805 CREATE PROCEDURE sp1()
5806 varcharacter:BEGIN
5807 SELECT @x;
5808 END//
5809 ERROR 42000: You 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
5810 SELECT @x;
5811 END' at line 2
5812 DROP PROCEDURE IF EXISTS sp1;
5813 CREATE PROCEDURE sp1()
5814 varying:BEGIN
5815 SELECT @x;
5816 END//
5817 ERROR 42000: You 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
5818 SELECT @x;
5819 END' at line 2
5820 DROP PROCEDURE IF EXISTS sp1;
5821 CREATE PROCEDURE sp1()
5822 when:BEGIN
5823 SELECT @x;
5824 END//
5825 ERROR 42000: You 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
5826 SELECT @x;
5827 END' at line 2
5828 DROP PROCEDURE IF EXISTS sp1;
5829 CREATE PROCEDURE sp1()
5830 where:BEGIN
5831 SELECT @x;
5832 END//
5833 ERROR 42000: You 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
5834 SELECT @x;
5835 END' at line 2
5836 DROP PROCEDURE IF EXISTS sp1;
5837 CREATE PROCEDURE sp1()
5838 while:BEGIN
5839 SELECT @x;
5840 END//
5841 ERROR 42000: You 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
5842 SELECT @x;
5843 END' at line 2
5844 DROP PROCEDURE IF EXISTS sp1;
5845 CREATE PROCEDURE sp1()
5846 with:BEGIN
5847 SELECT @x;
5848 END//
5849 ERROR 42000: You 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
5850 SELECT @x;
5851 END' at line 2
5852 DROP PROCEDURE IF EXISTS sp1;
5853 CREATE PROCEDURE sp1()
5854 write:BEGIN
5855 SELECT @x;
5856 END//
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 'write:BEGIN
5858 SELECT @x;
5859 END' at line 2
5860 DROP PROCEDURE IF EXISTS sp1;
5861 CREATE PROCEDURE sp1()
5862 xor:BEGIN
5863 SELECT @x;
5864 END//
5865 ERROR 42000: You 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
5866 SELECT @x;
5867 END' at line 2
5868 DROP PROCEDURE IF EXISTS sp1;
5869 CREATE PROCEDURE sp1()
5870 year_month:BEGIN
5871 SELECT @x;
5872 END//
5873 ERROR 42000: You 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
5874 SELECT @x;
5875 END' at line 2
5876 DROP PROCEDURE IF EXISTS sp1;
5877 CREATE PROCEDURE sp1()
5878 zerofill:BEGIN
5879 SELECT @x;
5880 END//
5881 ERROR 42000: You 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
5882 SELECT @x;
5883 END' at line 2
5884 Warnings:
5885 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5886
5887 Testcase 4.2.6:
5888 ---------------
5889 Ensure that the labels for multiple BEGIN an END work properly
5890 --------------------------------------------------------------------------------
5891 Warnings:
5892 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5893 DROP PROCEDURE IF EXISTS sp1;
5894 CREATE PROCEDURE sp1( )
5895 begin_label: BEGIN
5896 declare x char;
5897 declare y char;
5898 set x = '1';
5899 set y = '2';
5900 label1: BEGIN
5901 declare x char;
5902 declare y char;
5903 SELECT f1, f2 into x, y from t2 limit 1;
5904 END label1;
5905 set @v1 = x;
5906 set @v2 = y;
5907 SELECT @v1, @v2;
5908 END begin_label//
5909 CALL sp1();
5910 @v1 @v2
5911 1 2
5912 DROP PROCEDURE sp1;
5913 Warnings:
5914 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5915
5916 Testcase 4.2.7:
5917 ---------------
5918 Ensure that the labels enclosing each BEGIN/END compound statement must match.
5919 --------------------------------------------------------------------------------
5920 Warnings:
5921 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5922 DROP PROCEDURE IF EXISTS sp1;
5923 CREATE PROCEDURE sp1( )
5924 begin1_label: BEGIN
5925 declare x char;
5926 declare y char;
5927 SELECT lf1, f1 into x, y from t2 limit 1;
5928 begin2_label: BEGIN
5929 declare x char;
5930 declare y char;
5931 SELECT f1, f2 into x, y from t2 limit 1;
5932 END begin2_changed;
5933 END begin1_changed//
5934 ERROR 42000: End-label begin2_changed without match
5935 Warnings:
5936 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5937
5938 Testcase 4.2.8:
5939 ---------------
5940 Ensure that it is possible to put a beginning label at the start of a
5941 BEGIN/END compound statement without also requiring an ending label
5942 at the END of the same statement.
5943 --------------------------------------------------------------------------------
5944 Warnings:
5945 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5946 DROP PROCEDURE IF EXISTS sp1;
5947 CREATE PROCEDURE sp1( )
5948 begin_label: BEGIN
5949 declare x char;
5950 declare y char;
5951 SELECT f1, f2 into x, y from t2 limit 1;
5952 END//
5953 CALL sp1();
5954 Warnings:
5955 Warning 1265 Data truncated for column 'x' at row 1
5956 Warning 1265 Data truncated for column 'y' at row 1
5957 DROP PROCEDURE sp1;
5958 Warnings:
5959 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5960
5961 Testcase 4.2.9:
5962 ---------------
5963 Ensure that it is not possible to put an ending label at the END of
5964 a BEGIN/END compound statement without also requiring a matching
5965 beginning label at the start of the same statement
5966 --------------------------------------------------------------------------------
5967 Warnings:
5968 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5969 DROP PROCEDURE IF EXISTS sp1;
5970 CREATE PROCEDURE sp1( )
5971 BEGIN
5972 declare x char;
5973 declare y char;
5974 SELECT f1, f2 into x, y from t2 limit 1;
5975 END begin_label//
5976 ERROR 42000: You 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
5977 Warnings:
5978 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5979
5980 Testcase 4.2.10:
5981 ----------------
5982 Ensure that every beginning label must END with a colon(:)
5983 --------------------------------------------------------------------------------
5984 Warnings:
5985 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
5986 DROP PROCEDURE IF EXISTS sp1;
5987 CREATE PROCEDURE sp1( )
5988 begin_label BEGIN
5989 declare x char;
5990 declare y char;
5991 SELECT f1, f2 into x, y from t2 limit 1;
5992 END begin_label//
5993 ERROR 42000: You 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
5994 declare x char;
5995 declare y char;
5996 SELECT f1, f2 into x, y from t2 limit 1;
5997 E' at line 2
5998 Warnings:
5999 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6000
6001 Testcase 4.2.11:
6002 ----------------
6003 Ensure that every beginning label with the same scope must be unique. (same label names)
6004 --------------------------------------------------------------------------------
6005 Warnings:
6006 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6007 DROP PROCEDURE IF EXISTS sp6;
6008 CREATE PROCEDURE sp6( )
6009 begin_samelabel: BEGIN
6010 declare x char;
6011 declare y char;
6012 SELECT f1, f2 into x, y from t2 limit 1;
6013 begin_samelabel: BEGIN
6014 declare x char;
6015 declare y char;
6016 SELECT f1, f2 into x, y from t2 limit 1;
6017 END begin_samelabel;
6018 begin_samelabel: BEGIN
6019 declare x char;
6020 declare y char;
6021 SELECT f1, f2 into x, y from t2 limit 1;
6022 END begin_samelabel;
6023 END begin_samelabel//
6024 ERROR 42000: Redefining label begin_samelabel
6025 Warnings:
6026 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6027
6028 Testcase 4.2.12:
6029 ----------------
6030 Ensure that the variables, cursors, conditions, and handlers declared for
6031 a stored procedure (with the declare statement) may only be properly defined
6032 --------------------------------------------------------------------------------
6033 Warnings:
6034 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6035 DROP PROCEDURE IF EXISTS sp6;
6036 CREATE PROCEDURE sp6( )
6037 BEGIN
6038 declare x char default 'a';
6039 declare y integer default 1;
6040 declare z float default 1.1;
6041 declare a enum("value1", "value2") default 'value1';
6042 declare b decimal(255, 255) default 1.2e+12;
6043 declare c mediumtext default 'mediumtext';
6044 declare d datetime default '2005-02-02 12:12:12';
6045 declare e char default 'b';
6046 declare cur1 cursor for SELECT f1 from db_storedproc.t2;
6047 declare continue handler for sqlstate '02000' set @x2 = 1;
6048 open cur1;
6049 fetch cur1 into e;
6050 SELECT x, y, z, a, b, c, d, e;
6051 close cur1;
6052 END//
6053 ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
6054 CALL sp6();
6055 ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
6056 DROP PROCEDURE IF EXISTS sp6;
6057 CREATE PROCEDURE sp6( )
6058 BEGIN
6059 declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
6060 SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
6061 END//
6062 CALL sp6();
6063 x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
6064 0
6065 DROP PROCEDURE sp6;
6066 Warnings:
6067 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6068
6069 Testcase 4.2.13:
6070 ----------------
6071 Ensure that the variables declared for a stored procedure (with the declare
6072 statement) may only be defined in the correct order.
6073 --------------------------------------------------------------------------------
6074 Warnings:
6075 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
6076 DROP PROCEDURE IF EXISTS sp6;
6077 CREATE PROCEDURE sp6( )
6078 BEGIN
6079 declare x default '0' char;
6080 SELECT x;
6081 END//
6082 ERROR 42000: You 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;
6083 SELECT x;
6084 END' at line 3
6085 DROP PROCEDURE IF EXISTS sp6;
6086 CREATE PROCEDURE sp6( )
6087 BEGIN
6088 declare x char, integer default '0';
6089 SELECT x;
6090 END//
6091 ERROR 42000: You 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';
6092 SELECT x;
6093 END' at line 3
6094 DROP PROCEDURE IF EXISTS sp6;
6095 CREATE PROCEDURE sp6( )
6096 BEGIN
6097 declare x1, x2 char, integer default '0', 1;
6098 SELECT x;
6099 END//
6100 ERROR 42000: You 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;
6101 SELECT x;
6102 END' at line 3
6103 DROP PROCEDURE IF EXISTS sp6;
6104 CREATE PROCEDURE sp1( )
6105 BEGIN
6106 declare char x;
6107 declare char y;
6108 SELECT f1, f2 into x, y from t2 limit 1;
6109 END//
6110 ERROR 42000: You 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;
6111 declare char y;
6112 SELECT f1, f2 into x, y from t2 limit 1;
6113 END' at line 3
6114 DROP PROCEDURE IF EXISTS sp6;
6115 CREATE PROCEDURE sp1( )
6116 BEGIN
6117 declare char x, y1 integer default 0;
6118 declare char y;
6119 SELECT f1, f2 into x, y from t2 limit 1;
6120 END//
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 'char x, y1 integer default 0;
6122 declare char y;
6123 SELECT f1, f2 into x, y from t2 li' at line 3
6124 DROP PROCEDURE IF EXISTS sp6;
6125 CREATE PROCEDURE sp6( )
6126 BEGIN
6127 declare x default 'a' char;
6128 END//
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 'default 'a' char;
6130 END' at line 3
6131 DROP PROCEDURE IF EXISTS sp6;
6132 CREATE PROCEDURE sp6( )
6133 BEGIN
6134 declare condition notable for sqlstate '42s22';
6135 END//
6136 ERROR 42000: You 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';
6137 END' at line 3
6138 DROP PROCEDURE IF EXISTS sp6;
6139 CREATE PROCEDURE sp6( )
6140 BEGIN
6141 declare condition for notable sqlstate '42s22';
6142 END//
6143 ERROR 42000: You 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';
6144 END' at line 3
6145 DROP PROCEDURE IF EXISTS sp6;
6146 CREATE PROCEDURE sp6( )
6147 BEGIN
6148 declare condition for sqlstate notable '42s22';
6149 END//
6150 ERROR 42000: You 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';
6151 END' at line 3
6152 DROP PROCEDURE IF EXISTS sp6;
6153 CREATE PROCEDURE sp6( )
6154 BEGIN
6155 declare condition for sqlstate '42s22' notable;
6156 END//
6157 ERROR 42000: You 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;
6158 END' at line 3
6159 DROP PROCEDURE IF EXISTS sp6;
6160 CREATE PROCEDURE sp6( )
6161 BEGIN
6162 declare cursor cur1 for SELECT f1 from db_storedproc.t2;
6163 END//
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 'cursor cur1 for SELECT f1 from db_storedproc.t2;
6165 END' at line 3
6166 DROP PROCEDURE IF EXISTS sp6;
6167 CREATE PROCEDURE sp6( )
6168 BEGIN
6169 declare cursor for cur1 SELECT f1 from db_storedproc.t2;
6170 END//
6171 ERROR 42000: You 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;
6172 END' at line 3
6173 DROP PROCEDURE IF EXISTS sp6;
6174 CREATE PROCEDURE sp6( )
6175 BEGIN
6176 declare cursor for SELECT cur1 f1 from db_storedproc.t2;
6177 END//
6178 ERROR 42000: You 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;
6179 END' at line 3
6180 DROP PROCEDURE IF EXISTS sp6;
6181 CREATE PROCEDURE sp6( )
6182 BEGIN
6183 declare handler continue for sqlstate '02000' set @x2 = 1;
6184 END//
6185 ERROR 42000: You 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;
6186 END' at line 3
6187 DROP PROCEDURE IF EXISTS sp6;
6188 CREATE PROCEDURE sp6( )
6189 BEGIN
6190 declare handler exit for sqlstate '02000' set @x2 = 1;
6191 END//
6192 ERROR 42000: You 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;
6193 END' at line 3
6194 DROP PROCEDURE IF EXISTS sp6;
6195 CREATE PROCEDURE sp6( )
6196 BEGIN
6197 declare handler undo for sqlstate '02000' set @x2 = 1;
6198 END//
6199 ERROR 42000: You 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;
6200 END' at line 3
6201 DROP PROCEDURE IF EXISTS sp1;
6202 CREATE PROCEDURE sp1( )
6203 BEGIN
6204 declare char x;
6205 SELECT f1 into x from tb1 limit 9998, 1;
6206 END//
6207 ERROR 42000: You 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;
6208 SELECT f1 into x from tb1 limit 9998, 1;
6209 END' at line 3
6210 DROP PROCEDURE IF EXISTS sp1;
6211 CREATE PROCEDURE sp1( )
6212 BEGIN
6213 declare char binary x;
6214 SELECT f2 into x from tb1 limit 9998, 1;
6215 END//
6216 ERROR 42000: You 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;
6217 SELECT f2 into x from tb1 limit 9998, 1;
6218 END' at line 3
6219 DROP PROCEDURE IF EXISTS sp1;
6220 CREATE PROCEDURE sp1( )
6221 BEGIN
6222 declare char ascii x;
6223 SELECT f3 into x from tb1 limit 9998, 1;
6224 END//
6225 ERROR 42000: You 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;
6226 SELECT f3 into x from tb1 limit 9998, 1;
6227 END' at line 3
6228 DROP PROCEDURE IF EXISTS sp1;
6229 CREATE PROCEDURE sp1( )
6230 BEGIN
6231 declare tinytext x;
6232 SELECT f4 into x from tb1 limit 9998, 1;
6233 END//
6234 ERROR 42000: You 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;
6235 SELECT f4 into x from tb1 limit 9998, 1;
6236 END' at line 3
6237 DROP PROCEDURE IF EXISTS sp1;
6238 CREATE PROCEDURE sp1( )
6239 BEGIN
6240 declare x;
6241 SELECT f5 text into x from tb1 limit 9998, 1;
6242 END//
6243 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
6244 SELECT f5 text into x from tb1 limit 9998, 1;
6245 END' at line 3
6246 DROP PROCEDURE IF EXISTS sp1;
6247 CREATE PROCEDURE sp1( )
6248 BEGIN
6249 declare mediumtext x;
6250 SELECT f6 into x from tb1 limit 9998, 1;
6251 END//
6252 ERROR 42000: You 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;
6253 SELECT f6 into x from tb1 limit 9998, 1;
6254 END' at line 3
6255 DROP PROCEDURE IF EXISTS sp1;
6256 CREATE PROCEDURE sp1( )
6257 BEGIN
6258 declare longtext x;
6259 SELECT f7 into x from tb1 limit 9998, 1;
6260 END//
6261 ERROR 42000: You 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;
6262 SELECT f7 into x from tb1 limit 9998, 1;
6263 END' at line 3
6264 DROP PROCEDURE IF EXISTS sp1;
6265 CREATE PROCEDURE sp1( )
6266 BEGIN
6267 declare tinyblob x;
6268 SELECT f8 into x from tb1 limit 9998, 1;
6269 END//
6270 ERROR 42000: You 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;
6271 SELECT f8 into x from tb1 limit 9998, 1;
6272 END' at line 3
6273 DROP PROCEDURE IF EXISTS sp1;
6274 CREATE PROCEDURE sp1( )
6275 BEGIN
6276 declare blob x;
6277 SELECT f9 into x from tb1 limit 9998, 1;
6278 END//
6279 ERROR 42000: You 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;
6280 SELECT f9 into x from tb1 limit 9998, 1;
6281 END' at line 3
6282 DROP PROCEDURE IF EXISTS sp1;
6283 CREATE PROCEDURE sp1( )
6284 BEGIN
6285 declare mediumblob x;
6286 SELECT f10 into x from tb1 limit 9998, 1;
6287 END//
6288 ERROR 42000: You 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;
6289 SELECT f10 into x from tb1 limit 9998, 1;
6290 END' at line 3
6291 DROP PROCEDURE IF EXISTS sp1;
6292 CREATE PROCEDURE sp1( )
6293 BEGIN
6294 declare longblob x;
6295 SELECT f11 into x from tb1 limit 9998, 1;
6296 END//
6297 ERROR 42000: You 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;
6298 SELECT f11 into x from tb1 limit 9998, 1;
6299 END' at line 3
6300 DROP PROCEDURE IF EXISTS sp1;
6301 CREATE PROCEDURE sp1( )
6302 BEGIN
6303 declare binary x;
6304 SELECT f12 into x from tb1 limit 9998, 1;
6305 END//
6306 ERROR 42000: You 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;
6307 SELECT f12 into x from tb1 limit 9998, 1;
6308 END' at line 3
6309 DROP PROCEDURE IF EXISTS sp1;
6310 CREATE PROCEDURE sp1( )
6311 BEGIN
6312 declare tinyint x;
6313 SELECT f13 into x from tb1 limit 9998, 1;
6314 END//
6315 ERROR 42000: You 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;
6316 SELECT f13 into x from tb1 limit 9998, 1;
6317 END' at line 3
6318 DROP PROCEDURE IF EXISTS sp1;
6319 CREATE PROCEDURE sp1( )
6320 BEGIN
6321 declare tinyint unsigned x;
6322 SELECT f14 into x from tb1 limit 9998, 1;
6323 END//
6324 ERROR 42000: You 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;
6325 SELECT f14 into x from tb1 limit 9998, 1;
6326 END' at line 3
6327 DROP PROCEDURE IF EXISTS sp1;
6328 CREATE PROCEDURE sp1( )
6329 BEGIN
6330 declare tinyint zerofill x;
6331 SELECT f15 into x from tb1 limit 9998, 1;
6332 END//
6333 ERROR 42000: You 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;
6334 SELECT f15 into x from tb1 limit 9998, 1;
6335 END' at line 3
6336 DROP PROCEDURE IF EXISTS sp1;
6337 CREATE PROCEDURE sp1( )
6338 BEGIN
6339 declare tinyint unsigned zerofill x;
6340 SELECT f16 into x from tb1 limit 9998, 1;
6341 END//
6342 ERROR 42000: You 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;
6343 SELECT f16 into x from tb1 limit 9998, 1;
6344 END' at line 3
6345 DROP PROCEDURE IF EXISTS sp1;
6346 CREATE PROCEDURE sp1( )
6347 BEGIN
6348 declare smallint x;
6349 SELECT f17 into x from tb1 limit 9998, 1;
6350 END//
6351 ERROR 42000: You 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;
6352 SELECT f17 into x from tb1 limit 9998, 1;
6353 END' at line 3
6354 DROP PROCEDURE IF EXISTS sp1;
6355 CREATE PROCEDURE sp1( )
6356 BEGIN
6357 declare smallint unsigned x;
6358 SELECT f18 into x from tb1 limit 9998, 1;
6359 END//
6360 ERROR 42000: You 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;
6361 SELECT f18 into x from tb1 limit 9998, 1;
6362 END' at line 3
6363 DROP PROCEDURE IF EXISTS sp1;
6364 CREATE PROCEDURE sp1( )
6365 BEGIN
6366 declare smallint zerofill x;
6367 SELECT f19 into x from tb1 limit 9998, 1;
6368 END//
6369 ERROR 42000: You 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;
6370 SELECT f19 into x from tb1 limit 9998, 1;
6371 END' at line 3
6372 DROP PROCEDURE IF EXISTS sp1;
6373 CREATE PROCEDURE sp1( )
6374 BEGIN
6375 declare smallint unsigned zerofill x;
6376 SELECT f20 into x from tb1 limit 9998, 1;
6377 END//
6378 ERROR 42000: You 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;
6379 SELECT f20 into x from tb1 limit 9998, 1;
6380 END' at line 3
6381 DROP PROCEDURE IF EXISTS sp1;
6382 CREATE PROCEDURE sp1( )
6383 BEGIN
6384 declare mediumint x;
6385 SELECT f21 into x from tb1 limit 9998, 1;
6386 END//
6387 ERROR 42000: You 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;
6388 SELECT f21 into x from tb1 limit 9998, 1;
6389 END' at line 3
6390 DROP PROCEDURE IF EXISTS sp1;
6391 CREATE PROCEDURE sp1( )
6392 BEGIN
6393 declare mediumint unsigned x;
6394 SELECT f22 into x from tb1 limit 9998, 1;
6395 END//
6396 ERROR 42000: You 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;
6397 SELECT f22 into x from tb1 limit 9998, 1;
6398 END' at line 3
6399 DROP PROCEDURE IF EXISTS sp1;
6400 CREATE PROCEDURE sp1( )
6401 BEGIN
6402 declare mediumint zerofill x;
6403 SELECT f23 into x from tb1 limit 9998, 1;
6404 END//
6405 ERROR 42000: You 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;
6406 SELECT f23 into x from tb1 limit 9998, 1;
6407 END' at line 3
6408 DROP PROCEDURE IF EXISTS sp1;
6409 CREATE PROCEDURE sp1( )
6410 BEGIN
6411 declare mediumint unsigned zerofill x;
6412 SELECT f24 into x from tb1 limit 9998, 1;
6413 END//
6414 ERROR 42000: You 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;
6415 SELECT f24 into x from tb1 limit 9998, 1;
6416 END' at line 3
6417 DROP PROCEDURE IF EXISTS sp1;
6418 CREATE PROCEDURE sp1( )
6419 BEGIN
6420 declare int x;
6421 SELECT f25 into x from tb1 limit 9998, 1;
6422 END//
6423 ERROR 42000: You 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;
6424 SELECT f25 into x from tb1 limit 9998, 1;
6425 END' at line 3
6426 DROP PROCEDURE IF EXISTS sp1;
6427 CREATE PROCEDURE sp1( )
6428 BEGIN
6429 declare int unsigned x;
6430 SELECT f26 into x from tb1 limit 9998, 1;
6431 END//
6432 ERROR 42000: You 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;
6433 SELECT f26 into x from tb1 limit 9998, 1;
6434 END' at line 3
6435 DROP PROCEDURE IF EXISTS sp1;
6436 CREATE PROCEDURE sp1( )
6437 BEGIN
6438 declare int zerofill x;
6439 SELECT f27 into x from tb1 limit 9998, 1;
6440 END//
6441 ERROR 42000: You 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;
6442 SELECT f27 into x from tb1 limit 9998, 1;
6443 END' at line 3
6444 DROP PROCEDURE IF EXISTS sp1;
6445 CREATE PROCEDURE sp1( )
6446 BEGIN
6447 declare int unsigned zerofill x;
6448 SELECT f28 into x from tb1 limit 9998, 1;
6449 END//
6450 ERROR 42000: You 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;
6451 SELECT f28 into x from tb1 limit 9998, 1;
6452 END' at line 3
6453 DROP PROCEDURE IF EXISTS sp1;
6454 CREATE PROCEDURE sp1( )
6455 BEGIN
6456 declare bigint x;
6457 SELECT f29 into x from tb1 limit 9998, 1;
6458 END//
6459 ERROR 42000: You 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;
6460 SELECT f29 into x from tb1 limit 9998, 1;
6461 END' at line 3
6462 DROP PROCEDURE IF EXISTS sp1;
6463 CREATE PROCEDURE sp1( )
6464 BEGIN
6465 declare bigint unsigned x;
6466 elect f30 into x from tb1 limit 9998, 1;
6467 END//
6468 ERROR 42000: You 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;
6469 elect f30 into x from tb1 limit 9998, 1;
6470 END' at line 3
6471 DROP PROCEDURE IF EXISTS sp1;
6472 CREATE PROCEDURE sp1( )
6473 BEGIN
6474 declare bigint zerofill x;
6475 SELECT f31 into x from tb1 limit 9998, 1;
6476 END//
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 'bigint zerofill x;
6478 SELECT f31 into x from tb1 limit 9998, 1;
6479 END' at line 3
6480 DROP PROCEDURE IF EXISTS sp1;
6481 CREATE PROCEDURE sp1( )
6482 BEGIN
6483 declare bigint unsigned zerofill x;
6484 SELECT f32 into x from tb1 limit 9998, 1;
6485 END//
6486 ERROR 42000: You 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;
6487 SELECT f32 into x from tb1 limit 9998, 1;
6488 END' at line 3
6489 DROP PROCEDURE IF EXISTS sp1;
6490 CREATE PROCEDURE sp1( )
6491 BEGIN
6492 declare decimal x;
6493 SELECT f33 into x from tb1 limit 9998, 1;
6494 END//
6495 ERROR 42000: You 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;
6496 SELECT f33 into x from tb1 limit 9998, 1;
6497 END' at line 3
6498 DROP PROCEDURE IF EXISTS sp1;
6499 CREATE PROCEDURE sp1( )
6500 BEGIN
6501 declare decimal unsigned x;
6502 SELECT f34 into x from tb1 limit 9998, 1;
6503 END//
6504 ERROR 42000: You 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;
6505 SELECT f34 into x from tb1 limit 9998, 1;
6506 END' at line 3
6507 DROP PROCEDURE IF EXISTS sp1;
6508 CREATE PROCEDURE sp1( )
6509 BEGIN
6510 declare decimal zerofill x;
6511 SELECT f35 into x from tb1 limit 9998, 1;
6512 END//
6513 ERROR 42000: You 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;
6514 SELECT f35 into x from tb1 limit 9998, 1;
6515 END' at line 3
6516 DROP PROCEDURE IF EXISTS sp1;
6517 CREATE PROCEDURE sp1( )
6518 BEGIN
6519 declare decimal unsigned zerofill not null x;
6520 SELECT f36 into x from tb1 limit 9998, 1;
6521 END//
6522 ERROR 42000: You 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;
6523 SELECT f36 into x from tb1 limit 9998, 1;' at line 3
6524 DROP PROCEDURE IF EXISTS sp1;
6525 CREATE PROCEDURE sp1( )
6526 BEGIN
6527 declare decimal (0) not null x;
6528 SELECT f37 into x from tb1 limit 9998, 1;
6529 END//
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 'decimal (0) not null x;
6531 SELECT f37 into x from tb1 limit 9998, 1;
6532 END' at line 3
6533 DROP PROCEDURE IF EXISTS sp1;
6534 CREATE PROCEDURE sp1( )
6535 BEGIN
6536 declare decimal (64) not null x;
6537 SELECT f38 into x from tb1 limit 9998, 1;
6538 END//
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 'decimal (64) not null x;
6540 SELECT f38 into x from tb1 limit 9998, 1;
6541 END' at line 3
6542 DROP PROCEDURE IF EXISTS sp1;
6543 CREATE PROCEDURE sp1( )
6544 BEGIN
6545 declare decimal (0) unsigned not null x;
6546 SELECT f39 into x from tb1 limit 9998, 1;
6547 END//
6548 ERROR 42000: You 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;
6549 SELECT f39 into x from tb1 limit 9998, 1;
6550 END' at line 3
6551 DROP PROCEDURE IF EXISTS sp1;
6552 CREATE PROCEDURE sp1( )
6553 BEGIN
6554 declare decimal (64) unsigned not null x;
6555 SELECT f40 into x from tb1 limit 9998, 1;
6556 END//
6557 ERROR 42000: You 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;
6558 SELECT f40 into x from tb1 limit 9998, 1;
6559 END' at line 3
6560 DROP PROCEDURE IF EXISTS sp1;
6561 CREATE PROCEDURE sp1( )
6562 BEGIN
6563 declare decimal (0) zerofill not null x;
6564 SELECT f41 into x from tb1 limit 9998, 1;
6565 END//
6566 ERROR 42000: You 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;
6567 SELECT f41 into x from tb1 limit 9998, 1;
6568 END' at line 3
6569 DROP PROCEDURE IF EXISTS sp1;
6570 CREATE PROCEDURE sp1( )
6571 BEGIN
6572 declare decimal (64) zerofill not null x;
6573 SELECT f42 into x from tb1 limit 9998, 1;
6574 END//
6575 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x;
6576 SELECT f42 into x from tb1 limit 9998, 1;
6577 END' at line 3
6578 DROP PROCEDURE IF EXISTS sp1;
6579 CREATE PROCEDURE sp1( )
6580 BEGIN
6581 declare decimal (0) unsigned zerofill not null x;
6582 SELECT f43 into x from tb1 limit 9998, 1;
6583 END//
6584 ERROR 42000: You 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;
6585 SELECT f43 into x from tb1 limit 9998' at line 3
6586 DROP PROCEDURE IF EXISTS sp1;
6587 CREATE PROCEDURE sp1( )
6588 BEGIN
6589 declare decimal (64) unsigned zerofill not null x;
6590 SELECT f44 into x from tb1 limit 9998, 1;
6591 END//
6592 ERROR 42000: You 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;
6593 SELECT f44 into x from tb1 limit 999' at line 3
6594 DROP PROCEDURE IF EXISTS sp1;
6595 CREATE PROCEDURE sp1( )
6596 BEGIN
6597 declare decimal (00) not null x;
6598 SELECT f45 into x from tb1 limit 9998, 1;
6599 END//
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 'decimal (00) not null x;
6601 SELECT f45 into x from tb1 limit 9998, 1;
6602 END' at line 3
6603 DROP PROCEDURE IF EXISTS sp1;
6604 CREATE PROCEDURE sp1( )
6605 BEGIN
6606 declare decimal (63, 30) not null x;
6607 SELECT f46 into x from tb1 limit 9998, 1;
6608 END//
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 'decimal (63, 30) not null x;
6610 SELECT f46 into x from tb1 limit 9998, 1;
6611 END' at line 3
6612 DROP PROCEDURE IF EXISTS sp1;
6613 CREATE PROCEDURE sp1( )
6614 BEGIN
6615 declare decimal (00) unsigned not null x;
6616 SELECT f47 into x from tb1 limit 9998, 1;
6617 END//
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 'decimal (00) unsigned not null x;
6619 SELECT f47 into x from tb1 limit 9998, 1;
6620 END' at line 3
6621 DROP PROCEDURE IF EXISTS sp1;
6622 CREATE PROCEDURE sp1( )
6623 BEGIN
6624 declare decimal (63, 30) unsigned not null x;
6625 SELECT f48 into x from tb1 limit 9998, 1;
6626 END//
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 'decimal (63, 30) unsigned not null x;
6628 SELECT f48 into x from tb1 limit 9998, 1;' at line 3
6629 DROP PROCEDURE IF EXISTS sp1;
6630 CREATE PROCEDURE sp1( )
6631 BEGIN
6632 declare decimal (00) zerofill not null x;
6633 SELECT f49 into x from tb1 limit 9998, 1;
6634 END//
6635 ERROR 42000: You 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;
6636 SELECT f49 into x from tb1 limit 9998, 1;
6637 END' at line 3
6638 DROP PROCEDURE IF EXISTS sp1;
6639 CREATE PROCEDURE sp1( )
6640 BEGIN
6641 declare decimal (63, 30) zerofill not null x;
6642 SELECT f50 into x from tb1 limit 9998, 1;
6643 END//
6644 ERROR 42000: You 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;
6645 SELECT f50 into x from tb1 limit 9998, 1;' at line 3
6646 DROP PROCEDURE IF EXISTS sp1;
6647 CREATE PROCEDURE sp1( )
6648 BEGIN
6649 declare decimal (00) unsigned zerofill not null x;
6650 SELECT f51 into x from tb1 limit 9998, 1;
6651 END//
6652 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
6653 SELECT f51 into x from tb1 limit 999' at line 3
6654 DROP PROCEDURE IF EXISTS sp1;
6655 CREATE PROCEDURE sp1( )
6656 BEGIN
6657 declare decimal (63, 30) unsigned zerofill not null x;
6658 SELECT f52 into x from tb1 limit 9998, 1;
6659 END//
6660 ERROR 42000: You 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;
6661 SELECT f52 into x from tb1 limit' at line 3
6662 DROP PROCEDURE IF EXISTS sp1;
6663 CREATE PROCEDURE sp1( )
6664 BEGIN
6665 declare numeric not null x;
6666 SELECT f53 into x from tb1 limit 9998, 1;
6667 END//
6668 ERROR 42000: You 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;
6669 SELECT f53 into x from tb1 limit 9998, 1;
6670 END' at line 3
6671 DROP PROCEDURE IF EXISTS sp1;
6672 CREATE PROCEDURE sp1( )
6673 BEGIN
6674 declare numeric unsigned not null x;
6675 SELECT f54 into x from tb1 limit 9998, 1;
6676 END//
6677 ERROR 42000: You 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;
6678 SELECT f54 into x from tb1 limit 9998, 1;
6679 END' at line 3
6680 DROP PROCEDURE IF EXISTS sp1;
6681 CREATE PROCEDURE sp1( )
6682 BEGIN
6683 declare numeric zerofill not null x;
6684 SELECT f55 into x from tb1 limit 9998, 1;
6685 END//
6686 ERROR 42000: You 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;
6687 SELECT f55 into x from tb1 limit 9998, 1;
6688 END' at line 3
6689 DROP PROCEDURE IF EXISTS sp1;
6690 CREATE PROCEDURE sp1( )
6691 BEGIN
6692 declare numeric unsigned zerofill not null x;
6693 SELECT f56 into x from tb1 limit 9998, 1;
6694 END//
6695 ERROR 42000: You 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;
6696 SELECT f56 into x from tb1 limit 9998, 1;' at line 3
6697 DROP PROCEDURE IF EXISTS sp1;
6698 CREATE PROCEDURE sp1( )
6699 BEGIN
6700 declare numeric (0) not null x;
6701 SELECT f57 into x from tb1 limit 9998, 1;
6702 END//
6703 ERROR 42000: You 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;
6704 SELECT f57 into x from tb1 limit 9998, 1;
6705 END' at line 3
6706 DROP PROCEDURE IF EXISTS sp1;
6707 CREATE PROCEDURE sp1( )
6708 BEGIN
6709 declare numeric (64) not nul x;
6710 SELECT f58 into x from tb1 limit 9998, 1;
6711 END//
6712 ERROR 42000: You 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;
6713 SELECT f58 into x from tb1 limit 9998, 1;
6714 END' at line 3
6715 DROP PROCEDURE IF EXISTS sp1;
6716 CREATE PROCEDURE sp1( )
6717 BEGIN
6718 declare numeric (0) unsigned x;
6719 SELECT f59 into x from tb2 limit 9998, 1;
6720 END//
6721 ERROR 42000: You 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;
6722 SELECT f59 into x from tb2 limit 9998, 1;
6723 END' at line 3
6724 DROP PROCEDURE IF EXISTS sp1;
6725 CREATE PROCEDURE sp1( )
6726 BEGIN
6727 declare numeric (64) unsigned x;
6728 SELECT f60 into x from tb2 limit 9998, 1;
6729 END//
6730 ERROR 42000: You 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;
6731 SELECT f60 into x from tb2 limit 9998, 1;
6732 END' at line 3
6733 DROP PROCEDURE IF EXISTS sp1;
6734 CREATE PROCEDURE sp1( )
6735 BEGIN
6736 declare numeric (0) zerofill x;
6737 SELECT f61 into x from tb2 limit 9998, 1;
6738 END//
6739 ERROR 42000: You 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;
6740 SELECT f61 into x from tb2 limit 9998, 1;
6741 END' at line 3
6742 DROP PROCEDURE IF EXISTS sp1;
6743 CREATE PROCEDURE sp1( )
6744 BEGIN
6745 declare numeric (64) zerofill x;
6746 SELECT f62 into x from tb2 limit 9998, 1;
6747 END//
6748 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x;
6749 SELECT f62 into x from tb2 limit 9998, 1;
6750 END' at line 3
6751 DROP PROCEDURE IF EXISTS sp1;
6752 CREATE PROCEDURE sp1( )
6753 BEGIN
6754 declare numeric (0) unsigned zerofill x;
6755 SELECT f63 into x from tb2 limit 9998, 1;
6756 END//
6757 ERROR 42000: You 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;
6758 SELECT f63 into x from tb2 limit 9998, 1;
6759 END' at line 3
6760 DROP PROCEDURE IF EXISTS sp1;
6761 CREATE PROCEDURE sp1( )
6762 BEGIN
6763 declare numeric (64) unsigned zerofill x;
6764 SELECT f64 into x from tb2 limit 9998, 1;
6765 END//
6766 ERROR 42000: You 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;
6767 SELECT f64 into x from tb2 limit 9998, 1;
6768 END' at line 3
6769 DROP PROCEDURE IF EXISTS sp1;
6770 CREATE PROCEDURE sp1( )
6771 BEGIN
6772 declare numeric (00) x;
6773 SELECT f65 into x from tb2 limit 9998, 1;
6774 END//
6775 ERROR 42000: You 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;
6776 SELECT f65 into x from tb2 limit 9998, 1;
6777 END' at line 3
6778 DROP PROCEDURE IF EXISTS sp1;
6779 CREATE PROCEDURE sp1( )
6780 BEGIN
6781 declare numeric (63, 30) x;
6782 SELECT f66 into x from tb2 limit 9998, 1;
6783 END//
6784 ERROR 42000: You 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;
6785 SELECT f66 into x from tb2 limit 9998, 1;
6786 END' at line 3
6787 DROP PROCEDURE IF EXISTS sp1;
6788 CREATE PROCEDURE sp1( )
6789 BEGIN
6790 declare numeric (00) unsigned x;
6791 SELECT f67 into x from tb2 limit 9998, 1;
6792 END//
6793 ERROR 42000: You 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;
6794 SELECT f67 into x from tb2 limit 9998, 1;
6795 END' at line 3
6796 DROP PROCEDURE IF EXISTS sp1;
6797 CREATE PROCEDURE sp1( )
6798 BEGIN
6799 declare numeric (63, 30) unsigned x;
6800 SELECT f68 into x from tb2 limit 9998, 1;
6801 END//
6802 ERROR 42000: You 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;
6803 SELECT f68 into x from tb2 limit 9998, 1;
6804 END' at line 3
6805 DROP PROCEDURE IF EXISTS sp1;
6806 CREATE PROCEDURE sp1( )
6807 BEGIN
6808 declare numeric (00) zerofill x;
6809 SELECT f69 into x from tb2 limit 9998, 1;
6810 END//
6811 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x;
6812 SELECT f69 into x from tb2 limit 9998, 1;
6813 END' at line 3
6814 DROP PROCEDURE IF EXISTS sp1;
6815 CREATE PROCEDURE sp1( )
6816 BEGIN
6817 declare numeric (63, 30) zerofill x;
6818 SELECT f70 into x from tb2 limit 9998, 1;
6819 END//
6820 ERROR 42000: You 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;
6821 SELECT f70 into x from tb2 limit 9998, 1;
6822 END' at line 3
6823 DROP PROCEDURE IF EXISTS sp1;
6824 CREATE PROCEDURE sp1( )
6825 BEGIN
6826 declare numeric (00) unsigned zerofill x;
6827 SELECT f71 into x from tb2 limit 9998, 1;
6828 END//
6829 ERROR 42000: You 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;
6830 SELECT f71 into x from tb2 limit 9998, 1;
6831 END' at line 3
6832 DROP PROCEDURE IF EXISTS sp1;
6833 CREATE PROCEDURE sp1( )
6834 BEGIN
6835 declare numeric (63, 30) unsigned zerofill x;
6836 SELECT f72 into x from tb2 limit 9998, 1;
6837 END//
6838 ERROR 42000: You 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;
6839 SELECT f72 into x from tb2 limit 9998, 1;' at line 3
6840 DROP PROCEDURE IF EXISTS sp1;
6841 CREATE PROCEDURE sp1( )
6842 BEGIN
6843 declare real x;
6844 SELECT f73 into x from tb2 limit 9998, 1;
6845 END//
6846 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x;
6847 SELECT f73 into x from tb2 limit 9998, 1;
6848 END' at line 3
6849 DROP PROCEDURE IF EXISTS sp1;
6850 CREATE PROCEDURE sp1( )
6851 BEGIN
6852 declare real unsigned x;
6853 SELECT f74 into x from tb2 limit 9998, 1;
6854 END//
6855 ERROR 42000: You 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;
6856 SELECT f74 into x from tb2 limit 9998, 1;
6857 END' at line 3
6858 DROP PROCEDURE IF EXISTS sp1;
6859 CREATE PROCEDURE sp1( )
6860 BEGIN
6861 declare real zerofill x;
6862 SELECT f75 into x from tb2 limit 9998, 1;
6863 END//
6864 ERROR 42000: You 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;
6865 SELECT f75 into x from tb2 limit 9998, 1;
6866 END' at line 3
6867 DROP PROCEDURE IF EXISTS sp1;
6868 CREATE PROCEDURE sp1( )
6869 BEGIN
6870 declare real unsigned zerofill x;
6871 SELECT f76 into x from tb2 limit 9998, 1;
6872 END//
6873 ERROR 42000: You 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;
6874 SELECT f76 into x from tb2 limit 9998, 1;
6875 END' at line 3
6876 DROP PROCEDURE IF EXISTS sp1;
6877 CREATE PROCEDURE sp1( )
6878 BEGIN
6879 declare double x;
6880 SELECT f77 into x from tb2 limit 9998, 1;
6881 END//
6882 ERROR 42000: You 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;
6883 SELECT f77 into x from tb2 limit 9998, 1;
6884 END' at line 3
6885 DROP PROCEDURE IF EXISTS sp1;
6886 CREATE PROCEDURE sp1( )
6887 BEGIN
6888 declare double unsigned x;
6889 SELECT f78 into x from tb2 limit 9998, 1;
6890 END//
6891 ERROR 42000: You 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;
6892 SELECT f78 into x from tb2 limit 9998, 1;
6893 END' at line 3
6894 DROP PROCEDURE IF EXISTS sp1;
6895 CREATE PROCEDURE sp1( )
6896 BEGIN
6897 declare double zerofill x;
6898 SELECT f79 into x from tb2 limit 9998, 1;
6899 END//
6900 ERROR 42000: You 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;
6901 SELECT f79 into x from tb2 limit 9998, 1;
6902 END' at line 3
6903 DROP PROCEDURE IF EXISTS sp1;
6904 CREATE PROCEDURE sp1( )
6905 BEGIN
6906 declare double unsigned zerofill x;
6907 SELECT f80 into x from tb2 limit 9998, 1;
6908 END//
6909 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x;
6910 SELECT f80 into x from tb2 limit 9998, 1;
6911 END' at line 3
6912 DROP PROCEDURE IF EXISTS sp1;
6913 CREATE PROCEDURE sp1( )
6914 BEGIN
6915 declare float not null x;
6916 SELECT f81 into x from tb2 limit 9998, 1;
6917 END//
6918 ERROR 42000: You 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;
6919 SELECT f81 into x from tb2 limit 9998, 1;
6920 END' at line 3
6921 DROP PROCEDURE IF EXISTS sp1;
6922 CREATE PROCEDURE sp1( )
6923 BEGIN
6924 declare float unsigned not null x;
6925 SELECT f82 into x from tb2 limit 9998, 1;
6926 END//
6927 ERROR 42000: You 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;
6928 SELECT f82 into x from tb2 limit 9998, 1;
6929 END' at line 3
6930 DROP PROCEDURE IF EXISTS sp1;
6931 CREATE PROCEDURE sp1( )
6932 BEGIN
6933 declare float zerofill not null x;
6934 SELECT f83 into x from tb2 limit 9998, 1;
6935 END//
6936 ERROR 42000: You 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;
6937 SELECT f83 into x from tb2 limit 9998, 1;
6938 END' at line 3
6939 DROP PROCEDURE IF EXISTS sp1;
6940 CREATE PROCEDURE sp1( )
6941 BEGIN
6942 declare float unsigned zerofill not null x;
6943 SELECT f84 into x from tb2 limit 9998, 1;
6944 END//
6945 ERROR 42000: You 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;
6946 SELECT f84 into x from tb2 limit 9998, 1;
6947 E' at line 3
6948 DROP PROCEDURE IF EXISTS sp1;
6949 CREATE PROCEDURE sp1( )
6950 BEGIN
6951 declare float(0) not null x;
6952 SELECT f85 into x from tb2 limit 9998, 1;
6953 END//
6954 ERROR 42000: You 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;
6955 SELECT f85 into x from tb2 limit 9998, 1;
6956 END' at line 3
6957 DROP PROCEDURE IF EXISTS sp1;
6958 CREATE PROCEDURE sp1( )
6959 BEGIN
6960 declare float(23) not null x;
6961 SELECT f86 into x from tb2 limit 9998, 1;
6962 END//
6963 ERROR 42000: You 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;
6964 SELECT f86 into x from tb2 limit 9998, 1;
6965 END' at line 3
6966 DROP PROCEDURE IF EXISTS sp1;
6967 CREATE PROCEDURE sp1( )
6968 BEGIN
6969 declare float(0) unsigned not null x;
6970 SELECT f87 into x from tb2 limit 9998, 1;
6971 END//
6972 ERROR 42000: You 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;
6973 SELECT f87 into x from tb2 limit 9998, 1;
6974 END' at line 3
6975 DROP PROCEDURE IF EXISTS sp1;
6976 CREATE PROCEDURE sp1( )
6977 BEGIN
6978 declare float(23) unsigned not null x;
6979 SELECT f88 into x from tb2 limit 9998, 1;
6980 END//
6981 ERROR 42000: You 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;
6982 SELECT f88 into x from tb2 limit 9998, 1;
6983 END' at line 3
6984 DROP PROCEDURE IF EXISTS sp1;
6985 CREATE PROCEDURE sp1( )
6986 BEGIN
6987 declare float(0) zerofill not null x;
6988 SELECT f89 into x from tb2 limit 9998, 1;
6989 END//
6990 ERROR 42000: You 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;
6991 SELECT f89 into x from tb2 limit 9998, 1;
6992 END' at line 3
6993 DROP PROCEDURE IF EXISTS sp1;
6994 CREATE PROCEDURE sp1( )
6995 BEGIN
6996 declare float(23) zerofill not null x;
6997 SELECT f90 into x from tb2 limit 9998, 1;
6998 END//
6999 ERROR 42000: You 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;
7000 SELECT f90 into x from tb2 limit 9998, 1;
7001 END' at line 3
7002 DROP PROCEDURE IF EXISTS sp1;
7003 CREATE PROCEDURE sp1( )
7004 BEGIN
7005 declare float(0) unsigned zerofill not null x;
7006 SELECT f91 into x from tb2 limit 9998, 1;
7007 END//
7008 ERROR 42000: You 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;
7009 SELECT f91 into x from tb2 limit 9998, 1' at line 3
7010 DROP PROCEDURE IF EXISTS sp1;
7011 CREATE PROCEDURE sp1( )
7012 BEGIN
7013 declare float(23) unsigned zerofill not null x;
7014 SELECT f92 into x from tb2 limit 9998, 1;
7015 END//
7016 ERROR 42000: You 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;
7017 SELECT f92 into x from tb2 limit 9998, ' at line 3
7018 DROP PROCEDURE IF EXISTS sp1;
7019 CREATE PROCEDURE sp1( )
7020 BEGIN
7021 declare float(24) not null x;
7022 SELECT f93 into x from tb2 limit 9998, 1;
7023 END//
7024 ERROR 42000: You 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;
7025 SELECT f93 into x from tb2 limit 9998, 1;
7026 END' at line 3
7027 DROP PROCEDURE IF EXISTS sp1;
7028 CREATE PROCEDURE sp1( )
7029 BEGIN
7030 declare float(53) not null x;
7031 SELECT f94 into x from tb2 limit 9998, 1;
7032 END//
7033 ERROR 42000: You 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;
7034 SELECT f94 into x from tb2 limit 9998, 1;
7035 END' at line 3
7036 DROP PROCEDURE IF EXISTS sp1;
7037 CREATE PROCEDURE sp1( )
7038 BEGIN
7039 declare float(24) unsigned not null x;
7040 SELECT f95 into x from tb2 limit 9998, 1;
7041 END//
7042 ERROR 42000: You 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;
7043 SELECT f95 into x from tb2 limit 9998, 1;
7044 END' at line 3
7045 DROP PROCEDURE IF EXISTS sp1;
7046 CREATE PROCEDURE sp1( )
7047 BEGIN
7048 declare float(53) unsigned not null x;
7049 SELECT f96 into x from tb2 limit 9998, 1;
7050 END//
7051 ERROR 42000: You 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;
7052 SELECT f96 into x from tb2 limit 9998, 1;
7053 END' at line 3
7054 DROP PROCEDURE IF EXISTS sp1;
7055 CREATE PROCEDURE sp1( )
7056 BEGIN
7057 declare float(24) zerofill not null x;
7058 SELECT f97 into x from tb2 limit 9998, 1;
7059 END//
7060 ERROR 42000: You 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;
7061 SELECT f97 into x from tb2 limit 9998, 1;
7062 END' at line 3
7063 DROP PROCEDURE IF EXISTS sp1;
7064 CREATE PROCEDURE sp1( )
7065 BEGIN
7066 declare float(53) zerofill not null x;
7067 SELECT f98 into x from tb2 limit 9998, 1;
7068 END//
7069 ERROR 42000: You 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;
7070 SELECT f98 into x from tb2 limit 9998, 1;
7071 END' at line 3
7072 DROP PROCEDURE IF EXISTS sp1;
7073 CREATE PROCEDURE sp1( )
7074 BEGIN
7075 declare float(24) unsigned zerofill not null x;
7076 SELECT f99 into x from tb2 limit 9998, 1;
7077 END//
7078 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
7079 SELECT f99 into x from tb2 limit 9998, ' at line 3
7080 DROP PROCEDURE IF EXISTS sp1;
7081 CREATE PROCEDURE sp1( )
7082 BEGIN
7083 declare float(53) unsigned zerofill not null x;
7084 SELECT f100 into x from tb2 limit 9998, 1;
7085 END//
7086 ERROR 42000: You 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;
7087 SELECT f100 into x from tb2 limit 9998,' at line 3
7088 DROP PROCEDURE IF EXISTS sp1;
7089 CREATE PROCEDURE sp1( )
7090 BEGIN
7091 declare date not null x;
7092 SELECT f101 into x from tb2 limit 9998, 1;
7093 END//
7094 ERROR 42000: You 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;
7095 SELECT f101 into x from tb2 limit 9998, 1;
7096 END' at line 3
7097 DROP PROCEDURE IF EXISTS sp1;
7098 CREATE PROCEDURE sp1( )
7099 BEGIN
7100 declare time not null x;
7101 SELECT f102 into x from tb2 limit 9998, 1;
7102 END//
7103 ERROR 42000: You 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;
7104 SELECT f102 into x from tb2 limit 9998, 1;
7105 END' at line 3
7106 DROP PROCEDURE IF EXISTS sp1;
7107 CREATE PROCEDURE sp1( )
7108 BEGIN
7109 declare datetime not null x;
7110 SELECT f103 into x from tb2 limit 9998, 1;
7111 END//
7112 ERROR 42000: You 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;
7113 SELECT f103 into x from tb2 limit 9998, 1;
7114 END' at line 3
7115 DROP PROCEDURE IF EXISTS sp1;
7116 CREATE PROCEDURE sp1( )
7117 BEGIN
7118 declare timestamp not null x;
7119 SELECT f104 into x from tb2 limit 9998, 1;
7120 END//
7121 ERROR 42000: You 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;
7122 SELECT f104 into x from tb2 limit 9998, 1;
7123 END' at line 3
7124 DROP PROCEDURE IF EXISTS sp1;
7125 CREATE PROCEDURE sp1( )
7126 BEGIN
7127 declare year not null x;
7128 SELECT f105 into x from tb2 limit 9998, 1;
7129 END//
7130 ERROR 42000: You 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;
7131 SELECT f105 into x from tb2 limit 9998, 1;
7132 END' at line 3
7133 DROP PROCEDURE IF EXISTS sp1;
7134 CREATE PROCEDURE sp1( )
7135 BEGIN
7136 declare year(4) not null x;
7137 SELECT f107 into x from tb2 limit 9998, 1;
7138 END//
7139 ERROR 42000: You 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;
7140 SELECT f107 into x from tb2 limit 9998, 1;
7141 END' at line 3
7142 DROP PROCEDURE IF EXISTS sp1;
7143 CREATE PROCEDURE sp1( )
7144 BEGIN
7145 declare enum("1enum", "2enum") not null x;
7146 SELECT f108 into x from tb2 limit 9998, 1;
7147 END//
7148 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x;
7149 SELECT f108 into x from tb2 limit 9998, 1;
7150 END' at line 3
7151 DROP PROCEDURE IF EXISTS sp1;
7152 CREATE PROCEDURE sp1( )
7153 BEGIN
7154 declare set("1set", "2set") not nul x;
7155 SELECT f109 into x from tb2 limit 9998, 1;
7156 END//
7157 ERROR 42000: You 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;
7158 SELECT f109 into x from tb2 limit 9998, 1;
7159 END' at line 3
7160 Warnings:
7161 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7162
7163 Testcase 4.2.14:
7164 ----------------
7165 Ensure that the handlers declared for a stored procedure (with the declare
7166 statement) may only be defined in the correct order
7167 --------------------------------------------------------------------------------
7168 Warnings:
7169 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7170 DROP PROCEDURE IF EXISTS sp1;
7171 CREATE PROCEDURE sp1()
7172 BEGIN
7173 declare continue handler for sqlstate '23000' set @x2 = 1;
7174 declare x char;
7175 END//
7176 ERROR 42000: Variable or condition declaration after cursor or handler declaration
7177 DROP PROCEDURE IF EXISTS sp6;
7178 CREATE PROCEDURE sp6( )
7179 BEGIN
7180 declare cursor1 cursor for SELECT f1 from tb1;
7181 declare x char;
7182 END//
7183 ERROR 42000: Variable or condition declaration after cursor or handler declaration
7184 DROP PROCEDURE IF EXISTS sp6;
7185 CREATE PROCEDURE sp6( )
7186 BEGIN
7187 declare cursor1 cursor for SELECT f1 from tb1;
7188 declare sqlcondition condition for sqlstate '02000';
7189 END//
7190 ERROR 42000: Variable or condition declaration after cursor or handler declaration
7191 DROP PROCEDURE IF EXISTS sp6;
7192 CREATE PROCEDURE sp6( )
7193 BEGIN
7194 declare sqlcondition condition for sqlstate '02000';
7195 declare continue handler for sqlcondition set @x=1;
7196 declare cursor1 cursor for SELECT f1 from tb1;
7197 END//
7198 ERROR 42000: Cursor declaration after handler declaration
7199 Warnings:
7200 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7201
7202 Testcase 4.2.15:
7203 ----------------
7204 Ensure that the declare statement can declare multiple variables both separately
7205 and all at once from a variable list. (multiple declaration)
7206 --------------------------------------------------------------------------------
7207 Warnings:
7208 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7209 DROP PROCEDURE IF EXISTS sp1;
7210 CREATE PROCEDURE sp1()
7211 BEGIN
7212 DECLARE x1 CHAR(100) DEFAULT 'outer';
7213 BEGIN
7214 DECLARE x1 CHAR(100) DEFAULT x1;
7215 END;
7216 END//
7217 CALL sp1();
7218 DROP PROCEDURE IF EXISTS sp1;
7219 CREATE PROCEDURE sp1( )
7220 BEGIN
7221 declare x, y, z char default null;
7222 SELECT x, y, z;
7223 END//
7224 CALL sp1();
7225 x y z
7226 NULL NULL NULL
7227 DROP PROCEDURE IF EXISTS sp1;
7228 CREATE PROCEDURE sp1( )
7229 BEGIN
7230 declare x, y, z char ascii default null;
7231 SELECT x, y, z;
7232 END//
7233 Warnings:
7234 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
7235 CALL sp1();
7236 x y z
7237 NULL NULL NULL
7238 DROP PROCEDURE IF EXISTS sp1;
7239 CREATE PROCEDURE sp1( )
7240 BEGIN
7241 declare x, y, z tinytext default null;
7242 SELECT x, y, z;
7243 END//
7244 CALL sp1();
7245 x y z
7246 NULL NULL NULL
7247 DROP PROCEDURE IF EXISTS sp1;
7248 CREATE PROCEDURE sp1( )
7249 BEGIN
7250 declare x, y, z text default null;
7251 SELECT x, y, z;
7252 END//
7253 CALL sp1();
7254 x y z
7255 NULL NULL NULL
7256 DROP PROCEDURE IF EXISTS sp1;
7257 CREATE PROCEDURE sp1( )
7258 BEGIN
7259 declare x, y, z mediumtext default null;
7260 SELECT x, y, z;
7261 END//
7262 CALL sp1();
7263 x y z
7264 NULL NULL NULL
7265 DROP PROCEDURE IF EXISTS sp1;
7266 CREATE PROCEDURE sp1( )
7267 BEGIN
7268 declare x, y, z longtext default null;
7269 SELECT x, y, z;
7270 END//
7271 CALL sp1();
7272 x y z
7273 NULL NULL NULL
7274 DROP PROCEDURE IF EXISTS sp1;
7275 CREATE PROCEDURE sp1( )
7276 BEGIN
7277 declare x, y, z tinyblob default null;
7278 SELECT x, y, z;
7279 END//
7280 CALL sp1();
7281 x y z
7282 NULL NULL NULL
7283 DROP PROCEDURE IF EXISTS sp1;
7284 CREATE PROCEDURE sp1( )
7285 BEGIN
7286 declare x, y, z blob default null;
7287 SELECT x, y, z;
7288 END//
7289 CALL sp1();
7290 x y z
7291 NULL NULL NULL
7292 DROP PROCEDURE IF EXISTS sp1;
7293 CREATE PROCEDURE sp1( )
7294 BEGIN
7295 declare x, y, z mediumblob default null;
7296 SELECT x, y, z;
7297 END//
7298 CALL sp1();
7299 x y z
7300 NULL NULL NULL
7301 DROP PROCEDURE IF EXISTS sp1;
7302 CREATE PROCEDURE sp1( )
7303 BEGIN
7304 declare x, y, z longblob default null;
7305 SELECT x, y, z;
7306 END//
7307 CALL sp1();
7308 x y z
7309 NULL NULL NULL
7310 DROP PROCEDURE IF EXISTS sp1;
7311 CREATE PROCEDURE sp1( )
7312 BEGIN
7313 declare x, y, z binary default null;
7314 SELECT x, y, z;
7315 END//
7316 CALL sp1();
7317 x y z
7318 NULL NULL NULL
7319 DROP PROCEDURE IF EXISTS sp1;
7320 CREATE PROCEDURE sp1( )
7321 BEGIN
7322 declare x, y, z tinyint default -126;
7323 SELECT x, y, z;
7324 END//
7325 CALL sp1();
7326 x y z
7327 -126 -126 -126
7328 DROP PROCEDURE IF EXISTS sp1;
7329 CREATE PROCEDURE sp1( )
7330 BEGIN
7331 declare x, y, z tinyint unsigned default 253;
7332 SELECT x, y, z;
7333 END//
7334 CALL sp1();
7335 x y z
7336 253 253 253
7337 DROP PROCEDURE IF EXISTS sp1;
7338 CREATE PROCEDURE sp1( )
7339 BEGIN
7340 declare x, y, z tinyint zerofill default -1;
7341 GET DIAGNOSTICS @n = NUMBER;
7342 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7343 SELECT @err_no, @err_txt;
7344 SELECT x, y, z;
7345 END//
7346 Warnings:
7347 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7348 CALL sp1();
7349 @err_no @err_txt
7350 1264 Out of range value for column 'z' at row 1
7351 x y z
7352 000 000 000
7353 DROP PROCEDURE IF EXISTS sp1;
7354 CREATE PROCEDURE sp1( )
7355 BEGIN
7356 declare x, y, z tinyint unsigned zerofill default 1;
7357 SELECT x, y, z;
7358 END//
7359 Warnings:
7360 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7361 CALL sp1();
7362 x y z
7363 001 001 001
7364 DROP PROCEDURE IF EXISTS sp1;
7365 CREATE PROCEDURE sp1( )
7366 BEGIN
7367 declare x, y, z smallint default -32768;
7368 SELECT x, y, z;
7369 END//
7370 CALL sp1();
7371 x y z
7372 -32768 -32768 -32768
7373 DROP PROCEDURE IF EXISTS sp1;
7374 CREATE PROCEDURE sp1( )
7375 BEGIN
7376 declare x, y, z smallint unsigned default 65535;
7377 SELECT x, y, z;
7378 END//
7379 CALL sp1();
7380 x y z
7381 65535 65535 65535
7382 DROP PROCEDURE IF EXISTS sp1;
7383 CREATE PROCEDURE sp1( )
7384 BEGIN
7385 declare x, y, z smallint zerofill default -1;
7386 GET DIAGNOSTICS @n = NUMBER;
7387 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7388 SELECT @err_no, @err_txt;
7389 SELECT x, y, z;
7390 END//
7391 Warnings:
7392 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7393 CALL sp1();
7394 @err_no @err_txt
7395 1264 Out of range value for column 'z' at row 1
7396 x y z
7397 00000 00000 00000
7398 DROP PROCEDURE IF EXISTS sp1;
7399 CREATE PROCEDURE sp1( )
7400 BEGIN
7401 declare x, y, z smallint unsigned zerofill default 1;
7402 SELECT x, y, z;
7403 END//
7404 Warnings:
7405 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7406 CALL sp1();
7407 x y z
7408 00001 00001 00001
7409 DROP PROCEDURE IF EXISTS sp1;
7410 CREATE PROCEDURE sp1( )
7411 BEGIN
7412 declare x, y, z mediumint default -8388608;
7413 SELECT x, y, z;
7414 END//
7415 CALL sp1();
7416 x y z
7417 -8388608 -8388608 -8388608
7418 DROP PROCEDURE IF EXISTS sp1;
7419 CREATE PROCEDURE sp1( )
7420 BEGIN
7421 declare x, y, z mediumint unsigned default 16777215;
7422 SELECT x, y, z;
7423 END//
7424 CALL sp1();
7425 x y z
7426 16777215 16777215 16777215
7427 DROP PROCEDURE IF EXISTS sp1;
7428 CREATE PROCEDURE sp1( )
7429 BEGIN
7430 declare x, y, z mediumint zerofill default -1;
7431 GET DIAGNOSTICS @n = NUMBER;
7432 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7433 SELECT @err_no, @err_txt;
7434 SELECT x, y, z;
7435 END//
7436 Warnings:
7437 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7438 CALL sp1();
7439 @err_no @err_txt
7440 1264 Out of range value for column 'z' at row 1
7441 x y z
7442 00000000 00000000 00000000
7443 DROP PROCEDURE IF EXISTS sp1;
7444 CREATE PROCEDURE sp1( )
7445 BEGIN
7446 declare x, y, z mediumint unsigned zerofill default 1;
7447 SELECT x, y, z;
7448 END//
7449 Warnings:
7450 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7451 CALL sp1();
7452 x y z
7453 00000001 00000001 00000001
7454 DROP PROCEDURE IF EXISTS sp1;
7455 CREATE PROCEDURE sp1( )
7456 BEGIN
7457 declare x, y, z int default -2147483648;
7458 SELECT x, y, z;
7459 END//
7460 CALL sp1();
7461 x y z
7462 -2147483648 -2147483648 -2147483648
7463 DROP PROCEDURE IF EXISTS sp1;
7464 CREATE PROCEDURE sp1( )
7465 BEGIN
7466 declare x, y, z int unsigned default 4294967295;
7467 SELECT x, y, z;
7468 END//
7469 CALL sp1();
7470 x y z
7471 4294967295 4294967295 4294967295
7472 DROP PROCEDURE IF EXISTS sp1;
7473 CREATE PROCEDURE sp1( )
7474 BEGIN
7475 declare x, y, z int zerofill default -1;
7476 GET DIAGNOSTICS @n = NUMBER;
7477 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7478 SELECT @err_no, @err_txt;
7479 SELECT x, y, z;
7480 END//
7481 Warnings:
7482 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7483 CALL sp1();
7484 @err_no @err_txt
7485 1264 Out of range value for column 'z' at row 1
7486 x y z
7487 0000000000 0000000000 0000000000
7488 DROP PROCEDURE IF EXISTS sp1;
7489 CREATE PROCEDURE sp1( )
7490 BEGIN
7491 declare x, y, z int unsigned zerofill default 1;
7492 SELECT x, y, z;
7493 END//
7494 Warnings:
7495 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7496 CALL sp1();
7497 x y z
7498 0000000001 0000000001 0000000001
7499 DROP PROCEDURE IF EXISTS sp1;
7500 CREATE PROCEDURE sp1( )
7501 BEGIN
7502 declare x, y, z bigint default -9223372036854775808;
7503 SELECT x, y, z;
7504 END//
7505 CALL sp1();
7506 x y z
7507 -9223372036854775808 -9223372036854775808 -9223372036854775808
7508 DROP PROCEDURE IF EXISTS sp1;
7509 CREATE PROCEDURE sp1( )
7510 BEGIN
7511 declare x, y, z bigint unsigned default 18446744073709551615;
7512 SELECT x, y, z;
7513 END//
7514 CALL sp1();
7515 x y z
7516 18446744073709551615 18446744073709551615 18446744073709551615
7517 DROP PROCEDURE IF EXISTS sp1;
7518 CREATE PROCEDURE sp1( )
7519 BEGIN
7520 declare x, y, z bigint zerofill default -1;
7521 GET DIAGNOSTICS @n = NUMBER;
7522 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7523 SELECT @err_no, @err_txt;
7524 SELECT x, y, z;
7525 END//
7526 Warnings:
7527 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7528 CALL sp1();
7529 @err_no @err_txt
7530 1264 Out of range value for column 'z' at row 1
7531 x y z
7532 00000000000000000000 00000000000000000000 00000000000000000000
7533 DROP PROCEDURE IF EXISTS sp1;
7534 CREATE PROCEDURE sp1( )
7535 BEGIN
7536 declare x, y, z bigint unsigned zerofill default 1;
7537 SELECT x, y, z;
7538 END//
7539 Warnings:
7540 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7541 CALL sp1();
7542 x y z
7543 00000000000000000001 00000000000000000001 00000000000000000001
7544 DROP PROCEDURE IF EXISTS sp1;
7545 CREATE PROCEDURE sp1( )
7546 BEGIN
7547 declare x, y, z decimal default -34028234660123456789012345678901234567;
7548 GET DIAGNOSTICS @n = NUMBER;
7549 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7550 SELECT @err_no, @err_txt;
7551 SELECT x, y, z;
7552 END//
7553 CALL sp1();
7554 @err_no @err_txt
7555 1264 Out of range value for column 'z' at row 1
7556 x y z
7557 -9999999999 -9999999999 -9999999999
7558 DROP PROCEDURE IF EXISTS sp1;
7559 CREATE PROCEDURE sp1( )
7560 BEGIN
7561 declare x, y, z decimal unsigned default 1.175494351e-38;
7562 GET DIAGNOSTICS @n = NUMBER;
7563 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7564 SELECT @err_no, @err_txt;
7565 SELECT x, y, z;
7566 END//
7567 Warnings:
7568 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7569 CALL sp1();
7570 @err_no @err_txt
7571 1265 Data truncated for column 'z' at row 1
7572 x y z
7573 0 0 0
7574 DROP PROCEDURE IF EXISTS sp1;
7575 CREATE PROCEDURE sp1( )
7576 BEGIN
7577 declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
7578 GET DIAGNOSTICS @n = NUMBER;
7579 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7580 SELECT @err_no, @err_txt;
7581 SELECT x, y, z;
7582 END//
7583 Warnings:
7584 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7585 CALL sp1();
7586 @err_no @err_txt
7587 1264 Out of range value for column 'z' at row 1
7588 x y z
7589 0000000000 0000000000 0000000000
7590 DROP PROCEDURE IF EXISTS sp1;
7591 CREATE PROCEDURE sp1( )
7592 BEGIN
7593 declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
7594 GET DIAGNOSTICS @n = NUMBER;
7595 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7596 SELECT @err_no, @err_txt;
7597 SELECT x, y, z;
7598 END//
7599 Warnings:
7600 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7601 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7602 CALL sp1();
7603 @err_no @err_txt
7604 1265 Data truncated for column 'z' at row 1
7605 x y z
7606 0000000000 0000000000 0000000000
7607 DROP PROCEDURE IF EXISTS sp1;
7608 CREATE PROCEDURE sp1( )
7609 BEGIN
7610 declare x, y, z numeric default 1.175494351e-38;
7611 GET DIAGNOSTICS @n = NUMBER;
7612 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7613 SELECT @err_no, @err_txt;
7614 SELECT x, y, z;
7615 END//
7616 CALL sp1();
7617 @err_no @err_txt
7618 1265 Data truncated for column 'z' at row 1
7619 x y z
7620 0 0 0
7621 DROP PROCEDURE IF EXISTS sp1;
7622 CREATE PROCEDURE sp1( )
7623 BEGIN
7624 declare x, y, z numeric unsigned default 1.175494351e-38;
7625 GET DIAGNOSTICS @n = NUMBER;
7626 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7627 SELECT @err_no, @err_txt;
7628 SELECT x, y, z;
7629 END//
7630 Warnings:
7631 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7632 CALL sp1();
7633 @err_no @err_txt
7634 1265 Data truncated for column 'z' at row 1
7635 x y z
7636 0 0 0
7637 DROP PROCEDURE IF EXISTS sp1;
7638 CREATE PROCEDURE sp1( )
7639 BEGIN
7640 declare x, y, z numeric zerofill default 1.175494351e-38;
7641 GET DIAGNOSTICS @n = NUMBER;
7642 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7643 SELECT @err_no, @err_txt;
7644 SELECT x, y, z;
7645 END//
7646 Warnings:
7647 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7648 CALL sp1();
7649 @err_no @err_txt
7650 1265 Data truncated for column 'z' at row 1
7651 x y z
7652 0000000000 0000000000 0000000000
7653 DROP PROCEDURE IF EXISTS sp1;
7654 CREATE PROCEDURE sp1( )
7655 BEGIN
7656 declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
7657 GET DIAGNOSTICS @n = NUMBER;
7658 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
7659 SELECT @err_no, @err_txt;
7660 SELECT x, y, z;
7661 END//
7662 Warnings:
7663 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7664 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7665 CALL sp1();
7666 @err_no @err_txt
7667 1265 Data truncated for column 'z' at row 1
7668 x y z
7669 0000000000 0000000000 0000000000
7670 DROP PROCEDURE IF EXISTS sp1;
7671 CREATE PROCEDURE sp1( )
7672 BEGIN
7673 declare x, y, z real default 1.175494351e-38;
7674 SELECT x, y, z;
7675 END//
7676 CALL sp1();
7677 x y z
7678 1.175494351e-38 1.175494351e-38 1.175494351e-38
7679 DROP PROCEDURE IF EXISTS sp1;
7680 CREATE PROCEDURE sp1( )
7681 BEGIN
7682 declare x, y, z real unsigned default 1.175494351e-38;
7683 SELECT x, y, z;
7684 END//
7685 Warnings:
7686 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7687 CALL sp1();
7688 x y z
7689 1.175494351e-38 1.175494351e-38 1.175494351e-38
7690 DROP PROCEDURE IF EXISTS sp1;
7691 CREATE PROCEDURE sp1( )
7692 BEGIN
7693 declare x, y, z real zerofill default 1.175494351e-38;
7694 SELECT x, y, z;
7695 END//
7696 Warnings:
7697 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7698 CALL sp1();
7699 x y z
7700 00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7701 DROP PROCEDURE IF EXISTS sp1;
7702 CREATE PROCEDURE sp1( )
7703 BEGIN
7704 declare x, y, z real unsigned zerofill default 1.175494351e-38;
7705 SELECT x, y, z;
7706 END//
7707 Warnings:
7708 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7709 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7710 CALL sp1();
7711 x y z
7712 00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7713 DROP PROCEDURE IF EXISTS sp1;
7714 CREATE PROCEDURE sp1( )
7715 BEGIN
7716 declare x, y, z float default 1.175494351e-38;
7717 SELECT x, y, z;
7718 END//
7719 CALL sp1();
7720 x y z
7721 1.17549e-38 1.17549e-38 1.17549e-38
7722 DROP PROCEDURE IF EXISTS sp1;
7723 CREATE PROCEDURE sp1( )
7724 BEGIN
7725 declare x, y, z float unsigned default 1.175494351e-38;
7726 SELECT x, y, z;
7727 END//
7728 Warnings:
7729 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7730 CALL sp1();
7731 x y z
7732 1.17549e-38 1.17549e-38 1.17549e-38
7733 DROP PROCEDURE IF EXISTS sp1;
7734 CREATE PROCEDURE sp1( )
7735 BEGIN
7736 declare x, y, z float zerofill default 1.175494351e-38;
7737 SELECT x, y, z;
7738 END//
7739 Warnings:
7740 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7741 CALL sp1();
7742 x y z
7743 01.17549e-38 01.17549e-38 01.17549e-38
7744 DROP PROCEDURE IF EXISTS sp1;
7745 CREATE PROCEDURE sp1( )
7746 BEGIN
7747 declare x, y, z float unsigned zerofill default 1.175494351e-38;
7748 SELECT x, y, z;
7749 END//
7750 Warnings:
7751 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
7752 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
7753 CALL sp1();
7754 x y z
7755 01.17549e-38 01.17549e-38 01.17549e-38
7756 DROP PROCEDURE IF EXISTS sp1;
7757 CREATE PROCEDURE sp1( )
7758 BEGIN
7759 declare x, y, z date default '2005-02-02';
7760 SELECT x, y, z;
7761 END//
7762 CALL sp1();
7763 x y z
7764 2005-02-02 2005-02-02 2005-02-02
7765 DROP PROCEDURE IF EXISTS sp1;
7766 CREATE PROCEDURE sp1( )
7767 BEGIN
7768 declare x, y, z time default '12:20:12';
7769 SELECT x, y, z;
7770 END//
7771 CALL sp1();
7772 x y z
7773 12:20:12 12:20:12 12:20:12
7774 DROP PROCEDURE IF EXISTS sp1;
7775 CREATE PROCEDURE sp1( )
7776 BEGIN
7777 declare x, y, z datetime default '2005-02-02 12:20:12';
7778 SELECT x, y, z;
7779 END//
7780 CALL sp1();
7781 x y z
7782 2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7783 DROP PROCEDURE IF EXISTS sp1;
7784 CREATE PROCEDURE sp1( )
7785 BEGIN
7786 declare x, y, z timestamp default '20050202122012';
7787 SELECT x, y, z;
7788 END//
7789 CALL sp1();
7790 x y z
7791 2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7792 DROP PROCEDURE IF EXISTS sp1;
7793 CREATE PROCEDURE sp1( )
7794 BEGIN
7795 declare x, y, z year default 2005;
7796 SELECT x, y, z;
7797 END//
7798 CALL sp1();
7799 x y z
7800 2005 2005 2005
7801 DROP PROCEDURE IF EXISTS sp1;
7802 CREATE PROCEDURE sp1( )
7803 BEGIN
7804 declare x, y, z year default 2005;
7805 SELECT x, y, z;
7806 END//
7807 CALL sp1();
7808 x y z
7809 2005 2005 2005
7810 DROP PROCEDURE IF EXISTS sp1;
7811 CREATE PROCEDURE sp1( )
7812 BEGIN
7813 declare x, y, z enum("1enum", "2enum") default "2enum";
7814 SELECT x, y, z;
7815 END//
7816 CALL sp1();
7817 x y z
7818 2enum 2enum 2enum
7819 DROP PROCEDURE IF EXISTS sp1;
7820 CREATE PROCEDURE sp1( )
7821 BEGIN
7822 declare x, y, z set("1set", "2set") default "2set";
7823 SELECT x, y, z;
7824 END//
7825 CALL sp1();
7826 x y z
7827 2set 2set 2set
7828 DROP PROCEDURE sp1;
7829 Warnings:
7830 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7831
7832 Testcase 4.2.16:
7833 ----------------
7834 Ensure that the declare statement can declare multiple variables both separately
7835 and all at once from a variable list. (multiple declaration).
7836 --------------------------------------------------------------------------------
7837 Warnings:
7838 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7839 DROP PROCEDURE IF EXISTS sp6;
7840 CREATE PROCEDURE sp6( )
7841 BEGIN
7842 declare a, b char default '2';
7843 declare c, d float default 1.3;
7844 declare e, f text default 'text';
7845 declare g, h enum("value1", "value2" ) default 'value1';
7846 declare i, j datetime default '2005-02-02 12:12:12';
7847 declare k, l blob default 'blob';
7848 SELECT a, b, c, d, e, f, g, h, k, l;
7849 END//
7850 CALL sp6();
7851 a b c d e f g h k l
7852 2 2 1.3 1.3 text text value1 value1 blob blob
7853 DROP PROCEDURE sp6;
7854 Warnings:
7855 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7856
7857 Testcase 4.2.17:
7858 ----------------
7859 Ensure that the invalid variable declarations are rejected, with an appropriate
7860 error message.
7861 --------------------------------------------------------------------------------
7862 Warnings:
7863 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
7864 DROP PROCEDURE IF EXISTS sp1;
7865 CREATE PROCEDURE sp1( )
7866 BEGIN
7867 declare @x char;
7868 SELECT f2 into x from t2 limit 1;
7869 END//
7870 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
7871 SELECT f2 into x from t2 limit 1;
7872 END' at line 3
7873 DROP PROCEDURE IF EXISTS sp1;
7874 CREATE PROCEDURE sp1()
7875 BEGIN
7876 declare accessible char;
7877 END//
7878 ERROR 42000: You 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;
7879 END' at line 3
7880 DROP PROCEDURE IF EXISTS sp1;
7881 CREATE PROCEDURE sp1()
7882 BEGIN
7883 declare add char;
7884 END//
7885 ERROR 42000: You 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;
7886 END' at line 3
7887 DROP PROCEDURE IF EXISTS sp1;
7888 CREATE PROCEDURE sp1()
7889 BEGIN
7890 declare all char;
7891 END//
7892 ERROR 42000: You 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;
7893 END' at line 3
7894 DROP PROCEDURE IF EXISTS sp1;
7895 CREATE PROCEDURE sp1()
7896 BEGIN
7897 declare alter char;
7898 END//
7899 ERROR 42000: You 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;
7900 END' at line 3
7901 DROP PROCEDURE IF EXISTS sp1;
7902 CREATE PROCEDURE sp1()
7903 BEGIN
7904 declare analyze char;
7905 END//
7906 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char;
7907 END' at line 3
7908 DROP PROCEDURE IF EXISTS sp1;
7909 CREATE PROCEDURE sp1()
7910 BEGIN
7911 declare and char;
7912 END//
7913 ERROR 42000: You 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;
7914 END' at line 3
7915 DROP PROCEDURE IF EXISTS sp1;
7916 CREATE PROCEDURE sp1()
7917 BEGIN
7918 declare as char;
7919 END//
7920 ERROR 42000: You 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;
7921 END' at line 3
7922 DROP PROCEDURE IF EXISTS sp1;
7923 CREATE PROCEDURE sp1()
7924 BEGIN
7925 declare asc char;
7926 END//
7927 ERROR 42000: You 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;
7928 END' at line 3
7929 DROP PROCEDURE IF EXISTS sp1;
7930 CREATE PROCEDURE sp1()
7931 BEGIN
7932 declare asensitive char;
7933 END//
7934 ERROR 42000: You 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;
7935 END' at line 3
7936 DROP PROCEDURE IF EXISTS sp1;
7937 CREATE PROCEDURE sp1()
7938 BEGIN
7939 declare before char;
7940 END//
7941 ERROR 42000: You 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;
7942 END' at line 3
7943 DROP PROCEDURE IF EXISTS sp1;
7944 CREATE PROCEDURE sp1()
7945 BEGIN
7946 declare between char;
7947 END//
7948 ERROR 42000: You 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;
7949 END' at line 3
7950 DROP PROCEDURE IF EXISTS sp1;
7951 CREATE PROCEDURE sp1()
7952 BEGIN
7953 declare bigint char;
7954 END//
7955 ERROR 42000: You 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;
7956 END' at line 3
7957 DROP PROCEDURE IF EXISTS sp1;
7958 CREATE PROCEDURE sp1()
7959 BEGIN
7960 declare binary char;
7961 END//
7962 ERROR 42000: You 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;
7963 END' at line 3
7964 DROP PROCEDURE IF EXISTS sp1;
7965 CREATE PROCEDURE sp1()
7966 BEGIN
7967 declare blob char;
7968 END//
7969 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char;
7970 END' at line 3
7971 DROP PROCEDURE IF EXISTS sp1;
7972 CREATE PROCEDURE sp1()
7973 BEGIN
7974 declare both char;
7975 END//
7976 ERROR 42000: You 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;
7977 END' at line 3
7978 DROP PROCEDURE IF EXISTS sp1;
7979 CREATE PROCEDURE sp1()
7980 BEGIN
7981 declare by char;
7982 END//
7983 ERROR 42000: You 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;
7984 END' at line 3
7985 DROP PROCEDURE IF EXISTS sp1;
7986 CREATE PROCEDURE sp1()
7987 BEGIN
7988 declare call char;
7989 END//
7990 ERROR 42000: You 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;
7991 END' at line 3
7992 DROP PROCEDURE IF EXISTS sp1;
7993 CREATE PROCEDURE sp1()
7994 BEGIN
7995 declare cascade char;
7996 END//
7997 ERROR 42000: You 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;
7998 END' at line 3
7999 DROP PROCEDURE IF EXISTS sp1;
8000 CREATE PROCEDURE sp1()
8001 BEGIN
8002 declare case char;
8003 END//
8004 ERROR 42000: You 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;
8005 END' at line 3
8006 DROP PROCEDURE IF EXISTS sp1;
8007 CREATE PROCEDURE sp1()
8008 BEGIN
8009 declare change char;
8010 END//
8011 ERROR 42000: You 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;
8012 END' at line 3
8013 DROP PROCEDURE IF EXISTS sp1;
8014 CREATE PROCEDURE sp1()
8015 BEGIN
8016 declare char char;
8017 END//
8018 ERROR 42000: You 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;
8019 END' at line 3
8020 DROP PROCEDURE IF EXISTS sp1;
8021 CREATE PROCEDURE sp1()
8022 BEGIN
8023 declare character char;
8024 END//
8025 ERROR 42000: You 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;
8026 END' at line 3
8027 DROP PROCEDURE IF EXISTS sp1;
8028 CREATE PROCEDURE sp1()
8029 BEGIN
8030 declare check char;
8031 END//
8032 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char;
8033 END' at line 3
8034 DROP PROCEDURE IF EXISTS sp1;
8035 CREATE PROCEDURE sp1()
8036 BEGIN
8037 declare collate char;
8038 END//
8039 ERROR 42000: You 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;
8040 END' at line 3
8041 DROP PROCEDURE IF EXISTS sp1;
8042 CREATE PROCEDURE sp1()
8043 BEGIN
8044 declare column char;
8045 END//
8046 ERROR 42000: You 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;
8047 END' at line 3
8048 DROP PROCEDURE IF EXISTS sp1;
8049 CREATE PROCEDURE sp1()
8050 BEGIN
8051 declare condition char;
8052 END//
8053 ERROR 42000: You 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;
8054 END' at line 3
8055 DROP PROCEDURE IF EXISTS sp1;
8056 CREATE PROCEDURE sp1()
8057 BEGIN
8058 declare constraint char;
8059 END//
8060 ERROR 42000: You 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;
8061 END' at line 3
8062 DROP PROCEDURE IF EXISTS sp1;
8063 CREATE PROCEDURE sp1()
8064 BEGIN
8065 declare continue char;
8066 END//
8067 ERROR 42000: You 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;
8068 END' at line 3
8069 DROP PROCEDURE IF EXISTS sp1;
8070 CREATE PROCEDURE sp1()
8071 BEGIN
8072 declare convert char;
8073 END//
8074 ERROR 42000: You 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;
8075 END' at line 3
8076 DROP PROCEDURE IF EXISTS sp1;
8077 CREATE PROCEDURE sp1()
8078 BEGIN
8079 declare create char;
8080 END//
8081 ERROR 42000: You 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;
8082 END' at line 3
8083 DROP PROCEDURE IF EXISTS sp1;
8084 CREATE PROCEDURE sp1()
8085 BEGIN
8086 declare cross char;
8087 END//
8088 ERROR 42000: You 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;
8089 END' at line 3
8090 DROP PROCEDURE IF EXISTS sp1;
8091 CREATE PROCEDURE sp1()
8092 BEGIN
8093 declare current_date char;
8094 END//
8095 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char;
8096 END' at line 3
8097 DROP PROCEDURE IF EXISTS sp1;
8098 CREATE PROCEDURE sp1()
8099 BEGIN
8100 declare current_time char;
8101 END//
8102 ERROR 42000: You 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;
8103 END' at line 3
8104 DROP PROCEDURE IF EXISTS sp1;
8105 CREATE PROCEDURE sp1()
8106 BEGIN
8107 declare current_timestamp char;
8108 END//
8109 ERROR 42000: You 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;
8110 END' at line 3
8111 DROP PROCEDURE IF EXISTS sp1;
8112 CREATE PROCEDURE sp1()
8113 BEGIN
8114 declare current_user char;
8115 END//
8116 ERROR 42000: You 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;
8117 END' at line 3
8118 DROP PROCEDURE IF EXISTS sp1;
8119 CREATE PROCEDURE sp1()
8120 BEGIN
8121 declare cursor char;
8122 END//
8123 ERROR 42000: You 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;
8124 END' at line 3
8125 DROP PROCEDURE IF EXISTS sp1;
8126 CREATE PROCEDURE sp1()
8127 BEGIN
8128 declare database char;
8129 END//
8130 ERROR 42000: You 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;
8131 END' at line 3
8132 DROP PROCEDURE IF EXISTS sp1;
8133 CREATE PROCEDURE sp1()
8134 BEGIN
8135 declare databases char;
8136 END//
8137 ERROR 42000: You 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;
8138 END' at line 3
8139 DROP PROCEDURE IF EXISTS sp1;
8140 CREATE PROCEDURE sp1()
8141 BEGIN
8142 declare day_hour char;
8143 END//
8144 ERROR 42000: You 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;
8145 END' at line 3
8146 DROP PROCEDURE IF EXISTS sp1;
8147 CREATE PROCEDURE sp1()
8148 BEGIN
8149 declare day_microsecond char;
8150 END//
8151 ERROR 42000: You 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;
8152 END' at line 3
8153 DROP PROCEDURE IF EXISTS sp1;
8154 CREATE PROCEDURE sp1()
8155 BEGIN
8156 declare day_minute char;
8157 END//
8158 ERROR 42000: You 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;
8159 END' at line 3
8160 DROP PROCEDURE IF EXISTS sp1;
8161 CREATE PROCEDURE sp1()
8162 BEGIN
8163 declare day_second char;
8164 END//
8165 ERROR 42000: You 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;
8166 END' at line 3
8167 DROP PROCEDURE IF EXISTS sp1;
8168 CREATE PROCEDURE sp1()
8169 BEGIN
8170 declare dec char;
8171 END//
8172 ERROR 42000: You 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;
8173 END' at line 3
8174 DROP PROCEDURE IF EXISTS sp1;
8175 CREATE PROCEDURE sp1()
8176 BEGIN
8177 declare decimal char;
8178 END//
8179 ERROR 42000: You 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;
8180 END' at line 3
8181 DROP PROCEDURE IF EXISTS sp1;
8182 CREATE PROCEDURE sp1()
8183 BEGIN
8184 declare declare char;
8185 END//
8186 ERROR 42000: You 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;
8187 END' at line 3
8188 DROP PROCEDURE IF EXISTS sp1;
8189 CREATE PROCEDURE sp1()
8190 BEGIN
8191 declare default char;
8192 END//
8193 ERROR 42000: You 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;
8194 END' at line 3
8195 DROP PROCEDURE IF EXISTS sp1;
8196 CREATE PROCEDURE sp1()
8197 BEGIN
8198 declare delayed char;
8199 END//
8200 ERROR 42000: You 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;
8201 END' at line 3
8202 DROP PROCEDURE IF EXISTS sp1;
8203 CREATE PROCEDURE sp1()
8204 BEGIN
8205 declare delete char;
8206 END//
8207 ERROR 42000: You 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;
8208 END' at line 3
8209 DROP PROCEDURE IF EXISTS sp1;
8210 CREATE PROCEDURE sp1()
8211 BEGIN
8212 declare desc char;
8213 END//
8214 ERROR 42000: You 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;
8215 END' at line 3
8216 DROP PROCEDURE IF EXISTS sp1;
8217 CREATE PROCEDURE sp1()
8218 BEGIN
8219 declare describe char;
8220 END//
8221 ERROR 42000: You 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;
8222 END' at line 3
8223 DROP PROCEDURE IF EXISTS sp1;
8224 CREATE PROCEDURE sp1()
8225 BEGIN
8226 declare deterministic char;
8227 END//
8228 ERROR 42000: You 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;
8229 END' at line 3
8230 DROP PROCEDURE IF EXISTS sp1;
8231 CREATE PROCEDURE sp1()
8232 BEGIN
8233 declare distinct char;
8234 END//
8235 ERROR 42000: You 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;
8236 END' at line 3
8237 DROP PROCEDURE IF EXISTS sp1;
8238 CREATE PROCEDURE sp1()
8239 BEGIN
8240 declare distinctrow char;
8241 END//
8242 ERROR 42000: You 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;
8243 END' at line 3
8244 DROP PROCEDURE IF EXISTS sp1;
8245 CREATE PROCEDURE sp1()
8246 BEGIN
8247 declare div char;
8248 END//
8249 ERROR 42000: You 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;
8250 END' at line 3
8251 DROP PROCEDURE IF EXISTS sp1;
8252 CREATE PROCEDURE sp1()
8253 BEGIN
8254 declare double char;
8255 END//
8256 ERROR 42000: You 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;
8257 END' at line 3
8258 DROP PROCEDURE IF EXISTS sp1;
8259 CREATE PROCEDURE sp1()
8260 BEGIN
8261 declare drop char;
8262 END//
8263 ERROR 42000: You 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;
8264 END' at line 3
8265 DROP PROCEDURE IF EXISTS sp1;
8266 CREATE PROCEDURE sp1()
8267 BEGIN
8268 declare dual char;
8269 END//
8270 ERROR 42000: You 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;
8271 END' at line 3
8272 DROP PROCEDURE IF EXISTS sp1;
8273 CREATE PROCEDURE sp1()
8274 BEGIN
8275 declare each char;
8276 END//
8277 ERROR 42000: You 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;
8278 END' at line 3
8279 DROP PROCEDURE IF EXISTS sp1;
8280 CREATE PROCEDURE sp1()
8281 BEGIN
8282 declare else char;
8283 END//
8284 ERROR 42000: You 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;
8285 END' at line 3
8286 DROP PROCEDURE IF EXISTS sp1;
8287 CREATE PROCEDURE sp1()
8288 BEGIN
8289 declare elseif char;
8290 END//
8291 ERROR 42000: You 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;
8292 END' at line 3
8293 DROP PROCEDURE IF EXISTS sp1;
8294 CREATE PROCEDURE sp1()
8295 BEGIN
8296 declare enclosed char;
8297 END//
8298 ERROR 42000: You 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;
8299 END' at line 3
8300 DROP PROCEDURE IF EXISTS sp1;
8301 CREATE PROCEDURE sp1()
8302 BEGIN
8303 declare escaped char;
8304 END//
8305 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char;
8306 END' at line 3
8307 DROP PROCEDURE IF EXISTS sp1;
8308 CREATE PROCEDURE sp1()
8309 BEGIN
8310 declare exists char;
8311 END//
8312 ERROR 42000: You 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;
8313 END' at line 3
8314 DROP PROCEDURE IF EXISTS sp1;
8315 CREATE PROCEDURE sp1()
8316 BEGIN
8317 declare exit char;
8318 END//
8319 ERROR 42000: You 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;
8320 END' at line 3
8321 DROP PROCEDURE IF EXISTS sp1;
8322 CREATE PROCEDURE sp1()
8323 BEGIN
8324 declare explain char;
8325 END//
8326 ERROR 42000: You 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;
8327 END' at line 3
8328 DROP PROCEDURE IF EXISTS sp1;
8329 CREATE PROCEDURE sp1()
8330 BEGIN
8331 declare false char;
8332 END//
8333 ERROR 42000: You 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;
8334 END' at line 3
8335 DROP PROCEDURE IF EXISTS sp1;
8336 CREATE PROCEDURE sp1()
8337 BEGIN
8338 declare fetch char;
8339 END//
8340 ERROR 42000: You 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;
8341 END' at line 3
8342 DROP PROCEDURE IF EXISTS sp1;
8343 CREATE PROCEDURE sp1()
8344 BEGIN
8345 declare float char;
8346 END//
8347 ERROR 42000: You 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;
8348 END' at line 3
8349 DROP PROCEDURE IF EXISTS sp1;
8350 CREATE PROCEDURE sp1()
8351 BEGIN
8352 declare float4 char;
8353 END//
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 'float4 char;
8355 END' at line 3
8356 DROP PROCEDURE IF EXISTS sp1;
8357 CREATE PROCEDURE sp1()
8358 BEGIN
8359 declare float8 char;
8360 END//
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 'float8 char;
8362 END' at line 3
8363 DROP PROCEDURE IF EXISTS sp1;
8364 CREATE PROCEDURE sp1()
8365 BEGIN
8366 declare for char;
8367 END//
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 'for char;
8369 END' at line 3
8370 DROP PROCEDURE IF EXISTS sp1;
8371 CREATE PROCEDURE sp1()
8372 BEGIN
8373 declare force char;
8374 END//
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 'force char;
8376 END' at line 3
8377 DROP PROCEDURE IF EXISTS sp1;
8378 CREATE PROCEDURE sp1()
8379 BEGIN
8380 declare foreign char;
8381 END//
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 'foreign char;
8383 END' at line 3
8384 DROP PROCEDURE IF EXISTS sp1;
8385 CREATE PROCEDURE sp1()
8386 BEGIN
8387 declare from char;
8388 END//
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 'from char;
8390 END' at line 3
8391 DROP PROCEDURE IF EXISTS sp1;
8392 CREATE PROCEDURE sp1()
8393 BEGIN
8394 declare fulltext char;
8395 END//
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 'fulltext char;
8397 END' at line 3
8398 DROP PROCEDURE IF EXISTS sp1;
8399 CREATE PROCEDURE sp1()
8400 BEGIN
8401 declare grant char;
8402 END//
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 'grant char;
8404 END' at line 3
8405 DROP PROCEDURE IF EXISTS sp1;
8406 CREATE PROCEDURE sp1()
8407 BEGIN
8408 declare group char;
8409 END//
8410 ERROR 42000: You 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;
8411 END' at line 3
8412 DROP PROCEDURE IF EXISTS sp1;
8413 CREATE PROCEDURE sp1()
8414 BEGIN
8415 declare having char;
8416 END//
8417 ERROR 42000: You 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;
8418 END' at line 3
8419 DROP PROCEDURE IF EXISTS sp1;
8420 CREATE PROCEDURE sp1()
8421 BEGIN
8422 declare high_priority char;
8423 END//
8424 ERROR 42000: You 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;
8425 END' at line 3
8426 DROP PROCEDURE IF EXISTS sp1;
8427 CREATE PROCEDURE sp1()
8428 BEGIN
8429 declare hour_microsecond char;
8430 END//
8431 ERROR 42000: You 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;
8432 END' at line 3
8433 DROP PROCEDURE IF EXISTS sp1;
8434 CREATE PROCEDURE sp1()
8435 BEGIN
8436 declare hour_minute char;
8437 END//
8438 ERROR 42000: You 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;
8439 END' at line 3
8440 DROP PROCEDURE IF EXISTS sp1;
8441 CREATE PROCEDURE sp1()
8442 BEGIN
8443 declare hour_second char;
8444 END//
8445 ERROR 42000: You 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;
8446 END' at line 3
8447 DROP PROCEDURE IF EXISTS sp1;
8448 CREATE PROCEDURE sp1()
8449 BEGIN
8450 declare if char;
8451 END//
8452 ERROR 42000: You 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;
8453 END' at line 3
8454 DROP PROCEDURE IF EXISTS sp1;
8455 CREATE PROCEDURE sp1()
8456 BEGIN
8457 declare ignore char;
8458 END//
8459 ERROR 42000: You 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;
8460 END' at line 3
8461 DROP PROCEDURE IF EXISTS sp1;
8462 CREATE PROCEDURE sp1()
8463 BEGIN
8464 declare in char;
8465 END//
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 'in char;
8467 END' at line 3
8468 DROP PROCEDURE IF EXISTS sp1;
8469 CREATE PROCEDURE sp1()
8470 BEGIN
8471 declare index char;
8472 END//
8473 ERROR 42000: You 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;
8474 END' at line 3
8475 DROP PROCEDURE IF EXISTS sp1;
8476 CREATE PROCEDURE sp1()
8477 BEGIN
8478 declare infile char;
8479 END//
8480 ERROR 42000: You 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;
8481 END' at line 3
8482 DROP PROCEDURE IF EXISTS sp1;
8483 CREATE PROCEDURE sp1()
8484 BEGIN
8485 declare inner char;
8486 END//
8487 ERROR 42000: You 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;
8488 END' at line 3
8489 DROP PROCEDURE IF EXISTS sp1;
8490 CREATE PROCEDURE sp1()
8491 BEGIN
8492 declare inout char;
8493 END//
8494 ERROR 42000: You 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;
8495 END' at line 3
8496 DROP PROCEDURE IF EXISTS sp1;
8497 CREATE PROCEDURE sp1()
8498 BEGIN
8499 declare insensitive char;
8500 END//
8501 ERROR 42000: You 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;
8502 END' at line 3
8503 DROP PROCEDURE IF EXISTS sp1;
8504 CREATE PROCEDURE sp1()
8505 BEGIN
8506 declare insert char;
8507 END//
8508 ERROR 42000: You 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;
8509 END' at line 3
8510 DROP PROCEDURE IF EXISTS sp1;
8511 CREATE PROCEDURE sp1()
8512 BEGIN
8513 declare int char;
8514 END//
8515 ERROR 42000: You 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;
8516 END' at line 3
8517 DROP PROCEDURE IF EXISTS sp1;
8518 CREATE PROCEDURE sp1()
8519 BEGIN
8520 declare int1 char;
8521 END//
8522 ERROR 42000: You 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;
8523 END' at line 3
8524 DROP PROCEDURE IF EXISTS sp1;
8525 CREATE PROCEDURE sp1()
8526 BEGIN
8527 declare int2 char;
8528 END//
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 'int2 char;
8530 END' at line 3
8531 DROP PROCEDURE IF EXISTS sp1;
8532 CREATE PROCEDURE sp1()
8533 BEGIN
8534 declare int3 char;
8535 END//
8536 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char;
8537 END' at line 3
8538 DROP PROCEDURE IF EXISTS sp1;
8539 CREATE PROCEDURE sp1()
8540 BEGIN
8541 declare int4 char;
8542 END//
8543 ERROR 42000: You 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;
8544 END' at line 3
8545 DROP PROCEDURE IF EXISTS sp1;
8546 CREATE PROCEDURE sp1()
8547 BEGIN
8548 declare int8 char;
8549 END//
8550 ERROR 42000: You 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;
8551 END' at line 3
8552 DROP PROCEDURE IF EXISTS sp1;
8553 CREATE PROCEDURE sp1()
8554 BEGIN
8555 declare integer char;
8556 END//
8557 ERROR 42000: You 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;
8558 END' at line 3
8559 DROP PROCEDURE IF EXISTS sp1;
8560 CREATE PROCEDURE sp1()
8561 BEGIN
8562 declare interval char;
8563 END//
8564 ERROR 42000: You 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;
8565 END' at line 3
8566 DROP PROCEDURE IF EXISTS sp1;
8567 CREATE PROCEDURE sp1()
8568 BEGIN
8569 declare into char;
8570 END//
8571 ERROR 42000: You 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;
8572 END' at line 3
8573 DROP PROCEDURE IF EXISTS sp1;
8574 CREATE PROCEDURE sp1()
8575 BEGIN
8576 declare is char;
8577 END//
8578 ERROR 42000: You 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;
8579 END' at line 3
8580 DROP PROCEDURE IF EXISTS sp1;
8581 CREATE PROCEDURE sp1()
8582 BEGIN
8583 declare iterate char;
8584 END//
8585 ERROR 42000: You 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;
8586 END' at line 3
8587 DROP PROCEDURE IF EXISTS sp1;
8588 CREATE PROCEDURE sp1()
8589 BEGIN
8590 declare join char;
8591 END//
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 'join char;
8593 END' at line 3
8594 DROP PROCEDURE IF EXISTS sp1;
8595 CREATE PROCEDURE sp1()
8596 BEGIN
8597 declare key char;
8598 END//
8599 ERROR 42000: You 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;
8600 END' at line 3
8601 DROP PROCEDURE IF EXISTS sp1;
8602 CREATE PROCEDURE sp1()
8603 BEGIN
8604 declare keys char;
8605 END//
8606 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char;
8607 END' at line 3
8608 DROP PROCEDURE IF EXISTS sp1;
8609 CREATE PROCEDURE sp1()
8610 BEGIN
8611 declare kill char;
8612 END//
8613 ERROR 42000: You 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;
8614 END' at line 3
8615 DROP PROCEDURE IF EXISTS sp1;
8616 CREATE PROCEDURE sp1()
8617 BEGIN
8618 declare leading char;
8619 END//
8620 ERROR 42000: You 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;
8621 END' at line 3
8622 DROP PROCEDURE IF EXISTS sp1;
8623 CREATE PROCEDURE sp1()
8624 BEGIN
8625 declare leave char;
8626 END//
8627 ERROR 42000: You 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;
8628 END' at line 3
8629 DROP PROCEDURE IF EXISTS sp1;
8630 CREATE PROCEDURE sp1()
8631 BEGIN
8632 declare left char;
8633 END//
8634 ERROR 42000: You 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;
8635 END' at line 3
8636 DROP PROCEDURE IF EXISTS sp1;
8637 CREATE PROCEDURE sp1()
8638 BEGIN
8639 declare like char;
8640 END//
8641 ERROR 42000: You 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;
8642 END' at line 3
8643 DROP PROCEDURE IF EXISTS sp1;
8644 CREATE PROCEDURE sp1()
8645 BEGIN
8646 declare limit char;
8647 END//
8648 ERROR 42000: You 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;
8649 END' at line 3
8650 DROP PROCEDURE IF EXISTS sp1;
8651 CREATE PROCEDURE sp1()
8652 BEGIN
8653 declare linear char;
8654 END//
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 'linear char;
8656 END' at line 3
8657 DROP PROCEDURE IF EXISTS sp1;
8658 CREATE PROCEDURE sp1()
8659 BEGIN
8660 declare lines char;
8661 END//
8662 ERROR 42000: You 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;
8663 END' at line 3
8664 DROP PROCEDURE IF EXISTS sp1;
8665 CREATE PROCEDURE sp1()
8666 BEGIN
8667 declare load char;
8668 END//
8669 ERROR 42000: You 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;
8670 END' at line 3
8671 DROP PROCEDURE IF EXISTS sp1;
8672 CREATE PROCEDURE sp1()
8673 BEGIN
8674 declare localtime char;
8675 END//
8676 ERROR 42000: You 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;
8677 END' at line 3
8678 DROP PROCEDURE IF EXISTS sp1;
8679 CREATE PROCEDURE sp1()
8680 BEGIN
8681 declare localtimestamp char;
8682 END//
8683 ERROR 42000: You 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;
8684 END' at line 3
8685 DROP PROCEDURE IF EXISTS sp1;
8686 CREATE PROCEDURE sp1()
8687 BEGIN
8688 declare lock char;
8689 END//
8690 ERROR 42000: You 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;
8691 END' at line 3
8692 DROP PROCEDURE IF EXISTS sp1;
8693 CREATE PROCEDURE sp1()
8694 BEGIN
8695 declare long char;
8696 END//
8697 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char;
8698 END' at line 3
8699 DROP PROCEDURE IF EXISTS sp1;
8700 CREATE PROCEDURE sp1()
8701 BEGIN
8702 declare longblob char;
8703 END//
8704 ERROR 42000: You 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;
8705 END' at line 3
8706 DROP PROCEDURE IF EXISTS sp1;
8707 CREATE PROCEDURE sp1()
8708 BEGIN
8709 declare longtext char;
8710 END//
8711 ERROR 42000: You 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;
8712 END' at line 3
8713 DROP PROCEDURE IF EXISTS sp1;
8714 CREATE PROCEDURE sp1()
8715 BEGIN
8716 declare loop char;
8717 END//
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 'loop char;
8719 END' at line 3
8720 DROP PROCEDURE IF EXISTS sp1;
8721 CREATE PROCEDURE sp1()
8722 BEGIN
8723 declare low_priority char;
8724 END//
8725 ERROR 42000: You 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;
8726 END' at line 3
8727 DROP PROCEDURE IF EXISTS sp1;
8728 CREATE PROCEDURE sp1()
8729 BEGIN
8730 declare master_ssl_verify_server_cert char;
8731 END//
8732 ERROR 42000: You 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;
8733 END' at line 3
8734 DROP PROCEDURE IF EXISTS sp1;
8735 CREATE PROCEDURE sp1()
8736 BEGIN
8737 declare match char;
8738 END//
8739 ERROR 42000: You 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;
8740 END' at line 3
8741 DROP PROCEDURE IF EXISTS sp1;
8742 CREATE PROCEDURE sp1()
8743 BEGIN
8744 declare mediumblob char;
8745 END//
8746 ERROR 42000: You 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;
8747 END' at line 3
8748 DROP PROCEDURE IF EXISTS sp1;
8749 CREATE PROCEDURE sp1()
8750 BEGIN
8751 declare mediumint char;
8752 END//
8753 ERROR 42000: You 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;
8754 END' at line 3
8755 DROP PROCEDURE IF EXISTS sp1;
8756 CREATE PROCEDURE sp1()
8757 BEGIN
8758 declare mediumtext char;
8759 END//
8760 ERROR 42000: You 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;
8761 END' at line 3
8762 DROP PROCEDURE IF EXISTS sp1;
8763 CREATE PROCEDURE sp1()
8764 BEGIN
8765 declare middleint char;
8766 END//
8767 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char;
8768 END' at line 3
8769 DROP PROCEDURE IF EXISTS sp1;
8770 CREATE PROCEDURE sp1()
8771 BEGIN
8772 declare minute_microsecond char;
8773 END//
8774 ERROR 42000: You 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;
8775 END' at line 3
8776 DROP PROCEDURE IF EXISTS sp1;
8777 CREATE PROCEDURE sp1()
8778 BEGIN
8779 declare minute_second char;
8780 END//
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 'minute_second char;
8782 END' at line 3
8783 DROP PROCEDURE IF EXISTS sp1;
8784 CREATE PROCEDURE sp1()
8785 BEGIN
8786 declare mod char;
8787 END//
8788 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char;
8789 END' at line 3
8790 DROP PROCEDURE IF EXISTS sp1;
8791 CREATE PROCEDURE sp1()
8792 BEGIN
8793 declare modifies char;
8794 END//
8795 ERROR 42000: You 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;
8796 END' at line 3
8797 DROP PROCEDURE IF EXISTS sp1;
8798 CREATE PROCEDURE sp1()
8799 BEGIN
8800 declare natural char;
8801 END//
8802 ERROR 42000: You 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;
8803 END' at line 3
8804 DROP PROCEDURE IF EXISTS sp1;
8805 CREATE PROCEDURE sp1()
8806 BEGIN
8807 declare not char;
8808 END//
8809 ERROR 42000: You 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;
8810 END' at line 3
8811 DROP PROCEDURE IF EXISTS sp1;
8812 CREATE PROCEDURE sp1()
8813 BEGIN
8814 declare no_write_to_binlog char;
8815 END//
8816 ERROR 42000: You 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;
8817 END' at line 3
8818 DROP PROCEDURE IF EXISTS sp1;
8819 CREATE PROCEDURE sp1()
8820 BEGIN
8821 declare null char;
8822 END//
8823 ERROR 42000: You 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;
8824 END' at line 3
8825 DROP PROCEDURE IF EXISTS sp1;
8826 CREATE PROCEDURE sp1()
8827 BEGIN
8828 declare numeric char;
8829 END//
8830 ERROR 42000: You 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;
8831 END' at line 3
8832 DROP PROCEDURE IF EXISTS sp1;
8833 CREATE PROCEDURE sp1()
8834 BEGIN
8835 declare on char;
8836 END//
8837 ERROR 42000: You 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;
8838 END' at line 3
8839 DROP PROCEDURE IF EXISTS sp1;
8840 CREATE PROCEDURE sp1()
8841 BEGIN
8842 declare optimize char;
8843 END//
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 'optimize char;
8845 END' at line 3
8846 DROP PROCEDURE IF EXISTS sp1;
8847 CREATE PROCEDURE sp1()
8848 BEGIN
8849 declare option char;
8850 END//
8851 ERROR 42000: You 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;
8852 END' at line 3
8853 DROP PROCEDURE IF EXISTS sp1;
8854 CREATE PROCEDURE sp1()
8855 BEGIN
8856 declare optionally char;
8857 END//
8858 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char;
8859 END' at line 3
8860 DROP PROCEDURE IF EXISTS sp1;
8861 CREATE PROCEDURE sp1()
8862 BEGIN
8863 declare or char;
8864 END//
8865 ERROR 42000: You 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;
8866 END' at line 3
8867 DROP PROCEDURE IF EXISTS sp1;
8868 CREATE PROCEDURE sp1()
8869 BEGIN
8870 declare order char;
8871 END//
8872 ERROR 42000: You 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;
8873 END' at line 3
8874 DROP PROCEDURE IF EXISTS sp1;
8875 CREATE PROCEDURE sp1()
8876 BEGIN
8877 declare out char;
8878 END//
8879 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char;
8880 END' at line 3
8881 DROP PROCEDURE IF EXISTS sp1;
8882 CREATE PROCEDURE sp1()
8883 BEGIN
8884 declare outer char;
8885 END//
8886 ERROR 42000: You 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;
8887 END' at line 3
8888 DROP PROCEDURE IF EXISTS sp1;
8889 CREATE PROCEDURE sp1()
8890 BEGIN
8891 declare outfile char;
8892 END//
8893 ERROR 42000: You 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;
8894 END' at line 3
8895 DROP PROCEDURE IF EXISTS sp1;
8896 CREATE PROCEDURE sp1()
8897 BEGIN
8898 declare precision char;
8899 END//
8900 ERROR 42000: You 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;
8901 END' at line 3
8902 DROP PROCEDURE IF EXISTS sp1;
8903 CREATE PROCEDURE sp1()
8904 BEGIN
8905 declare primary char;
8906 END//
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 'primary char;
8908 END' at line 3
8909 DROP PROCEDURE IF EXISTS sp1;
8910 CREATE PROCEDURE sp1()
8911 BEGIN
8912 declare procedure char;
8913 END//
8914 ERROR 42000: You 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;
8915 END' at line 3
8916 DROP PROCEDURE IF EXISTS sp1;
8917 CREATE PROCEDURE sp1()
8918 BEGIN
8919 declare purge char;
8920 END//
8921 ERROR 42000: You 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;
8922 END' at line 3
8923 DROP PROCEDURE IF EXISTS sp1;
8924 CREATE PROCEDURE sp1()
8925 BEGIN
8926 declare range char;
8927 END//
8928 ERROR 42000: You 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;
8929 END' at line 3
8930 DROP PROCEDURE IF EXISTS sp1;
8931 CREATE PROCEDURE sp1()
8932 BEGIN
8933 declare read char;
8934 END//
8935 ERROR 42000: You 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;
8936 END' at line 3
8937 DROP PROCEDURE IF EXISTS sp1;
8938 CREATE PROCEDURE sp1()
8939 BEGIN
8940 declare reads char;
8941 END//
8942 ERROR 42000: You 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;
8943 END' at line 3
8944 DROP PROCEDURE IF EXISTS sp1;
8945 CREATE PROCEDURE sp1()
8946 BEGIN
8947 declare read_only char;
8948 END//
8949 DROP PROCEDURE IF EXISTS sp1;
8950 CREATE PROCEDURE sp1()
8951 BEGIN
8952 declare read_write char;
8953 END//
8954 ERROR 42000: You 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;
8955 END' at line 3
8956 DROP PROCEDURE IF EXISTS sp1;
8957 CREATE PROCEDURE sp1()
8958 BEGIN
8959 declare real char;
8960 END//
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 'real char;
8962 END' at line 3
8963 DROP PROCEDURE IF EXISTS sp1;
8964 CREATE PROCEDURE sp1()
8965 BEGIN
8966 declare references char;
8967 END//
8968 ERROR 42000: You 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;
8969 END' at line 3
8970 DROP PROCEDURE IF EXISTS sp1;
8971 CREATE PROCEDURE sp1()
8972 BEGIN
8973 declare regexp char;
8974 END//
8975 ERROR 42000: You 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;
8976 END' at line 3
8977 DROP PROCEDURE IF EXISTS sp1;
8978 CREATE PROCEDURE sp1()
8979 BEGIN
8980 declare release char;
8981 END//
8982 ERROR 42000: You 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;
8983 END' at line 3
8984 DROP PROCEDURE IF EXISTS sp1;
8985 CREATE PROCEDURE sp1()
8986 BEGIN
8987 declare rename char;
8988 END//
8989 ERROR 42000: You 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;
8990 END' at line 3
8991 DROP PROCEDURE IF EXISTS sp1;
8992 CREATE PROCEDURE sp1()
8993 BEGIN
8994 declare repeat char;
8995 END//
8996 ERROR 42000: You 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;
8997 END' at line 3
8998 DROP PROCEDURE IF EXISTS sp1;
8999 CREATE PROCEDURE sp1()
9000 BEGIN
9001 declare replace char;
9002 END//
9003 ERROR 42000: You 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;
9004 END' at line 3
9005 DROP PROCEDURE IF EXISTS sp1;
9006 Warnings:
9007 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9008 CREATE PROCEDURE sp1()
9009 BEGIN
9010 declare require char;
9011 END//
9012 ERROR 42000: You 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;
9013 END' at line 3
9014 DROP PROCEDURE IF EXISTS sp1;
9015 Warnings:
9016 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9017 CREATE PROCEDURE sp1()
9018 BEGIN
9019 declare restrict char;
9020 END//
9021 ERROR 42000: You 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;
9022 END' at line 3
9023 DROP PROCEDURE IF EXISTS sp1;
9024 Warnings:
9025 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9026 CREATE PROCEDURE sp1()
9027 BEGIN
9028 declare return char;
9029 END//
9030 ERROR 42000: You 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;
9031 END' at line 3
9032 DROP PROCEDURE IF EXISTS sp1;
9033 Warnings:
9034 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9035 CREATE PROCEDURE sp1()
9036 BEGIN
9037 declare revoke char;
9038 END//
9039 ERROR 42000: You 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;
9040 END' at line 3
9041 DROP PROCEDURE IF EXISTS sp1;
9042 Warnings:
9043 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9044 CREATE PROCEDURE sp1()
9045 BEGIN
9046 declare right char;
9047 END//
9048 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char;
9049 END' at line 3
9050 DROP PROCEDURE IF EXISTS sp1;
9051 Warnings:
9052 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9053 CREATE PROCEDURE sp1()
9054 BEGIN
9055 declare rlike char;
9056 END//
9057 ERROR 42000: You 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;
9058 END' at line 3
9059 DROP PROCEDURE IF EXISTS sp1;
9060 Warnings:
9061 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9062 CREATE PROCEDURE sp1()
9063 BEGIN
9064 declare schema char;
9065 END//
9066 ERROR 42000: You 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;
9067 END' at line 3
9068 DROP PROCEDURE IF EXISTS sp1;
9069 Warnings:
9070 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9071 CREATE PROCEDURE sp1()
9072 BEGIN
9073 declare schemas char;
9074 END//
9075 ERROR 42000: You 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;
9076 END' at line 3
9077 DROP PROCEDURE IF EXISTS sp1;
9078 Warnings:
9079 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9080 CREATE PROCEDURE sp1()
9081 BEGIN
9082 declare second_microsecond char;
9083 END//
9084 ERROR 42000: You 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;
9085 END' at line 3
9086 DROP PROCEDURE IF EXISTS sp1;
9087 Warnings:
9088 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9089 CREATE PROCEDURE sp1()
9090 BEGIN
9091 declare SELECT char;
9092 END//
9093 ERROR 42000: You 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;
9094 END' at line 3
9095 DROP PROCEDURE IF EXISTS sp1;
9096 Warnings:
9097 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9098 CREATE PROCEDURE sp1()
9099 BEGIN
9100 declare sensitive char;
9101 END//
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 'sensitive char;
9103 END' at line 3
9104 DROP PROCEDURE IF EXISTS sp1;
9105 Warnings:
9106 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9107 CREATE PROCEDURE sp1()
9108 BEGIN
9109 declare separator char;
9110 END//
9111 ERROR 42000: You 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;
9112 END' at line 3
9113 DROP PROCEDURE IF EXISTS sp1;
9114 Warnings:
9115 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9116 CREATE PROCEDURE sp1()
9117 BEGIN
9118 declare set char;
9119 END//
9120 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char;
9121 END' at line 3
9122 DROP PROCEDURE IF EXISTS sp1;
9123 Warnings:
9124 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9125 CREATE PROCEDURE sp1()
9126 BEGIN
9127 declare show char;
9128 END//
9129 ERROR 42000: You 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;
9130 END' at line 3
9131 DROP PROCEDURE IF EXISTS sp1;
9132 Warnings:
9133 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9134 CREATE PROCEDURE sp1()
9135 BEGIN
9136 declare smallint char;
9137 END//
9138 ERROR 42000: You 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;
9139 END' at line 3
9140 DROP PROCEDURE IF EXISTS sp1;
9141 Warnings:
9142 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9143 CREATE PROCEDURE sp1()
9144 BEGIN
9145 declare spatial char;
9146 END//
9147 ERROR 42000: You 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;
9148 END' at line 3
9149 DROP PROCEDURE IF EXISTS sp1;
9150 Warnings:
9151 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9152 CREATE PROCEDURE sp1()
9153 BEGIN
9154 declare specific char;
9155 END//
9156 ERROR 42000: You 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;
9157 END' at line 3
9158 DROP PROCEDURE IF EXISTS sp1;
9159 Warnings:
9160 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9161 CREATE PROCEDURE sp1()
9162 BEGIN
9163 declare sql char;
9164 END//
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 'sql char;
9166 END' at line 3
9167 DROP PROCEDURE IF EXISTS sp1;
9168 Warnings:
9169 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9170 CREATE PROCEDURE sp1()
9171 BEGIN
9172 declare sqlexception char;
9173 END//
9174 ERROR 42000: You 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;
9175 END' at line 3
9176 DROP PROCEDURE IF EXISTS sp1;
9177 Warnings:
9178 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9179 CREATE PROCEDURE sp1()
9180 BEGIN
9181 declare sqlstate char;
9182 END//
9183 ERROR 42000: You 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;
9184 END' at line 3
9185 DROP PROCEDURE IF EXISTS sp1;
9186 Warnings:
9187 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9188 CREATE PROCEDURE sp1()
9189 BEGIN
9190 declare sqlwarning char;
9191 END//
9192 ERROR 42000: You 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;
9193 END' at line 3
9194 DROP PROCEDURE IF EXISTS sp1;
9195 Warnings:
9196 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9197 CREATE PROCEDURE sp1()
9198 BEGIN
9199 declare sql_big_result char;
9200 END//
9201 ERROR 42000: You 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;
9202 END' at line 3
9203 DROP PROCEDURE IF EXISTS sp1;
9204 Warnings:
9205 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9206 CREATE PROCEDURE sp1()
9207 BEGIN
9208 declare sql_calc_found_rows char;
9209 END//
9210 ERROR 42000: You 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;
9211 END' at line 3
9212 DROP PROCEDURE IF EXISTS sp1;
9213 Warnings:
9214 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9215 CREATE PROCEDURE sp1()
9216 BEGIN
9217 declare sql_small_result char;
9218 END//
9219 ERROR 42000: You 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;
9220 END' at line 3
9221 DROP PROCEDURE IF EXISTS sp1;
9222 Warnings:
9223 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9224 CREATE PROCEDURE sp1()
9225 BEGIN
9226 declare ssl char;
9227 END//
9228 ERROR 42000: You 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;
9229 END' at line 3
9230 DROP PROCEDURE IF EXISTS sp1;
9231 Warnings:
9232 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9233 CREATE PROCEDURE sp1()
9234 BEGIN
9235 declare starting char;
9236 END//
9237 ERROR 42000: You 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;
9238 END' at line 3
9239 DROP PROCEDURE IF EXISTS sp1;
9240 Warnings:
9241 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9242 CREATE PROCEDURE sp1()
9243 BEGIN
9244 declare straight_join char;
9245 END//
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 'straight_join char;
9247 END' at line 3
9248 DROP PROCEDURE IF EXISTS sp1;
9249 Warnings:
9250 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9251 CREATE PROCEDURE sp1()
9252 BEGIN
9253 declare table char;
9254 END//
9255 ERROR 42000: You 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;
9256 END' at line 3
9257 DROP PROCEDURE IF EXISTS sp1;
9258 Warnings:
9259 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9260 CREATE PROCEDURE sp1()
9261 BEGIN
9262 declare terminated char;
9263 END//
9264 ERROR 42000: You 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;
9265 END' at line 3
9266 DROP PROCEDURE IF EXISTS sp1;
9267 Warnings:
9268 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9269 CREATE PROCEDURE sp1()
9270 BEGIN
9271 declare then char;
9272 END//
9273 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char;
9274 END' at line 3
9275 DROP PROCEDURE IF EXISTS sp1;
9276 Warnings:
9277 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9278 CREATE PROCEDURE sp1()
9279 BEGIN
9280 declare tinyblob char;
9281 END//
9282 ERROR 42000: You 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;
9283 END' at line 3
9284 DROP PROCEDURE IF EXISTS sp1;
9285 Warnings:
9286 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9287 CREATE PROCEDURE sp1()
9288 BEGIN
9289 declare tinyint char;
9290 END//
9291 ERROR 42000: You 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;
9292 END' at line 3
9293 DROP PROCEDURE IF EXISTS sp1;
9294 Warnings:
9295 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9296 CREATE PROCEDURE sp1()
9297 BEGIN
9298 declare tinytext char;
9299 END//
9300 ERROR 42000: You 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;
9301 END' at line 3
9302 DROP PROCEDURE IF EXISTS sp1;
9303 Warnings:
9304 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9305 CREATE PROCEDURE sp1()
9306 BEGIN
9307 declare to char;
9308 END//
9309 ERROR 42000: You 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;
9310 END' at line 3
9311 DROP PROCEDURE IF EXISTS sp1;
9312 Warnings:
9313 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9314 CREATE PROCEDURE sp1()
9315 BEGIN
9316 declare trailing char;
9317 END//
9318 ERROR 42000: You 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;
9319 END' at line 3
9320 DROP PROCEDURE IF EXISTS sp1;
9321 Warnings:
9322 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9323 CREATE PROCEDURE sp1()
9324 BEGIN
9325 declare trigger char;
9326 END//
9327 ERROR 42000: You 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;
9328 END' at line 3
9329 DROP PROCEDURE IF EXISTS sp1;
9330 Warnings:
9331 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9332 CREATE PROCEDURE sp1()
9333 BEGIN
9334 declare true char;
9335 END//
9336 ERROR 42000: You 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;
9337 END' at line 3
9338 DROP PROCEDURE IF EXISTS sp1;
9339 Warnings:
9340 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9341 CREATE PROCEDURE sp1()
9342 BEGIN
9343 declare undo char;
9344 END//
9345 ERROR 42000: You 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;
9346 END' at line 3
9347 DROP PROCEDURE IF EXISTS sp1;
9348 Warnings:
9349 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9350 CREATE PROCEDURE sp1()
9351 BEGIN
9352 declare union char;
9353 END//
9354 ERROR 42000: You 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;
9355 END' at line 3
9356 DROP PROCEDURE IF EXISTS sp1;
9357 Warnings:
9358 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9359 CREATE PROCEDURE sp1()
9360 BEGIN
9361 declare unique char;
9362 END//
9363 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char;
9364 END' at line 3
9365 DROP PROCEDURE IF EXISTS sp1;
9366 Warnings:
9367 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9368 CREATE PROCEDURE sp1()
9369 BEGIN
9370 declare unlock char;
9371 END//
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 'unlock char;
9373 END' at line 3
9374 DROP PROCEDURE IF EXISTS sp1;
9375 Warnings:
9376 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9377 CREATE PROCEDURE sp1()
9378 BEGIN
9379 declare unsigned char;
9380 END//
9381 ERROR 42000: You 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;
9382 END' at line 3
9383 DROP PROCEDURE IF EXISTS sp1;
9384 Warnings:
9385 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9386 CREATE PROCEDURE sp1()
9387 BEGIN
9388 declare update char;
9389 END//
9390 ERROR 42000: You 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;
9391 END' at line 3
9392 DROP PROCEDURE IF EXISTS sp1;
9393 Warnings:
9394 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9395 CREATE PROCEDURE sp1()
9396 BEGIN
9397 declare usage char;
9398 END//
9399 ERROR 42000: You 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;
9400 END' at line 3
9401 DROP PROCEDURE IF EXISTS sp1;
9402 Warnings:
9403 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9404 CREATE PROCEDURE sp1()
9405 BEGIN
9406 declare use char;
9407 END//
9408 ERROR 42000: You 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;
9409 END' at line 3
9410 DROP PROCEDURE IF EXISTS sp1;
9411 Warnings:
9412 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9413 CREATE PROCEDURE sp1()
9414 BEGIN
9415 declare using char;
9416 END//
9417 ERROR 42000: You 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;
9418 END' at line 3
9419 DROP PROCEDURE IF EXISTS sp1;
9420 Warnings:
9421 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9422 CREATE PROCEDURE sp1()
9423 BEGIN
9424 declare utc_date char;
9425 END//
9426 ERROR 42000: You 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;
9427 END' at line 3
9428 DROP PROCEDURE IF EXISTS sp1;
9429 Warnings:
9430 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9431 CREATE PROCEDURE sp1()
9432 BEGIN
9433 declare utc_time char;
9434 END//
9435 ERROR 42000: You 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;
9436 END' at line 3
9437 DROP PROCEDURE IF EXISTS sp1;
9438 Warnings:
9439 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9440 CREATE PROCEDURE sp1()
9441 BEGIN
9442 declare utc_timestamp char;
9443 END//
9444 ERROR 42000: You 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;
9445 END' at line 3
9446 DROP PROCEDURE IF EXISTS sp1;
9447 Warnings:
9448 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9449 CREATE PROCEDURE sp1()
9450 BEGIN
9451 declare values char;
9452 END//
9453 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char;
9454 END' at line 3
9455 DROP PROCEDURE IF EXISTS sp1;
9456 Warnings:
9457 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9458 CREATE PROCEDURE sp1()
9459 BEGIN
9460 declare varbinary char;
9461 END//
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 'varbinary char;
9463 END' at line 3
9464 DROP PROCEDURE IF EXISTS sp1;
9465 Warnings:
9466 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9467 CREATE PROCEDURE sp1()
9468 BEGIN
9469 declare varchar char;
9470 END//
9471 ERROR 42000: You 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;
9472 END' at line 3
9473 DROP PROCEDURE IF EXISTS sp1;
9474 Warnings:
9475 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9476 CREATE PROCEDURE sp1()
9477 BEGIN
9478 declare varcharacter char;
9479 END//
9480 ERROR 42000: You 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;
9481 END' at line 3
9482 DROP PROCEDURE IF EXISTS sp1;
9483 Warnings:
9484 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9485 CREATE PROCEDURE sp1()
9486 BEGIN
9487 declare varying char;
9488 END//
9489 ERROR 42000: You 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;
9490 END' at line 3
9491 DROP PROCEDURE IF EXISTS sp1;
9492 Warnings:
9493 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9494 CREATE PROCEDURE sp1()
9495 BEGIN
9496 declare when char;
9497 END//
9498 ERROR 42000: You 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;
9499 END' at line 3
9500 DROP PROCEDURE IF EXISTS sp1;
9501 Warnings:
9502 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9503 CREATE PROCEDURE sp1()
9504 BEGIN
9505 declare where char;
9506 END//
9507 ERROR 42000: You 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;
9508 END' at line 3
9509 DROP PROCEDURE IF EXISTS sp1;
9510 Warnings:
9511 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9512 CREATE PROCEDURE sp1()
9513 BEGIN
9514 declare while char;
9515 END//
9516 ERROR 42000: You 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;
9517 END' at line 3
9518 DROP PROCEDURE IF EXISTS sp1;
9519 Warnings:
9520 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9521 CREATE PROCEDURE sp1()
9522 BEGIN
9523 declare with char;
9524 END//
9525 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with char;
9526 END' at line 3
9527 DROP PROCEDURE IF EXISTS sp1;
9528 Warnings:
9529 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9530 CREATE PROCEDURE sp1()
9531 BEGIN
9532 declare write char;
9533 END//
9534 ERROR 42000: You 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;
9535 END' at line 3
9536 DROP PROCEDURE IF EXISTS sp1;
9537 Warnings:
9538 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9539 CREATE PROCEDURE sp1()
9540 BEGIN
9541 declare xor char;
9542 END//
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 'xor char;
9544 END' at line 3
9545 DROP PROCEDURE IF EXISTS sp1;
9546 Warnings:
9547 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9548 CREATE PROCEDURE sp1()
9549 BEGIN
9550 declare year_month char;
9551 END//
9552 ERROR 42000: You 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;
9553 END' at line 3
9554 DROP PROCEDURE IF EXISTS sp1;
9555 Warnings:
9556 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9557 CREATE PROCEDURE sp1()
9558 BEGIN
9559 declare zerofill char;
9560 END//
9561 ERROR 42000: You 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;
9562 END' at line 3
9563 Warnings:
9564 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
9565
9566 Testcase :
9567 ----------
9568 Ensure that every possible type of condition may be declared for a stored procedure
9569 ( covered in more detail in handlers section.)
9570 --------------------------------------------------------------------------------
9571 Warnings:
9572 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
9573 DROP PROCEDURE IF EXISTS sp1;
9574 Warnings:
9575 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9576 CREATE PROCEDURE sp1()
9577 BEGIN
9578 declare cond1 condition for sqlstate 'HY000';
9579 declare cond2 condition for sqlstate '23000';
9580 declare cond3 condition for sqlstate 'HY001';
9581 declare cond4 condition for sqlstate '08004';
9582 declare cond5 condition for sqlstate '08S01';
9583 declare cond6 condition for sqlstate '42000';
9584 declare cond7 condition for sqlstate '28000';
9585 declare cond8 condition for sqlstate '3D000';
9586 declare cond9 condition for sqlstate '42S01';
9587 declare cond10 condition for sqlstate '42S02';
9588 declare cond11 condition for sqlstate '42S22';
9589 declare cond12 condition for sqlstate '21S01';
9590 declare cond13 condition for sqlstate '42S21';
9591 declare cond14 condition for sqlstate '42S12';
9592 declare cond15 condition for sqlstate '22004';
9593 declare cond16 condition for sqlstate '25000';
9594 declare cond17 condition for sqlstate '40001';
9595 declare cond18 condition for sqlstate '21000';
9596 declare cond19 condition for sqlstate '01000';
9597 declare cond20 condition for sqlstate '22003';
9598 declare cond21 condition for sqlstate '22007';
9599 declare cond22 condition for sqlstate '0A000';
9600 declare cond23 condition for sqlstate '70100';
9601 declare cond24 condition for sqlstate '2F005';
9602 declare cond25 condition for sqlstate '24000';
9603 declare cond26 condition for sqlstate '02000';
9604 declare continue handler for cond2 set @x2 = 1;
9605 declare continue handler for cond1 set @x2 = 1;
9606 declare continue handler for cond3 set @x2 = 1;
9607 declare continue handler for cond4 set @x2 = 1;
9608 declare continue handler for cond5 set @x2 = 1;
9609 declare continue handler for cond7 set @x2 = 1;
9610 declare continue handler for cond6 set @x2 = 1;
9611 declare continue handler for cond8 set @x2 = 1;
9612 declare continue handler for cond9 set @x2 = 1;
9613 declare continue handler for cond10 set @x2 = 1;
9614 declare continue handler for cond11 set @x2 = 1;
9615 declare continue handler for cond12 set @x2 = 1;
9616 declare continue handler for cond13 set @x2 = 1;
9617 declare continue handler for cond14 set @x2 = 1;
9618 declare continue handler for cond15 set @x2 = 1;
9619 declare continue handler for cond16 set @x2 = 1;
9620 declare continue handler for cond17 set @x2 = 1;
9621 declare continue handler for cond18 set @x2 = 1;
9622 declare continue handler for cond19 set @x2 = 1;
9623 declare continue handler for cond20 set @x2 = 1;
9624 declare continue handler for cond21 set @x2 = 1;
9625 declare continue handler for cond22 set @x2 = 1;
9626 declare continue handler for cond23 set @x2 = 1;
9627 declare continue handler for cond24 set @x2 = 1;
9628 declare continue handler for cond25 set @x2 = 1;
9629 declare continue handler for cond26 set @x2 = 1;
9630 set @x = 1;
9631 insert into t2 values (1);
9632 set @x = 2;
9633 insert into t2 values (1);
9634 set @x = 3;
9635 END//
9636 CALL sp1();
9637 DROP PROCEDURE sp1;
9638 DROP PROCEDURE IF EXISTS sp1;
9639 Warnings:
9640 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9641 CREATE PROCEDURE sp1( )
9642 BEGIN
9643 declare @x char;
9644 END//
9645 ERROR 42000: You 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;
9646 END' at line 3
9647 DROP PROCEDURE IF EXISTS sp1;
9648 Warnings:
9649 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9650 CREATE PROCEDURE sp1( )
9651 BEGIN
9652 declare x char1;
9653 END//
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 'char1;
9655 END' at line 3
9656 DROP PROCEDURE IF EXISTS sp1;
9657 Warnings:
9658 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9659 CREATE PROCEDURE sp1( )
9660 BEGIN
9661 declare accessible condition for sqlstate '02000';
9662 declare exit handler for add set @var2 = 1;
9663 END//
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 'accessible condition for sqlstate '02000';
9665 declare exit handler for add set @var' at line 3
9666 DROP PROCEDURE IF EXISTS sp1;
9667 Warnings:
9668 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9669 CREATE PROCEDURE sp1( )
9670 BEGIN
9671 declare add condition for sqlstate '02000';
9672 declare exit handler for add set @var2 = 1;
9673 END//
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 'add condition for sqlstate '02000';
9675 declare exit handler for add set @var2 = 1;
9676 ' at line 3
9677 DROP PROCEDURE IF EXISTS sp1;
9678 Warnings:
9679 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9680 CREATE PROCEDURE sp1( )
9681 BEGIN
9682 declare all condition for sqlstate '02000';
9683 declare exit handler for all set @var2 = 1;
9684 END//
9685 ERROR 42000: You 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';
9686 declare exit handler for all set @var2 = 1;
9687 ' at line 3
9688 DROP PROCEDURE IF EXISTS sp1;
9689 Warnings:
9690 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9691 CREATE PROCEDURE sp1( )
9692 BEGIN
9693 declare alter condition for sqlstate '02000';
9694 declare exit handler for alter set @var2 = 1;
9695 END//
9696 ERROR 42000: You 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';
9697 declare exit handler for alter set @var2 =' at line 3
9698 DROP PROCEDURE IF EXISTS sp1;
9699 Warnings:
9700 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9701 CREATE PROCEDURE sp1( )
9702 BEGIN
9703 declare analyze condition for sqlstate '02000';
9704 declare exit handler for analyze set @var2 = 1;
9705 END//
9706 ERROR 42000: You 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';
9707 declare exit handler for analyze set @va' at line 3
9708 DROP PROCEDURE IF EXISTS sp1;
9709 Warnings:
9710 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9711 CREATE PROCEDURE sp1( )
9712 BEGIN
9713 declare and condition for sqlstate '02000';
9714 declare exit handler for and set @var2 = 1;
9715 END//
9716 ERROR 42000: You 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';
9717 declare exit handler for and set @var2 = 1;
9718 ' at line 3
9719 DROP PROCEDURE IF EXISTS sp1;
9720 Warnings:
9721 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9722 CREATE PROCEDURE sp1( )
9723 BEGIN
9724 declare as condition for sqlstate '02000';
9725 declare exit handler for as set @var2 = 1;
9726 END//
9727 ERROR 42000: You 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';
9728 declare exit handler for as set @var2 = 1;
9729 EN' at line 3
9730 DROP PROCEDURE IF EXISTS sp1;
9731 Warnings:
9732 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9733 CREATE PROCEDURE sp1( )
9734 BEGIN
9735 declare asc condition for sqlstate '02000';
9736 declare exit handler for asc set @var2 = 1;
9737 END//
9738 ERROR 42000: You 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';
9739 declare exit handler for asc set @var2 = 1;
9740 ' at line 3
9741 DROP PROCEDURE IF EXISTS sp1;
9742 Warnings:
9743 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9744 CREATE PROCEDURE sp1( )
9745 BEGIN
9746 declare asensitive condition for sqlstate '02000';
9747 declare exit handler for asensitive set @var2 = 1;
9748 END//
9749 ERROR 42000: You 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';
9750 declare exit handler for asensitive s' at line 3
9751 DROP PROCEDURE IF EXISTS sp1;
9752 Warnings:
9753 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9754 CREATE PROCEDURE sp1( )
9755 BEGIN
9756 declare before condition for sqlstate '02000';
9757 declare exit handler for before set @var2 = 1;
9758 END//
9759 ERROR 42000: You 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';
9760 declare exit handler for before set @var2' at line 3
9761 DROP PROCEDURE IF EXISTS sp1;
9762 Warnings:
9763 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9764 CREATE PROCEDURE sp1( )
9765 BEGIN
9766 declare between condition for sqlstate '02000';
9767 declare exit handler for between set @var2 = 1;
9768 END//
9769 ERROR 42000: You 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';
9770 declare exit handler for between set @va' at line 3
9771 DROP PROCEDURE IF EXISTS sp1;
9772 Warnings:
9773 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9774 CREATE PROCEDURE sp1( )
9775 BEGIN
9776 declare bigint condition for sqlstate '02000';
9777 declare exit handler for bigint set @var2 = 1;
9778 END//
9779 ERROR 42000: You 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';
9780 declare exit handler for bigint set @var2' at line 3
9781 DROP PROCEDURE IF EXISTS sp1;
9782 Warnings:
9783 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9784 CREATE PROCEDURE sp1( )
9785 BEGIN
9786 declare binary condition for sqlstate '02000';
9787 declare exit handler for binary set @var2 = 1;
9788 END//
9789 ERROR 42000: You 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';
9790 declare exit handler for binary set @var2' at line 3
9791 DROP PROCEDURE IF EXISTS sp1;
9792 Warnings:
9793 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9794 CREATE PROCEDURE sp1( )
9795 BEGIN
9796 declare blob condition for sqlstate '02000';
9797 declare exit handler for blob set @var2 = 1;
9798 END//
9799 ERROR 42000: You 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';
9800 declare exit handler for blob set @var2 = 1' at line 3
9801 DROP PROCEDURE IF EXISTS sp1;
9802 Warnings:
9803 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9804 CREATE PROCEDURE sp1( )
9805 BEGIN
9806 declare both condition for sqlstate '02000';
9807 declare exit handler for both set @var2 = 1;
9808 END//
9809 ERROR 42000: You 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';
9810 declare exit handler for both set @var2 = 1' at line 3
9811 DROP PROCEDURE IF EXISTS sp1;
9812 Warnings:
9813 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9814 CREATE PROCEDURE sp1( )
9815 BEGIN
9816 declare by condition for sqlstate '02000';
9817 declare exit handler for by set @var2 = 1;
9818 END//
9819 ERROR 42000: You 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';
9820 declare exit handler for by set @var2 = 1;
9821 EN' at line 3
9822 DROP PROCEDURE IF EXISTS sp1;
9823 Warnings:
9824 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9825 CREATE PROCEDURE sp1( )
9826 BEGIN
9827 declare call condition for sqlstate '02000';
9828 declare exit handler for CALL set @var2 = 1;
9829 END//
9830 ERROR 42000: You 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';
9831 declare exit handler for CALL set @var2 = 1' at line 3
9832 DROP PROCEDURE IF EXISTS sp1;
9833 Warnings:
9834 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9835 CREATE PROCEDURE sp1( )
9836 BEGIN
9837 declare cascade condition for sqlstate '02000';
9838 declare exit handler for cascade set @var2 = 1;
9839 END//
9840 ERROR 42000: You 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';
9841 declare exit handler for cascade set @va' at line 3
9842 DROP PROCEDURE IF EXISTS sp1;
9843 Warnings:
9844 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9845 CREATE PROCEDURE sp1( )
9846 BEGIN
9847 declare case condition for sqlstate '02000';
9848 declare exit handler for case set @var2 = 1;
9849 END//
9850 ERROR 42000: You 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';
9851 declare exit handler for case set @var2 = 1' at line 3
9852 DROP PROCEDURE IF EXISTS sp1;
9853 Warnings:
9854 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9855 CREATE PROCEDURE sp1( )
9856 BEGIN
9857 declare change condition for sqlstate '02000';
9858 declare exit handler for change set @var2 = 1;
9859 END//
9860 ERROR 42000: You 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';
9861 declare exit handler for change set @var2' at line 3
9862 DROP PROCEDURE IF EXISTS sp1;
9863 Warnings:
9864 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9865 CREATE PROCEDURE sp1( )
9866 BEGIN
9867 declare char condition for sqlstate '02000';
9868 declare exit handler for char set @var2 = 1;
9869 END//
9870 ERROR 42000: You 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';
9871 declare exit handler for char set @var2 = 1' at line 3
9872 DROP PROCEDURE IF EXISTS sp1;
9873 Warnings:
9874 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9875 CREATE PROCEDURE sp1( )
9876 BEGIN
9877 declare character condition for sqlstate '02000';
9878 declare exit handler for character set @var2 = 1;
9879 END//
9880 ERROR 42000: You 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';
9881 declare exit handler for character set' at line 3
9882 DROP PROCEDURE IF EXISTS sp1;
9883 Warnings:
9884 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9885 CREATE PROCEDURE sp1( )
9886 BEGIN
9887 declare check condition for sqlstate '02000';
9888 declare exit handler for check set @var2 = 1;
9889 END//
9890 ERROR 42000: You 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';
9891 declare exit handler for check set @var2 =' at line 3
9892 DROP PROCEDURE IF EXISTS sp1;
9893 Warnings:
9894 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9895 CREATE PROCEDURE sp1( )
9896 BEGIN
9897 declare collate condition for sqlstate '02000';
9898 declare exit handler for collate set @var2 = 1;
9899 END//
9900 ERROR 42000: You 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';
9901 declare exit handler for collate set @va' at line 3
9902 DROP PROCEDURE IF EXISTS sp1;
9903 Warnings:
9904 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9905 CREATE PROCEDURE sp1( )
9906 BEGIN
9907 declare column condition for sqlstate '02000';
9908 declare exit handler for column set @var2 = 1;
9909 END//
9910 ERROR 42000: You 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';
9911 declare exit handler for column set @var2' at line 3
9912 DROP PROCEDURE IF EXISTS sp1;
9913 Warnings:
9914 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9915 CREATE PROCEDURE sp1( )
9916 BEGIN
9917 declare condition condition for sqlstate '02000';
9918 declare exit handler for condition set @var2 = 1;
9919 END//
9920 ERROR 42000: You 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';
9921 declare exit handler for condition set' at line 3
9922 DROP PROCEDURE IF EXISTS sp1;
9923 Warnings:
9924 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9925 CREATE PROCEDURE sp1( )
9926 BEGIN
9927 declare connection condition for sqlstate '02000';
9928 declare exit handler for connection set @var2 = 1;
9929 END//
9930 DROP PROCEDURE IF EXISTS sp1;
9931 CREATE PROCEDURE sp1( )
9932 BEGIN
9933 declare constraint condition for sqlstate '02000';
9934 declare exit handler for constraint set @var2 = 1;
9935 END//
9936 ERROR 42000: You 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';
9937 declare exit handler for constraint s' at line 3
9938 DROP PROCEDURE IF EXISTS sp1;
9939 Warnings:
9940 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9941 CREATE PROCEDURE sp1( )
9942 BEGIN
9943 declare continue condition for sqlstate '02000';
9944 declare exit handler for continue set @var2 = 1;
9945 END//
9946 ERROR 42000: You 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';
9947 declare exit handler for continue set @var2 = 1;' at line 3
9948 DROP PROCEDURE IF EXISTS sp1;
9949 Warnings:
9950 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9951 CREATE PROCEDURE sp1( )
9952 BEGIN
9953 declare convert condition for sqlstate '02000';
9954 declare exit handler for convert set @var2 = 1;
9955 END//
9956 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000';
9957 declare exit handler for convert set @va' at line 3
9958 DROP PROCEDURE IF EXISTS sp1;
9959 Warnings:
9960 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9961 CREATE PROCEDURE sp1( )
9962 BEGIN
9963 declare create condition for sqlstate '02000';
9964 declare exit handler for create set @var2 = 1;
9965 END//
9966 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000';
9967 declare exit handler for create set @var2' at line 3
9968 DROP PROCEDURE IF EXISTS sp1;
9969 Warnings:
9970 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9971 CREATE PROCEDURE sp1( )
9972 BEGIN
9973 declare cross condition for sqlstate '02000';
9974 declare exit handler for cross set @var2 = 1;
9975 END//
9976 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000';
9977 declare exit handler for cross set @var2 =' at line 3
9978 DROP PROCEDURE IF EXISTS sp1;
9979 Warnings:
9980 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9981 CREATE PROCEDURE sp1( )
9982 BEGIN
9983 declare current_date condition for sqlstate '02000';
9984 declare exit handler for current_date set @var2 = 1;
9985 END//
9986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000';
9987 declare exit handler for current_da' at line 3
9988 DROP PROCEDURE IF EXISTS sp1;
9989 Warnings:
9990 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9991 CREATE PROCEDURE sp1( )
9992 BEGIN
9993 declare current_time condition for sqlstate '02000';
9994 declare exit handler for current_time set @var2 = 1;
9995 END//
9996 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000';
9997 declare exit handler for current_ti' at line 3
9998 DROP PROCEDURE IF EXISTS sp1;
9999 Warnings:
10000 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10001 CREATE PROCEDURE sp1( )
10002 BEGIN
10003 declare current_timestamp condition for sqlstate '02000';
10004 declare exit handler for current_timestamp set @var2 = 1;
10005 END//
10006 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
10007 declare exit handler for curre' at line 3
10008 DROP PROCEDURE IF EXISTS sp1;
10009 Warnings:
10010 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10011 CREATE PROCEDURE sp1( )
10012 BEGIN
10013 declare current_user condition for sqlstate '02000';
10014 declare exit handler for current_user set @var2 = 1;
10015 END//
10016 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000';
10017 declare exit handler for current_us' at line 3
10018 DROP PROCEDURE IF EXISTS sp1;
10019 Warnings:
10020 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10021 CREATE PROCEDURE sp1( )
10022 BEGIN
10023 declare cursor condition for sqlstate '02000';
10024 declare exit handler for cursor set @var2 = 1;
10025 END//
10026 ERROR 42000: You 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';
10027 declare exit handler for cursor set @var2' at line 3
10028 DROP PROCEDURE IF EXISTS sp1;
10029 Warnings:
10030 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10031 CREATE PROCEDURE sp1( )
10032 BEGIN
10033 declare database condition for sqlstate '02000';
10034 declare exit handler for database set @var2 = 1;
10035 END//
10036 ERROR 42000: You 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';
10037 declare exit handler for database set @' at line 3
10038 DROP PROCEDURE IF EXISTS sp1;
10039 Warnings:
10040 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10041 CREATE PROCEDURE sp1( )
10042 BEGIN
10043 declare databases condition for sqlstate '02000';
10044 declare exit handler for databases set @var2 = 1;
10045 END//
10046 ERROR 42000: You 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';
10047 declare exit handler for databases set' at line 3
10048 DROP PROCEDURE IF EXISTS sp1;
10049 Warnings:
10050 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10051 CREATE PROCEDURE sp1( )
10052 BEGIN
10053 declare day_hour condition for sqlstate '02000';
10054 declare exit handler for day_hour set @var2 = 1;
10055 END//
10056 ERROR 42000: You 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';
10057 declare exit handler for day_hour set @' at line 3
10058 DROP PROCEDURE IF EXISTS sp1;
10059 Warnings:
10060 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10061 CREATE PROCEDURE sp1( )
10062 BEGIN
10063 declare day_microsecond condition for sqlstate '02000';
10064 declare exit handler for day_microsecond set @var2 = 1;
10065 END//
10066 ERROR 42000: You 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';
10067 declare exit handler for day_mic' at line 3
10068 DROP PROCEDURE IF EXISTS sp1;
10069 Warnings:
10070 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10071 CREATE PROCEDURE sp1( )
10072 BEGIN
10073 declare day_minute condition for sqlstate '02000';
10074 declare exit handler for day_minute set @var2 = 1;
10075 END//
10076 ERROR 42000: You 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';
10077 declare exit handler for day_minute s' at line 3
10078 DROP PROCEDURE IF EXISTS sp1;
10079 Warnings:
10080 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10081 CREATE PROCEDURE sp1( )
10082 BEGIN
10083 declare day_second condition for sqlstate '02000';
10084 declare exit handler for day_second set @var2 = 1;
10085 END//
10086 ERROR 42000: You 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';
10087 declare exit handler for day_second s' at line 3
10088 DROP PROCEDURE IF EXISTS sp1;
10089 Warnings:
10090 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10091 CREATE PROCEDURE sp1( )
10092 BEGIN
10093 declare dec condition for sqlstate '02000';
10094 declare exit handler for dec set @var2 = 1;
10095 END//
10096 ERROR 42000: You 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';
10097 declare exit handler for dec set @var2 = 1;
10098 ' at line 3
10099 DROP PROCEDURE IF EXISTS sp1;
10100 Warnings:
10101 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10102 CREATE PROCEDURE sp1( )
10103 BEGIN
10104 declare decimal condition for sqlstate '02000';
10105 declare exit handler for decimal set @var2 = 1;
10106 END//
10107 ERROR 42000: You 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';
10108 declare exit handler for decimal set @va' at line 3
10109 DROP PROCEDURE IF EXISTS sp1;
10110 Warnings:
10111 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10112 CREATE PROCEDURE sp1( )
10113 BEGIN
10114 declare declare condition for sqlstate '02000';
10115 declare exit handler for declare set @var2 = 1;
10116 END//
10117 ERROR 42000: You 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';
10118 declare exit handler for declare set @va' at line 3
10119 DROP PROCEDURE IF EXISTS sp1;
10120 Warnings:
10121 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10122 CREATE PROCEDURE sp1( )
10123 BEGIN
10124 declare default condition for sqlstate '02000';
10125 declare exit handler for default set @var2 = 1;
10126 END//
10127 ERROR 42000: You 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';
10128 declare exit handler for default set @va' at line 3
10129 DROP PROCEDURE IF EXISTS sp1;
10130 Warnings:
10131 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10132 CREATE PROCEDURE sp1( )
10133 BEGIN
10134 declare delayed condition for sqlstate '02000';
10135 declare exit handler for delayed set @var2 = 1;
10136 END//
10137 ERROR 42000: You 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';
10138 declare exit handler for delayed set @va' at line 3
10139 DROP PROCEDURE IF EXISTS sp1;
10140 Warnings:
10141 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10142 CREATE PROCEDURE sp1( )
10143 BEGIN
10144 declare delete condition for sqlstate '02000';
10145 declare exit handler for delete set @var2 = 1;
10146 END//
10147 ERROR 42000: You 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';
10148 declare exit handler for delete set @var2' at line 3
10149 DROP PROCEDURE IF EXISTS sp1;
10150 Warnings:
10151 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10152 CREATE PROCEDURE sp1( )
10153 BEGIN
10154 declare desc condition for sqlstate '02000';
10155 declare exit handler for desc set @var2 = 1;
10156 END//
10157 ERROR 42000: You 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';
10158 declare exit handler for desc set @var2 = 1' at line 3
10159 DROP PROCEDURE IF EXISTS sp1;
10160 Warnings:
10161 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10162 CREATE PROCEDURE sp1( )
10163 BEGIN
10164 declare describe condition for sqlstate '02000';
10165 declare exit handler for describe set @var2 = 1;
10166 END//
10167 ERROR 42000: You 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';
10168 declare exit handler for describe set @' at line 3
10169 DROP PROCEDURE IF EXISTS sp1;
10170 Warnings:
10171 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10172 CREATE PROCEDURE sp1( )
10173 BEGIN
10174 declare deterministic condition for sqlstate '02000';
10175 declare exit handler for deterministic set @var2 = 1;
10176 END//
10177 ERROR 42000: You 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';
10178 declare exit handler for determini' at line 3
10179 DROP PROCEDURE IF EXISTS sp1;
10180 Warnings:
10181 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10182 CREATE PROCEDURE sp1( )
10183 BEGIN
10184 declare distinct condition for sqlstate '02000';
10185 declare exit handler for distinct set @var2 = 1;
10186 END//
10187 ERROR 42000: You 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';
10188 declare exit handler for distinct set @' at line 3
10189 DROP PROCEDURE IF EXISTS sp1;
10190 Warnings:
10191 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10192 CREATE PROCEDURE sp1( )
10193 BEGIN
10194 declare distinctrow condition for sqlstate '02000';
10195 declare exit handler for distinctrow set @var2 = 1;
10196 END//
10197 ERROR 42000: You 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';
10198 declare exit handler for distinctrow' at line 3
10199 DROP PROCEDURE IF EXISTS sp1;
10200 Warnings:
10201 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10202 CREATE PROCEDURE sp1( )
10203 BEGIN
10204 declare div condition for sqlstate '02000';
10205 declare exit handler for div set @var2 = 1;
10206 END//
10207 ERROR 42000: You 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';
10208 declare exit handler for div set @var2 = 1;
10209 ' at line 3
10210 DROP PROCEDURE IF EXISTS sp1;
10211 Warnings:
10212 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10213 CREATE PROCEDURE sp1( )
10214 BEGIN
10215 declare double condition for sqlstate '02000';
10216 declare exit handler for double set @var2 = 1;
10217 END//
10218 ERROR 42000: You 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';
10219 declare exit handler for double set @var2' at line 3
10220 DROP PROCEDURE IF EXISTS sp1;
10221 Warnings:
10222 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10223 CREATE PROCEDURE sp1( )
10224 BEGIN
10225 declare drop condition for sqlstate '02000';
10226 declare exit handler for drop set @var2 = 1;
10227 END//
10228 ERROR 42000: You 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';
10229 declare exit handler for drop set @var2 = 1' at line 3
10230 DROP PROCEDURE IF EXISTS sp1;
10231 Warnings:
10232 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10233 CREATE PROCEDURE sp1( )
10234 BEGIN
10235 declare dual condition for sqlstate '02000';
10236 declare exit handler for dual set @var2 = 1;
10237 END//
10238 ERROR 42000: You 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';
10239 declare exit handler for dual set @var2 = 1' at line 3
10240 DROP PROCEDURE IF EXISTS sp1;
10241 Warnings:
10242 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10243 CREATE PROCEDURE sp1( )
10244 BEGIN
10245 declare each condition for sqlstate '02000';
10246 declare exit handler for each set @var2 = 1;
10247 END//
10248 ERROR 42000: You 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';
10249 declare exit handler for each set @var2 = 1' at line 3
10250 DROP PROCEDURE IF EXISTS sp1;
10251 Warnings:
10252 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10253 CREATE PROCEDURE sp1( )
10254 BEGIN
10255 declare else condition for sqlstate '02000';
10256 declare exit handler for else set @var2 = 1;
10257 END//
10258 ERROR 42000: You 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';
10259 declare exit handler for else set @var2 = 1' at line 3
10260 DROP PROCEDURE IF EXISTS sp1;
10261 Warnings:
10262 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10263 CREATE PROCEDURE sp1( )
10264 BEGIN
10265 declare elseif condition for sqlstate '02000';
10266 declare exit handler for elseif set @var2 = 1;
10267 END//
10268 ERROR 42000: You 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';
10269 declare exit handler for elseif set @var2' at line 3
10270 DROP PROCEDURE IF EXISTS sp1;
10271 Warnings:
10272 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10273 CREATE PROCEDURE sp1( )
10274 BEGIN
10275 declare enclosed condition for sqlstate '02000';
10276 declare exit handler for enclosed set @var2 = 1;
10277 END//
10278 ERROR 42000: You 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';
10279 declare exit handler for enclosed set @' at line 3
10280 DROP PROCEDURE IF EXISTS sp1;
10281 Warnings:
10282 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10283 CREATE PROCEDURE sp1( )
10284 BEGIN
10285 declare escaped condition for sqlstate '02000';
10286 declare exit handler for escaped set @var2 = 1;
10287 END//
10288 ERROR 42000: You 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';
10289 declare exit handler for escaped set @va' at line 3
10290 DROP PROCEDURE IF EXISTS sp1;
10291 Warnings:
10292 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10293 CREATE PROCEDURE sp1( )
10294 BEGIN
10295 declare exists condition for sqlstate '02000';
10296 declare exit handler for exists set @var2 = 1;
10297 END//
10298 ERROR 42000: You 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';
10299 declare exit handler for exists set @var2' at line 3
10300 DROP PROCEDURE IF EXISTS sp1;
10301 Warnings:
10302 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10303 CREATE PROCEDURE sp1( )
10304 BEGIN
10305 declare exit condition for sqlstate '02000';
10306 declare exit handler for exit set @var2 = 1;
10307 END//
10308 ERROR 42000: You 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';
10309 declare exit handler for exit set @var2 = 1;
10310 END' at line 3
10311 DROP PROCEDURE IF EXISTS sp1;
10312 Warnings:
10313 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10314 CREATE PROCEDURE sp1( )
10315 BEGIN
10316 declare explain condition for sqlstate '02000';
10317 declare exit handler for explain set @var2 = 1;
10318 END//
10319 ERROR 42000: You 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';
10320 declare exit handler for explain set @va' at line 3
10321 DROP PROCEDURE IF EXISTS sp1;
10322 Warnings:
10323 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10324 CREATE PROCEDURE sp1( )
10325 BEGIN
10326 declare false condition for sqlstate '02000';
10327 declare exit handler for false set @var2 = 1;
10328 END//
10329 ERROR 42000: You 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';
10330 declare exit handler for false set @var2 =' at line 3
10331 DROP PROCEDURE IF EXISTS sp1;
10332 Warnings:
10333 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10334 CREATE PROCEDURE sp1( )
10335 BEGIN
10336 declare fetch condition for sqlstate '02000';
10337 declare exit handler for fetch set @var2 = 1;
10338 END//
10339 ERROR 42000: You 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';
10340 declare exit handler for fetch set @var2 =' at line 3
10341 DROP PROCEDURE IF EXISTS sp1;
10342 Warnings:
10343 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10344 CREATE PROCEDURE sp1( )
10345 BEGIN
10346 declare float condition for sqlstate '02000';
10347 declare exit handler for float set @var2 = 1;
10348 END//
10349 ERROR 42000: You 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';
10350 declare exit handler for float set @var2 =' at line 3
10351 DROP PROCEDURE IF EXISTS sp1;
10352 Warnings:
10353 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10354 CREATE PROCEDURE sp1( )
10355 BEGIN
10356 declare float4 condition for sqlstate '02000';
10357 declare exit handler for add set @var2 = 1;
10358 END//
10359 ERROR 42000: You 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';
10360 declare exit handler for add set @var2 = ' at line 3
10361 DROP PROCEDURE IF EXISTS sp1;
10362 Warnings:
10363 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10364 CREATE PROCEDURE sp1( )
10365 BEGIN
10366 declare float8 condition for sqlstate '02000';
10367 declare exit handler for add set @var2 = 1;
10368 END//
10369 ERROR 42000: You 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';
10370 declare exit handler for add set @var2 = ' at line 3
10371 DROP PROCEDURE IF EXISTS sp1;
10372 Warnings:
10373 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10374 CREATE PROCEDURE sp1( )
10375 BEGIN
10376 declare for condition for sqlstate '02000';
10377 declare exit handler for for set @var2 = 1;
10378 END//
10379 ERROR 42000: You 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';
10380 declare exit handler for for set @var2 = 1;
10381 ' at line 3
10382 DROP PROCEDURE IF EXISTS sp1;
10383 Warnings:
10384 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10385 CREATE PROCEDURE sp1( )
10386 BEGIN
10387 declare force condition for sqlstate '02000';
10388 declare exit handler for force set @var2 = 1;
10389 END//
10390 ERROR 42000: You 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';
10391 declare exit handler for force set @var2 =' at line 3
10392 DROP PROCEDURE IF EXISTS sp1;
10393 Warnings:
10394 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10395 CREATE PROCEDURE sp1( )
10396 BEGIN
10397 declare foreign condition for sqlstate '02000';
10398 declare exit handler for foreign set @var2 = 1;
10399 END//
10400 ERROR 42000: You 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';
10401 declare exit handler for foreign set @va' at line 3
10402 DROP PROCEDURE IF EXISTS sp1;
10403 Warnings:
10404 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10405 CREATE PROCEDURE sp1( )
10406 BEGIN
10407 declare from condition for sqlstate '02000';
10408 declare exit handler for from set @var2 = 1;
10409 END//
10410 ERROR 42000: You 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';
10411 declare exit handler for from set @var2 = 1' at line 3
10412 DROP PROCEDURE IF EXISTS sp1;
10413 Warnings:
10414 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10415 CREATE PROCEDURE sp1( )
10416 BEGIN
10417 declare fulltext condition for sqlstate '02000';
10418 declare exit handler for fulltext set @var2 = 1;
10419 END//
10420 ERROR 42000: You 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';
10421 declare exit handler for fulltext set @' at line 3
10422 DROP PROCEDURE IF EXISTS sp1;
10423 Warnings:
10424 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10425 CREATE PROCEDURE sp1( )
10426 BEGIN
10427 declare grant condition for sqlstate '02000';
10428 declare exit handler for grant set @var2 = 1;
10429 END//
10430 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000';
10431 declare exit handler for grant set @var2 =' at line 3
10432 DROP PROCEDURE IF EXISTS sp1;
10433 Warnings:
10434 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10435 CREATE PROCEDURE sp1( )
10436 BEGIN
10437 declare group condition for sqlstate '02000';
10438 declare exit handler for group set @var2 = 1;
10439 END//
10440 ERROR 42000: You 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';
10441 declare exit handler for group set @var2 =' at line 3
10442 DROP PROCEDURE IF EXISTS sp1;
10443 Warnings:
10444 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10445 CREATE PROCEDURE sp1( )
10446 BEGIN
10447 declare having condition for sqlstate '02000';
10448 declare exit handler for having set @var2 = 1;
10449 END//
10450 ERROR 42000: You 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';
10451 declare exit handler for having set @var2' at line 3
10452 DROP PROCEDURE IF EXISTS sp1;
10453 Warnings:
10454 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10455 CREATE PROCEDURE sp1( )
10456 BEGIN
10457 declare high_priority condition for sqlstate '02000';
10458 declare exit handler for high_priority set @var2 = 1;
10459 END//
10460 ERROR 42000: You 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';
10461 declare exit handler for high_prio' at line 3
10462 DROP PROCEDURE IF EXISTS sp1;
10463 Warnings:
10464 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10465 CREATE PROCEDURE sp1( )
10466 BEGIN
10467 declare hour_microsecond condition for sqlstate '02000';
10468 declare exit handler for hour_microsecond set @var2 = 1;
10469 END//
10470 ERROR 42000: You 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';
10471 declare exit handler for hour_m' at line 3
10472 DROP PROCEDURE IF EXISTS sp1;
10473 Warnings:
10474 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10475 CREATE PROCEDURE sp1( )
10476 BEGIN
10477 declare hour_minute condition for sqlstate '02000';
10478 declare exit handler for hour_minute set @var2 = 1;
10479 END//
10480 ERROR 42000: You 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';
10481 declare exit handler for hour_minute' at line 3
10482 DROP PROCEDURE IF EXISTS sp1;
10483 Warnings:
10484 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10485 CREATE PROCEDURE sp1( )
10486 BEGIN
10487 declare hour_second condition for sqlstate '02000';
10488 declare exit handler for hour_second set @var2 = 1;
10489 END//
10490 ERROR 42000: You 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';
10491 declare exit handler for hour_second' at line 3
10492 DROP PROCEDURE IF EXISTS sp1;
10493 Warnings:
10494 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10495 CREATE PROCEDURE sp1( )
10496 BEGIN
10497 declare if condition for sqlstate '02000';
10498 declare exit handler for if set @var2 = 1;
10499 END//
10500 ERROR 42000: You 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';
10501 declare exit handler for if set @var2 = 1;
10502 EN' at line 3
10503 DROP PROCEDURE IF EXISTS sp1;
10504 Warnings:
10505 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10506 CREATE PROCEDURE sp1( )
10507 BEGIN
10508 declare ignore condition for sqlstate '02000';
10509 declare exit handler for ignore set @var2 = 1;
10510 END//
10511 ERROR 42000: You 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';
10512 declare exit handler for ignore set @var2' at line 3
10513 DROP PROCEDURE IF EXISTS sp1;
10514 Warnings:
10515 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10516 CREATE PROCEDURE sp1( )
10517 BEGIN
10518 declare in condition for sqlstate '02000';
10519 declare exit handler for in set @var2 = 1;
10520 END//
10521 ERROR 42000: You 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';
10522 declare exit handler for in set @var2 = 1;
10523 EN' at line 3
10524 DROP PROCEDURE IF EXISTS sp1;
10525 Warnings:
10526 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10527 CREATE PROCEDURE sp1( )
10528 BEGIN
10529 declare index condition for sqlstate '02000';
10530 declare exit handler for index set @var2 = 1;
10531 END//
10532 ERROR 42000: You 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';
10533 declare exit handler for index set @var2 =' at line 3
10534 DROP PROCEDURE IF EXISTS sp1;
10535 Warnings:
10536 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10537 CREATE PROCEDURE sp1( )
10538 BEGIN
10539 declare infile condition for sqlstate '02000';
10540 declare exit handler for infile set @var2 = 1;
10541 END//
10542 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000';
10543 declare exit handler for infile set @var2' at line 3
10544 DROP PROCEDURE IF EXISTS sp1;
10545 Warnings:
10546 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10547 CREATE PROCEDURE sp1( )
10548 BEGIN
10549 declare inner condition for sqlstate '02000';
10550 declare exit handler for inner set @var2 = 1;
10551 END//
10552 ERROR 42000: You 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';
10553 declare exit handler for inner set @var2 =' at line 3
10554 DROP PROCEDURE IF EXISTS sp1;
10555 Warnings:
10556 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10557 CREATE PROCEDURE sp1( )
10558 BEGIN
10559 declare inout condition for sqlstate '02000';
10560 declare exit handler for inout set @var2 = 1;
10561 END//
10562 ERROR 42000: You 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';
10563 declare exit handler for inout set @var2 =' at line 3
10564 DROP PROCEDURE IF EXISTS sp1;
10565 Warnings:
10566 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10567 CREATE PROCEDURE sp1( )
10568 BEGIN
10569 declare insensitive condition for sqlstate '02000';
10570 declare exit handler for insensitive set @var2 = 1;
10571 END//
10572 ERROR 42000: You 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';
10573 declare exit handler for insensitive' at line 3
10574 DROP PROCEDURE IF EXISTS sp1;
10575 Warnings:
10576 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10577 CREATE PROCEDURE sp1( )
10578 BEGIN
10579 declare insert condition for sqlstate '02000';
10580 declare exit handler for insert set @var2 = 1;
10581 END//
10582 ERROR 42000: You 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';
10583 declare exit handler for insert set @var2' at line 3
10584 DROP PROCEDURE IF EXISTS sp1;
10585 Warnings:
10586 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10587 CREATE PROCEDURE sp1( )
10588 BEGIN
10589 declare int condition for sqlstate '02000';
10590 declare exit handler for int set @var2 = 1;
10591 END//
10592 ERROR 42000: You 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';
10593 declare exit handler for int set @var2 = 1;
10594 ' at line 3
10595 DROP PROCEDURE IF EXISTS sp1;
10596 Warnings:
10597 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10598 CREATE PROCEDURE sp1( )
10599 BEGIN
10600 declare int1 condition for sqlstate '02000';
10601 declare exit handler for int set @var2 = 1;
10602 END//
10603 ERROR 42000: You 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';
10604 declare exit handler for int set @var2 = 1;' at line 3
10605 DROP PROCEDURE IF EXISTS sp1;
10606 Warnings:
10607 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10608 CREATE PROCEDURE sp1( )
10609 BEGIN
10610 declare int2 condition for sqlstate '02000';
10611 declare exit handler for int set @var2 = 1;
10612 END//
10613 ERROR 42000: You 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';
10614 declare exit handler for int set @var2 = 1;' at line 3
10615 DROP PROCEDURE IF EXISTS sp1;
10616 Warnings:
10617 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10618 CREATE PROCEDURE sp1( )
10619 BEGIN
10620 declare int3 condition for sqlstate '02000';
10621 declare exit handler for int set @var2 = 1;
10622 END//
10623 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000';
10624 declare exit handler for int set @var2 = 1;' at line 3
10625 DROP PROCEDURE IF EXISTS sp1;
10626 Warnings:
10627 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10628 CREATE PROCEDURE sp1( )
10629 BEGIN
10630 declare int4 condition for sqlstate '02000';
10631 declare exit handler for int set @var2 = 1;
10632 END//
10633 ERROR 42000: You 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';
10634 declare exit handler for int set @var2 = 1;' at line 3
10635 DROP PROCEDURE IF EXISTS sp1;
10636 Warnings:
10637 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10638 CREATE PROCEDURE sp1( )
10639 BEGIN
10640 declare int8 condition for sqlstate '02000';
10641 declare exit handler for int set @var2 = 1;
10642 END//
10643 ERROR 42000: You 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';
10644 declare exit handler for int set @var2 = 1;' at line 3
10645 DROP PROCEDURE IF EXISTS sp1;
10646 Warnings:
10647 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10648 CREATE PROCEDURE sp1( )
10649 BEGIN
10650 declare integer condition for sqlstate '02000';
10651 declare exit handler for integer set @var2 = 1;
10652 END//
10653 ERROR 42000: You 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';
10654 declare exit handler for integer set @va' at line 3
10655 DROP PROCEDURE IF EXISTS sp1;
10656 Warnings:
10657 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10658 CREATE PROCEDURE sp1( )
10659 BEGIN
10660 declare interval condition for sqlstate '02000';
10661 declare exit handler for interval set @var2 = 1;
10662 END//
10663 ERROR 42000: You 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';
10664 declare exit handler for interval set @' at line 3
10665 DROP PROCEDURE IF EXISTS sp1;
10666 Warnings:
10667 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10668 CREATE PROCEDURE sp1( )
10669 BEGIN
10670 declare into condition for sqlstate '02000';
10671 declare exit handler for into set @var2 = 1;
10672 END//
10673 ERROR 42000: You 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';
10674 declare exit handler for into set @var2 = 1' at line 3
10675 DROP PROCEDURE IF EXISTS sp1;
10676 Warnings:
10677 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10678 CREATE PROCEDURE sp1( )
10679 BEGIN
10680 declare is condition for sqlstate '02000';
10681 declare exit handler for is set @var2 = 1;
10682 END//
10683 ERROR 42000: You 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';
10684 declare exit handler for is set @var2 = 1;
10685 EN' at line 3
10686 DROP PROCEDURE IF EXISTS sp1;
10687 Warnings:
10688 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10689 CREATE PROCEDURE sp1( )
10690 BEGIN
10691 declare iterate condition for sqlstate '02000';
10692 declare exit handler for iterate set @var2 = 1;
10693 END//
10694 ERROR 42000: You 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';
10695 declare exit handler for iterate set @va' at line 3
10696 DROP PROCEDURE IF EXISTS sp1;
10697 Warnings:
10698 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10699 CREATE PROCEDURE sp1( )
10700 BEGIN
10701 declare join condition for sqlstate '02000';
10702 declare exit handler for join set @var2 = 1;
10703 END//
10704 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000';
10705 declare exit handler for join set @var2 = 1' at line 3
10706 DROP PROCEDURE IF EXISTS sp1;
10707 Warnings:
10708 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10709 CREATE PROCEDURE sp1( )
10710 BEGIN
10711 declare key condition for sqlstate '02000';
10712 declare exit handler for key set @var2 = 1;
10713 END//
10714 ERROR 42000: You 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';
10715 declare exit handler for key set @var2 = 1;
10716 ' at line 3
10717 DROP PROCEDURE IF EXISTS sp1;
10718 Warnings:
10719 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10720 CREATE PROCEDURE sp1( )
10721 BEGIN
10722 declare keys condition for sqlstate '02000';
10723 declare exit handler for keys set @var2 = 1;
10724 END//
10725 ERROR 42000: You 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';
10726 declare exit handler for keys set @var2 = 1' at line 3
10727 DROP PROCEDURE IF EXISTS sp1;
10728 Warnings:
10729 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10730 CREATE PROCEDURE sp1( )
10731 BEGIN
10732 declare kill condition for sqlstate '02000';
10733 declare exit handler for kill set @var2 = 1;
10734 END//
10735 ERROR 42000: You 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';
10736 declare exit handler for kill set @var2 = 1' at line 3
10737 DROP PROCEDURE IF EXISTS sp1;
10738 Warnings:
10739 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10740 CREATE PROCEDURE sp1( )
10741 BEGIN
10742 declare leading condition for sqlstate '02000';
10743 declare exit handler for leading set @var2 = 1;
10744 END//
10745 ERROR 42000: You 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';
10746 declare exit handler for leading set @va' at line 3
10747 DROP PROCEDURE IF EXISTS sp1;
10748 Warnings:
10749 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10750 CREATE PROCEDURE sp1( )
10751 BEGIN
10752 declare leave condition for sqlstate '02000';
10753 declare exit handler for leave set @var2 = 1;
10754 END//
10755 ERROR 42000: You 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';
10756 declare exit handler for leave set @var2 =' at line 3
10757 DROP PROCEDURE IF EXISTS sp1;
10758 Warnings:
10759 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10760 CREATE PROCEDURE sp1( )
10761 BEGIN
10762 declare left condition for sqlstate '02000';
10763 declare exit handler for left set @var2 = 1;
10764 END//
10765 ERROR 42000: You 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';
10766 declare exit handler for left set @var2 = 1' at line 3
10767 DROP PROCEDURE IF EXISTS sp1;
10768 Warnings:
10769 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10770 CREATE PROCEDURE sp1( )
10771 BEGIN
10772 declare like condition for sqlstate '02000';
10773 declare exit handler for like set @var2 = 1;
10774 END//
10775 ERROR 42000: You 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';
10776 declare exit handler for like set @var2 = 1' at line 3
10777 DROP PROCEDURE IF EXISTS sp1;
10778 Warnings:
10779 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10780 CREATE PROCEDURE sp1( )
10781 BEGIN
10782 declare limit condition for sqlstate '02000';
10783 declare exit handler for limit set @var2 = 1;
10784 END//
10785 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000';
10786 declare exit handler for limit set @var2 =' at line 3
10787 DROP PROCEDURE IF EXISTS sp1;
10788 Warnings:
10789 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10790 CREATE PROCEDURE sp1( )
10791 BEGIN
10792 declare linear condition for sqlstate '02000';
10793 declare exit handler for int set @var2 = 1;
10794 END//
10795 ERROR 42000: You 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';
10796 declare exit handler for int set @var2 = ' at line 3
10797 DROP PROCEDURE IF EXISTS sp1;
10798 Warnings:
10799 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10800 CREATE PROCEDURE sp1( )
10801 BEGIN
10802 declare lines condition for sqlstate '02000';
10803 declare exit handler for lines set @var2 = 1;
10804 END//
10805 ERROR 42000: You 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';
10806 declare exit handler for lines set @var2 =' at line 3
10807 DROP PROCEDURE IF EXISTS sp1;
10808 Warnings:
10809 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10810 CREATE PROCEDURE sp1( )
10811 BEGIN
10812 declare load condition for sqlstate '02000';
10813 declare exit handler for load set @var2 = 1;
10814 END//
10815 ERROR 42000: You 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';
10816 declare exit handler for load set @var2 = 1' at line 3
10817 DROP PROCEDURE IF EXISTS sp1;
10818 Warnings:
10819 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10820 CREATE PROCEDURE sp1( )
10821 BEGIN
10822 declare localtime condition for sqlstate '02000';
10823 declare exit handler for localtime set @var2 = 1;
10824 END//
10825 ERROR 42000: You 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';
10826 declare exit handler for localtime set' at line 3
10827 DROP PROCEDURE IF EXISTS sp1;
10828 Warnings:
10829 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10830 CREATE PROCEDURE sp1( )
10831 BEGIN
10832 declare localtimestamp condition for sqlstate '02000';
10833 declare exit handler for localtimestamp set @var2 = 1;
10834 END//
10835 ERROR 42000: You 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';
10836 declare exit handler for localtim' at line 3
10837 DROP PROCEDURE IF EXISTS sp1;
10838 Warnings:
10839 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10840 CREATE PROCEDURE sp1( )
10841 BEGIN
10842 declare lock condition for sqlstate '02000';
10843 declare exit handler for lock set @var2 = 1;
10844 END//
10845 ERROR 42000: You 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';
10846 declare exit handler for lock set @var2 = 1' at line 3
10847 DROP PROCEDURE IF EXISTS sp1;
10848 Warnings:
10849 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10850 CREATE PROCEDURE sp1( )
10851 BEGIN
10852 declare long condition for sqlstate '02000';
10853 declare exit handler for long set @var2 = 1;
10854 END//
10855 ERROR 42000: You 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';
10856 declare exit handler for long set @var2 = 1' at line 3
10857 DROP PROCEDURE IF EXISTS sp1;
10858 Warnings:
10859 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10860 CREATE PROCEDURE sp1( )
10861 BEGIN
10862 declare longblob condition for sqlstate '02000';
10863 declare exit handler for longblob set @var2 = 1;
10864 END//
10865 ERROR 42000: You 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';
10866 declare exit handler for longblob set @' at line 3
10867 DROP PROCEDURE IF EXISTS sp1;
10868 Warnings:
10869 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10870 CREATE PROCEDURE sp1( )
10871 BEGIN
10872 declare longtext condition for sqlstate '02000';
10873 declare exit handler for longtext set @var2 = 1;
10874 END//
10875 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000';
10876 declare exit handler for longtext set @' at line 3
10877 DROP PROCEDURE IF EXISTS sp1;
10878 Warnings:
10879 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10880 CREATE PROCEDURE sp1( )
10881 BEGIN
10882 declare loop condition for sqlstate '02000';
10883 declare exit handler for loop set @var2 = 1;
10884 END//
10885 ERROR 42000: You 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';
10886 declare exit handler for loop set @var2 = 1' at line 3
10887 DROP PROCEDURE IF EXISTS sp1;
10888 Warnings:
10889 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10890 CREATE PROCEDURE sp1( )
10891 BEGIN
10892 declare low_priority condition for sqlstate '02000';
10893 declare exit handler for low_priority set @var2 = 1;
10894 END//
10895 ERROR 42000: You 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';
10896 declare exit handler for low_priori' at line 3
10897 DROP PROCEDURE IF EXISTS sp1;
10898 Warnings:
10899 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10900 CREATE PROCEDURE sp1( )
10901 BEGIN
10902 declare master_ssl_verify_server_cert condition for sqlstate '02000';
10903 declare exit handler for int set @var2 = 1;
10904 END//
10905 ERROR 42000: You 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';
10906 declare exit handl' at line 3
10907 DROP PROCEDURE IF EXISTS sp1;
10908 Warnings:
10909 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10910 CREATE PROCEDURE sp1( )
10911 BEGIN
10912 declare match condition for sqlstate '02000';
10913 declare exit handler for match set @var2 = 1;
10914 END//
10915 ERROR 42000: You 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';
10916 declare exit handler for match set @var2 =' at line 3
10917 DROP PROCEDURE IF EXISTS sp1;
10918 Warnings:
10919 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10920 CREATE PROCEDURE sp1( )
10921 BEGIN
10922 declare mediumblob condition for sqlstate '02000';
10923 declare exit handler for mediumblob set @var2 = 1;
10924 END//
10925 ERROR 42000: You 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';
10926 declare exit handler for mediumblob s' at line 3
10927 DROP PROCEDURE IF EXISTS sp1;
10928 Warnings:
10929 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10930 CREATE PROCEDURE sp1( )
10931 BEGIN
10932 declare mediumint condition for sqlstate '02000';
10933 declare exit handler for mediumint set @var2 = 1;
10934 END//
10935 ERROR 42000: You 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';
10936 declare exit handler for mediumint set' at line 3
10937 DROP PROCEDURE IF EXISTS sp1;
10938 Warnings:
10939 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10940 CREATE PROCEDURE sp1( )
10941 BEGIN
10942 declare mediumtext condition for sqlstate '02000';
10943 declare exit handler for mediumtext set @var2 = 1;
10944 END//
10945 ERROR 42000: You 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';
10946 declare exit handler for mediumtext s' at line 3
10947 DROP PROCEDURE IF EXISTS sp1;
10948 Warnings:
10949 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10950 CREATE PROCEDURE sp1( )
10951 BEGIN
10952 declare middleint condition for sqlstate '02000';
10953 declare exit handler for middleint set @var2 = 1;
10954 END//
10955 ERROR 42000: You 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';
10956 declare exit handler for middleint set' at line 3
10957 DROP PROCEDURE IF EXISTS sp1;
10958 Warnings:
10959 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10960 CREATE PROCEDURE sp1( )
10961 BEGIN
10962 declare minute_microsecond condition for sqlstate '02000';
10963 declare exit handler for minute_microsecond set @var2 = 1;
10964 END//
10965 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
10966 declare exit handler for minu' at line 3
10967 DROP PROCEDURE IF EXISTS sp1;
10968 Warnings:
10969 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10970 CREATE PROCEDURE sp1( )
10971 BEGIN
10972 declare minute_second condition for sqlstate '02000';
10973 declare exit handler for minute_second set @var2 = 1;
10974 END//
10975 ERROR 42000: You 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';
10976 declare exit handler for minute_se' at line 3
10977 DROP PROCEDURE IF EXISTS sp1;
10978 Warnings:
10979 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10980 CREATE PROCEDURE sp1( )
10981 BEGIN
10982 declare mod condition for sqlstate '02000';
10983 declare exit handler for mod set @var2 = 1;
10984 END//
10985 ERROR 42000: You 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';
10986 declare exit handler for mod set @var2 = 1;
10987 ' at line 3
10988 DROP PROCEDURE IF EXISTS sp1;
10989 Warnings:
10990 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10991 CREATE PROCEDURE sp1( )
10992 BEGIN
10993 declare modifies condition for sqlstate '02000';
10994 declare exit handler for modifies set @var2 = 1;
10995 END//
10996 ERROR 42000: You 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';
10997 declare exit handler for modifies set @' at line 3
10998 DROP PROCEDURE IF EXISTS sp1;
10999 Warnings:
11000 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11001 CREATE PROCEDURE sp1( )
11002 BEGIN
11003 declare natural condition for sqlstate '02000';
11004 declare exit handler for natural set @var2 = 1;
11005 END//
11006 ERROR 42000: You 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';
11007 declare exit handler for natural set @va' at line 3
11008 DROP PROCEDURE IF EXISTS sp1;
11009 Warnings:
11010 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11011 CREATE PROCEDURE sp1( )
11012 BEGIN
11013 declare not condition for sqlstate '02000';
11014 declare exit handler for not set @var2 = 1;
11015 END//
11016 ERROR 42000: You 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';
11017 declare exit handler for not set @var2 = 1;
11018 ' at line 3
11019 DROP PROCEDURE IF EXISTS sp1;
11020 Warnings:
11021 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11022 CREATE PROCEDURE sp1( )
11023 BEGIN
11024 declare no_write_to_binlog condition for sqlstate '02000';
11025 declare exit handler for no_write_to_binlog set @var2 = 1;
11026 END//
11027 ERROR 42000: You 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';
11028 declare exit handler for no_w' at line 3
11029 DROP PROCEDURE IF EXISTS sp1;
11030 Warnings:
11031 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11032 CREATE PROCEDURE sp1( )
11033 BEGIN
11034 declare null condition for sqlstate '02000';
11035 declare exit handler for null set @var2 = 1;
11036 END//
11037 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000';
11038 declare exit handler for null set @var2 = 1' at line 3
11039 DROP PROCEDURE IF EXISTS sp1;
11040 Warnings:
11041 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11042 CREATE PROCEDURE sp1( )
11043 BEGIN
11044 declare numeric condition for sqlstate '02000';
11045 declare exit handler for numeric set @var2 = 1;
11046 END//
11047 ERROR 42000: You 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';
11048 declare exit handler for numeric set @va' at line 3
11049 DROP PROCEDURE IF EXISTS sp1;
11050 Warnings:
11051 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11052 CREATE PROCEDURE sp1( )
11053 BEGIN
11054 declare on condition for sqlstate '02000';
11055 declare exit handler for on set @var2 = 1;
11056 END//
11057 ERROR 42000: You 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';
11058 declare exit handler for on set @var2 = 1;
11059 EN' at line 3
11060 DROP PROCEDURE IF EXISTS sp1;
11061 Warnings:
11062 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11063 CREATE PROCEDURE sp1( )
11064 BEGIN
11065 declare optimize condition for sqlstate '02000';
11066 declare exit handler for optimize set @var2 = 1;
11067 END//
11068 ERROR 42000: You 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';
11069 declare exit handler for optimize set @' at line 3
11070 DROP PROCEDURE IF EXISTS sp1;
11071 Warnings:
11072 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11073 CREATE PROCEDURE sp1( )
11074 BEGIN
11075 declare option condition for sqlstate '02000';
11076 declare exit handler for option set @var2 = 1;
11077 END//
11078 ERROR 42000: You 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';
11079 declare exit handler for option set @var2' at line 3
11080 DROP PROCEDURE IF EXISTS sp1;
11081 Warnings:
11082 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11083 CREATE PROCEDURE sp1( )
11084 BEGIN
11085 declare optionally condition for sqlstate '02000';
11086 declare exit handler for optionally set @var2 = 1;
11087 END//
11088 ERROR 42000: You 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';
11089 declare exit handler for optionally s' at line 3
11090 DROP PROCEDURE IF EXISTS sp1;
11091 Warnings:
11092 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11093 CREATE PROCEDURE sp1( )
11094 BEGIN
11095 declare or condition for sqlstate '02000';
11096 declare exit handler for or set @var2 = 1;
11097 END//
11098 ERROR 42000: You 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';
11099 declare exit handler for or set @var2 = 1;
11100 EN' at line 3
11101 DROP PROCEDURE IF EXISTS sp1;
11102 Warnings:
11103 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11104 CREATE PROCEDURE sp1( )
11105 BEGIN
11106 declare order condition for sqlstate '02000';
11107 declare exit handler for order set @var2 = 1;
11108 END//
11109 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000';
11110 declare exit handler for order set @var2 =' at line 3
11111 DROP PROCEDURE IF EXISTS sp1;
11112 Warnings:
11113 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11114 CREATE PROCEDURE sp1( )
11115 BEGIN
11116 declare out condition for sqlstate '02000';
11117 declare exit handler for out set @var2 = 1;
11118 END//
11119 ERROR 42000: You 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';
11120 declare exit handler for out set @var2 = 1;
11121 ' at line 3
11122 DROP PROCEDURE IF EXISTS sp1;
11123 Warnings:
11124 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11125 CREATE PROCEDURE sp1( )
11126 BEGIN
11127 declare outer condition for sqlstate '02000';
11128 declare exit handler for outer set @var2 = 1;
11129 END//
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 'outer condition for sqlstate '02000';
11131 declare exit handler for outer set @var2 =' at line 3
11132 DROP PROCEDURE IF EXISTS sp1;
11133 Warnings:
11134 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11135 CREATE PROCEDURE sp1( )
11136 BEGIN
11137 declare outfile condition for sqlstate '02000';
11138 declare exit handler for outfile set @var2 = 1;
11139 END//
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 'outfile condition for sqlstate '02000';
11141 declare exit handler for outfile set @va' at line 3
11142 DROP PROCEDURE IF EXISTS sp1;
11143 Warnings:
11144 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11145 CREATE PROCEDURE sp1( )
11146 BEGIN
11147 declare precision condition for sqlstate '02000';
11148 declare exit handler for precision set @var2 = 1;
11149 END//
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 'precision condition for sqlstate '02000';
11151 declare exit handler for precision set' at line 3
11152 DROP PROCEDURE IF EXISTS sp1;
11153 Warnings:
11154 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11155 CREATE PROCEDURE sp1( )
11156 BEGIN
11157 declare primary condition for sqlstate '02000';
11158 declare exit handler for primary set @var2 = 1;
11159 END//
11160 ERROR 42000: You 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';
11161 declare exit handler for primary set @va' at line 3
11162 DROP PROCEDURE IF EXISTS sp1;
11163 Warnings:
11164 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11165 CREATE PROCEDURE sp1( )
11166 BEGIN
11167 declare procedure condition for sqlstate '02000';
11168 declare exit handler for procedure set @var2 = 1;
11169 END//
11170 ERROR 42000: You 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';
11171 declare exit handler for procedure set' at line 3
11172 DROP PROCEDURE IF EXISTS sp1;
11173 Warnings:
11174 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11175 CREATE PROCEDURE sp1( )
11176 BEGIN
11177 declare purge condition for sqlstate '02000';
11178 declare exit handler for purge set @var2 = 1;
11179 END//
11180 ERROR 42000: You 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';
11181 declare exit handler for purge set @var2 =' at line 3
11182 DROP PROCEDURE IF EXISTS sp1;
11183 Warnings:
11184 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11185 CREATE PROCEDURE sp1( )
11186 BEGIN
11187 declare range condition for sqlstate '02000';
11188 declare exit handler for int set @var2 = 1;
11189 END//
11190 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000';
11191 declare exit handler for int set @var2 = 1' at line 3
11192 DROP PROCEDURE IF EXISTS sp1;
11193 Warnings:
11194 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11195 CREATE PROCEDURE sp1( )
11196 BEGIN
11197 declare read condition for sqlstate '02000';
11198 declare exit handler for read set @var2 = 1;
11199 END//
11200 ERROR 42000: You 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';
11201 declare exit handler for read set @var2 = 1' at line 3
11202 DROP PROCEDURE IF EXISTS sp1;
11203 Warnings:
11204 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11205 CREATE PROCEDURE sp1( )
11206 BEGIN
11207 declare reads condition for sqlstate '02000';
11208 declare exit handler for reads set @var2 = 1;
11209 END//
11210 ERROR 42000: You 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';
11211 declare exit handler for reads set @var2 =' at line 3
11212 DROP PROCEDURE IF EXISTS sp1;
11213 Warnings:
11214 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11215 CREATE PROCEDURE sp1( )
11216 BEGIN
11217 declare read_only condition for sqlstate '02000';
11218 declare exit handler for int set @var2 = 1;
11219 END//
11220 ERROR 42000: You 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;
11221 END' at line 4
11222 DROP PROCEDURE IF EXISTS sp1;
11223 Warnings:
11224 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11225 CREATE PROCEDURE sp1( )
11226 BEGIN
11227 declare read_write condition for sqlstate '02000';
11228 declare exit handler for int set @var2 = 1;
11229 END//
11230 ERROR 42000: You 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';
11231 declare exit handler for int set @var' at line 3
11232 DROP PROCEDURE IF EXISTS sp1;
11233 Warnings:
11234 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11235 CREATE PROCEDURE sp1( )
11236 BEGIN
11237 declare real condition for sqlstate '02000';
11238 declare exit handler for real set @var2 = 1;
11239 END//
11240 ERROR 42000: You 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';
11241 declare exit handler for real set @var2 = 1' at line 3
11242 DROP PROCEDURE IF EXISTS sp1;
11243 Warnings:
11244 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11245 CREATE PROCEDURE sp1( )
11246 BEGIN
11247 declare references condition for sqlstate '02000';
11248 declare exit handler for references set @var2 = 1;
11249 END//
11250 ERROR 42000: You 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';
11251 declare exit handler for references s' at line 3
11252 DROP PROCEDURE IF EXISTS sp1;
11253 Warnings:
11254 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11255 CREATE PROCEDURE sp1( )
11256 BEGIN
11257 declare regexp condition for sqlstate '02000';
11258 declare exit handler for regexp set @var2 = 1;
11259 END//
11260 ERROR 42000: You 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';
11261 declare exit handler for regexp set @var2' at line 3
11262 DROP PROCEDURE IF EXISTS sp1;
11263 Warnings:
11264 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11265 CREATE PROCEDURE sp1( )
11266 BEGIN
11267 declare release condition for sqlstate '02000';
11268 declare exit handler for int set @var2 = 1;
11269 END//
11270 ERROR 42000: You 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';
11271 declare exit handler for int set @var2 =' at line 3
11272 DROP PROCEDURE IF EXISTS sp1;
11273 Warnings:
11274 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11275 CREATE PROCEDURE sp1( )
11276 BEGIN
11277 declare rename condition for sqlstate '02000';
11278 declare exit handler for rename set @var2 = 1;
11279 END//
11280 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000';
11281 declare exit handler for rename set @var2' at line 3
11282 DROP PROCEDURE IF EXISTS sp1;
11283 Warnings:
11284 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11285 CREATE PROCEDURE sp1( )
11286 BEGIN
11287 declare repeat condition for sqlstate '02000';
11288 declare exit handler for repeat set @var2 = 1;
11289 END//
11290 ERROR 42000: You 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';
11291 declare exit handler for repeat set @var2' at line 3
11292 DROP PROCEDURE IF EXISTS sp1;
11293 Warnings:
11294 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11295 CREATE PROCEDURE sp1( )
11296 BEGIN
11297 declare replace condition for sqlstate '02000';
11298 declare exit handler for replace set @var2 = 1;
11299 END//
11300 ERROR 42000: You 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';
11301 declare exit handler for replace set @va' at line 3
11302 DROP PROCEDURE IF EXISTS sp1;
11303 Warnings:
11304 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11305 CREATE PROCEDURE sp1( )
11306 BEGIN
11307 declare require condition for sqlstate '02000';
11308 declare exit handler for require set @var2 = 1;
11309 END//
11310 ERROR 42000: You 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';
11311 declare exit handler for require set @va' at line 3
11312 DROP PROCEDURE IF EXISTS sp1;
11313 Warnings:
11314 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11315 CREATE PROCEDURE sp1( )
11316 BEGIN
11317 declare restrict condition for sqlstate '02000';
11318 declare exit handler for restrict set @var2 = 1;
11319 END//
11320 ERROR 42000: You 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';
11321 declare exit handler for restrict set @' at line 3
11322 DROP PROCEDURE IF EXISTS sp1;
11323 Warnings:
11324 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11325 CREATE PROCEDURE sp1( )
11326 BEGIN
11327 declare return condition for sqlstate '02000';
11328 declare exit handler for return set @var2 = 1;
11329 END//
11330 ERROR 42000: You 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';
11331 declare exit handler for return set @var2' at line 3
11332 DROP PROCEDURE IF EXISTS sp1;
11333 Warnings:
11334 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11335 CREATE PROCEDURE sp1( )
11336 BEGIN
11337 declare revoke condition for sqlstate '02000';
11338 declare exit handler for revoke set @var2 = 1;
11339 END//
11340 ERROR 42000: You 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';
11341 declare exit handler for revoke set @var2' at line 3
11342 DROP PROCEDURE IF EXISTS sp1;
11343 Warnings:
11344 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11345 CREATE PROCEDURE sp1( )
11346 BEGIN
11347 declare right condition for sqlstate '02000';
11348 declare exit handler for right set @var2 = 1;
11349 END//
11350 ERROR 42000: You 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';
11351 declare exit handler for right set @var2 =' at line 3
11352 DROP PROCEDURE IF EXISTS sp1;
11353 Warnings:
11354 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11355 CREATE PROCEDURE sp1( )
11356 BEGIN
11357 declare rlike condition for sqlstate '02000';
11358 declare exit handler for rlike set @var2 = 1;
11359 END//
11360 ERROR 42000: You 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';
11361 declare exit handler for rlike set @var2 =' at line 3
11362 DROP PROCEDURE IF EXISTS sp1;
11363 Warnings:
11364 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11365 CREATE PROCEDURE sp1( )
11366 BEGIN
11367 declare schema condition for sqlstate '02000';
11368 declare exit handler for schema set @var2 = 1;
11369 END//
11370 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000';
11371 declare exit handler for schema set @var2' at line 3
11372 DROP PROCEDURE IF EXISTS sp1;
11373 Warnings:
11374 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11375 CREATE PROCEDURE sp1( )
11376 BEGIN
11377 declare schemas condition for sqlstate '02000';
11378 declare exit handler for schemas set @var2 = 1;
11379 END//
11380 ERROR 42000: You 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';
11381 declare exit handler for schemas set @va' at line 3
11382 DROP PROCEDURE IF EXISTS sp1;
11383 Warnings:
11384 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11385 CREATE PROCEDURE sp1( )
11386 BEGIN
11387 declare second_microsecond condition for sqlstate '02000';
11388 declare exit handler for second_microsecond set @var2 = 1;
11389 END//
11390 ERROR 42000: You 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';
11391 declare exit handler for seco' at line 3
11392 DROP PROCEDURE IF EXISTS sp1;
11393 Warnings:
11394 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11395 CREATE PROCEDURE sp1( )
11396 BEGIN
11397 declare select condition for sqlstate '02000';
11398 declare exit handler for SELECT set @var2 = 1;
11399 END//
11400 ERROR 42000: You 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';
11401 declare exit handler for SELECT set @var2' at line 3
11402 DROP PROCEDURE IF EXISTS sp1;
11403 Warnings:
11404 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11405 CREATE PROCEDURE sp1( )
11406 BEGIN
11407 declare sensitive condition for sqlstate '02000';
11408 declare exit handler for sensitive set @var2 = 1;
11409 END//
11410 ERROR 42000: You 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';
11411 declare exit handler for sensitive set' at line 3
11412 DROP PROCEDURE IF EXISTS sp1;
11413 Warnings:
11414 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11415 CREATE PROCEDURE sp1( )
11416 BEGIN
11417 declare separator condition for sqlstate '02000';
11418 declare exit handler for separator set @var2 = 1;
11419 END//
11420 ERROR 42000: You 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';
11421 declare exit handler for separator set' at line 3
11422 DROP PROCEDURE IF EXISTS sp1;
11423 Warnings:
11424 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11425 CREATE PROCEDURE sp1( )
11426 BEGIN
11427 declare set condition for sqlstate '02000';
11428 declare exit handler for set set @var2 = 1;
11429 END//
11430 ERROR 42000: You 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';
11431 declare exit handler for set set @var2 = 1;
11432 ' at line 3
11433 DROP PROCEDURE IF EXISTS sp1;
11434 Warnings:
11435 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11436 CREATE PROCEDURE sp1( )
11437 BEGIN
11438 declare show condition for sqlstate '02000';
11439 declare exit handler for show set @var2 = 1;
11440 END//
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 'show condition for sqlstate '02000';
11442 declare exit handler for show set @var2 = 1' at line 3
11443 DROP PROCEDURE IF EXISTS sp1;
11444 Warnings:
11445 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11446 CREATE PROCEDURE sp1( )
11447 BEGIN
11448 declare smallint condition for sqlstate '02000';
11449 declare exit handler for smallint set @var2 = 1;
11450 END//
11451 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000';
11452 declare exit handler for smallint set @' at line 3
11453 DROP PROCEDURE IF EXISTS sp1;
11454 Warnings:
11455 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11456 CREATE PROCEDURE sp1( )
11457 BEGIN
11458 declare spatial condition for sqlstate '02000';
11459 declare exit handler for spatial set @var2 = 1;
11460 END//
11461 ERROR 42000: You 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';
11462 declare exit handler for spatial set @va' at line 3
11463 DROP PROCEDURE IF EXISTS sp1;
11464 Warnings:
11465 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11466 CREATE PROCEDURE sp1( )
11467 BEGIN
11468 declare specific condition for sqlstate '02000';
11469 declare exit handler for specific set @var2 = 1;
11470 END//
11471 ERROR 42000: You 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';
11472 declare exit handler for specific set @' at line 3
11473 DROP PROCEDURE IF EXISTS sp1;
11474 Warnings:
11475 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11476 CREATE PROCEDURE sp1( )
11477 BEGIN
11478 declare sql condition for sqlstate '02000';
11479 declare exit handler for sql set @var2 = 1;
11480 END//
11481 ERROR 42000: You 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';
11482 declare exit handler for sql set @var2 = 1;
11483 ' at line 3
11484 DROP PROCEDURE IF EXISTS sp1;
11485 Warnings:
11486 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11487 CREATE PROCEDURE sp1( )
11488 BEGIN
11489 declare sqlexception condition for sqlstate '02000';
11490 declare exit handler for sqlexception set @var2 = 1;
11491 END//
11492 ERROR 42000: You 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';
11493 declare exit handler for sqlexcepti' at line 3
11494 DROP PROCEDURE IF EXISTS sp1;
11495 Warnings:
11496 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11497 CREATE PROCEDURE sp1( )
11498 BEGIN
11499 declare sqlstate condition for sqlstate '02000';
11500 declare exit handler for sqlstate set @var2 = 1;
11501 END//
11502 ERROR 42000: You 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';
11503 declare exit handler for sqlstate set @' at line 3
11504 DROP PROCEDURE IF EXISTS sp1;
11505 Warnings:
11506 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11507 CREATE PROCEDURE sp1( )
11508 BEGIN
11509 declare sqlwarning condition for sqlstate '02000';
11510 declare exit handler for sqlwarning set @var2 = 1;
11511 END//
11512 ERROR 42000: You 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';
11513 declare exit handler for sqlwarning s' at line 3
11514 DROP PROCEDURE IF EXISTS sp1;
11515 Warnings:
11516 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11517 CREATE PROCEDURE sp1( )
11518 BEGIN
11519 declare sql_big_result condition for sqlstate '02000';
11520 declare exit handler for sql_big_result set @var2 = 1;
11521 END//
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 'sql_big_result condition for sqlstate '02000';
11523 declare exit handler for sql_big_' at line 3
11524 DROP PROCEDURE IF EXISTS sp1;
11525 Warnings:
11526 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11527 CREATE PROCEDURE sp1( )
11528 BEGIN
11529 declare sql_calc_found_rows condition for sqlstate '02000';
11530 declare exit handler for sql_calc_found_rows set @var2 = 1;
11531 END//
11532 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
11533 declare exit handler for sql' at line 3
11534 DROP PROCEDURE IF EXISTS sp1;
11535 Warnings:
11536 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11537 CREATE PROCEDURE sp1( )
11538 BEGIN
11539 declare sql_small_result condition for sqlstate '02000';
11540 declare exit handler for sql_small_result set @var2 = 1;
11541 END//
11542 ERROR 42000: You 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';
11543 declare exit handler for sql_sm' at line 3
11544 DROP PROCEDURE IF EXISTS sp1;
11545 Warnings:
11546 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11547 CREATE PROCEDURE sp1( )
11548 BEGIN
11549 declare ssl condition for sqlstate '02000';
11550 declare exit handler for ssl set @var2 = 1;
11551 END//
11552 ERROR 42000: You 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';
11553 declare exit handler for ssl set @var2 = 1;
11554 ' at line 3
11555 DROP PROCEDURE IF EXISTS sp1;
11556 Warnings:
11557 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11558 CREATE PROCEDURE sp1( )
11559 BEGIN
11560 declare starting condition for sqlstate '02000';
11561 declare exit handler for starting set @var2 = 1;
11562 END//
11563 ERROR 42000: You 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';
11564 declare exit handler for starting set @' at line 3
11565 DROP PROCEDURE IF EXISTS sp1;
11566 Warnings:
11567 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11568 CREATE PROCEDURE sp1( )
11569 BEGIN
11570 declare straight_join condition for sqlstate '02000';
11571 declare exit handler for straight_join set @var2 = 1;
11572 END//
11573 ERROR 42000: You 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';
11574 declare exit handler for straight_' at line 3
11575 DROP PROCEDURE IF EXISTS sp1;
11576 Warnings:
11577 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11578 CREATE PROCEDURE sp1( )
11579 BEGIN
11580 declare table condition for sqlstate '02000';
11581 declare exit handler for table set @var2 = 1;
11582 END//
11583 ERROR 42000: You 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';
11584 declare exit handler for table set @var2 =' at line 3
11585 DROP PROCEDURE IF EXISTS sp1;
11586 Warnings:
11587 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11588 CREATE PROCEDURE sp1( )
11589 BEGIN
11590 declare terminated condition for sqlstate '02000';
11591 declare exit handler for terminated set @var2 = 1;
11592 END//
11593 ERROR 42000: You 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';
11594 declare exit handler for terminated s' at line 3
11595 DROP PROCEDURE IF EXISTS sp1;
11596 Warnings:
11597 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11598 CREATE PROCEDURE sp1( )
11599 BEGIN
11600 declare then condition for sqlstate '02000';
11601 declare exit handler for then set @var2 = 1;
11602 END//
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 'then condition for sqlstate '02000';
11604 declare exit handler for then set @var2 = 1' at line 3
11605 DROP PROCEDURE IF EXISTS sp1;
11606 Warnings:
11607 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11608 CREATE PROCEDURE sp1( )
11609 BEGIN
11610 declare tinyblob condition for sqlstate '02000';
11611 declare exit handler for tinyblob set @var2 = 1;
11612 END//
11613 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
11614 declare exit handler for tinyblob set @' at line 3
11615 DROP PROCEDURE IF EXISTS sp1;
11616 Warnings:
11617 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11618 CREATE PROCEDURE sp1( )
11619 BEGIN
11620 declare tinyint condition for sqlstate '02000';
11621 declare exit handler for tinyint set @var2 = 1;
11622 END//
11623 ERROR 42000: You 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';
11624 declare exit handler for tinyint set @va' at line 3
11625 DROP PROCEDURE IF EXISTS sp1;
11626 Warnings:
11627 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11628 CREATE PROCEDURE sp1( )
11629 BEGIN
11630 declare tinytext condition for sqlstate '02000';
11631 declare exit handler for tinytext set @var2 = 1;
11632 END//
11633 ERROR 42000: You 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';
11634 declare exit handler for tinytext set @' at line 3
11635 DROP PROCEDURE IF EXISTS sp1;
11636 Warnings:
11637 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11638 CREATE PROCEDURE sp1( )
11639 BEGIN
11640 declare to condition for sqlstate '02000';
11641 declare exit handler for to set @var2 = 1;
11642 END//
11643 ERROR 42000: You 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';
11644 declare exit handler for to set @var2 = 1;
11645 EN' at line 3
11646 DROP PROCEDURE IF EXISTS sp1;
11647 Warnings:
11648 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11649 CREATE PROCEDURE sp1( )
11650 BEGIN
11651 declare trailing condition for sqlstate '02000';
11652 declare exit handler for trailing set @var2 = 1;
11653 END//
11654 ERROR 42000: You 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';
11655 declare exit handler for trailing set @' at line 3
11656 DROP PROCEDURE IF EXISTS sp1;
11657 Warnings:
11658 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11659 CREATE PROCEDURE sp1( )
11660 BEGIN
11661 declare trigger condition for sqlstate '02000';
11662 declare exit handler for trigger set @var2 = 1;
11663 END//
11664 ERROR 42000: You 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';
11665 declare exit handler for trigger set @va' at line 3
11666 DROP PROCEDURE IF EXISTS sp1;
11667 Warnings:
11668 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11669 CREATE PROCEDURE sp1( )
11670 BEGIN
11671 declare true condition for sqlstate '02000';
11672 declare exit handler for true set @var2 = 1;
11673 END//
11674 ERROR 42000: You 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';
11675 declare exit handler for true set @var2 = 1' at line 3
11676 DROP PROCEDURE IF EXISTS sp1;
11677 Warnings:
11678 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11679 CREATE PROCEDURE sp1( )
11680 BEGIN
11681 declare undo condition for sqlstate '02000';
11682 declare exit handler for undo set @var2 = 1;
11683 END//
11684 ERROR 42000: You 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';
11685 declare exit handler for undo set @var2 = 1' at line 3
11686 DROP PROCEDURE IF EXISTS sp1;
11687 Warnings:
11688 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11689 CREATE PROCEDURE sp1( )
11690 BEGIN
11691 declare union condition for sqlstate '02000';
11692 declare exit handler for union set @var2 = 1;
11693 END//
11694 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000';
11695 declare exit handler for union set @var2 =' at line 3
11696 DROP PROCEDURE IF EXISTS sp1;
11697 Warnings:
11698 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11699 CREATE PROCEDURE sp1( )
11700 BEGIN
11701 declare unique condition for sqlstate '02000';
11702 declare exit handler for unique set @var2 = 1;
11703 END//
11704 ERROR 42000: You 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';
11705 declare exit handler for unique set @var2' at line 3
11706 DROP PROCEDURE IF EXISTS sp1;
11707 Warnings:
11708 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11709 CREATE PROCEDURE sp1( )
11710 BEGIN
11711 declare unlock condition for sqlstate '02000';
11712 declare exit handler for unlock set @var2 = 1;
11713 END//
11714 ERROR 42000: You 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';
11715 declare exit handler for unlock set @var2' at line 3
11716 DROP PROCEDURE IF EXISTS sp1;
11717 Warnings:
11718 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11719 CREATE PROCEDURE sp1( )
11720 BEGIN
11721 declare unsigned condition for sqlstate '02000';
11722 declare exit handler for unsigned set @var2 = 1;
11723 END//
11724 ERROR 42000: You 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';
11725 declare exit handler for unsigned set @' at line 3
11726 DROP PROCEDURE IF EXISTS sp1;
11727 Warnings:
11728 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11729 CREATE PROCEDURE sp1( )
11730 BEGIN
11731 declare update condition for sqlstate '02000';
11732 declare exit handler for update set @var2 = 1;
11733 END//
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 'update condition for sqlstate '02000';
11735 declare exit handler for update set @var2' at line 3
11736 DROP PROCEDURE IF EXISTS sp1;
11737 Warnings:
11738 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11739 CREATE PROCEDURE sp1( )
11740 BEGIN
11741 declare usage condition for sqlstate '02000';
11742 declare exit handler for usage set @var2 = 1;
11743 END//
11744 ERROR 42000: You 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';
11745 declare exit handler for usage set @var2 =' at line 3
11746 DROP PROCEDURE IF EXISTS sp1;
11747 Warnings:
11748 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11749 CREATE PROCEDURE sp1( )
11750 BEGIN
11751 declare use condition for sqlstate '02000';
11752 declare exit handler for USE set @var2 = 1;
11753 END//
11754 ERROR 42000: You 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';
11755 declare exit handler for USE set @var2 = 1;
11756 ' at line 3
11757 DROP PROCEDURE IF EXISTS sp1;
11758 Warnings:
11759 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11760 CREATE PROCEDURE sp1( )
11761 BEGIN
11762 declare using condition for sqlstate '02000';
11763 declare exit handler for using set @var2 = 1;
11764 END//
11765 ERROR 42000: You 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';
11766 declare exit handler for using set @var2 =' at line 3
11767 DROP PROCEDURE IF EXISTS sp1;
11768 Warnings:
11769 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11770 CREATE PROCEDURE sp1( )
11771 BEGIN
11772 declare utc_date condition for sqlstate '02000';
11773 declare exit handler for utc_date set @var2 = 1;
11774 END//
11775 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
11776 declare exit handler for utc_date set @' at line 3
11777 DROP PROCEDURE IF EXISTS sp1;
11778 Warnings:
11779 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11780 CREATE PROCEDURE sp1( )
11781 BEGIN
11782 declare utc_time condition for sqlstate '02000';
11783 declare exit handler for utc_time set @var2 = 1;
11784 END//
11785 ERROR 42000: You 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';
11786 declare exit handler for utc_time set @' at line 3
11787 DROP PROCEDURE IF EXISTS sp1;
11788 Warnings:
11789 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11790 CREATE PROCEDURE sp1( )
11791 BEGIN
11792 declare utc_timestamp condition for sqlstate '02000';
11793 declare exit handler for utc_timestamp set @var2 = 1;
11794 END//
11795 ERROR 42000: You 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';
11796 declare exit handler for utc_times' at line 3
11797 DROP PROCEDURE IF EXISTS sp1;
11798 Warnings:
11799 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11800 CREATE PROCEDURE sp1( )
11801 BEGIN
11802 declare values condition for sqlstate '02000';
11803 declare exit handler for values set @var2 = 1;
11804 END//
11805 ERROR 42000: You 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';
11806 declare exit handler for values set @var2' at line 3
11807 DROP PROCEDURE IF EXISTS sp1;
11808 Warnings:
11809 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11810 CREATE PROCEDURE sp1( )
11811 BEGIN
11812 declare varbinary condition for sqlstate '02000';
11813 declare exit handler for varbinary set @var2 = 1;
11814 END//
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 'varbinary condition for sqlstate '02000';
11816 declare exit handler for varbinary set' at line 3
11817 DROP PROCEDURE IF EXISTS sp1;
11818 Warnings:
11819 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11820 CREATE PROCEDURE sp1( )
11821 BEGIN
11822 declare varchar condition for sqlstate '02000';
11823 declare exit handler for varchar set @var2 = 1;
11824 END//
11825 ERROR 42000: You 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';
11826 declare exit handler for varchar set @va' at line 3
11827 DROP PROCEDURE IF EXISTS sp1;
11828 Warnings:
11829 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11830 CREATE PROCEDURE sp1( )
11831 BEGIN
11832 declare varcharacter condition for sqlstate '02000';
11833 declare exit handler for varcharacter set @var2 = 1;
11834 END//
11835 ERROR 42000: You 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';
11836 declare exit handler for varcharact' at line 3
11837 DROP PROCEDURE IF EXISTS sp1;
11838 Warnings:
11839 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11840 CREATE PROCEDURE sp1( )
11841 BEGIN
11842 declare varying condition for sqlstate '02000';
11843 declare exit handler for varying set @var2 = 1;
11844 END//
11845 ERROR 42000: You 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';
11846 declare exit handler for varying set @va' at line 3
11847 DROP PROCEDURE IF EXISTS sp1;
11848 Warnings:
11849 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11850 CREATE PROCEDURE sp1( )
11851 BEGIN
11852 declare when condition for sqlstate '02000';
11853 declare exit handler for when set @var2 = 1;
11854 END//
11855 ERROR 42000: You 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';
11856 declare exit handler for when set @var2 = 1' at line 3
11857 DROP PROCEDURE IF EXISTS sp1;
11858 Warnings:
11859 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11860 CREATE PROCEDURE sp1( )
11861 BEGIN
11862 declare where condition for sqlstate '02000';
11863 declare exit handler for where set @var2 = 1;
11864 END//
11865 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000';
11866 declare exit handler for where set @var2 =' at line 3
11867 DROP PROCEDURE IF EXISTS sp1;
11868 Warnings:
11869 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11870 CREATE PROCEDURE sp1( )
11871 BEGIN
11872 declare while condition for sqlstate '02000';
11873 declare exit handler for while set @var2 = 1;
11874 END//
11875 ERROR 42000: You 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';
11876 declare exit handler for while set @var2 =' at line 3
11877 DROP PROCEDURE IF EXISTS sp1;
11878 Warnings:
11879 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11880 CREATE PROCEDURE sp1( )
11881 BEGIN
11882 declare with condition for sqlstate '02000';
11883 declare exit handler for with set @var2 = 1;
11884 END//
11885 ERROR 42000: You 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';
11886 declare exit handler for with set @var2 = 1' at line 3
11887 DROP PROCEDURE IF EXISTS sp1;
11888 Warnings:
11889 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11890 CREATE PROCEDURE sp1( )
11891 BEGIN
11892 declare write condition for sqlstate '02000';
11893 declare exit handler for write set @var2 = 1;
11894 END//
11895 ERROR 42000: You 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';
11896 declare exit handler for write set @var2 =' at line 3
11897 DROP PROCEDURE IF EXISTS sp1;
11898 Warnings:
11899 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11900 CREATE PROCEDURE sp1( )
11901 BEGIN
11902 declare xor condition for sqlstate '02000';
11903 declare exit handler for xor set @var2 = 1;
11904 END//
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 'xor condition for sqlstate '02000';
11906 declare exit handler for xor set @var2 = 1;
11907 ' at line 3
11908 DROP PROCEDURE IF EXISTS sp1;
11909 Warnings:
11910 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11911 CREATE PROCEDURE sp1( )
11912 BEGIN
11913 declare year_month condition for sqlstate '02000';
11914 declare exit handler for year_month set @var2 = 1;
11915 END//
11916 ERROR 42000: You 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';
11917 declare exit handler for year_month s' at line 3
11918 DROP PROCEDURE IF EXISTS sp1;
11919 Warnings:
11920 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11921 CREATE PROCEDURE sp1( )
11922 BEGIN
11923 declare zerofill condition for sqlstate '02000';
11924 declare exit handler for zerofill set @var2 = 1;
11925 END//
11926 ERROR 42000: You 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';
11927 declare exit handler for zerofill set @' at line 3
11928 Warnings:
11929 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
11930
11931 Testcase :
11932 ----------
11933 Ensure that every possible type of handler may be declared for
11934 a stored procedure (continue- handler_type ).
11935 --------------------------------------------------------------------------------
11936 Warnings:
11937 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
11938 DROP PROCEDURE IF EXISTS sp1;
11939 Warnings:
11940 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11941 CREATE PROCEDURE sp1()
11942 BEGIN
11943 declare continue handler for sqlstate '23000' set @x2 = 1;
11944 set @x = 1;
11945 insert into t2(f1) values (1);
11946 set @x = 2;
11947 insert into t2(f1) values (1);
11948 set @x = 3;
11949 END//
11950 CALL sp1();
11951 DROP PROCEDURE sp1;
11952 DROP PROCEDURE IF EXISTS handler1;
11953 Warnings:
11954 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11955 CREATE PROCEDURE handler1()
11956 BEGIN
11957 declare undo handler for sqlstate '23000' set @x2 = 1;
11958 set @x = 1;
11959 insert into t values (1);
11960 set @x = 2;
11961 insert into t values (1);
11962 set @x = 3;
11963 END//
11964 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
11965 set @x = 1;
11966 insert into t values ' at line 3
11967 DROP PROCEDURE IF EXISTS handler1;
11968 Warnings:
11969 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11970 CREATE PROCEDURE handler1()
11971 BEGIN
11972 declare continueinv handler for sqlstate '2300' set @x2 = 1;
11973 set @x = 1;
11974 insert into t values (1);
11975 set @x = 2;
11976 insert into t values (1);
11977 set @x = 3;
11978 END//
11979 ERROR 42000: You 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;
11980 set @x = 1;
11981 insert into t values (1);
11982 s' at line 3
11983 DROP PROCEDURE IF EXISTS handler1;
11984 Warnings:
11985 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11986 CREATE PROCEDURE handler1()
11987 BEGIN
11988 declare undoinv handler for sqlstate '2300' set @x2 = 1;
11989 set @x = 1;
11990 insert into t values (1);
11991 set @x = 2;
11992 insert into t values (1);
11993 set @x = 3;
11994 END//
11995 ERROR 42000: You 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;
11996 set @x = 1;
11997 insert into t values (1);
11998 s' at line 3
11999 DROP PROCEDURE IF EXISTS handler1;
12000 Warnings:
12001 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
12002 CREATE PROCEDURE handler1 ()
12003 BEGIN
12004 declare exitinv handler for sqlstate '2300' set @x2 = 1;
12005 set @x = 1;
12006 insert into t values (1);
12007 set @x = 2;
12008 insert into t values (1);
12009 set @x = 3;
12010 END//
12011 ERROR 42000: You 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;
12012 set @x = 1;
12013 insert into t values (1);
12014 s' at line 3
12015 DROP PROCEDURE IF EXISTS sp1;
12016 Warnings:
12017 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12018 CREATE PROCEDURE sp1( )
12019 BEGIN
12020 declare accessible handler for sqlstate '02000' set @var2 = 1;
12021 END//
12022 ERROR 42000: You 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;
12023 END' at line 3
12024 DROP PROCEDURE IF EXISTS sp1;
12025 Warnings:
12026 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12027 CREATE PROCEDURE sp1( )
12028 BEGIN
12029 declare add handler for sqlstate '02000' set @var2 = 1;
12030 END//
12031 ERROR 42000: You 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;
12032 END' at line 3
12033 DROP PROCEDURE IF EXISTS sp1;
12034 Warnings:
12035 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12036 CREATE PROCEDURE sp1( )
12037 BEGIN
12038 declare all handler for sqlstate '02000' set @var2 = 1;
12039 END//
12040 ERROR 42000: You 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;
12041 END' at line 3
12042 DROP PROCEDURE IF EXISTS sp1;
12043 Warnings:
12044 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12045 CREATE PROCEDURE sp1( )
12046 BEGIN
12047 declare alter handler for sqlstate '02000' set @var2 = 1;
12048 END//
12049 ERROR 42000: You 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;
12050 END' at line 3
12051 DROP PROCEDURE IF EXISTS sp1;
12052 Warnings:
12053 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12054 CREATE PROCEDURE sp1( )
12055 BEGIN
12056 declare analyze handler for sqlstate '02000' set @var2 = 1;
12057 END//
12058 ERROR 42000: You 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;
12059 END' at line 3
12060 DROP PROCEDURE IF EXISTS sp1;
12061 Warnings:
12062 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12063 CREATE PROCEDURE sp1( )
12064 BEGIN
12065 declare and handler for sqlstate '02000' set @var2 = 1;
12066 END//
12067 ERROR 42000: You 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;
12068 END' at line 3
12069 DROP PROCEDURE IF EXISTS sp1;
12070 Warnings:
12071 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12072 CREATE PROCEDURE sp1( )
12073 BEGIN
12074 declare as handler for sqlstate '02000' set @var2 = 1;
12075 END//
12076 ERROR 42000: You 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;
12077 END' at line 3
12078 DROP PROCEDURE IF EXISTS sp1;
12079 Warnings:
12080 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12081 CREATE PROCEDURE sp1( )
12082 BEGIN
12083 declare asc handler for sqlstate '02000' set @var2 = 1;
12084 END//
12085 ERROR 42000: You 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;
12086 END' at line 3
12087 DROP PROCEDURE IF EXISTS sp1;
12088 Warnings:
12089 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12090 CREATE PROCEDURE sp1( )
12091 BEGIN
12092 declare asensitive handler for sqlstate '02000' set @var2 = 1;
12093 END//
12094 ERROR 42000: You 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;
12095 END' at line 3
12096 DROP PROCEDURE IF EXISTS sp1;
12097 Warnings:
12098 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12099 CREATE PROCEDURE sp1( )
12100 BEGIN
12101 declare before handler for sqlstate '02000' set @var2 = 1;
12102 END//
12103 ERROR 42000: You 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;
12104 END' at line 3
12105 DROP PROCEDURE IF EXISTS sp1;
12106 Warnings:
12107 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12108 CREATE PROCEDURE sp1( )
12109 BEGIN
12110 declare between handler for sqlstate '02000' set @var2 = 1;
12111 END//
12112 ERROR 42000: You 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;
12113 END' at line 3
12114 DROP PROCEDURE IF EXISTS sp1;
12115 Warnings:
12116 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12117 CREATE PROCEDURE sp1( )
12118 BEGIN
12119 declare bigint handler for sqlstate '02000' set @var2 = 1;
12120 END//
12121 ERROR 42000: You 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;
12122 END' at line 3
12123 DROP PROCEDURE IF EXISTS sp1;
12124 Warnings:
12125 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12126 CREATE PROCEDURE sp1( )
12127 BEGIN
12128 declare binary handler for sqlstate '02000' set @var2 = 1;
12129 END//
12130 ERROR 42000: You 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;
12131 END' at line 3
12132 DROP PROCEDURE IF EXISTS sp1;
12133 Warnings:
12134 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12135 CREATE PROCEDURE sp1( )
12136 BEGIN
12137 declare blob handler for sqlstate '02000' set @var2 = 1;
12138 END//
12139 ERROR 42000: You 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;
12140 END' at line 3
12141 DROP PROCEDURE IF EXISTS sp1;
12142 Warnings:
12143 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12144 CREATE PROCEDURE sp1( )
12145 BEGIN
12146 declare both handler for sqlstate '02000' set @var2 = 1;
12147 END//
12148 ERROR 42000: You 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;
12149 END' at line 3
12150 DROP PROCEDURE IF EXISTS sp1;
12151 Warnings:
12152 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12153 CREATE PROCEDURE sp1( )
12154 BEGIN
12155 declare by handler for sqlstate '02000' set @var2 = 1;
12156 END//
12157 ERROR 42000: You 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;
12158 END' at line 3
12159 DROP PROCEDURE IF EXISTS sp1;
12160 Warnings:
12161 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12162 CREATE PROCEDURE sp1( )
12163 BEGIN
12164 declare call handler for sqlstate '02000' set @var2 = 1;
12165 END//
12166 ERROR 42000: You 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;
12167 END' at line 3
12168 DROP PROCEDURE IF EXISTS sp1;
12169 Warnings:
12170 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12171 CREATE PROCEDURE sp1( )
12172 BEGIN
12173 declare cascade handler for sqlstate '02000' set @var2 = 1;
12174 END//
12175 ERROR 42000: You 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;
12176 END' at line 3
12177 DROP PROCEDURE IF EXISTS sp1;
12178 Warnings:
12179 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12180 CREATE PROCEDURE sp1( )
12181 BEGIN
12182 declare case handler for sqlstate '02000' set @var2 = 1;
12183 END//
12184 ERROR 42000: You 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;
12185 END' at line 3
12186 DROP PROCEDURE IF EXISTS sp1;
12187 Warnings:
12188 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12189 CREATE PROCEDURE sp1( )
12190 BEGIN
12191 declare change handler for sqlstate '02000' set @var2 = 1;
12192 END//
12193 ERROR 42000: You 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;
12194 END' at line 3
12195 DROP PROCEDURE IF EXISTS sp1;
12196 Warnings:
12197 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12198 CREATE PROCEDURE sp1( )
12199 BEGIN
12200 declare char handler for sqlstate '02000' set @var2 = 1;
12201 END//
12202 ERROR 42000: You 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;
12203 END' at line 3
12204 DROP PROCEDURE IF EXISTS sp1;
12205 Warnings:
12206 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12207 CREATE PROCEDURE sp1( )
12208 BEGIN
12209 declare character handler for sqlstate '02000' set @var2 = 1;
12210 END//
12211 ERROR 42000: You 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;
12212 END' at line 3
12213 DROP PROCEDURE IF EXISTS sp1;
12214 Warnings:
12215 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12216 CREATE PROCEDURE sp1( )
12217 BEGIN
12218 declare check handler for sqlstate '02000' set @var2 = 1;
12219 END//
12220 ERROR 42000: You 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;
12221 END' at line 3
12222 DROP PROCEDURE IF EXISTS sp1;
12223 Warnings:
12224 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12225 CREATE PROCEDURE sp1( )
12226 BEGIN
12227 declare collate handler for sqlstate '02000' set @var2 = 1;
12228 END//
12229 ERROR 42000: You 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;
12230 END' at line 3
12231 DROP PROCEDURE IF EXISTS sp1;
12232 Warnings:
12233 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12234 CREATE PROCEDURE sp1( )
12235 BEGIN
12236 declare column handler for sqlstate '02000' set @var2 = 1;
12237 END//
12238 ERROR 42000: You 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;
12239 END' at line 3
12240 DROP PROCEDURE IF EXISTS sp1;
12241 Warnings:
12242 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12243 CREATE PROCEDURE sp1( )
12244 BEGIN
12245 declare condition handler for sqlstate '02000' set @var2 = 1;
12246 END//
12247 ERROR 42000: You 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;
12248 END' at line 3
12249 DROP PROCEDURE IF EXISTS sp1;
12250 Warnings:
12251 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12252 CREATE PROCEDURE sp1( )
12253 BEGIN
12254 declare constraint handler for sqlstate '02000' set @var2 = 1;
12255 END//
12256 ERROR 42000: You 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;
12257 END' at line 3
12258 DROP PROCEDURE IF EXISTS sp1;
12259 Warnings:
12260 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12261 CREATE PROCEDURE sp1( )
12262 BEGIN
12263 declare continue handler for sqlstate '02000' set @var2 = 1;
12264 END//
12265 DROP PROCEDURE IF EXISTS sp1;
12266 CREATE PROCEDURE sp1( )
12267 BEGIN
12268 declare convert handler for sqlstate '02000' set @var2 = 1;
12269 END//
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 'convert handler for sqlstate '02000' set @var2 = 1;
12271 END' at line 3
12272 DROP PROCEDURE IF EXISTS sp1;
12273 Warnings:
12274 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12275 CREATE PROCEDURE sp1( )
12276 BEGIN
12277 declare create handler for sqlstate '02000' set @var2 = 1;
12278 END//
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 'create handler for sqlstate '02000' set @var2 = 1;
12280 END' at line 3
12281 DROP PROCEDURE IF EXISTS sp1;
12282 Warnings:
12283 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12284 CREATE PROCEDURE sp1( )
12285 BEGIN
12286 declare cross handler for sqlstate '02000' set @var2 = 1;
12287 END//
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 'cross handler for sqlstate '02000' set @var2 = 1;
12289 END' at line 3
12290 DROP PROCEDURE IF EXISTS sp1;
12291 Warnings:
12292 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12293 CREATE PROCEDURE sp1( )
12294 BEGIN
12295 declare current_date handler for sqlstate '02000' set @var2 = 1;
12296 END//
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 'current_date handler for sqlstate '02000' set @var2 = 1;
12298 END' at line 3
12299 DROP PROCEDURE IF EXISTS sp1;
12300 Warnings:
12301 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12302 CREATE PROCEDURE sp1( )
12303 BEGIN
12304 declare current_time handler for sqlstate '02000' set @var2 = 1;
12305 END//
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 'current_time handler for sqlstate '02000' set @var2 = 1;
12307 END' at line 3
12308 DROP PROCEDURE IF EXISTS sp1;
12309 Warnings:
12310 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12311 CREATE PROCEDURE sp1( )
12312 BEGIN
12313 declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
12314 END//
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 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
12316 END' at line 3
12317 DROP PROCEDURE IF EXISTS sp1;
12318 Warnings:
12319 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12320 CREATE PROCEDURE sp1( )
12321 BEGIN
12322 declare current_user handler for sqlstate '02000' set @var2 = 1;
12323 END//
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 'current_user handler for sqlstate '02000' set @var2 = 1;
12325 END' at line 3
12326 DROP PROCEDURE IF EXISTS sp1;
12327 Warnings:
12328 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12329 CREATE PROCEDURE sp1( )
12330 BEGIN
12331 declare cursor handler for sqlstate '02000' set @var2 = 1;
12332 END//
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 'cursor handler for sqlstate '02000' set @var2 = 1;
12334 END' at line 3
12335 DROP PROCEDURE IF EXISTS sp1;
12336 Warnings:
12337 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12338 CREATE PROCEDURE sp1( )
12339 BEGIN
12340 declare database handler for sqlstate '02000' set @var2 = 1;
12341 END//
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 'database handler for sqlstate '02000' set @var2 = 1;
12343 END' at line 3
12344 DROP PROCEDURE IF EXISTS sp1;
12345 Warnings:
12346 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12347 CREATE PROCEDURE sp1( )
12348 BEGIN
12349 declare databases handler for sqlstate '02000' set @var2 = 1;
12350 END//
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 'databases handler for sqlstate '02000' set @var2 = 1;
12352 END' at line 3
12353 DROP PROCEDURE IF EXISTS sp1;
12354 Warnings:
12355 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12356 CREATE PROCEDURE sp1( )
12357 BEGIN
12358 declare day_hour handler for sqlstate '02000' set @var2 = 1;
12359 END//
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 'day_hour handler for sqlstate '02000' set @var2 = 1;
12361 END' at line 3
12362 DROP PROCEDURE IF EXISTS sp1;
12363 Warnings:
12364 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12365 CREATE PROCEDURE sp1( )
12366 BEGIN
12367 declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
12368 END//
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 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
12370 END' at line 3
12371 DROP PROCEDURE IF EXISTS sp1;
12372 Warnings:
12373 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12374 CREATE PROCEDURE sp1( )
12375 BEGIN
12376 declare day_minute handler for sqlstate '02000' set @var2 = 1;
12377 END//
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 'day_minute handler for sqlstate '02000' set @var2 = 1;
12379 END' at line 3
12380 DROP PROCEDURE IF EXISTS sp1;
12381 Warnings:
12382 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12383 CREATE PROCEDURE sp1( )
12384 BEGIN
12385 declare day_second handler for sqlstate '02000' set @var2 = 1;
12386 END//
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 'day_second handler for sqlstate '02000' set @var2 = 1;
12388 END' at line 3
12389 DROP PROCEDURE IF EXISTS sp1;
12390 Warnings:
12391 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12392 CREATE PROCEDURE sp1( )
12393 BEGIN
12394 declare dec handler for sqlstate '02000' set @var2 = 1;
12395 END//
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 'dec handler for sqlstate '02000' set @var2 = 1;
12397 END' at line 3
12398 DROP PROCEDURE IF EXISTS sp1;
12399 Warnings:
12400 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12401 CREATE PROCEDURE sp1( )
12402 BEGIN
12403 declare decimal handler for sqlstate '02000' set @var2 = 1;
12404 END//
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 'decimal handler for sqlstate '02000' set @var2 = 1;
12406 END' at line 3
12407 DROP PROCEDURE IF EXISTS sp1;
12408 Warnings:
12409 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12410 CREATE PROCEDURE sp1( )
12411 BEGIN
12412 declare declare handler for sqlstate '02000' set @var2 = 1;
12413 END//
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 'declare handler for sqlstate '02000' set @var2 = 1;
12415 END' at line 3
12416 DROP PROCEDURE IF EXISTS sp1;
12417 Warnings:
12418 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12419 CREATE PROCEDURE sp1( )
12420 BEGIN
12421 declare default handler for sqlstate '02000' set @var2 = 1;
12422 END//
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 'default handler for sqlstate '02000' set @var2 = 1;
12424 END' at line 3
12425 DROP PROCEDURE IF EXISTS sp1;
12426 Warnings:
12427 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12428 CREATE PROCEDURE sp1( )
12429 BEGIN
12430 declare delayed handler for sqlstate '02000' set @var2 = 1;
12431 END//
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 'delayed handler for sqlstate '02000' set @var2 = 1;
12433 END' at line 3
12434 DROP PROCEDURE IF EXISTS sp1;
12435 Warnings:
12436 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12437 CREATE PROCEDURE sp1( )
12438 BEGIN
12439 declare delete handler for sqlstate '02000' set @var2 = 1;
12440 END//
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 'delete handler for sqlstate '02000' set @var2 = 1;
12442 END' at line 3
12443 DROP PROCEDURE IF EXISTS sp1;
12444 Warnings:
12445 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12446 CREATE PROCEDURE sp1( )
12447 BEGIN
12448 declare desc handler for sqlstate '02000' set @var2 = 1;
12449 END//
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 'desc handler for sqlstate '02000' set @var2 = 1;
12451 END' at line 3
12452 DROP PROCEDURE IF EXISTS sp1;
12453 Warnings:
12454 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12455 CREATE PROCEDURE sp1( )
12456 BEGIN
12457 declare describe handler for sqlstate '02000' set @var2 = 1;
12458 END//
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 'describe handler for sqlstate '02000' set @var2 = 1;
12460 END' at line 3
12461 DROP PROCEDURE IF EXISTS sp1;
12462 Warnings:
12463 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12464 CREATE PROCEDURE sp1( )
12465 BEGIN
12466 declare deterministic handler for sqlstate '02000' set @var2 = 1;
12467 END//
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 'deterministic handler for sqlstate '02000' set @var2 = 1;
12469 END' at line 3
12470 DROP PROCEDURE IF EXISTS sp1;
12471 Warnings:
12472 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12473 CREATE PROCEDURE sp1( )
12474 BEGIN
12475 declare distinct handler for sqlstate '02000' set @var2 = 1;
12476 END//
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 'distinct handler for sqlstate '02000' set @var2 = 1;
12478 END' at line 3
12479 DROP PROCEDURE IF EXISTS sp1;
12480 Warnings:
12481 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12482 CREATE PROCEDURE sp1( )
12483 BEGIN
12484 declare distinctrow handler for sqlstate '02000' set @var2 = 1;
12485 END//
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 'distinctrow handler for sqlstate '02000' set @var2 = 1;
12487 END' at line 3
12488 DROP PROCEDURE IF EXISTS sp1;
12489 Warnings:
12490 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12491 CREATE PROCEDURE sp1( )
12492 BEGIN
12493 declare div handler for sqlstate '02000' set @var2 = 1;
12494 END//
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 'div handler for sqlstate '02000' set @var2 = 1;
12496 END' at line 3
12497 DROP PROCEDURE IF EXISTS sp1;
12498 Warnings:
12499 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12500 CREATE PROCEDURE sp1( )
12501 BEGIN
12502 declare double handler for sqlstate '02000' set @var2 = 1;
12503 END//
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 'double handler for sqlstate '02000' set @var2 = 1;
12505 END' at line 3
12506 DROP PROCEDURE IF EXISTS sp1;
12507 Warnings:
12508 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12509 CREATE PROCEDURE sp1( )
12510 BEGIN
12511 declare drop handler for sqlstate '02000' set @var2 = 1;
12512 END//
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 'drop handler for sqlstate '02000' set @var2 = 1;
12514 END' at line 3
12515 DROP PROCEDURE IF EXISTS sp1;
12516 Warnings:
12517 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12518 CREATE PROCEDURE sp1( )
12519 BEGIN
12520 declare dual handler for sqlstate '02000' set @var2 = 1;
12521 END//
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 'dual handler for sqlstate '02000' set @var2 = 1;
12523 END' at line 3
12524 DROP PROCEDURE IF EXISTS sp1;
12525 Warnings:
12526 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12527 CREATE PROCEDURE sp1( )
12528 BEGIN
12529 declare each handler for sqlstate '02000' set @var2 = 1;
12530 END//
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 'each handler for sqlstate '02000' set @var2 = 1;
12532 END' at line 3
12533 DROP PROCEDURE IF EXISTS sp1;
12534 Warnings:
12535 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12536 CREATE PROCEDURE sp1( )
12537 BEGIN
12538 declare else handler for sqlstate '02000' set @var2 = 1;
12539 END//
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 'else handler for sqlstate '02000' set @var2 = 1;
12541 END' at line 3
12542 DROP PROCEDURE IF EXISTS sp1;
12543 Warnings:
12544 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12545 CREATE PROCEDURE sp1( )
12546 BEGIN
12547 declare elseif handler for sqlstate '02000' set @var2 = 1;
12548 END//
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 'elseif handler for sqlstate '02000' set @var2 = 1;
12550 END' at line 3
12551 DROP PROCEDURE IF EXISTS sp1;
12552 Warnings:
12553 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12554 CREATE PROCEDURE sp1( )
12555 BEGIN
12556 declare enclosed handler for sqlstate '02000' set @var2 = 1;
12557 END//
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 'enclosed handler for sqlstate '02000' set @var2 = 1;
12559 END' at line 3
12560 DROP PROCEDURE IF EXISTS sp1;
12561 Warnings:
12562 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12563 CREATE PROCEDURE sp1( )
12564 BEGIN
12565 declare escaped handler for sqlstate '02000' set @var2 = 1;
12566 END//
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 'escaped handler for sqlstate '02000' set @var2 = 1;
12568 END' at line 3
12569 DROP PROCEDURE IF EXISTS sp1;
12570 Warnings:
12571 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12572 CREATE PROCEDURE sp1( )
12573 BEGIN
12574 declare exists handler for sqlstate '02000' set @var2 = 1;
12575 END//
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 'exists handler for sqlstate '02000' set @var2 = 1;
12577 END' at line 3
12578 DROP PROCEDURE IF EXISTS sp1;
12579 Warnings:
12580 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12581 CREATE PROCEDURE sp1( )
12582 BEGIN
12583 declare exit handler for sqlstate '02000' set @var2 = 1;
12584 END//
12585 DROP PROCEDURE IF EXISTS sp1;
12586 CREATE PROCEDURE sp1( )
12587 BEGIN
12588 declare explain handler for sqlstate '02000' set @var2 = 1;
12589 END//
12590 ERROR 42000: You 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;
12591 END' at line 3
12592 DROP PROCEDURE IF EXISTS sp1;
12593 Warnings:
12594 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12595 CREATE PROCEDURE sp1( )
12596 BEGIN
12597 declare false handler for sqlstate '02000' set @var2 = 1;
12598 END//
12599 ERROR 42000: You 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;
12600 END' at line 3
12601 DROP PROCEDURE IF EXISTS sp1;
12602 Warnings:
12603 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12604 CREATE PROCEDURE sp1( )
12605 BEGIN
12606 declare fetch handler for sqlstate '02000' set @var2 = 1;
12607 END//
12608 ERROR 42000: You 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;
12609 END' at line 3
12610 DROP PROCEDURE IF EXISTS sp1;
12611 Warnings:
12612 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12613 CREATE PROCEDURE sp1( )
12614 BEGIN
12615 declare float handler for sqlstate '02000' set @var2 = 1;
12616 END//
12617 ERROR 42000: You 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;
12618 END' at line 3
12619 DROP PROCEDURE IF EXISTS sp1;
12620 Warnings:
12621 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12622 CREATE PROCEDURE sp1( )
12623 BEGIN
12624 declare float4 handler for sqlstate '02000' set @var2 = 1;
12625 END//
12626 ERROR 42000: You 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;
12627 END' at line 3
12628 DROP PROCEDURE IF EXISTS sp1;
12629 Warnings:
12630 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12631 CREATE PROCEDURE sp1( )
12632 BEGIN
12633 declare float8 handler for sqlstate '02000' set @var2 = 1;
12634 END//
12635 ERROR 42000: You 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;
12636 END' at line 3
12637 DROP PROCEDURE IF EXISTS sp1;
12638 Warnings:
12639 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12640 CREATE PROCEDURE sp1( )
12641 BEGIN
12642 declare for handler for sqlstate '02000' set @var2 = 1;
12643 END//
12644 ERROR 42000: You 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;
12645 END' at line 3
12646 DROP PROCEDURE IF EXISTS sp1;
12647 Warnings:
12648 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12649 CREATE PROCEDURE sp1( )
12650 BEGIN
12651 declare force handler for sqlstate '02000' set @var2 = 1;
12652 END//
12653 ERROR 42000: You 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;
12654 END' at line 3
12655 DROP PROCEDURE IF EXISTS sp1;
12656 Warnings:
12657 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12658 CREATE PROCEDURE sp1( )
12659 BEGIN
12660 declare foreign handler for sqlstate '02000' set @var2 = 1;
12661 END//
12662 ERROR 42000: You 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;
12663 END' at line 3
12664 DROP PROCEDURE IF EXISTS sp1;
12665 Warnings:
12666 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12667 CREATE PROCEDURE sp1( )
12668 BEGIN
12669 declare from handler for sqlstate '02000' set @var2 = 1;
12670 END//
12671 ERROR 42000: You 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;
12672 END' at line 3
12673 DROP PROCEDURE IF EXISTS sp1;
12674 Warnings:
12675 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12676 CREATE PROCEDURE sp1( )
12677 BEGIN
12678 declare fulltext handler for sqlstate '02000' set @var2 = 1;
12679 END//
12680 ERROR 42000: You 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;
12681 END' at line 3
12682 DROP PROCEDURE IF EXISTS sp1;
12683 Warnings:
12684 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12685 CREATE PROCEDURE sp1( )
12686 BEGIN
12687 declare grant handler for sqlstate '02000' set @var2 = 1;
12688 END//
12689 ERROR 42000: You 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;
12690 END' at line 3
12691 DROP PROCEDURE IF EXISTS sp1;
12692 Warnings:
12693 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12694 CREATE PROCEDURE sp1( )
12695 BEGIN
12696 declare group handler for sqlstate '02000' set @var2 = 1;
12697 END//
12698 ERROR 42000: You 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;
12699 END' at line 3
12700 DROP PROCEDURE IF EXISTS sp1;
12701 Warnings:
12702 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12703 CREATE PROCEDURE sp1( )
12704 BEGIN
12705 declare having handler for sqlstate '02000' set @var2 = 1;
12706 END//
12707 ERROR 42000: You 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;
12708 END' at line 3
12709 DROP PROCEDURE IF EXISTS sp1;
12710 Warnings:
12711 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12712 CREATE PROCEDURE sp1( )
12713 BEGIN
12714 declare high_priority handler for sqlstate '02000' set @var2 = 1;
12715 END//
12716 ERROR 42000: You 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;
12717 END' at line 3
12718 DROP PROCEDURE IF EXISTS sp1;
12719 Warnings:
12720 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12721 CREATE PROCEDURE sp1( )
12722 BEGIN
12723 declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
12724 END//
12725 ERROR 42000: You 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;
12726 END' at line 3
12727 DROP PROCEDURE IF EXISTS sp1;
12728 Warnings:
12729 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12730 CREATE PROCEDURE sp1( )
12731 BEGIN
12732 declare hour_minute handler for sqlstate '02000' set @var2 = 1;
12733 END//
12734 ERROR 42000: You 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;
12735 END' at line 3
12736 DROP PROCEDURE IF EXISTS sp1;
12737 Warnings:
12738 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12739 CREATE PROCEDURE sp1( )
12740 BEGIN
12741 declare hour_second handler for sqlstate '02000' set @var2 = 1;
12742 END//
12743 ERROR 42000: You 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;
12744 END' at line 3
12745 DROP PROCEDURE IF EXISTS sp1;
12746 Warnings:
12747 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12748 CREATE PROCEDURE sp1( )
12749 BEGIN
12750 declare if handler for sqlstate '02000' set @var2 = 1;
12751 END//
12752 ERROR 42000: You 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;
12753 END' at line 3
12754 DROP PROCEDURE IF EXISTS sp1;
12755 Warnings:
12756 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12757 CREATE PROCEDURE sp1( )
12758 BEGIN
12759 declare ignore handler for sqlstate '02000' set @var2 = 1;
12760 END//
12761 ERROR 42000: You 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;
12762 END' at line 3
12763 DROP PROCEDURE IF EXISTS sp1;
12764 Warnings:
12765 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12766 CREATE PROCEDURE sp1( )
12767 BEGIN
12768 declare in handler for sqlstate '02000' set @var2 = 1;
12769 END//
12770 ERROR 42000: You 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;
12771 END' at line 3
12772 DROP PROCEDURE IF EXISTS sp1;
12773 Warnings:
12774 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12775 CREATE PROCEDURE sp1( )
12776 BEGIN
12777 declare index handler for sqlstate '02000' set @var2 = 1;
12778 END//
12779 ERROR 42000: You 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;
12780 END' at line 3
12781 DROP PROCEDURE IF EXISTS sp1;
12782 Warnings:
12783 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12784 CREATE PROCEDURE sp1( )
12785 BEGIN
12786 declare infile handler for sqlstate '02000' set @var2 = 1;
12787 END//
12788 ERROR 42000: You 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;
12789 END' at line 3
12790 DROP PROCEDURE IF EXISTS sp1;
12791 Warnings:
12792 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12793 CREATE PROCEDURE sp1( )
12794 BEGIN
12795 declare inner handler for sqlstate '02000' set @var2 = 1;
12796 END//
12797 ERROR 42000: You 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;
12798 END' at line 3
12799 DROP PROCEDURE IF EXISTS sp1;
12800 Warnings:
12801 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12802 CREATE PROCEDURE sp1( )
12803 BEGIN
12804 declare inout handler for sqlstate '02000' set @var2 = 1;
12805 END//
12806 ERROR 42000: You 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;
12807 END' at line 3
12808 DROP PROCEDURE IF EXISTS sp1;
12809 Warnings:
12810 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12811 CREATE PROCEDURE sp1( )
12812 BEGIN
12813 declare insensitive handler for sqlstate '02000' set @var2 = 1;
12814 END//
12815 ERROR 42000: You 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;
12816 END' at line 3
12817 DROP PROCEDURE IF EXISTS sp1;
12818 Warnings:
12819 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12820 CREATE PROCEDURE sp1( )
12821 BEGIN
12822 declare insert handler for sqlstate '02000' set @var2 = 1;
12823 END//
12824 ERROR 42000: You 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;
12825 END' at line 3
12826 DROP PROCEDURE IF EXISTS sp1;
12827 Warnings:
12828 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12829 CREATE PROCEDURE sp1( )
12830 BEGIN
12831 declare int handler for sqlstate '02000' set @var2 = 1;
12832 END//
12833 ERROR 42000: You 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;
12834 END' at line 3
12835 DROP PROCEDURE IF EXISTS sp1;
12836 Warnings:
12837 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12838 CREATE PROCEDURE sp1( )
12839 BEGIN
12840 declare int1 handler for sqlstate '02000' set @var2 = 1;
12841 END//
12842 ERROR 42000: You 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;
12843 END' at line 3
12844 DROP PROCEDURE IF EXISTS sp1;
12845 Warnings:
12846 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12847 CREATE PROCEDURE sp1( )
12848 BEGIN
12849 declare int2 handler for sqlstate '02000' set @var2 = 1;
12850 END//
12851 ERROR 42000: You 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;
12852 END' at line 3
12853 DROP PROCEDURE IF EXISTS sp1;
12854 Warnings:
12855 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12856 CREATE PROCEDURE sp1( )
12857 BEGIN
12858 declare int3 handler for sqlstate '02000' set @var2 = 1;
12859 END//
12860 ERROR 42000: You 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;
12861 END' at line 3
12862 DROP PROCEDURE IF EXISTS sp1;
12863 Warnings:
12864 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12865 CREATE PROCEDURE sp1( )
12866 BEGIN
12867 declare int4 handler for sqlstate '02000' set @var2 = 1;
12868 END//
12869 ERROR 42000: You 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;
12870 END' at line 3
12871 DROP PROCEDURE IF EXISTS sp1;
12872 Warnings:
12873 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12874 CREATE PROCEDURE sp1( )
12875 BEGIN
12876 declare int8 handler for sqlstate '02000' set @var2 = 1;
12877 END//
12878 ERROR 42000: You 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;
12879 END' at line 3
12880 DROP PROCEDURE IF EXISTS sp1;
12881 Warnings:
12882 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12883 CREATE PROCEDURE sp1( )
12884 BEGIN
12885 declare integer handler for sqlstate '02000' set @var2 = 1;
12886 END//
12887 ERROR 42000: You 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;
12888 END' at line 3
12889 DROP PROCEDURE IF EXISTS sp1;
12890 Warnings:
12891 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12892 CREATE PROCEDURE sp1( )
12893 BEGIN
12894 declare interval handler for sqlstate '02000' set @var2 = 1;
12895 END//
12896 ERROR 42000: You 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;
12897 END' at line 3
12898 DROP PROCEDURE IF EXISTS sp1;
12899 Warnings:
12900 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12901 CREATE PROCEDURE sp1( )
12902 BEGIN
12903 declare into handler for sqlstate '02000' set @var2 = 1;
12904 END//
12905 ERROR 42000: You 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;
12906 END' at line 3
12907 DROP PROCEDURE IF EXISTS sp1;
12908 Warnings:
12909 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12910 CREATE PROCEDURE sp1( )
12911 BEGIN
12912 declare is handler for sqlstate '02000' set @var2 = 1;
12913 END//
12914 ERROR 42000: You 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;
12915 END' at line 3
12916 DROP PROCEDURE IF EXISTS sp1;
12917 Warnings:
12918 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12919 CREATE PROCEDURE sp1( )
12920 BEGIN
12921 declare iterate handler for sqlstate '02000' set @var2 = 1;
12922 END//
12923 ERROR 42000: You 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;
12924 END' at line 3
12925 DROP PROCEDURE IF EXISTS sp1;
12926 Warnings:
12927 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12928 CREATE PROCEDURE sp1( )
12929 BEGIN
12930 declare join handler for sqlstate '02000' set @var2 = 1;
12931 END//
12932 ERROR 42000: You 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;
12933 END' at line 3
12934 DROP PROCEDURE IF EXISTS sp1;
12935 Warnings:
12936 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12937 CREATE PROCEDURE sp1( )
12938 BEGIN
12939 declare key handler for sqlstate '02000' set @var2 = 1;
12940 END//
12941 ERROR 42000: You 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;
12942 END' at line 3
12943 DROP PROCEDURE IF EXISTS sp1;
12944 Warnings:
12945 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12946 CREATE PROCEDURE sp1( )
12947 BEGIN
12948 declare keys handler for sqlstate '02000' set @var2 = 1;
12949 END//
12950 ERROR 42000: You 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;
12951 END' at line 3
12952 DROP PROCEDURE IF EXISTS sp1;
12953 Warnings:
12954 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12955 CREATE PROCEDURE sp1( )
12956 BEGIN
12957 declare kill handler for sqlstate '02000' set @var2 = 1;
12958 END//
12959 ERROR 42000: You 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;
12960 END' at line 3
12961 DROP PROCEDURE IF EXISTS sp1;
12962 Warnings:
12963 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12964 CREATE PROCEDURE sp1( )
12965 BEGIN
12966 declare leading handler for sqlstate '02000' set @var2 = 1;
12967 END//
12968 ERROR 42000: You 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;
12969 END' at line 3
12970 DROP PROCEDURE IF EXISTS sp1;
12971 Warnings:
12972 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12973 CREATE PROCEDURE sp1( )
12974 BEGIN
12975 declare leave handler for sqlstate '02000' set @var2 = 1;
12976 END//
12977 ERROR 42000: You 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;
12978 END' at line 3
12979 DROP PROCEDURE IF EXISTS sp1;
12980 Warnings:
12981 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12982 CREATE PROCEDURE sp1( )
12983 BEGIN
12984 declare left handler for sqlstate '02000' set @var2 = 1;
12985 END//
12986 ERROR 42000: You 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;
12987 END' at line 3
12988 DROP PROCEDURE IF EXISTS sp1;
12989 Warnings:
12990 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12991 CREATE PROCEDURE sp1( )
12992 BEGIN
12993 declare like handler for sqlstate '02000' set @var2 = 1;
12994 END//
12995 ERROR 42000: You 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;
12996 END' at line 3
12997 DROP PROCEDURE IF EXISTS sp1;
12998 Warnings:
12999 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13000 CREATE PROCEDURE sp1( )
13001 BEGIN
13002 declare limit handler for sqlstate '02000' set @var2 = 1;
13003 END//
13004 ERROR 42000: You 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;
13005 END' at line 3
13006 DROP PROCEDURE IF EXISTS sp1;
13007 Warnings:
13008 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13009 CREATE PROCEDURE sp1( )
13010 BEGIN
13011 declare linear handler for sqlstate '02000' set @var2 = 1;
13012 END//
13013 ERROR 42000: You 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;
13014 END' at line 3
13015 DROP PROCEDURE IF EXISTS sp1;
13016 Warnings:
13017 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13018 CREATE PROCEDURE sp1( )
13019 BEGIN
13020 declare lines handler for sqlstate '02000' set @var2 = 1;
13021 END//
13022 ERROR 42000: You 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;
13023 END' at line 3
13024 DROP PROCEDURE IF EXISTS sp1;
13025 Warnings:
13026 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13027 CREATE PROCEDURE sp1( )
13028 BEGIN
13029 declare load handler for sqlstate '02000' set @var2 = 1;
13030 END//
13031 ERROR 42000: You 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;
13032 END' at line 3
13033 DROP PROCEDURE IF EXISTS sp1;
13034 Warnings:
13035 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13036 CREATE PROCEDURE sp1( )
13037 BEGIN
13038 declare localtime handler for sqlstate '02000' set @var2 = 1;
13039 END//
13040 ERROR 42000: You 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;
13041 END' at line 3
13042 DROP PROCEDURE IF EXISTS sp1;
13043 Warnings:
13044 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13045 CREATE PROCEDURE sp1( )
13046 BEGIN
13047 declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
13048 END//
13049 ERROR 42000: You 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;
13050 END' at line 3
13051 DROP PROCEDURE IF EXISTS sp1;
13052 Warnings:
13053 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13054 CREATE PROCEDURE sp1( )
13055 BEGIN
13056 declare lock handler for sqlstate '02000' set @var2 = 1;
13057 END//
13058 ERROR 42000: You 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;
13059 END' at line 3
13060 DROP PROCEDURE IF EXISTS sp1;
13061 Warnings:
13062 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13063 CREATE PROCEDURE sp1( )
13064 BEGIN
13065 declare long handler for sqlstate '02000' set @var2 = 1;
13066 END//
13067 ERROR 42000: You 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;
13068 END' at line 3
13069 DROP PROCEDURE IF EXISTS sp1;
13070 Warnings:
13071 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13072 CREATE PROCEDURE sp1( )
13073 BEGIN
13074 declare longblob handler for sqlstate '02000' set @var2 = 1;
13075 END//
13076 ERROR 42000: You 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;
13077 END' at line 3
13078 DROP PROCEDURE IF EXISTS sp1;
13079 Warnings:
13080 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13081 CREATE PROCEDURE sp1( )
13082 BEGIN
13083 declare longtext handler for sqlstate '02000' set @var2 = 1;
13084 END//
13085 ERROR 42000: You 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;
13086 END' at line 3
13087 DROP PROCEDURE IF EXISTS sp1;
13088 Warnings:
13089 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13090 CREATE PROCEDURE sp1( )
13091 BEGIN
13092 declare loop handler for sqlstate '02000' set @var2 = 1;
13093 END//
13094 ERROR 42000: You 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;
13095 END' at line 3
13096 DROP PROCEDURE IF EXISTS sp1;
13097 Warnings:
13098 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13099 CREATE PROCEDURE sp1( )
13100 BEGIN
13101 declare low_priority handler for sqlstate '02000' set @var2 = 1;
13102 END//
13103 ERROR 42000: You 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;
13104 END' at line 3
13105 DROP PROCEDURE IF EXISTS sp1;
13106 Warnings:
13107 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13108 CREATE PROCEDURE sp1( )
13109 BEGIN
13110 declare master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
13111 END//
13112 ERROR 42000: You 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;
13113 END' at line 3
13114 DROP PROCEDURE IF EXISTS sp1;
13115 Warnings:
13116 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13117 CREATE PROCEDURE sp1( )
13118 BEGIN
13119 declare match handler for sqlstate '02000' set @var2 = 1;
13120 END//
13121 ERROR 42000: You 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;
13122 END' at line 3
13123 DROP PROCEDURE IF EXISTS sp1;
13124 Warnings:
13125 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13126 CREATE PROCEDURE sp1( )
13127 BEGIN
13128 declare mediumblob handler for sqlstate '02000' set @var2 = 1;
13129 END//
13130 ERROR 42000: You 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;
13131 END' at line 3
13132 DROP PROCEDURE IF EXISTS sp1;
13133 Warnings:
13134 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13135 CREATE PROCEDURE sp1( )
13136 BEGIN
13137 declare mediumint handler for sqlstate '02000' set @var2 = 1;
13138 END//
13139 ERROR 42000: You 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;
13140 END' at line 3
13141 DROP PROCEDURE IF EXISTS sp1;
13142 Warnings:
13143 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13144 CREATE PROCEDURE sp1( )
13145 BEGIN
13146 declare mediumtext handler for sqlstate '02000' set @var2 = 1;
13147 END//
13148 ERROR 42000: You 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;
13149 END' at line 3
13150 DROP PROCEDURE IF EXISTS sp1;
13151 Warnings:
13152 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13153 CREATE PROCEDURE sp1( )
13154 BEGIN
13155 declare middleint handler for sqlstate '02000' set @var2 = 1;
13156 END//
13157 ERROR 42000: You 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;
13158 END' at line 3
13159 DROP PROCEDURE IF EXISTS sp1;
13160 Warnings:
13161 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13162 CREATE PROCEDURE sp1( )
13163 BEGIN
13164 declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
13165 END//
13166 ERROR 42000: You 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;
13167 END' at line 3
13168 DROP PROCEDURE IF EXISTS sp1;
13169 Warnings:
13170 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13171 CREATE PROCEDURE sp1( )
13172 BEGIN
13173 declare minute_second handler for sqlstate '02000' set @var2 = 1;
13174 END//
13175 ERROR 42000: You 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;
13176 END' at line 3
13177 DROP PROCEDURE IF EXISTS sp1;
13178 Warnings:
13179 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13180 CREATE PROCEDURE sp1( )
13181 BEGIN
13182 declare mod handler for sqlstate '02000' set @var2 = 1;
13183 END//
13184 ERROR 42000: You 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;
13185 END' at line 3
13186 DROP PROCEDURE IF EXISTS sp1;
13187 Warnings:
13188 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13189 CREATE PROCEDURE sp1( )
13190 BEGIN
13191 declare modifies handler for sqlstate '02000' set @var2 = 1;
13192 END//
13193 ERROR 42000: You 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;
13194 END' at line 3
13195 DROP PROCEDURE IF EXISTS sp1;
13196 Warnings:
13197 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13198 CREATE PROCEDURE sp1( )
13199 BEGIN
13200 declare natural handler for sqlstate '02000' set @var2 = 1;
13201 END//
13202 ERROR 42000: You 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;
13203 END' at line 3
13204 DROP PROCEDURE IF EXISTS sp1;
13205 Warnings:
13206 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13207 CREATE PROCEDURE sp1( )
13208 BEGIN
13209 declare not handler for sqlstate '02000' set @var2 = 1;
13210 END//
13211 ERROR 42000: You 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;
13212 END' at line 3
13213 DROP PROCEDURE IF EXISTS sp1;
13214 Warnings:
13215 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13216 CREATE PROCEDURE sp1( )
13217 BEGIN
13218 declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
13219 END//
13220 ERROR 42000: You 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;
13221 END' at line 3
13222 DROP PROCEDURE IF EXISTS sp1;
13223 Warnings:
13224 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13225 CREATE PROCEDURE sp1( )
13226 BEGIN
13227 declare null handler for sqlstate '02000' set @var2 = 1;
13228 END//
13229 ERROR 42000: You 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;
13230 END' at line 3
13231 DROP PROCEDURE IF EXISTS sp1;
13232 Warnings:
13233 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13234 CREATE PROCEDURE sp1( )
13235 BEGIN
13236 declare numeric handler for sqlstate '02000' set @var2 = 1;
13237 END//
13238 ERROR 42000: You 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;
13239 END' at line 3
13240 DROP PROCEDURE IF EXISTS sp1;
13241 Warnings:
13242 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13243 CREATE PROCEDURE sp1( )
13244 BEGIN
13245 declare on handler for sqlstate '02000' set @var2 = 1;
13246 END//
13247 ERROR 42000: You 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;
13248 END' at line 3
13249 DROP PROCEDURE IF EXISTS sp1;
13250 Warnings:
13251 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13252 CREATE PROCEDURE sp1( )
13253 BEGIN
13254 declare optimize handler for sqlstate '02000' set @var2 = 1;
13255 END//
13256 ERROR 42000: You 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;
13257 END' at line 3
13258 DROP PROCEDURE IF EXISTS sp1;
13259 Warnings:
13260 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13261 CREATE PROCEDURE sp1( )
13262 BEGIN
13263 declare option handler for sqlstate '02000' set @var2 = 1;
13264 END//
13265 ERROR 42000: You 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;
13266 END' at line 3
13267 DROP PROCEDURE IF EXISTS sp1;
13268 Warnings:
13269 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13270 CREATE PROCEDURE sp1( )
13271 BEGIN
13272 declare optionally handler for sqlstate '02000' set @var2 = 1;
13273 END//
13274 ERROR 42000: You 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;
13275 END' at line 3
13276 DROP PROCEDURE IF EXISTS sp1;
13277 Warnings:
13278 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13279 CREATE PROCEDURE sp1( )
13280 BEGIN
13281 declare or handler for sqlstate '02000' set @var2 = 1;
13282 END//
13283 ERROR 42000: You 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;
13284 END' at line 3
13285 DROP PROCEDURE IF EXISTS sp1;
13286 Warnings:
13287 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13288 CREATE PROCEDURE sp1( )
13289 BEGIN
13290 declare order handler for sqlstate '02000' set @var2 = 1;
13291 END//
13292 ERROR 42000: You 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;
13293 END' at line 3
13294 DROP PROCEDURE IF EXISTS sp1;
13295 Warnings:
13296 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13297 CREATE PROCEDURE sp1( )
13298 BEGIN
13299 declare out handler for sqlstate '02000' set @var2 = 1;
13300 END//
13301 ERROR 42000: You 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;
13302 END' at line 3
13303 DROP PROCEDURE IF EXISTS sp1;
13304 Warnings:
13305 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13306 CREATE PROCEDURE sp1( )
13307 BEGIN
13308 declare outer handler for sqlstate '02000' set @var2 = 1;
13309 END//
13310 ERROR 42000: You 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;
13311 END' at line 3
13312 DROP PROCEDURE IF EXISTS sp1;
13313 Warnings:
13314 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13315 CREATE PROCEDURE sp1( )
13316 BEGIN
13317 declare outfile handler for sqlstate '02000' set @var2 = 1;
13318 END//
13319 ERROR 42000: You 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;
13320 END' at line 3
13321 DROP PROCEDURE IF EXISTS sp1;
13322 Warnings:
13323 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13324 CREATE PROCEDURE sp1( )
13325 BEGIN
13326 declare precision handler for sqlstate '02000' set @var2 = 1;
13327 END//
13328 ERROR 42000: You 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;
13329 END' at line 3
13330 DROP PROCEDURE IF EXISTS sp1;
13331 Warnings:
13332 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13333 CREATE PROCEDURE sp1( )
13334 BEGIN
13335 declare primary handler for sqlstate '02000' set @var2 = 1;
13336 END//
13337 ERROR 42000: You 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;
13338 END' at line 3
13339 DROP PROCEDURE IF EXISTS sp1;
13340 Warnings:
13341 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13342 CREATE PROCEDURE sp1( )
13343 BEGIN
13344 declare privileges handler for sqlstate '02000' set @var2 = 1;
13345 END//
13346 ERROR 42000: You 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;
13347 END' at line 3
13348 DROP PROCEDURE IF EXISTS sp1;
13349 Warnings:
13350 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13351 CREATE PROCEDURE sp1( )
13352 BEGIN
13353 declare procedure handler for sqlstate '02000' set @var2 = 1;
13354 END//
13355 ERROR 42000: You 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;
13356 END' at line 3
13357 DROP PROCEDURE IF EXISTS sp1;
13358 Warnings:
13359 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13360 CREATE PROCEDURE sp1( )
13361 BEGIN
13362 declare purge handler for sqlstate '02000' set @var2 = 1;
13363 END//
13364 ERROR 42000: You 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;
13365 END' at line 3
13366 DROP PROCEDURE IF EXISTS sp1;
13367 Warnings:
13368 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13369 CREATE PROCEDURE sp1( )
13370 BEGIN
13371 declare range handler for sqlstate '02000' set @var2 = 1;
13372 END//
13373 ERROR 42000: You 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;
13374 END' at line 3
13375 DROP PROCEDURE IF EXISTS sp1;
13376 Warnings:
13377 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13378 CREATE PROCEDURE sp1( )
13379 BEGIN
13380 declare read handler for sqlstate '02000' set @var2 = 1;
13381 END//
13382 ERROR 42000: You 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;
13383 END' at line 3
13384 DROP PROCEDURE IF EXISTS sp1;
13385 Warnings:
13386 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13387 CREATE PROCEDURE sp1( )
13388 BEGIN
13389 declare reads handler for sqlstate '02000' set @var2 = 1;
13390 END//
13391 ERROR 42000: You 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;
13392 END' at line 3
13393 DROP PROCEDURE IF EXISTS sp1;
13394 Warnings:
13395 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13396 CREATE PROCEDURE sp1( )
13397 BEGIN
13398 declare read_only handler for sqlstate '02000' set @var2 = 1;
13399 END//
13400 ERROR 42000: You 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;
13401 END' at line 3
13402 DROP PROCEDURE IF EXISTS sp1;
13403 Warnings:
13404 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13405 CREATE PROCEDURE sp1( )
13406 BEGIN
13407 declare read_write handler for sqlstate '02000' set @var2 = 1;
13408 END//
13409 ERROR 42000: You 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;
13410 END' at line 3
13411 DROP PROCEDURE IF EXISTS sp1;
13412 Warnings:
13413 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13414 CREATE PROCEDURE sp1( )
13415 BEGIN
13416 declare real handler for sqlstate '02000' set @var2 = 1;
13417 END//
13418 ERROR 42000: You 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;
13419 END' at line 3
13420 DROP PROCEDURE IF EXISTS sp1;
13421 Warnings:
13422 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13423 CREATE PROCEDURE sp1( )
13424 BEGIN
13425 declare references handler for sqlstate '02000' set @var2 = 1;
13426 END//
13427 ERROR 42000: You 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;
13428 END' at line 3
13429 DROP PROCEDURE IF EXISTS sp1;
13430 Warnings:
13431 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13432 CREATE PROCEDURE sp1( )
13433 BEGIN
13434 declare regexp handler for sqlstate '02000' set @var2 = 1;
13435 END//
13436 ERROR 42000: You 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;
13437 END' at line 3
13438 DROP PROCEDURE IF EXISTS sp1;
13439 Warnings:
13440 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13441 CREATE PROCEDURE sp1( )
13442 BEGIN
13443 declare release handler for sqlstate '02000' set @var2 = 1;
13444 END//
13445 ERROR 42000: You 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;
13446 END' at line 3
13447 DROP PROCEDURE IF EXISTS sp1;
13448 Warnings:
13449 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13450 CREATE PROCEDURE sp1( )
13451 BEGIN
13452 declare rename handler for sqlstate '02000' set @var2 = 1;
13453 END//
13454 ERROR 42000: You 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;
13455 END' at line 3
13456 DROP PROCEDURE IF EXISTS sp1;
13457 Warnings:
13458 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13459 CREATE PROCEDURE sp1( )
13460 BEGIN
13461 declare repeat handler for sqlstate '02000' set @var2 = 1;
13462 END//
13463 ERROR 42000: You 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;
13464 END' at line 3
13465 DROP PROCEDURE IF EXISTS sp1;
13466 Warnings:
13467 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13468 CREATE PROCEDURE sp1( )
13469 BEGIN
13470 declare replace handler for sqlstate '02000' set @var2 = 1;
13471 END//
13472 ERROR 42000: You 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;
13473 END' at line 3
13474 DROP PROCEDURE IF EXISTS sp1;
13475 Warnings:
13476 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13477 CREATE PROCEDURE sp1( )
13478 BEGIN
13479 declare require handler for sqlstate '02000' set @var2 = 1;
13480 END//
13481 ERROR 42000: You 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;
13482 END' at line 3
13483 DROP PROCEDURE IF EXISTS sp1;
13484 Warnings:
13485 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13486 CREATE PROCEDURE sp1( )
13487 BEGIN
13488 declare restrict handler for sqlstate '02000' set @var2 = 1;
13489 END//
13490 ERROR 42000: You 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;
13491 END' at line 3
13492 DROP PROCEDURE IF EXISTS sp1;
13493 Warnings:
13494 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13495 CREATE PROCEDURE sp1( )
13496 BEGIN
13497 declare return handler for sqlstate '02000' set @var2 = 1;
13498 END//
13499 ERROR 42000: You 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;
13500 END' at line 3
13501 DROP PROCEDURE IF EXISTS sp1;
13502 Warnings:
13503 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13504 CREATE PROCEDURE sp1( )
13505 BEGIN
13506 declare revoke handler for sqlstate '02000' set @var2 = 1;
13507 END//
13508 ERROR 42000: You 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;
13509 END' at line 3
13510 DROP PROCEDURE IF EXISTS sp1;
13511 Warnings:
13512 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13513 CREATE PROCEDURE sp1( )
13514 BEGIN
13515 declare right handler for sqlstate '02000' set @var2 = 1;
13516 END//
13517 ERROR 42000: You 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;
13518 END' at line 3
13519 DROP PROCEDURE IF EXISTS sp1;
13520 Warnings:
13521 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13522 CREATE PROCEDURE sp1( )
13523 BEGIN
13524 declare rlike handler for sqlstate '02000' set @var2 = 1;
13525 END//
13526 ERROR 42000: You 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;
13527 END' at line 3
13528 DROP PROCEDURE IF EXISTS sp1;
13529 Warnings:
13530 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13531 CREATE PROCEDURE sp1( )
13532 BEGIN
13533 declare schema handler for sqlstate '02000' set @var2 = 1;
13534 END//
13535 ERROR 42000: You 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;
13536 END' at line 3
13537 DROP PROCEDURE IF EXISTS sp1;
13538 Warnings:
13539 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13540 CREATE PROCEDURE sp1( )
13541 BEGIN
13542 declare schemas handler for sqlstate '02000' set @var2 = 1;
13543 END//
13544 ERROR 42000: You 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;
13545 END' at line 3
13546 DROP PROCEDURE IF EXISTS sp1;
13547 Warnings:
13548 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13549 CREATE PROCEDURE sp1( )
13550 BEGIN
13551 declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
13552 END//
13553 ERROR 42000: You 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;
13554 END' at line 3
13555 DROP PROCEDURE IF EXISTS sp1;
13556 Warnings:
13557 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13558 CREATE PROCEDURE sp1( )
13559 BEGIN
13560 declare select handler for sqlstate '02000' set @var2 = 1;
13561 END//
13562 ERROR 42000: You 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;
13563 END' at line 3
13564 DROP PROCEDURE IF EXISTS sp1;
13565 Warnings:
13566 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13567 CREATE PROCEDURE sp1( )
13568 BEGIN
13569 declare sensitive handler for sqlstate '02000' set @var2 = 1;
13570 END//
13571 ERROR 42000: You 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;
13572 END' at line 3
13573 DROP PROCEDURE IF EXISTS sp1;
13574 Warnings:
13575 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13576 CREATE PROCEDURE sp1( )
13577 BEGIN
13578 declare separator handler for sqlstate '02000' set @var2 = 1;
13579 END//
13580 ERROR 42000: You 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;
13581 END' at line 3
13582 DROP PROCEDURE IF EXISTS sp1;
13583 Warnings:
13584 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13585 CREATE PROCEDURE sp1( )
13586 BEGIN
13587 declare set handler for sqlstate '02000' set @var2 = 1;
13588 END//
13589 ERROR 42000: You 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;
13590 END' at line 3
13591 DROP PROCEDURE IF EXISTS sp1;
13592 Warnings:
13593 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13594 CREATE PROCEDURE sp1( )
13595 BEGIN
13596 declare show handler for sqlstate '02000' set @var2 = 1;
13597 END//
13598 ERROR 42000: You 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;
13599 END' at line 3
13600 DROP PROCEDURE IF EXISTS sp1;
13601 Warnings:
13602 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13603 CREATE PROCEDURE sp1( )
13604 BEGIN
13605 declare smallint handler for sqlstate '02000' set @var2 = 1;
13606 END//
13607 ERROR 42000: You 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;
13608 END' at line 3
13609 DROP PROCEDURE IF EXISTS sp1;
13610 Warnings:
13611 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13612 CREATE PROCEDURE sp1( )
13613 BEGIN
13614 declare spatial handler for sqlstate '02000' set @var2 = 1;
13615 END//
13616 ERROR 42000: You 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;
13617 END' at line 3
13618 DROP PROCEDURE IF EXISTS sp1;
13619 Warnings:
13620 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13621 CREATE PROCEDURE sp1( )
13622 BEGIN
13623 declare specific handler for sqlstate '02000' set @var2 = 1;
13624 END//
13625 ERROR 42000: You 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;
13626 END' at line 3
13627 DROP PROCEDURE IF EXISTS sp1;
13628 Warnings:
13629 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13630 CREATE PROCEDURE sp1( )
13631 BEGIN
13632 declare sql handler for sqlstate '02000' set @var2 = 1;
13633 END//
13634 ERROR 42000: You 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;
13635 END' at line 3
13636 DROP PROCEDURE IF EXISTS sp1;
13637 Warnings:
13638 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13639 CREATE PROCEDURE sp1( )
13640 BEGIN
13641 declare sqlexception handler for sqlstate '02000' set @var2 = 1;
13642 END//
13643 ERROR 42000: You 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;
13644 END' at line 3
13645 DROP PROCEDURE IF EXISTS sp1;
13646 Warnings:
13647 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13648 CREATE PROCEDURE sp1( )
13649 BEGIN
13650 declare sqlstate handler for sqlstate '02000' set @var2 = 1;
13651 END//
13652 ERROR 42000: You 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;
13653 END' at line 3
13654 DROP PROCEDURE IF EXISTS sp1;
13655 Warnings:
13656 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13657 CREATE PROCEDURE sp1( )
13658 BEGIN
13659 declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
13660 END//
13661 ERROR 42000: You 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;
13662 END' at line 3
13663 DROP PROCEDURE IF EXISTS sp1;
13664 Warnings:
13665 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13666 CREATE PROCEDURE sp1( )
13667 BEGIN
13668 declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
13669 END//
13670 ERROR 42000: You 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;
13671 END' at line 3
13672 DROP PROCEDURE IF EXISTS sp1;
13673 Warnings:
13674 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13675 CREATE PROCEDURE sp1( )
13676 BEGIN
13677 declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
13678 END//
13679 ERROR 42000: You 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;
13680 END' at line 3
13681 DROP PROCEDURE IF EXISTS sp1;
13682 Warnings:
13683 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13684 CREATE PROCEDURE sp1( )
13685 BEGIN
13686 declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
13687 END//
13688 ERROR 42000: You 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;
13689 END' at line 3
13690 DROP PROCEDURE IF EXISTS sp1;
13691 Warnings:
13692 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13693 CREATE PROCEDURE sp1( )
13694 BEGIN
13695 declare ssl handler for sqlstate '02000' set @var2 = 1;
13696 END//
13697 ERROR 42000: You 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;
13698 END' at line 3
13699 DROP PROCEDURE IF EXISTS sp1;
13700 Warnings:
13701 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13702 CREATE PROCEDURE sp1( )
13703 BEGIN
13704 declare starting handler for sqlstate '02000' set @var2 = 1;
13705 END//
13706 ERROR 42000: You 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;
13707 END' at line 3
13708 DROP PROCEDURE IF EXISTS sp1;
13709 Warnings:
13710 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13711 CREATE PROCEDURE sp1( )
13712 BEGIN
13713 declare straight_join handler for sqlstate '02000' set @var2 = 1;
13714 END//
13715 ERROR 42000: You 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;
13716 END' at line 3
13717 DROP PROCEDURE IF EXISTS sp1;
13718 Warnings:
13719 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13720 CREATE PROCEDURE sp1( )
13721 BEGIN
13722 declare table handler for sqlstate '02000' set @var2 = 1;
13723 END//
13724 ERROR 42000: You 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;
13725 END' at line 3
13726 DROP PROCEDURE IF EXISTS sp1;
13727 Warnings:
13728 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13729 CREATE PROCEDURE sp1( )
13730 BEGIN
13731 declare terminated handler for sqlstate '02000' set @var2 = 1;
13732 END//
13733 ERROR 42000: You 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;
13734 END' at line 3
13735 DROP PROCEDURE IF EXISTS sp1;
13736 Warnings:
13737 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13738 CREATE PROCEDURE sp1( )
13739 BEGIN
13740 declare then handler for sqlstate '02000' set @var2 = 1;
13741 END//
13742 ERROR 42000: You 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;
13743 END' at line 3
13744 DROP PROCEDURE IF EXISTS sp1;
13745 Warnings:
13746 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13747 CREATE PROCEDURE sp1( )
13748 BEGIN
13749 declare tinyblob handler for sqlstate '02000' set @var2 = 1;
13750 END//
13751 ERROR 42000: You 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;
13752 END' at line 3
13753 DROP PROCEDURE IF EXISTS sp1;
13754 Warnings:
13755 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13756 CREATE PROCEDURE sp1( )
13757 BEGIN
13758 declare tinyint handler for sqlstate '02000' set @var2 = 1;
13759 END//
13760 ERROR 42000: You 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;
13761 END' at line 3
13762 DROP PROCEDURE IF EXISTS sp1;
13763 Warnings:
13764 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13765 CREATE PROCEDURE sp1( )
13766 BEGIN
13767 declare tinytext handler for sqlstate '02000' set @var2 = 1;
13768 END//
13769 ERROR 42000: You 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;
13770 END' at line 3
13771 DROP PROCEDURE IF EXISTS sp1;
13772 Warnings:
13773 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13774 CREATE PROCEDURE sp1( )
13775 BEGIN
13776 declare to handler for sqlstate '02000' set @var2 = 1;
13777 END//
13778 ERROR 42000: You 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;
13779 END' at line 3
13780 DROP PROCEDURE IF EXISTS sp1;
13781 Warnings:
13782 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13783 CREATE PROCEDURE sp1( )
13784 BEGIN
13785 declare trailing handler for sqlstate '02000' set @var2 = 1;
13786 END//
13787 ERROR 42000: You 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;
13788 END' at line 3
13789 DROP PROCEDURE IF EXISTS sp1;
13790 Warnings:
13791 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13792 CREATE PROCEDURE sp1( )
13793 BEGIN
13794 declare trigger handler for sqlstate '02000' set @var2 = 1;
13795 END//
13796 ERROR 42000: You 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;
13797 END' at line 3
13798 DROP PROCEDURE IF EXISTS sp1;
13799 Warnings:
13800 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13801 CREATE PROCEDURE sp1( )
13802 BEGIN
13803 declare true handler for sqlstate '02000' set @var2 = 1;
13804 END//
13805 ERROR 42000: You 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;
13806 END' at line 3
13807 DROP PROCEDURE IF EXISTS sp1;
13808 Warnings:
13809 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13810 CREATE PROCEDURE sp1( )
13811 BEGIN
13812 declare undo handler for sqlstate '02000' set @var2 = 1;
13813 END//
13814 ERROR 42000: You 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;
13815 END' at line 3
13816 DROP PROCEDURE IF EXISTS sp1;
13817 Warnings:
13818 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13819 CREATE PROCEDURE sp1( )
13820 BEGIN
13821 declare union handler for sqlstate '02000' set @var2 = 1;
13822 END//
13823 ERROR 42000: You 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;
13824 END' at line 3
13825 DROP PROCEDURE IF EXISTS sp1;
13826 Warnings:
13827 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13828 CREATE PROCEDURE sp1( )
13829 BEGIN
13830 declare unique handler for sqlstate '02000' set @var2 = 1;
13831 END//
13832 ERROR 42000: You 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;
13833 END' at line 3
13834 DROP PROCEDURE IF EXISTS sp1;
13835 Warnings:
13836 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13837 CREATE PROCEDURE sp1( )
13838 BEGIN
13839 declare unlock handler for sqlstate '02000' set @var2 = 1;
13840 END//
13841 ERROR 42000: You 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;
13842 END' at line 3
13843 DROP PROCEDURE IF EXISTS sp1;
13844 Warnings:
13845 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13846 CREATE PROCEDURE sp1( )
13847 BEGIN
13848 declare unsigned handler for sqlstate '02000' set @var2 = 1;
13849 END//
13850 ERROR 42000: You 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;
13851 END' at line 3
13852 DROP PROCEDURE IF EXISTS sp1;
13853 Warnings:
13854 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13855 CREATE PROCEDURE sp1( )
13856 BEGIN
13857 declare update handler for sqlstate '02000' set @var2 = 1;
13858 END//
13859 ERROR 42000: You 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;
13860 END' at line 3
13861 DROP PROCEDURE IF EXISTS sp1;
13862 Warnings:
13863 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13864 CREATE PROCEDURE sp1( )
13865 BEGIN
13866 declare usage handler for sqlstate '02000' set @var2 = 1;
13867 END//
13868 ERROR 42000: You 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;
13869 END' at line 3
13870 DROP PROCEDURE IF EXISTS sp1;
13871 Warnings:
13872 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13873 CREATE PROCEDURE sp1( )
13874 BEGIN
13875 declare use handler for sqlstate '02000' set @var2 = 1;
13876 END//
13877 ERROR 42000: You 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;
13878 END' at line 3
13879 DROP PROCEDURE IF EXISTS sp1;
13880 Warnings:
13881 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13882 CREATE PROCEDURE sp1( )
13883 BEGIN
13884 declare using handler for sqlstate '02000' set @var2 = 1;
13885 END//
13886 ERROR 42000: You 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;
13887 END' at line 3
13888 DROP PROCEDURE IF EXISTS sp1;
13889 Warnings:
13890 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13891 CREATE PROCEDURE sp1( )
13892 BEGIN
13893 declare utc_date handler for sqlstate '02000' set @var2 = 1;
13894 END//
13895 ERROR 42000: You 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;
13896 END' at line 3
13897 DROP PROCEDURE IF EXISTS sp1;
13898 Warnings:
13899 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13900 CREATE PROCEDURE sp1( )
13901 BEGIN
13902 declare utc_time handler for sqlstate '02000' set @var2 = 1;
13903 END//
13904 ERROR 42000: You 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;
13905 END' at line 3
13906 DROP PROCEDURE IF EXISTS sp1;
13907 Warnings:
13908 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13909 CREATE PROCEDURE sp1( )
13910 BEGIN
13911 declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
13912 END//
13913 ERROR 42000: You 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;
13914 END' at line 3
13915 DROP PROCEDURE IF EXISTS sp1;
13916 Warnings:
13917 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13918 CREATE PROCEDURE sp1( )
13919 BEGIN
13920 declare values handler for sqlstate '02000' set @var2 = 1;
13921 END//
13922 ERROR 42000: You 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;
13923 END' at line 3
13924 DROP PROCEDURE IF EXISTS sp1;
13925 Warnings:
13926 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13927 CREATE PROCEDURE sp1( )
13928 BEGIN
13929 declare varbinary handler for sqlstate '02000' set @var2 = 1;
13930 END//
13931 ERROR 42000: You 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;
13932 END' at line 3
13933 DROP PROCEDURE IF EXISTS sp1;
13934 Warnings:
13935 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13936 CREATE PROCEDURE sp1( )
13937 BEGIN
13938 declare varchar handler for sqlstate '02000' set @var2 = 1;
13939 END//
13940 ERROR 42000: You 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;
13941 END' at line 3
13942 DROP PROCEDURE IF EXISTS sp1;
13943 Warnings:
13944 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13945 CREATE PROCEDURE sp1( )
13946 BEGIN
13947 declare varcharacter handler for sqlstate '02000' set @var2 = 1;
13948 END//
13949 ERROR 42000: You 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;
13950 END' at line 3
13951 DROP PROCEDURE IF EXISTS sp1;
13952 Warnings:
13953 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13954 CREATE PROCEDURE sp1( )
13955 BEGIN
13956 declare varying handler for sqlstate '02000' set @var2 = 1;
13957 END//
13958 ERROR 42000: You 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;
13959 END' at line 3
13960 DROP PROCEDURE IF EXISTS sp1;
13961 Warnings:
13962 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13963 CREATE PROCEDURE sp1( )
13964 BEGIN
13965 declare when handler for sqlstate '02000' set @var2 = 1;
13966 END//
13967 ERROR 42000: You 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;
13968 END' at line 3
13969 DROP PROCEDURE IF EXISTS sp1;
13970 Warnings:
13971 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13972 CREATE PROCEDURE sp1( )
13973 BEGIN
13974 declare where handler for sqlstate '02000' set @var2 = 1;
13975 END//
13976 ERROR 42000: You 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;
13977 END' at line 3
13978 DROP PROCEDURE IF EXISTS sp1;
13979 Warnings:
13980 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13981 CREATE PROCEDURE sp1( )
13982 BEGIN
13983 declare while handler for sqlstate '02000' set @var2 = 1;
13984 END//
13985 ERROR 42000: You 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;
13986 END' at line 3
13987 DROP PROCEDURE IF EXISTS sp1;
13988 Warnings:
13989 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13990 CREATE PROCEDURE sp1( )
13991 BEGIN
13992 declare with handler for sqlstate '02000' set @var2 = 1;
13993 END//
13994 ERROR 42000: You 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;
13995 END' at line 3
13996 DROP PROCEDURE IF EXISTS sp1;
13997 Warnings:
13998 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13999 CREATE PROCEDURE sp1( )
14000 BEGIN
14001 declare write handler for sqlstate '02000' set @var2 = 1;
14002 END//
14003 ERROR 42000: You 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;
14004 END' at line 3
14005 DROP PROCEDURE IF EXISTS sp1;
14006 Warnings:
14007 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14008 CREATE PROCEDURE sp1( )
14009 BEGIN
14010 declare xor handler for sqlstate '02000' set @var2 = 1;
14011 END//
14012 ERROR 42000: You 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;
14013 END' at line 3
14014 DROP PROCEDURE IF EXISTS sp1;
14015 Warnings:
14016 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14017 CREATE PROCEDURE sp1( )
14018 BEGIN
14019 declare year_month handler for sqlstate '02000' set @var2 = 1;
14020 END//
14021 ERROR 42000: You 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;
14022 END' at line 3
14023 DROP PROCEDURE IF EXISTS sp1;
14024 Warnings:
14025 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14026 CREATE PROCEDURE sp1( )
14027 BEGIN
14028 declare zerofill handler for sqlstate '02000' set @var2 = 1;
14029 END//
14030 ERROR 42000: You 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;
14031 END' at line 3
14032 USE db_storedproc;
14033 Warnings:
14034 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14035
14036 Testcase 4.2.26:
14037 --------------------------------------------------------------------------------
14038 Warnings:
14039 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14040 set @v1='0';
14041 set @v2='0';
14042 DROP PROCEDURE IF EXISTS sp1;
14043 CREATE PROCEDURE sp1()
14044 BEGIN
14045 declare x char;
14046 declare y char;
14047 declare cond1 condition for sqlstate '42000';
14048 declare cur1 cursor for SELECT f1 from t2 limit 1;
14049 declare continue handler for cond1 set @x = 4;
14050 set @x = '1';
14051 set @y = '2';
14052 BEGIN
14053 declare x char;
14054 declare y char;
14055 declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
14056 declare continue handler for sqlstate '42000' set @x = 3;
14057 open cur1;
14058 fetch cur1 into y;
14059 close cur1;
14060 CALL nonsexist();
14061 SELECT x, y, @x;
14062 END;
14063 open cur1;
14064 fetch cur1 into y;
14065 close cur1;
14066 CALL nonsexist();
14067 set @v1 = @x;
14068 set @v2 = y;
14069 END//
14070 CALL sp1();
14071 x y @x
14072 NULL a 3
14073 SELECT @v1, @v2;
14074 @v1 @v2
14075 4 a
14076 DROP PROCEDURE sp1;
14077 Warnings:
14078 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14079
14080 Testcase 4.2.28:
14081 --------------------------------------------------------------------------------
14082 Warnings:
14083 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14084 SET @x = 0;
14085 SET @y = 0;
14086 DROP PROCEDURE IF EXISTS sp1;
14087 Warnings:
14088 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14089 SET @start_global_value = @@GLOBAL.sort_buffer_size;
14090 CREATE PROCEDURE sp1()
14091 BEGIN
14092 DECLARE CONTINUE HANDLER FOR SQLSTATE '42000' SET @x2 = 1;
14093 SET SESSION SORT_BUFFER_SIZE = 10 * 1024 * 1024;
14094 SELECT @@sort_buffer_size;
14095 SET @x = 4;
14096 SET @y = 3;
14097 SET GLOBAL SORT_BUFFER_SIZE = 2 * 1024 * 1024;
14098 SELECT @@sort_buffer_size;
14099 SET @@sort_buffer_size = 10 * 1024 * 1024;
14100 SELECT @@sort_buffer_size;
14101 END//
14102 CALL sp1();
14103 @@sort_buffer_size
14104 10485760
14105 @@sort_buffer_size
14106 10485760
14107 @@sort_buffer_size
14108 10485760
14109 SELECT @x, @y;
14110 @x @y
14111 4 3
14112 SET @@GLOBAL.sort_buffer_size = @start_global_value;
14113 Warnings:
14114 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14115
14116 Testcase 4.2.29:
14117 --------------------------------------------------------------------------------
14118 Warnings:
14119 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14120 DROP PROCEDURE IF EXISTS sp1;
14121 CREATE PROCEDURE sp1()
14122 BEGIN
14123 declare xx char default 'x';
14124 declare xy char default 'y';
14125 declare xz char default 'z';
14126 set @xx = xx, @xy = xy;
14127 set @xz = xz;
14128 SELECT @xx, @xy, @xz;
14129 END//
14130 CALL sp1();
14131 @xx @xy @xz
14132 x y z
14133 DROP PROCEDURE sp1;
14134 Warnings:
14135 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14136
14137 Testcase 4.2.30:
14138 --------------------------------------------------------------------------------
14139 Warnings:
14140 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14141 set @xx=0;
14142 DROP PROCEDURE IF EXISTS sp1;
14143 Warnings:
14144 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14145 CREATE PROCEDURE sp1()
14146 BEGIN
14147 declare xx int;
14148 set xx = 'asd';
14149 GET DIAGNOSTICS @n = NUMBER;
14150 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
14151 SELECT @err_no, @err_txt;
14152 set @xx = xx;
14153 SELECT @xx;
14154 END//
14155 CALL sp1();
14156 @err_no @err_txt
14157 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
14158 @xx
14159 0
14160 DROP PROCEDURE IF EXISTS sp1;
14161 CREATE PROCEDURE sp1()
14162 BEGIN
14163 declare xx int;
14164 set xx = 5;
14165 set @xx = xx;
14166 SELECT @xx;
14167 END//
14168 CALL sp1();
14169 @xx
14170 5
14171 DROP PROCEDURE sp1;
14172 Warnings:
14173 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14174
14175 Testcase 4.2.31 - a:
14176 --------------------------------------------------------------------------------
14177 Warnings:
14178 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14179 set @xx=0;
14180 DROP PROCEDURE IF EXISTS sp1;
14181 Warnings:
14182 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14183 CREATE PROCEDURE sp1()
14184 BEGIN
14185 declare xx char;
14186 set xx = 'temp';
14187 GET DIAGNOSTICS @n = NUMBER;
14188 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
14189 SELECT @err_no, @err_txt;
14190 set @xx = xx;
14191 END//
14192 CALL sp1();
14193 @err_no @err_txt
14194 1265 Data truncated for column 'xx' at row 1
14195 SELECT @xx;
14196 @xx
14197 t
14198 DROP PROCEDURE sp1;
14199 Warnings:
14200 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14201
14202 Testcase 4.2.31 - b:
14203 --------------------------------------------------------------------------------
14204 Warnings:
14205 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14206 DROP PROCEDURE IF EXISTS sp1;
14207 Warnings:
14208 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14209 CREATE PROCEDURE sp1()
14210 BEGIN
14211 declare xx float;
14212 set xx = 'asd';
14213 GET DIAGNOSTICS @n = NUMBER;
14214 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
14215 SELECT @err_no, @err_txt;
14216 SELECT xx;
14217 END//
14218 CALL sp1();
14219 @err_no @err_txt
14220 1265 Data truncated for column 'xx' at row 1
14221 xx
14222 0
14223 DROP PROCEDURE IF EXISTS sp1;
14224 CREATE PROCEDURE sp1()
14225 BEGIN
14226 declare xx float;
14227 set xx = 1.6;
14228 SELECT xx;
14229 END//
14230 CALL sp1();
14231 xx
14232 1.6
14233 DROP PROCEDURE sp1;
14234 Warnings:
14235 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14236
14237 Testcase 4.2.31 - c:
14238 --------------------------------------------------------------------------------
14239 Warnings:
14240 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14241 DROP PROCEDURE IF EXISTS sp1;
14242 Warnings:
14243 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14244 CREATE PROCEDURE sp1()
14245 BEGIN
14246 declare xx datetime;
14247 set xx = 'asd';
14248 GET DIAGNOSTICS @n = NUMBER;
14249 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
14250 SELECT @err_no, @err_txt;
14251 SELECT xx;
14252 END//
14253 CALL sp1();
14254 @err_no @err_txt
14255 1265 Data truncated for column 'xx' at row 1
14256 xx
14257 0000-00-00 00:00:00
14258 DROP PROCEDURE IF EXISTS sp1;
14259 CREATE PROCEDURE sp1()
14260 BEGIN
14261 declare xx datetime;
14262 set xx = '2006-06-06 01:01:01';
14263 SELECT xx;
14264 END//
14265 CALL sp1();
14266 xx
14267 2006-06-06 01:01:01
14268 DROP PROCEDURE sp1;
14269 Warnings:
14270 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14271
14272 Testcase 4.2.31 - d:
14273 --------------------------------------------------------------------------------
14274 Warnings:
14275 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14276 DROP PROCEDURE IF EXISTS sp1;
14277 Warnings:
14278 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14279 CREATE PROCEDURE sp1()
14280 BEGIN
14281 declare xx varchar(20);
14282 set xx = "abcdefghijk";
14283 SELECT xx;
14284 END//
14285 CALL sp1();
14286 xx
14287 abcdefghijk
14288 DROP PROCEDURE sp1;
14289 Warnings:
14290 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14291
14292 Testcase 4.2.31 - e:
14293 --------------------------------------------------------------------------------
14294 Warnings:
14295 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14296 DROP PROCEDURE IF EXISTS sp1;
14297 Warnings:
14298 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14299 CREATE PROCEDURE sp1()
14300 BEGIN
14301 declare xx tinyint;
14302 set xx = 'asd';
14303 GET DIAGNOSTICS @n = NUMBER;
14304 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
14305 SELECT @err_no, @err_txt;
14306 SELECT xx;
14307 END//
14308 CALL sp1();
14309 @err_no @err_txt
14310 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
14311 xx
14312 0
14313 DROP PROCEDURE IF EXISTS sp1;
14314 CREATE PROCEDURE sp1()
14315 BEGIN
14316 declare xx tinyint;
14317 set xx = -125;
14318 SELECT xx;
14319 END//
14320 CALL sp1();
14321 xx
14322 -125
14323 DROP PROCEDURE sp1;
14324 Warnings:
14325 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14326
14327 Testcase 4.2.37:
14328 --------------------------------------------------------------------------------
14329 Warnings:
14330 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14331 DROP PROCEDURE IF EXISTS sp1;
14332 Warnings:
14333 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14334 CREATE PROCEDURE sp1( )
14335 BEGIN
14336 declare x integer; declare y integer;
14337 SELECT sal, f2 into x, y from t2 limit 1;
14338 set @x=x; set @y=y;
14339 END//
14340 DROP PROCEDURE IF EXISTS sp1;
14341 CREATE PROCEDURE sp1()
14342 BEGIN
14343 declare x char ascii;
14344 SELECT f1 into x from t2 limit 1;
14345 END//
14346 Warnings:
14347 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
14348 CALL sp1();
14349 Warnings:
14350 Warning 1265 Data truncated for column 'x' at row 1
14351 DROP PROCEDURE IF EXISTS sp1;
14352 CREATE PROCEDURE sp1()
14353 BEGIN
14354 declare x tinytext;
14355 SELECT f1 into x from t2 limit 1;
14356 END//
14357 CALL sp1();
14358 DROP PROCEDURE IF EXISTS sp1;
14359 CREATE PROCEDURE sp1()
14360 BEGIN
14361 declare x text;
14362 SELECT f1 into x from t2 limit 1;
14363 END//
14364 CALL sp1();
14365 DROP PROCEDURE IF EXISTS sp1;
14366 CREATE PROCEDURE sp1()
14367 BEGIN
14368 declare x mediumtext;
14369 SELECT f1 into x from t2 limit 1;
14370 END//
14371 CALL sp1();
14372 DROP PROCEDURE IF EXISTS sp1;
14373 CREATE PROCEDURE sp1()
14374 BEGIN
14375 declare x longtext;
14376 SELECT f1 into x from t2 limit 1;
14377 END//
14378 CALL sp1();
14379 DROP PROCEDURE IF EXISTS sp1;
14380 CREATE PROCEDURE sp1()
14381 BEGIN
14382 declare x tinyblob;
14383 SELECT f1 into x from t2 limit 1;
14384 END//
14385 CALL sp1();
14386 DROP PROCEDURE IF EXISTS sp1;
14387 CREATE PROCEDURE sp1()
14388 BEGIN
14389 declare x blob;
14390 SELECT f1 into x from t2 limit 1;
14391 END//
14392 CALL sp1();
14393 DROP PROCEDURE IF EXISTS sp1;
14394 CREATE PROCEDURE sp1()
14395 BEGIN
14396 declare x mediumblob;
14397 SELECT f1 into x from t2 limit 1;
14398 END//
14399 CALL sp1();
14400 DROP PROCEDURE IF EXISTS sp1;
14401 CREATE PROCEDURE sp1()
14402 BEGIN
14403 declare x longblob;
14404 SELECT f1 into x from t2 limit 1;
14405 END//
14406 CALL sp1();
14407 DROP PROCEDURE IF EXISTS sp1;
14408 CREATE PROCEDURE sp1()
14409 BEGIN
14410 declare x binary;
14411 SELECT f1 into x from t2 limit 1;
14412 END//
14413 CALL sp1();
14414 Warnings:
14415 Warning 1265 Data truncated for column 'x' at row 1
14416 DROP PROCEDURE IF EXISTS sp1;
14417 CREATE PROCEDURE sp1()
14418 BEGIN
14419 declare x tinyint;
14420 SELECT f1 into x from t2 limit 1;
14421 END//
14422 CALL sp1();
14423 DROP PROCEDURE IF EXISTS sp1;
14424 CREATE PROCEDURE sp1()
14425 BEGIN
14426 declare x tinyint unsigned;
14427 SELECT f1 into x from t2 limit 1;
14428 END//
14429 CALL sp1();
14430 DROP PROCEDURE IF EXISTS sp1;
14431 CREATE PROCEDURE sp1()
14432 BEGIN
14433 declare x tinyint zerofill;
14434 SELECT f1 into x from t2 limit 1;
14435 END//
14436 CALL sp1();
14437 DROP PROCEDURE IF EXISTS sp1;
14438 CREATE PROCEDURE sp1()
14439 BEGIN
14440 declare x tinyint unsigned zerofill;
14441 SELECT f1 into x from t2 limit 1;
14442 END//
14443 CALL sp1();
14444 DROP PROCEDURE IF EXISTS sp1;
14445 CREATE PROCEDURE sp1()
14446 BEGIN
14447 declare x smallint;
14448 SELECT f1 into x from t2 limit 1;
14449 END//
14450 CALL sp1();
14451 DROP PROCEDURE IF EXISTS sp1;
14452 CREATE PROCEDURE sp1()
14453 BEGIN
14454 declare x smallint unsigned;
14455 SELECT f1 into x from t2 limit 1;
14456 END//
14457 CALL sp1();
14458 DROP PROCEDURE IF EXISTS sp1;
14459 CREATE PROCEDURE sp1()
14460 BEGIN
14461 declare x smallint zerofill;
14462 SELECT f1 into x from t2 limit 1;
14463 END//
14464 CALL sp1();
14465 DROP PROCEDURE IF EXISTS sp1;
14466 CREATE PROCEDURE sp1()
14467 BEGIN
14468 declare x smallint unsigned zerofill;
14469 SELECT f1 into x from t2 limit 1;
14470 END//
14471 CALL sp1();
14472 DROP PROCEDURE IF EXISTS sp1;
14473 CREATE PROCEDURE sp1()
14474 BEGIN
14475 declare x mediumint;
14476 SELECT f1 into x from t2 limit 1;
14477 END//
14478 CALL sp1();
14479 DROP PROCEDURE IF EXISTS sp1;
14480 CREATE PROCEDURE sp1()
14481 BEGIN
14482 declare x mediumint unsigned;
14483 SELECT f1 into x from t2 limit 1;
14484 END//
14485 CALL sp1();
14486 DROP PROCEDURE IF EXISTS sp1;
14487 CREATE PROCEDURE sp1()
14488 BEGIN
14489 declare x mediumint zerofill;
14490 SELECT f1 into x from t2 limit 1;
14491 END//
14492 CALL sp1();
14493 DROP PROCEDURE IF EXISTS sp1;
14494 CREATE PROCEDURE sp1()
14495 BEGIN
14496 declare x mediumint unsigned zerofill;
14497 SELECT f1 into x from t2 limit 1;
14498 END//
14499 CALL sp1();
14500 DROP PROCEDURE IF EXISTS sp1;
14501 CREATE PROCEDURE sp1()
14502 BEGIN
14503 declare x int;
14504 SELECT f1 into x from t2 limit 1;
14505 END//
14506 CALL sp1();
14507 DROP PROCEDURE IF EXISTS sp1;
14508 CREATE PROCEDURE sp1()
14509 BEGIN
14510 declare x int unsigned;
14511 SELECT f1 into x from t2 limit 1;
14512 END//
14513 CALL sp1();
14514 DROP PROCEDURE IF EXISTS sp1;
14515 CREATE PROCEDURE sp1()
14516 BEGIN
14517 declare x int zerofill;
14518 SELECT f1 into x from t2 limit 1;
14519 END//
14520 CALL sp1();
14521 DROP PROCEDURE IF EXISTS sp1;
14522 CREATE PROCEDURE sp1()
14523 BEGIN
14524 declare x int unsigned zerofill;
14525 SELECT f1 into x from t2 limit 1;
14526 END//
14527 CALL sp1();
14528 DROP PROCEDURE IF EXISTS sp1;
14529 CREATE PROCEDURE sp1()
14530 BEGIN
14531 declare x bigint;
14532 SELECT f1 into x from t2 limit 1;
14533 END//
14534 CALL sp1();
14535 DROP PROCEDURE IF EXISTS sp1;
14536 CREATE PROCEDURE sp1()
14537 BEGIN
14538 declare x bigint unsigned;
14539 SELECT f1 into x from t2 limit 1;
14540 END//
14541 CALL sp1();
14542 DROP PROCEDURE IF EXISTS sp1;
14543 CREATE PROCEDURE sp1()
14544 BEGIN
14545 declare x bigint zerofill;
14546 SELECT f1 into x from t2 limit 1;
14547 END//
14548 CALL sp1();
14549 DROP PROCEDURE IF EXISTS sp1;
14550 CREATE PROCEDURE sp1()
14551 BEGIN
14552 declare x bigint unsigned zerofill;
14553 SELECT f1 into x from t2 limit 1;
14554 END//
14555 CALL sp1();
14556 DROP PROCEDURE IF EXISTS sp1;
14557 CREATE PROCEDURE sp1()
14558 BEGIN
14559 declare x decimal;
14560 SELECT f1 into x from t2 limit 1;
14561 END//
14562 CALL sp1();
14563 DROP PROCEDURE IF EXISTS sp1;
14564 CREATE PROCEDURE sp1()
14565 BEGIN
14566 declare x decimal unsigned;
14567 SELECT f1 into x from t2 limit 1;
14568 END//
14569 CALL sp1();
14570 DROP PROCEDURE IF EXISTS sp1;
14571 CREATE PROCEDURE sp1()
14572 BEGIN
14573 declare x decimal zerofill;
14574 SELECT f1 into x from t2 limit 1;
14575 END//
14576 CALL sp1();
14577 DROP PROCEDURE IF EXISTS sp1;
14578 CREATE PROCEDURE sp1()
14579 BEGIN
14580 declare x decimal unsigned zerofill;
14581 SELECT f1 into x from t2 limit 1;
14582 END//
14583 CALL sp1();
14584 DROP PROCEDURE IF EXISTS sp1;
14585 CREATE PROCEDURE sp1()
14586 BEGIN
14587 declare x numeric;
14588 SELECT f1 into x from t2 limit 1;
14589 END//
14590 CALL sp1();
14591 DROP PROCEDURE IF EXISTS sp1;
14592 CREATE PROCEDURE sp1()
14593 BEGIN
14594 declare x numeric unsigned;
14595 SELECT f1 into x from t2 limit 1;
14596 END//
14597 CALL sp1();
14598 DROP PROCEDURE IF EXISTS sp1;
14599 CREATE PROCEDURE sp1()
14600 BEGIN
14601 declare x numeric zerofill;
14602 SELECT f1 into x from t2 limit 1;
14603 END//
14604 CALL sp1();
14605 DROP PROCEDURE IF EXISTS sp1;
14606 CREATE PROCEDURE sp1()
14607 BEGIN
14608 declare x numeric unsigned zerofill;
14609 SELECT f1 into x from t2 limit 1;
14610 END//
14611 CALL sp1();
14612 DROP PROCEDURE IF EXISTS sp1;
14613 CREATE PROCEDURE sp1()
14614 BEGIN
14615 declare x real;
14616 SELECT f1 into x from t2 limit 1;
14617 END//
14618 CALL sp1();
14619 DROP PROCEDURE IF EXISTS sp1;
14620 CREATE PROCEDURE sp1()
14621 BEGIN
14622 declare x real unsigned;
14623 SELECT f1 into x from t2 limit 1;
14624 END//
14625 CALL sp1();
14626 DROP PROCEDURE IF EXISTS sp1;
14627 CREATE PROCEDURE sp1()
14628 BEGIN
14629 declare x real zerofill;
14630 SELECT f1 into x from t2 limit 1;
14631 END//
14632 CALL sp1();
14633 DROP PROCEDURE IF EXISTS sp1;
14634 CREATE PROCEDURE sp1()
14635 BEGIN
14636 declare x real unsigned zerofill;
14637 SELECT f1 into x from t2 limit 1;
14638 END//
14639 CALL sp1();
14640 DROP PROCEDURE IF EXISTS sp1;
14641 CREATE PROCEDURE sp1()
14642 BEGIN
14643 declare x float;
14644 SELECT f1 into x from t2 limit 1;
14645 END//
14646 CALL sp1();
14647 DROP PROCEDURE IF EXISTS sp1;
14648 CREATE PROCEDURE sp1()
14649 BEGIN
14650 declare x float unsigned;
14651 SELECT f1 into x from t2 limit 1;
14652 END//
14653 CALL sp1();
14654 DROP PROCEDURE IF EXISTS sp1;
14655 CREATE PROCEDURE sp1()
14656 BEGIN
14657 declare x float zerofill;
14658 SELECT f1 into x from t2 limit 1;
14659 END//
14660 CALL sp1();
14661 DROP PROCEDURE IF EXISTS sp1;
14662 CREATE PROCEDURE sp1()
14663 BEGIN
14664 declare x float unsigned zerofill;
14665 SELECT f1 into x from t2 limit 1;
14666 END//
14667 CALL sp1();
14668 DROP PROCEDURE IF EXISTS sp1;
14669 CREATE PROCEDURE sp1()
14670 BEGIN
14671 declare x date;
14672 SELECT f1 into x from t2 limit 1;
14673 END//
14674 CALL sp1();
14675 DROP PROCEDURE IF EXISTS sp1;
14676 CREATE PROCEDURE sp1()
14677 BEGIN
14678 declare x time;
14679 SELECT f1 into x from t2 limit 1;
14680 END//
14681 CALL sp1();
14682 DROP PROCEDURE IF EXISTS sp1;
14683 CREATE PROCEDURE sp1()
14684 BEGIN
14685 declare x datetime;
14686 SELECT f1 into x from t2 limit 1;
14687 END//
14688 CALL sp1();
14689 DROP PROCEDURE IF EXISTS sp1;
14690 CREATE PROCEDURE sp1()
14691 BEGIN
14692 declare x timestamp;
14693 SELECT f1 into x from t2 limit 1;
14694 END//
14695 CALL sp1();
14696 DROP PROCEDURE IF EXISTS sp1;
14697 CREATE PROCEDURE sp1()
14698 BEGIN
14699 declare x year;
14700 SELECT f1 into x from t2 limit 1;
14701 END//
14702 CALL sp1();
14703 DROP PROCEDURE IF EXISTS sp1;
14704 CREATE PROCEDURE sp1()
14705 BEGIN
14706 declare x year(4);
14707 SELECT f1 into x from t2 limit 1;
14708 END//
14709 CALL sp1();
14710 DROP PROCEDURE IF EXISTS sp1;
14711 CREATE PROCEDURE sp1()
14712 BEGIN
14713 declare x enum("1enum", "2enum");
14714 SELECT f1 into x from t2 limit 1;
14715 END//
14716 CALL sp1();
14717 DROP PROCEDURE IF EXISTS sp1;
14718 CREATE PROCEDURE sp1()
14719 BEGIN
14720 declare x set("1set", "2set");
14721 SELECT f1 into x from t2 limit 1;
14722 END//
14723 CALL sp1();
14724 DROP PROCEDURE sp1;
14725 Warnings:
14726 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14727
14728 Testcase 4.2.38:
14729 --------------------------------------------------------------------------------
14730 Warnings:
14731 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14732 DROP PROCEDURE IF EXISTS sp1;
14733 Warnings:
14734 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14735 CREATE PROCEDURE sp1()
14736 BEGIN
14737 declare notable condition for sqlstate '42S02';
14738 declare continue handler for notable set @x2=1;
14739 set @x = 1;
14740 insert into t2(f1) values (1);
14741 set @x = 2;
14742 insert into t2(f1) values (1);
14743 set @x = 3;
14744 END//
14745 CALL sp1();
14746 DROP PROCEDURE sp1;
14747 Warnings:
14748 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14749
14750 Testcase 4.2.39:
14751 --------------------------------------------------------------------------------
14752 Warnings:
14753 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14754 DROP PROCEDURE IF EXISTS sp1;
14755 Warnings:
14756 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14757 CREATE PROCEDURE sp1()
14758 BEGIN
14759 declare cond1 condition for sqlstate '42000';
14760 declare cond1 condition for sqlstate '23000';
14761 declare continue handler for cond1 set @var2 = 1;
14762 insert into tnull values(1);
14763 END//
14764 ERROR 42000: Duplicate condition: cond1
14765 Warnings:
14766 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14767
14768 Testcase 4.2.41:
14769 --------------------------------------------------------------------------------
14770 Warnings:
14771 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14772 DROP PROCEDURE IF EXISTS sp1;
14773 Warnings:
14774 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14775 CREATE PROCEDURE sp1()
14776 BEGIN
14777 declare cond1 condition for sqlstate '1';
14778 declare continue handler for cond1 set @var2 = 1;
14779 insert into tnull values( 1);
14780 END//
14781 ERROR 42000: Bad SQLSTATE: '1'
14782 DROP PROCEDURE IF EXISTS sp1;
14783 CREATE PROCEDURE sp1()
14784 BEGIN
14785 declare cond1 condition for sqlstate '12';
14786 declare continue handler for cond1 set @var2 = 1;
14787 insert into tnull values( 1);
14788 END//
14789 ERROR 42000: Bad SQLSTATE: '12'
14790 DROP PROCEDURE IF EXISTS sp1;
14791 CREATE PROCEDURE sp1()
14792 BEGIN
14793 declare cond1 condition for sqlstate '123';
14794 declare continue handler for cond1 set @var2 = 1;
14795 insert into tnull values( 1);
14796 END//
14797 ERROR 42000: Bad SQLSTATE: '123'
14798 DROP PROCEDURE IF EXISTS sp1;
14799 CREATE PROCEDURE sp1()
14800 BEGIN
14801 declare cond1 condition for sqlstate '1234';
14802 declare continue handler for cond1 set @var2 = 1;
14803 insert into tnull values( 1);
14804 END//
14805 ERROR 42000: Bad SQLSTATE: '1234'
14806 DROP PROCEDURE IF EXISTS sp1;
14807 CREATE PROCEDURE sp1()
14808 BEGIN
14809 declare cond1 condition for sqlstate '123456';
14810 declare continue handler for cond1 set @var2 = 1;
14811 insert into tnull values( 1);
14812 END//
14813 ERROR 42000: Bad SQLSTATE: '123456'
14814 Warnings:
14815 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14816
14817 Testcase 4.2.42:
14818 --------------------------------------------------------------------------------
14819 Warnings:
14820 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14821 DROP PROCEDURE IF EXISTS sp1;
14822 CREATE PROCEDURE sp1()
14823 BEGIN
14824 declare cond1 condition for sqlstate 'abcdefghi';
14825 declare continue handler for cond1 set @var2 = 1;
14826 insert into tnull values( 1);
14827 END//
14828 ERROR 42000: Bad SQLSTATE: 'abcdefghi'
14829 DROP PROCEDURE IF EXISTS sp1;
14830 CREATE PROCEDURE sp1()
14831 BEGIN
14832 declare cond1 condition for sqlstate '42000test';
14833 declare continue handler for cond1 set @var2 = 1;
14834 insert into tnull values( 1);
14835 END//
14836 ERROR 42000: Bad SQLSTATE: '42000test'
14837 DROP PROCEDURE IF EXISTS sp1;
14838 CREATE PROCEDURE sp1()
14839 BEGIN
14840 declare cond1 condition for sqlstate '00000@#$%^&';
14841 declare continue handler for cond1 set @var2 = 1;
14842 insert into tnull values( 1);
14843 END//
14844 ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
14845 DROP PROCEDURE IF EXISTS sp1;
14846 CREATE PROCEDURE sp1()
14847 BEGIN
14848 declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
14849 declare continue handler for cond1 set @var2 = 1;
14850 insert into tnull values( 1);
14851 END//
14852 ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
14853 DROP PROCEDURE IF EXISTS sp1;
14854 CREATE PROCEDURE sp1()
14855 BEGIN
14856 declare cond1 condition for sqlstate 'null';
14857 declare continue handler for cond1 set @var2 = 1;
14858 insert into tnull values( 1);
14859 END//
14860 ERROR 42000: Bad SQLSTATE: 'null'
14861 DROP PROCEDURE IF EXISTS sp1;
14862 CREATE PROCEDURE sp1()
14863 BEGIN
14864 declare cond1 condition for sqlstate ' ';
14865 declare continue handler for cond1 set @var2 = 1;
14866 insert into tnull values( 1);
14867 END//
14868 ERROR 42000: Bad SQLSTATE: ' '
14869 DROP PROCEDURE IF EXISTS sp1;
14870 CREATE PROCEDURE sp1()
14871 BEGIN
14872 declare cond1 condition for sqlstate 1234567890;
14873 declare continue handler for cond1 set @var2 = 1;
14874 insert into tnull values( 1);
14875 END//
14876 ERROR 42000: You 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;
14877 declare continue handler for cond1 set @var2 = 1;
14878 insert into tnull ' at line 3
14879 DROP PROCEDURE IF EXISTS sp1;
14880 CREATE PROCEDURE sp1()
14881 BEGIN
14882 declare cond1 condition for sqlstate '2005-03-03';
14883 declare continue handler for cond1 set @var2 = 1;
14884 insert into tnull values( 1);
14885 END//
14886 ERROR 42000: Bad SQLSTATE: '2005-03-03'
14887 Warnings:
14888 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14889
14890 Testcase 4.2.43:
14891 --------------------------------------------------------------------------------
14892 Warnings:
14893 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14894 DROP PROCEDURE IF EXISTS sp1;
14895 expect failure, SQLSTATE 00000 is not an acceptable value
14896 for an SP's handler
14897 CREATE PROCEDURE sp1()
14898 BEGIN
14899 declare cond1 condition for sqlstate '00000';
14900 declare continue handler for cond1 set @var2 = 1;
14901 set @x=1;
14902 SELECT @var2;
14903 END//
14904 ERROR 42000: Bad SQLSTATE: '00000'
14905 ensure SP doesn't exist
14906 CALL sp1();
14907 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
14908 DROP PROCEDURE IF EXISTS sp1;
14909 Warnings:
14910 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14911
14912 Testcase 4.2.45:
14913 --------------------------------------------------------------------------------
14914 Warnings:
14915 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14916 DROP PROCEDURE IF EXISTS sp1;
14917 CREATE PROCEDURE handler1 ()
14918 BEGIN
14919 declare continue handler for sqlstate '23000' set @varr1 = 5;
14920 declare continue handler for sqlstate '23000' set @varr3 = 7;
14921 END//
14922 ERROR 42000: Duplicate handler declared in the same block
14923 DROP PROCEDURE IF EXISTS handler1;
14924 Warnings:
14925 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
14926 CREATE PROCEDURE handler1 ()
14927 BEGIN
14928 declare mycondition condition for sqlstate '23000';
14929 declare continue handler for mycondition set @varr3 = 7;
14930 declare continue handler for sqlstate '23000' set @varr3 = 7;
14931 END//
14932 ERROR 42000: Duplicate handler declared in the same block
14933 Warnings:
14934 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14935
14936 Testcase 4.2.46:
14937 --------------------------------------------------------------------------------
14938 Warnings:
14939 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14940 DROP PROCEDURE IF EXISTS sp1;
14941 CREATE PROCEDURE sp1()
14942 BEGIN
14943 declare continue handler for sqlstate '1' set @var2 = 1;
14944 END//
14945 ERROR 42000: Bad SQLSTATE: '1'
14946 DROP PROCEDURE IF EXISTS sp1;
14947 CREATE PROCEDURE sp1()
14948 BEGIN
14949 declare continue handler for sqlstate '12' set @var2 = 1;
14950 END//
14951 ERROR 42000: Bad SQLSTATE: '12'
14952 DROP PROCEDURE IF EXISTS sp1;
14953 CREATE PROCEDURE sp1()
14954 BEGIN
14955 declare continue handler for sqlstate '123' set @var2 = 1;
14956 END//
14957 ERROR 42000: Bad SQLSTATE: '123'
14958 DROP PROCEDURE IF EXISTS sp1;
14959 CREATE PROCEDURE sp1()
14960 BEGIN
14961 declare continue handler for sqlstate '1234' set @var2 = 1;
14962 END//
14963 ERROR 42000: Bad SQLSTATE: '1234'
14964 DROP PROCEDURE IF EXISTS sp1;
14965 CREATE PROCEDURE sp1()
14966 BEGIN
14967 declare continue handler for sqlstate '123456' set @var2 = 1;
14968 END//
14969 ERROR 42000: Bad SQLSTATE: '123456'
14970 Warnings:
14971 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14972
14973 Testcase 4.2.47:
14974 --------------------------------------------------------------------------------
14975 Warnings:
14976 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14977 DROP PROCEDURE IF EXISTS sp1;
14978 CREATE PROCEDURE sp1()
14979 BEGIN
14980 declare continue handler for sqlstate '42s0200test' set @var2 = 1;
14981 insert into tnull values( 1);
14982 SELECT @var2;
14983 END//
14984 ERROR 42000: Bad SQLSTATE: '42s0200test'
14985 Warnings:
14986 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14987
14988 Testcase 4.2.48:
14989 --------------------------------------------------------------------------------
14990 Warnings:
14991 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
14992 DROP PROCEDURE IF EXISTS sp1;
14993 This creation should fail, SQLSTATE 00000 is unacceptable
14994 CREATE PROCEDURE sp1()
14995 BEGIN
14996 declare continue handler for sqlstate '00000' set @var2 = 1;
14997 set @x=1;
14998 SELECT @var2;
14999 END//
15000 ERROR 42000: Bad SQLSTATE: '00000'
15001 Verify SP wasn't created
15002 CALL sp1();
15003 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
15004 DROP PROCEDURE IF EXISTSsp1;
15005 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXISTSsp1' at line 1
15006 Warnings:
15007 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15008
15009 Testcase 4.2.52:
15010 --------------------------------------------------------------------------------
15011 Warnings:
15012 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15013 DROP PROCEDURE IF EXISTS sp1;
15014 CREATE PROCEDURE sp1( )
15015 BEGIN
15016 declare done int default 0;
15017 declare count integer default 20;
15018 declare newf1 char(20);
15019 declare newf2 char(20);
15020 declare newf3 char(20);
15021 declare newf4 integer;
15022 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15023 declare cur1 cursor for SELECT f1, f2 from t2;
15024 declare continue handler for sqlstate '02000' set done = 1;
15025 BEGIN
15026 open cur1;
15027 set count = count - 1;
15028 while count > 0 do
15029 fetch cur1 into newf1, newlf1, newf3, newsal;
15030 set count = count - 1;
15031 END while;
15032 close cur1;
15033 END;
15034 END//
15035 ERROR 42000: Duplicate cursor: cur1
15036 Warnings:
15037 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15038
15039 Testcase 4.2.53:
15040 --------------------------------------------------------------------------------
15041 Warnings:
15042 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15043 DROP PROCEDURE IF EXISTS sp1;
15044 CREATE PROCEDURE sp1( )
15045 BEGIN
15046 declare done int default 0;
15047 declare count integer default 20;
15048 declare newf1 char(20);
15049 declare newf2 char(20);
15050 declare newf3 char(20);
15051 declare newf4 integer;
15052 declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
15053 declare continue handler for sqlstate '02000' set done = 1;
15054 BEGIN
15055 open cur1;
15056 set count = count - 1;
15057 while count > 0 do
15058 fetch cur1 into newf1, newlf1, newf3, newsal;
15059 set count = count - 1;
15060 END while;
15061 close cur1;
15062 END;
15063 END//
15064 ERROR 42000: Cursor SELECT must not have INTO
15065 Warnings:
15066 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15067
15068 Testcase 4.2.54:
15069 --------------------------------------------------------------------------------
15070 Warnings:
15071 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15072 Warnings:
15073 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15074
15075 Testcase 4.2.55:
15076 --------------------------------------------------------------------------------
15077 Warnings:
15078 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15079 DROP PROCEDURE IF EXISTS sp1;
15080 CREATE PROCEDURE sp1( )
15081 BEGIN
15082 declare done int default 0;
15083 declare count integer default 20;
15084 declare newf1 char(20);
15085 declare newf2 char(20);
15086 declare newf3 char(20);
15087 declare newf4 integer;
15088 declare continue handler for sqlstate '02000' set done = 1;
15089 BEGIN
15090 open cur1;
15091 set count = count - 1;
15092 while count > 0 do
15093 fetch cur1 into newf1, newf2, newf4, newf3;
15094 set count = count - 1;
15095 END while;
15096 close cur1;
15097 END;
15098 END//
15099 ERROR 42000: Undefined CURSOR: cur1
15100 DROP PROCEDURE IF EXISTS sp1;
15101 CREATE PROCEDURE sp1( )
15102 BEGIN
15103 declare done int default 0;
15104 declare count integer default 0;
15105 declare newf1 char(20);
15106 declare newf2 char(20);
15107 declare newf3 char(20);
15108 declare newf4 integer;
15109 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15110 declare continue handler for sqlstate '02000' set done = 1;
15111 BEGIN
15112 open cur1;
15113 BEGIN
15114 open cur1;
15115 set count = count - 1;
15116 while count > 0 do
15117 fetch cur1 into newf1, newf2, newf3, newf4;
15118 set count = count - 1;
15119 END while;
15120 END;
15121 close cur1;
15122 END;
15123 END//
15124 CALL sp1();
15125 ERROR 24000: Cursor is already open
15126 Warnings:
15127 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15128
15129 Testcase 4.2.56:
15130 --------------------------------------------------------------------------------
15131 Warnings:
15132 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15133 DROP PROCEDURE IF EXISTS sp1;
15134 CREATE PROCEDURE sp1( )
15135 BEGIN
15136 declare done int default 0;
15137 declare count integer default 20;
15138 declare newf1 char(20);
15139 declare newf2 char(20);
15140 declare newf3 char(20);
15141 declare newf4 integer;
15142 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
15143 declare continue handler for sqlstate '02000' set done = 1;
15144 BEGIN
15145 open cur1;
15146 open cur1;
15147 set count = count - 1;
15148 while count > 0 do
15149 fetch cur1 into newf1, newf2, newf4, newf3;
15150 set count = count - 1;
15151 END while;
15152 close cur1;
15153 END;
15154 END//
15155 CALL sp1();
15156 ERROR 24000: Cursor is already open
15157 DROP PROCEDURE sp1;
15158 Warnings:
15159 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15160
15161 Testcase 4.2.57:
15162 --------------------------------------------------------------------------------
15163 Warnings:
15164 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15165 DROP PROCEDURE IF EXISTS sp1;
15166 Warnings:
15167 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15168 CREATE PROCEDURE sp1( )
15169 BEGIN
15170 declare done int default 0;
15171 declare count integer default 20;
15172 declare newf1 char(20);
15173 declare newf2 char(20);
15174 declare newf3 char(20);
15175 declare newf4 integer;
15176 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
15177 declare cur2 cursor for SELECT f1, f2 from t2;
15178 declare continue handler for sqlstate '02000' set done = 1;
15179 BEGIN
15180 open cur2;
15181 set count = count - 1;
15182 while count > 0 do
15183 fetch cur1 into newf1, newf2, newf4, newf3;
15184 set count = count - 1;
15185 END while;
15186 close cur1;
15187 END;
15188 END//
15189 CALL sp1();
15190 ERROR 24000: Cursor is not open
15191 DROP PROCEDURE sp1;
15192 Warnings:
15193 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15194
15195 Testcase 4.2.59:
15196 --------------------------------------------------------------------------------
15197 Warnings:
15198 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15199 DROP PROCEDURE IF EXISTS sp1;
15200 Warnings:
15201 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15202 CREATE PROCEDURE sp1( )
15203 BEGIN
15204 declare done int default 0;
15205 declare count integer default 20;
15206 declare newf1 char(20);
15207 declare newf2 char(20);
15208 declare newf3 char(20);
15209 declare newf4 integer;
15210 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15211 declare continue handler for sqlstate '02000' set done = 1;
15212 BEGIN
15213 set count = count - 1;
15214 while count > 0 do
15215 fetch cur1 into newf1, newf2, newf4, newf3;
15216 set count = count - 1;
15217 END while;
15218 open cur1;
15219 close cur1;
15220 END;
15221 END//
15222 CALL sp1();
15223 ERROR 24000: Cursor is not open
15224 DROP PROCEDURE IF EXISTS sp1;
15225 CREATE PROCEDURE sp1( )
15226 BEGIN
15227 declare done int default 0;
15228 declare count integer default 10;
15229 declare newf1 char(20);
15230 declare newf2 char(20);
15231 declare newf3 char(20);
15232 declare newf4 integer;
15233 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15234 declare continue handler for sqlstate '02000' set done = 1;
15235 open cur1;
15236 BEGIN
15237 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15238 set count = count - 1;
15239 while count > 0 do
15240 fetch cur1 into newf1, newf2, newf3, newf4;
15241 set count = count - 1;
15242 END while;
15243 open cur1;
15244 close cur1;
15245 END;
15246 close cur1;
15247 END//
15248 CALL sp1();
15249 ERROR 24000: Cursor is not open
15250 DROP PROCEDURE sp1;
15251 Warnings:
15252 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15253
15254 Testcase 4.2.60:
15255 --------------------------------------------------------------------------------
15256 Warnings:
15257 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15258 DROP PROCEDURE IF EXISTS sp1;
15259 Warnings:
15260 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15261 CREATE PROCEDURE sp1( )
15262 BEGIN
15263 declare done int default 0;
15264 declare count integer default 20;
15265 declare newf1 char(20);
15266 declare newf2 char(20);
15267 declare newf3 char(20);
15268 declare newf4 integer;
15269 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15270 declare continue handler for sqlstate '02000' set done = 1;
15271 BEGIN
15272 open cur1;
15273 close cur1;
15274 set count = count - 1;
15275 while count > 0 do
15276 fetch cur1 into newf1, newf2, newf4, newf3;
15277 set count = count - 1;
15278 END while;
15279 END;
15280 END//
15281 CALL sp1();
15282 ERROR 24000: Cursor is not open
15283 DROP PROCEDURE IF EXISTS sp1;
15284 CREATE PROCEDURE sp1( )
15285 BEGIN
15286 declare done int default 0;
15287 declare count integer default 20;
15288 declare newf1 char(20);
15289 declare newf2 char(20);
15290 declare newf3 char(20);
15291 declare newf4 integer;
15292 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15293 declare continue handler for sqlstate '02000' set done = 1;
15294 open cur1;
15295 close cur1;
15296 BEGIN
15297 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15298 open cur1;
15299 END;
15300 fetch cur1 into newf1, newf2, newf3, newf4;
15301 END//
15302 CALL sp1();
15303 ERROR 24000: Cursor is not open
15304 DROP PROCEDURE sp1;
15305 Warnings:
15306 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15307
15308 Testcase 4.2.62:
15309 --------------------------------------------------------------------------------
15310 Warnings:
15311 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15312 DROP PROCEDURE IF EXISTS sp1;
15313 Warnings:
15314 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15315 CREATE PROCEDURE sp1( )
15316 BEGIN
15317 declare done int default 0;
15318 declare count integer default 20;
15319 declare newf2 char(20);
15320 declare newf1 int1;
15321 declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
15322 declare continue handler for sqlstate '02000' set done = 1;
15323 BEGIN
15324 open cur1;
15325 set count = count - 1;
15326 while count > 0 do
15327 fetch cur1 into newf1, newf2;
15328 set @x = newf1;
15329 set @y = newf2;
15330 SELECT @x, @y;
15331 set count = count - 1;
15332 END while;
15333 close cur1;
15334 END;
15335 END//
15336 CALL sp1();
15337 @x @y
15338 NULL NULL
15339 @x @y
15340 NULL NULL
15341 @x @y
15342 NULL NULL
15343 @x @y
15344 NULL NULL
15345 @x @y
15346 NULL NULL
15347 @x @y
15348 NULL NULL
15349 @x @y
15350 NULL NULL
15351 @x @y
15352 NULL NULL
15353 @x @y
15354 NULL NULL
15355 @x @y
15356 NULL NULL
15357 @x @y
15358 NULL NULL
15359 @x @y
15360 NULL NULL
15361 @x @y
15362 NULL NULL
15363 @x @y
15364 NULL NULL
15365 @x @y
15366 NULL NULL
15367 @x @y
15368 NULL NULL
15369 @x @y
15370 NULL NULL
15371 @x @y
15372 NULL NULL
15373 @x @y
15374 NULL NULL
15375 DROP PROCEDURE sp1;
15376 Warnings:
15377 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15378
15379 Testcase 4.2.63:
15380 --------------------------------------------------------------------------------
15381 Warnings:
15382 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15383 DROP PROCEDURE IF EXISTS sp1;
15384 Warnings:
15385 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15386 CREATE PROCEDURE sp1()
15387 BEGIN
15388 declare done int default 0;
15389 declare count integer default 20;
15390 declare newf1 char(20);
15391 declare newf2 char(20);
15392 declare newf3 char(20);
15393 declare newf4 integer;
15394 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15395 declare continue handler for sqlstate '02000' set done = 1;
15396 BEGIN
15397 close cur1;
15398 open cur1;
15399 set count = count - 1;
15400 while count > 0 do
15401 fetch cur1 into newf1, newf2, newf4, newf3;
15402 set count = count - 1;
15403 END while;
15404 close cur1;
15405 END;
15406 END//
15407 CALL sp1();
15408 ERROR 24000: Cursor is not open
15409 DROP PROCEDURE IF EXISTS sp1;
15410 CREATE PROCEDURE sp1( )
15411 BEGIN
15412 declare done int default 0;
15413 declare count integer default 0;
15414 declare newf1 char(20);
15415 declare newf2 char(20);
15416 declare newf3 char(20);
15417 declare newf4 integer;
15418 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15419 declare continue handler for sqlstate '02000' set done = 1;
15420 BEGIN
15421 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
15422 open cur1;
15423 END;
15424 close cur1;
15425 END//
15426 CALL sp1();
15427 ERROR 24000: Cursor is not open
15428 DROP PROCEDURE sp1;
15429 Warnings:
15430 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15431
15432 Testcase 4.2.64:
15433 --------------------------------------------------------------------------------
15434 Warnings:
15435 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15436 DROP PROCEDURE IF EXISTS sp1;
15437 Warnings:
15438 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15439 CREATE PROCEDURE sp1( )
15440 BEGIN
15441 declare done int default 0;
15442 declare count integer default 20;
15443 declare newf1 char(20);
15444 declare newf2 char(20);
15445 declare newf3 char(20);
15446 declare newf4 integer;
15447 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15448 BEGIN
15449 open cur1;
15450 start transaction;
15451 fetch cur1 into newf1, newf2, newf4, newf3;
15452 commit;
15453 fetch cur1 into newf1, newf2, newf4, newf3;
15454 END;
15455 END//
15456 CALL sp1();
15457 ERROR 02000: No data - zero rows fetched, selected, or processed
15458 DROP PROCEDURE sp1;
15459 Warnings:
15460 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15461
15462 Testcase 4.2.65:
15463 --------------------------------------------------------------------------------
15464 Warnings:
15465 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15466 DROP PROCEDURE IF EXISTS sp1;
15467 Warnings:
15468 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15469 CREATE PROCEDURE sp1( )
15470 BEGIN
15471 declare done int default 0;
15472 declare count integer default 20;
15473 declare newf1 char(20);
15474 declare newf2 char(20);
15475 declare newf3 char(20);
15476 declare newf4 integer;
15477 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15478 BEGIN
15479 open cur1;
15480 fetch cur1 into newf1, newf2, newf4, newf3;
15481 rollback;
15482 fetch cur1 into newf1, newf2, newf4, newf3;
15483 commit;
15484 END;
15485 END//
15486 CALL sp1();
15487 ERROR 02000: No data - zero rows fetched, selected, or processed
15488 DROP PROCEDURE sp1;
15489 Warnings:
15490 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15491
15492 Testcase 4.2.66:
15493 --------------------------------------------------------------------------------
15494 Warnings:
15495 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15496 DROP PROCEDURE IF EXISTS sp1;
15497 Warnings:
15498 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15499 CREATE PROCEDURE sp1( )
15500 BEGIN
15501 declare done int default 0;
15502 declare count integer default 20;
15503 declare newf1 char(20);
15504 declare newf2 char(20);
15505 declare newf3 char(20);
15506 declare newf4 integer;
15507 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15508 declare continue handler for sqlstate '02000' set done = 1;
15509 BEGIN
15510 open cur1;
15511 set count = count - 1;
15512 while count > 0 do
15513 fetch cur1 into newf1, newf2, newf4, newf3;
15514 set count = count - 1;
15515 END while;
15516 close cur1;
15517 fetch cur1 into newf1, newf2, newf4, newf3;
15518 END;
15519 END//
15520 CALL sp1();
15521 ERROR 24000: Cursor is not open
15522 DROP PROCEDURE sp1;
15523 Warnings:
15524 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15525
15526 Testcase 4.2.67:
15527 --------------------------------------------------------------------------------
15528 Warnings:
15529 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15530 DROP PROCEDURE IF EXISTS sp1;
15531 Warnings:
15532 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15533 CREATE PROCEDURE sp1( )
15534 BEGIN
15535 declare done int default 0;
15536 declare count integer default 20;
15537 declare newf1 char(20);
15538 declare newf2 char(20);
15539 declare newf3 char(20);
15540 declare newf4 integer;
15541 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15542 declare continue handler for sqlstate '02000' set done = 1;
15543 BEGIN
15544 open cur1;
15545 # set count = count - 1;
15546 # while count > 0 do
15547 fetch cur1 into newf1, newf2, newf4, newf3;
15548 # set count = count - 1;
15549 # END while;
15550 END;
15551 fetch cur1 into newf1, newf2, newf4, newf3;
15552 END//
15553 CALL sp1();
15554 DROP PROCEDURE sp1;
15555 Warnings:
15556 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15557
15558 Testcase 4.2.70:
15559 --------------------------------------------------------------------------------
15560 Warnings:
15561 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15562 create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
15563 create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
15564 DROP PROCEDURE IF EXISTS sp1;
15565 Warnings:
15566 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15567 CREATE PROCEDURE sp1( )
15568 BEGIN
15569 declare done int default 0;
15570 declare count integer default 20;
15571 declare newf1 char(20);
15572 declare newf2 char(20);
15573 declare newf3 char(20);
15574 declare newf4 integer;
15575 declare newf21 char(20);
15576 declare newf22 char(20);
15577 declare newf23 char(20);
15578 declare newf24 integer;
15579 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
15580 declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
15581 declare continue handler for sqlstate '02000' set done = 1;
15582 open cur1;
15583 BEGIN
15584 set count = 10;
15585 BEGIN
15586 open cur2;
15587 while count > 0 do
15588 fetch cur1 into newf1, newf2, newf4, newf3;
15589 set count = count - 1;
15590 END while;
15591 END;
15592 insert into temp1 values(newf1, newf2, newf4, newf3);
15593 close cur1;
15594 END;
15595 BEGIN
15596 set count = 10;
15597 while count > 0 do
15598 fetch cur2 into newf21, newf22, newf24, newf23;
15599 set count = count - 1;
15600 END while;
15601 END;
15602 insert into temp2 values(newf21, newf22, newf24, newf23);
15603 close cur2;
15604 END//
15605 CALL sp1();
15606 SELECT count(*) from temp1;
15607 count(*)
15608 1
15609 SELECT * from temp2;
15610 f1 f2 f3 f4
15611 NULL NULL NULL NULL
15612 DROP PROCEDURE sp1;
15613 drop table temp1;
15614 drop table temp2;
15615 Warnings:
15616 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15617
15618 Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
15619 . IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
15620 --------------------------------------------------------------------------------
15621 Warnings:
15622 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15623 USE db_storedproc;
15624 Warnings:
15625 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15626
15627 Testcase 4.3.1:
15628 --------------------------------------------------------------------------------
15629 Warnings:
15630 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15631 DROP PROCEDURE IF EXISTS sp1;
15632 DROP TABLE IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15633 CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
15634 middleinitial CHAR, lastname VARCHAR(50),
15635 age_averylongfieldname_averylongname_1234569 INT, COMMENT VARCHAR(100))
15636 ENGINE=<engine_to_be_tested>;
15637 INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
15638 VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
15639 CREATE PROCEDURE sp1(a INT)
15640 BEGIN
15641 DECLARE itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx CHAR;
15642 DECLARE itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx VARCHAR(100);
15643 DECLARE itisjustamediumsizeintintegervariablename INTEGER;
15644 SET itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
15645 SET itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx
15646 = 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
15647 SET itisjustamediumsizeintintegervariablename = 5;
15648 SET @comment='a';
15649 label1: LOOP
15650 IF a > 100 THEN
15651 SET @comment = 'value of a is greater than 100';
15652 ELSEIF a < 100 THEN
15653 IF a < 50 THEN
15654 SET @comment = 'value of a is less than 50';
15655 ELSEIF a < 25 THEN
15656 SET @comment = 'value of a is less than 25';
15657 ELSE
15658 SET @comment = 'value of a is greater than 50 and less than 100';
15659 END IF;
15660 ELSE
15661 SET @comment = 'value of a is 100';
15662 END IF;
15663 IF itisjustamediumsizeintintegervariablename = 0 THEN LEAVE label1;
15664 END IF;
15665 INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
15666 VALUES(itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
15667 CONCAT(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx,
15668 ' ', a), a, @comment);
15669 SET itisjustamediumsizeintintegervariablename
15670 = itisjustamediumsizeintintegervariablename - 1;
15671 ITERATE label1;
15672 END LOOP label1;
15673 END//
15674 CALL sp1(101);
15675 CALL sp1(100);
15676 CALL sp1(75);
15677 CALL sp1(40);
15678 CALL sp1(20);
15679 CALL sp1(-1);
15680 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
15681 ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
15682 middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
15683 a aaaaaaaaaabbbbbbbbc 0 default
15684 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15685 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15686 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15687 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15688 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15689 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15690 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15691 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15692 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15693 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15694 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15695 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15696 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15697 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15698 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15699 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15700 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15701 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15702 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15703 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15704 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15705 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15706 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15707 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15708 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15709 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15710 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15711 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15712 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15713 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15714 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15715 DROP PROCEDURE sp1;
15716 Warnings:
15717 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15718
15719 Testcase 4.3.2:
15720 --------------------------------------------------------------------------------
15721 Warnings:
15722 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15723 DROP PROCEDURE IF EXISTS sp2;
15724 CREATE PROCEDURE sp2( action char(20) )
15725 BEGIN
15726 declare v1 char(20);
15727 declare v2 char(20);
15728 declare count integer;
15729 set v1 = 'f1';
15730 set v2 = 'address';
15731 set count = 1;
15732 case when action = 'delete' then
15733 insert into t3 values(v1, v2, count);
15734 delete from t3 where f1=v1;
15735 when action = 'insert' then
15736 repeat
15737 insert into t3 values(v1, v2, count);
15738 set count = count + 1;
15739 until count > 5
15740 END repeat;
15741 set count = 1;
15742 label1: repeat
15743 insert into t3 values(v1, v2, count);
15744 if count > 5 then leave label1;
15745 END if;
15746 set count = count + 1;
15747 until count > 5
15748 END repeat;
15749 set count = 1;
15750 while count < 5 do
15751 insert into t3 values(v1, v2, count);
15752 set count = count + 1;
15753 END while;
15754 set count = 1;
15755 label1: while count < 5 do
15756 insert into t3 values(v1, v2, count);
15757 if count > 5 then leave label1;
15758 END if;
15759 set count = count + 1;
15760 END while;
15761 else
15762 set @dummystring = 'temp value';
15763 END case;
15764 END//
15765 CALL sp2( 'insert' );
15766 SELECT * from t3 where f3 <=5 && f3 >= 0;
15767 f1 f2 f3
15768 Warning 1287 '&&' is deprecated and will be removed in a future release. Please use AND instead
15769 Warnings:
15770 f1 address 1
15771 f1 address 1
15772 f1 address 1
15773 f1 address 1
15774 f1 address 2
15775 f1 address 2
15776 f1 address 2
15777 f1 address 2
15778 f1 address 3
15779 f1 address 3
15780 f1 address 3
15781 f1 address 3
15782 f1 address 4
15783 f1 address 4
15784 f1 address 4
15785 f1 address 4
15786 f1 address 5
15787 f1 address 5
15788 SELECT count(*) from t3;
15789 count(*)
15790 28
15791 CALL sp2( 'delete' );
15792 SELECT count(*) from t3;
15793 count(*)
15794 10
15795 CALL sp2 ('test');
15796 SELECT @dummystring;
15797 @dummystring
15798 temp value
15799 DROP PROCEDURE sp2;
15800 Warnings:
15801 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15802
15803 Testcase 4.1.2:
15804 ---------------
15805 Ensure that all sub-clauses that should not be supported are disallowed with
15806 an appropriate error message. (case)
15807 --------------------------------------------------------------------------------
15808 Warnings:
15809 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15810 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15811 DROP PROCEDURE IF EXISTS sp3;
15812 create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
15813 CREATE PROCEDURE sp3( action char(20) )
15814 BEGIN
15815 label1: case
15816 when action = 'delete' then
15817 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15818 else
15819 set @dummystring = 'temp value';
15820 iterate label1;
15821 END case label1;
15822 END//
15823 ERROR 42000: You 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
15824 when action = 'delete' then
15825 delete from res_t3_itisalongname_1381742_itsav' at line 3
15826 DROP PROCEDURE IF EXISTS sp3;
15827 CREATE PROCEDURE sp3( action char(20) )
15828 BEGIN
15829 label1: BEGIN
15830 case
15831 action = 'delete' then
15832 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15833 else
15834 set @dummystring = 'temp value';
15835 iterate label1;
15836 END case;
15837 END label1;
15838 END//
15839 ERROR 42000: You 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
15840 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15841 else
15842 set' at line 5
15843 DROP PROCEDURE IF EXISTS sp3;
15844 CREATE PROCEDURE sp3( action char(20) )
15845 BEGIN
15846 case
15847 when action = 'delete' then
15848 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15849 then action = 'truncate' when
15850 truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15851 else
15852 set @dummystring = 'temp value';
15853 iterate label1;
15854 END case;
15855 END//
15856 ERROR 42000: You 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
15857 truncate from res_t3_itisalongname_1381742_itsave' at line 6
15858 DROP PROCEDURE IF EXISTS sp3;
15859 CREATE PROCEDURE sp3( action char(20) )
15860 BEGIN
15861 declare v1 char(20);
15862 declare v2 char(20);
15863 declare count integer;
15864 set v1 = 'f1';
15865 set v2= 'address';
15866 set count = 1;
15867 case action
15868 when 'delete' then
15869 when 'delete' then
15870 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15871 END case;
15872 END//
15873 ERROR 42000: You 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
15874 delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 11
15875 DROP PROCEDURE IF EXISTS sp3;
15876 CREATE PROCEDURE sp3( action char(20) )
15877 BEGIN
15878 declare count int default 1;
15879 declare done int default 0;
15880 declare continue handler for sqlstate 'HY000' set done=1;
15881 label1: loop
15882 case
15883 when action = 'delete' then
15884 label3:BEGIN
15885 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15886 END label3;
15887 when action = 'insert' then
15888 label2: while count < 10 do
15889 BEGIN
15890 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
15891 values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
15892 GET DIAGNOSTICS @n = NUMBER;
15893 GET DIAGNOSTICS CONDITION @n @err_no = MYSQL_ERRNO, @err_txt = MESSAGE_TEXT;
15894 set count = count + 1;
15895 if count= 10 then
15896 set done=1;
15897 END if;
15898 END;
15899 END while label2;
15900 else
15901 set @dummystring = 'temp value';
15902 iterate label1;
15903 END case;
15904 if done=1 then
15905 leave label1;
15906 END if;
15907 END loop label1;
15908 SELECT count, done;
15909 SELECT @err_no, @err_txt;
15910 END//
15911 CALL sp3('insert');
15912 count done
15913 10 1
15914 @err_no @err_txt
15915 1265 Data truncated for column 'name' at row 1
15916 DROP PROCEDURE sp3;
15917 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15918 Warnings:
15919 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15920
15921 Testcase 4.3.4:
15922 --------------------------------------------------------------------------------
15923 Warnings:
15924 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
15925 DROP PROCEDURE IF EXISTS sp4;
15926 CREATE PROCEDURE sp4()
15927 BEGIN
15928 declare count int;
15929 set count = 1;
15930 label1: loop
15931 if count > 10 then leave label1;
15932 else
15933 set count = count + 1;
15934 elseif count > 20 then
15935 leave label1;
15936 END if;
15937 iterate label1;
15938 END loop label1;
15939 END//
15940 ERROR 42000: You 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
15941 leave label1;
15942 END if;
15943 iterate label1;
15944 END loop label1;
15945 EN' at line 9
15946 DROP PROCEDURE IF EXISTS sp4;
15947 CREATE PROCEDURE sp4()
15948 BEGIN
15949 declare count int;
15950 set count = 1;
15951 label1: loop
15952 else
15953 set count = count + 1;
15954 if count > 20 then
15955 leave label1;
15956 END if;
15957 iterate label1;
15958 END loop label1;
15959 END//
15960 ERROR 42000: You 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
15961 set count = count + 1;
15962 if count > 20 then
15963 leave label1;
15964 END if;
15965 iterate lab' at line 6
15966 DROP PROCEDURE IF EXISTS sp4;
15967 CREATE PROCEDURE sp4()
15968 BEGIN
15969 declare count int;
15970 set count = 1;
15971 label1: loop
15972 elseif count > 20 then
15973 leave label1;
15974 else
15975 set count=count+1;
15976 END if;
15977 iterate label1;
15978 END loop label1;
15979 END//
15980 ERROR 42000: You 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
15981 leave label1;
15982 else
15983 set count=count+1;
15984 END if;
15985 iterate lab' at line 6
15986 DROP PROCEDURE IF EXISTS sp4;
15987 CREATE PROCEDURE sp4()
15988 BEGIN
15989 declare count int;
15990 set count = 1;
15991 label1: loop
15992 END if;
15993 if count > 20 then
15994 leave label1;
15995 else
15996 set count=count+1;
15997 iterate label1;
15998 END loop label1;
15999 END//
16000 ERROR 42000: You 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;
16001 if count > 20 then
16002 leave label1;
16003 else
16004 set count=count+1;
16005 iterate label1;' at line 6
16006 DROP PROCEDURE IF EXISTS sp4;
16007 CREATE PROCEDURE sp4()
16008 BEGIN
16009 declare i int default 10;
16010 if i > 20 then
16011 set i=25;
16012 END if
16013 declare count int;
16014 set count = 1;
16015 label1: loop
16016 if count > 20 then
16017 leave label1;
16018 else
16019 set count=count+1;
16020 iterate label1;
16021 END loop label1;
16022 END//
16023 ERROR 42000: You 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;
16024 set count = 1;
16025 label1: loop
16026 if count > 20 then
16027 leave label1;
16028 ' at line 7
16029 DROP PROCEDURE IF EXISTS sp4;
16030 CREATE PROCEDURE sp4()
16031 BEGIN
16032 declare idummy int default 10;
16033 declare count int;
16034 set count = 1;
16035 label1: loop
16036 BEGIN
16037 if count < 20 then
16038 BEGIN
16039 declare idummy2 int default 10;
16040 set count=count+1;
16041 END;
16042 else
16043 BEGIN
16044 SELECT idummy2;
16045 leave label1;
16046 END;
16047 END if;
16048 iterate label1;
16049 END;
16050 END loop label1;
16051 END//
16052 CALL sp4();
16053 ERROR 42S22: Unknown column 'idummy2' in 'field list'
16054 DROP PROCEDURE sp4;
16055 Warnings:
16056 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16057
16058 Testcase 4.3.5:
16059 --------------------------------------------------------------------------------
16060 Warnings:
16061 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16062 DROP PROCEDURE IF EXISTS sp5;
16063 CREATE PROCEDURE sp5()
16064 BEGIN
16065 declare count integer default 1;
16066 set count = 1;
16067 case
16068 else
16069 set count = 10;
16070 when count = 1 then
16071 set count = count + 1;
16072 END case;
16073 END//
16074 ERROR 42000: You 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
16075 set count = 10;
16076 when count = 1 then
16077 set count = count + 1;
16078 END case;
16079 END' at line 6
16080 DROP PROCEDURE IF EXISTS sp5;
16081 CREATE PROCEDURE sp5(count int)
16082 BEGIN
16083 when case count = 1 then
16084 set count = 10;
16085 when count = 2 then
16086 set count = count + 1;
16087 END case;
16088 END//
16089 ERROR 42000: You 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
16090 set count = 10;
16091 when count = 2 then
16092 set count = count' at line 3
16093 DROP PROCEDURE IF EXISTS sp5;
16094 CREATE PROCEDURE sp5(count int)
16095 BEGIN
16096 END case;
16097 when count = 1 then
16098 set count = 10;
16099 when count = 2 then
16100 set count = count + 1;
16101 END case;
16102 END//
16103 ERROR 42000: You 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;
16104 when count = 1 then
16105 set count = 10;
16106 when count = 2 then
16107 set count = coun' at line 3
16108 DROP PROCEDURE IF EXISTS sp5;
16109 CREATE PROCEDURE sp5(count int)
16110 BEGIN
16111 when count = 1 then
16112 set count = 10;
16113 case when count = 2 then
16114 set count = count + 1;
16115 END case;
16116 END//
16117 ERROR 42000: You 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
16118 set count = 10;
16119 case when count = 2 then
16120 set count = count' at line 3
16121 Warnings:
16122 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16123
16124 Testcase 4.3.6:
16125 ---------------
16126 Ensure that all supported sub-clauses are supported only in the correct order (repeat).
16127 --------------------------------------------------------------------------------
16128 Warnings:
16129 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16130 DROP PROCEDURE IF EXISTS sp6;
16131 CREATE PROCEDURE sp6()
16132 BEGIN
16133 declare count1 integer default 1;
16134 label1: repeat
16135 set count1 = count1 + 1;
16136 if count1 > 5 then leave label1; END if;
16137 END repeat;
16138 until count1 > 5
16139 END//
16140 ERROR 42000: You 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;
16141 until count1 > 5
16142 END' at line 7
16143 DROP PROCEDURE IF EXISTS sp6;
16144 CREATE PROCEDURE sp6()
16145 BEGIN
16146 declare count1 integer default 1;
16147 label1: until count1 > 5
16148 repeat
16149 set count1 = count1 + 1;
16150 if count1 > 5 then leave label1; END if;
16151 END repeat;
16152 END//
16153 ERROR 42000: You 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
16154 repeat
16155 set count1 = count1 + 1;
16156 if count1 > 5 then leave label1' at line 4
16157 DROP PROCEDURE IF EXISTS sp6;
16158 CREATE PROCEDURE sp6()
16159 BEGIN
16160 declare count1 integer default 1;
16161 label1: END repeat
16162 set count1 = count1 + 1;
16163 if count1 > 5 then leave label1; END if;
16164 until count1 > 5
16165 repeat;
16166 END//
16167 ERROR 42000: You 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
16168 set count1 = count1 + 1;
16169 if count1 > 5 then leave label1; END if;
16170 unt' at line 4
16171 DROP PROCEDURE IF EXISTS sp6;
16172 CREATE PROCEDURE sp6()
16173 BEGIN
16174 declare count1 integer default 1;
16175 label1: repeat
16176 set count1 = count1 + 1;
16177 if count1 > 5 then leave label1; END if;
16178 END repeat;
16179 END//
16180 ERROR 42000: You 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;
16181 END' at line 7
16182 DROP PROCEDURE IF EXISTS sp6;
16183 CREATE PROCEDURE sp6()
16184 BEGIN
16185 declare count1 integer default 1;
16186 label1: repeat
16187 set count1 = count1 + 1;
16188 if count1 > 5 then leave label1; END if;
16189 until count1 > 10;
16190 SELECT count1;
16191 END repeat;
16192 END//
16193 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
16194 SELECT count1;
16195 END repeat;
16196 END' at line 7
16197 DROP PROCEDURE IF EXISTS sp6;
16198 CREATE PROCEDURE sp6()
16199 BEGIN
16200 declare count1 integer default 1;
16201 label1: repeat
16202 set count1 = count1-1;
16203 until count1 < 0
16204 END repeat label1;
16205 SELECT count1;
16206 END//
16207 CALL sp6();
16208 count1
16209 -1
16210 DROP PROCEDURE sp6;
16211 Warnings:
16212 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16213
16214 Testcase 4.3.7:
16215 --------------------------------------------------------------------------------
16216 Warnings:
16217 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16218 DROP PROCEDURE IF EXISTS sp7;
16219 CREATE PROCEDURE sp7()
16220 BEGIN
16221 label1: loop
16222 set @dummystring = 'temp value';
16223 if count > 10 then leave label1;
16224 END if;
16225 label1 iterate;
16226 END label1 loop;
16227 END//
16228 ERROR 42000: You 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;
16229 END label1 loop;
16230 END' at line 7
16231 DROP PROCEDURE IF EXISTS sp7;
16232 CREATE PROCEDURE sp7()
16233 BEGIN
16234 label1: END loop;
16235 set @dummystring = 'temp value';
16236 if count > 10 then leave label1;
16237 END if;
16238 iterate label1;
16239 loop;
16240 END//
16241 ERROR 42000: You 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;
16242 set @dummystring = 'temp value';
16243 if count > 10 then leave label1;
16244 END ' at line 3
16245 DROP PROCEDURE IF EXISTS sp7;
16246 CREATE PROCEDURE sp7()
16247 BEGIN
16248 label1: iterate label1;
16249 loop
16250 set @dummystring = 'temp value';
16251 if count > 10 then leave label1;
16252 END if;
16253 END loop label1;
16254 END//
16255 ERROR 42000: You 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;
16256 loop
16257 set @dummystring = 'temp value';
16258 if count > 10 then leave l' at line 3
16259 Warnings:
16260 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16261
16262 Testcase 4.3.8:
16263 --------------------------------------------------------------------------------
16264 Warnings:
16265 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16266 DROP PROCEDURE IF EXISTS sp8;
16267 CREATE PROCEDURE sp8()
16268 BEGIN
16269 declare v1 int default 5;
16270 do while v1 > 0
16271 set v1 = v1 - 1;
16272 END while;
16273 END//
16274 ERROR 42000: You 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
16275 set v1 = v1 - 1;
16276 END while;
16277 END' at line 4
16278 DROP PROCEDURE IF EXISTS sp8;
16279 CREATE PROCEDURE sp8()
16280 BEGIN
16281 declare v1 int default 5;
16282 do v1 > 0 while
16283 set v1 = v1 - 1;
16284 END while;
16285 END//
16286 ERROR 42000: You 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
16287 set v1 = v1 - 1;
16288 END while;
16289 END' at line 4
16290 DROP PROCEDURE IF EXISTS sp8;
16291 CREATE PROCEDURE sp8()
16292 BEGIN
16293 declare v1 int default 5;
16294 END while;
16295 set v1 = v1 - 1;
16296 while v1 > 0 do;
16297 END//
16298 ERROR 42000: You 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;
16299 set v1 = v1 - 1;
16300 while v1 > 0 do;
16301 END' at line 4
16302 Warnings:
16303 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16304
16305 Testcase 4.3.12:
16306 --------------------------------------------------------------------------------
16307 Warnings:
16308 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16309 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
16310 DROP PROCEDURE IF EXISTS sp12;
16311 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
16312 CREATE PROCEDURE sp12( )
16313 BEGIN
16314 declare count1 integer default 1;
16315 declare count2 int;
16316 label1: loop
16317 if count1 > 2 then leave label1;
16318 END if;
16319 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16320 label2: loop
16321 if count2 > 2 then leave label2;
16322 END if;
16323 set count2 = count2 + 1;
16324 END loop label1;
16325 set count1 = count1 + 1;
16326 iterate label1;
16327 END loop label2;
16328 END//
16329 ERROR 42000: End-label label1 without match
16330 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
16331 Warnings:
16332 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16333
16334 Testcase 4.3.13:
16335 --------------------------------------------------------------------------------
16336 Warnings:
16337 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16338 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
16339 DROP PROCEDURE IF EXISTS sp13;
16340 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
16341 CREATE PROCEDURE sp13( )
16342 BEGIN
16343 declare count1 integer default 1;
16344 lable1: loop
16345 if count1 > 2 then leave lable1;
16346 END if;
16347 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16348 set count1 = count1 + 1;
16349 iterate lable1;
16350 END loop;
16351 END//
16352 CALL sp13();
16353 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16354 f1 f2 f3
16355 xyz pqr 1
16356 xyz pqr 2
16357 DROP PROCEDURE sp13;
16358 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
16359 Warnings:
16360 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16361
16362 Testcase 4.3.14:
16363 --------------------------------------------------------------------------------
16364 Warnings:
16365 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16366 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
16367 DROP PROCEDURE IF EXISTS sp14;
16368 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
16369 CREATE PROCEDURE sp14( )
16370 BEGIN
16371 declare count1 integer default 1;
16372 loop
16373 if count1 > 2 then leave lable1;
16374 END if;
16375 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16376 set count1 = count1 + 1;
16377 iterate lable1;
16378 END loop label1;
16379 END//
16380 ERROR 42000: LEAVE with no matching label: lable1
16381 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
16382 Warnings:
16383 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16384
16385 Testcase 4.3.15:
16386 --------------------------------------------------------------------------------
16387 Warnings:
16388 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16389 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
16390 DROP PROCEDURE IF EXISTS sp15;
16391 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
16392 CREATE PROCEDURE sp15( )
16393 BEGIN
16394 declare count1 integer default 1;
16395 label1 loop
16396 if count1 > 2 then leave lable1;
16397 END if;
16398 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16399 set count1 = count1 + 1;
16400 iterate lable1;
16401 END loop label1;
16402 END//
16403 ERROR 42000: You 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
16404 if count1 > 2 then leave lable1;
16405 END if;
16406 insert into res_t3_itisalongname_1' at line 4
16407 Warnings:
16408 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16409
16410 Testcase 4.3.16:
16411 ----------------
16412 Ensure that every beginning label with the same scope must be unique.
16413 --------------------------------------------------------------------------------
16414 Warnings:
16415 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16416 DROP PROCEDURE IF EXISTS sp16;
16417 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16418 CREATE PROCEDURE sp16( )
16419 BEGIN
16420 declare count1 integer default 1;
16421 declare count2 integer default 1;
16422 label1: repeat
16423 set count1 = count1 + 1;
16424 set count2 = 1;
16425 label1: repeat
16426 set count2 = count2 + 1;
16427 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
16428 until count2 > 3
16429 END repeat label1;
16430 until count1 > 3
16431 END repeat label1;
16432 END//
16433 ERROR 42000: Redefining label label1
16434 DROP PROCEDURE IF EXISTS sp16;
16435 CREATE PROCEDURE sp16( )
16436 BEGIN
16437 declare count1 integer default 1;
16438 declare count2 integer default 1;
16439 declare count3 integer default 1;
16440 label1: repeat
16441 set count1 = count1 + 1;
16442 label1: repeat
16443 set count2 = count2 + 1;
16444 SELECT count2;
16445 until count2 > 3
16446 END repeat label1;
16447 SELECT count1;
16448 until count1 > 3
16449 END repeat label1;
16450 label1: repeat
16451 set count3 = count3 + 1;
16452 SELECT count3;
16453 until count3 > 3
16454 END repeat label1;
16455 END//
16456 ERROR 42000: Redefining label label1
16457 Warnings:
16458 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16459
16460 Testcase 4.3.17:
16461 --------------------------------------------------------------------------------
16462 Warnings:
16463 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16464 Warnings:
16465 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16466
16467 Testcase 4.3.18:
16468 --------------------------------------------------------------------------------
16469 Warnings:
16470 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16471 DROP PROCEDURE IF EXISTS sp18;
16472 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16473 CREATE PROCEDURE sp18( )
16474 BEGIN
16475 declare count1 integer default 1;
16476 label1: repeat
16477 set count1 = count1 + 1;
16478 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16479 until count1 < 3
16480 END repeat label2;
16481 END//
16482 ERROR 42000: End-label label2 without match
16483 Warnings:
16484 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16485
16486 Testcase 4.3.19:
16487 --------------------------------------------------------------------------------
16488 Warnings:
16489 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16490 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16491 DROP PROCEDURE IF EXISTS sp19;
16492 CREATE PROCEDURE sp19( )
16493 BEGIN
16494 declare count1 integer default 1;
16495 label1: repeat
16496 set count1 = count1 + 1;
16497 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16498 until count1 < 3
16499 END repeat;
16500 END//
16501 CALL sp19();
16502 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16503 f1 f2 f3
16504 xyz pqr 2
16505 DROP PROCEDURE sp19;
16506 Warnings:
16507 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16508
16509 Testcase 4.3.20:
16510 --------------------------------------------------------------------------------
16511 Warnings:
16512 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16513 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16514 DROP PROCEDURE IF EXISTS sp20;
16515 CREATE PROCEDURE sp20( )
16516 BEGIN
16517 declare count1 integer default 1;
16518 repeat
16519 set count1 = count1 + 1;
16520 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16521 until count1 < 3
16522 END repeat label1;
16523 END//
16524 ERROR 42000: You 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;
16525 END' at line 8
16526 Warnings:
16527 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16528
16529 Testcase 4.3.21:
16530 --------------------------------------------------------------------------------
16531 Warnings:
16532 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16533 Warnings:
16534 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16535
16536 Testcase 4.3.22:
16537 --------------------------------------------------------------------------------
16538 Warnings:
16539 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16540 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16541 DROP PROCEDURE IF EXISTS sp22;
16542 CREATE PROCEDURE sp22( )
16543 BEGIN
16544 declare count1 integer default 1;
16545 declare count2 integer default 1;
16546 while count1 < 3 do
16547 set count1 = count1 + 1;
16548 set count2 = 1;
16549 label1: while count2 < 3 do
16550 set count2 = count2 + 1;
16551 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16552 END while label2;
16553 END while;
16554 END//
16555 ERROR 42000: End-label label2 without match
16556 Warnings:
16557 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16558
16559 Testcase 4.3.23:
16560 --------------------------------------------------------------------------------
16561 Warnings:
16562 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16563 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16564 DROP PROCEDURE IF EXISTS sp23;
16565 CREATE PROCEDURE sp23( )
16566 BEGIN
16567 declare count1 integer default 1;
16568 declare count2 integer default 1;
16569 while count1 < 3 do
16570 set count1 = count1 + 1;
16571 set count2 = 1;
16572 while count2 < 3 do
16573 set count2 = count2 + 1;
16574 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16575 END while label1;
16576 END while;
16577 END//
16578 ERROR 42000: You 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;
16579 END while;
16580 END' at line 11
16581 Warnings:
16582 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16583
16584 Testcase 4.3.25:
16585 --------------------------------------------------------------------------------
16586 Warnings:
16587 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16588 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16589 DROP PROCEDURE IF EXISTS sp25;
16590 CREATE PROCEDURE sp25( )
16591 BEGIN
16592 declare count1 integer default 1;
16593 declare count2 integer default 1;
16594 while count1 < 3 do
16595 set count1 = count1 + 1;
16596 set count2 = 1;
16597 label1: while count2 < 3 do
16598 set count2 = count2 + 1;
16599 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16600 END while;
16601 END while;
16602 END//
16603 CALL sp25 ();
16604 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16605 f1 f2 f3
16606 xyz pqr 2
16607 xyz pqr 2
16608 xyz pqr 3
16609 xyz pqr 3
16610 DROP PROCEDURE sp25;
16611 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
16612 Warnings:
16613 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16614
16615 Section 3.1.4 - Checks for the global nature of stored procedures:
16616 --------------------------------------------------------------------------------
16617 Warnings:
16618 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16619 USE db_storedproc;
16620 Warnings:
16621 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16622
16623 Testcase 4.4.1:
16624 --------------------------------------------------------------------------------
16625 Warnings:
16626 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16627 DROP PROCEDURE IF EXISTS sp1;
16628 DROP DATABASE IF EXISTS d40401;
16629 CREATE PROCEDURE sp1 ( n char(20) )
16630 BEGIN
16631 SELECT n;
16632 END//
16633 CREATE DATABASE d40401;
16634 USE d40401;
16635 CALL db_storedproc.sp1('abcd');
16636 n
16637 abcd
16638 USE db_storedproc;
16639 DROP PROCEDURE sp1;
16640 DROP DATABASE d40401;
16641 Warnings:
16642 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16643
16644 Testcase 4.4.2:
16645 --------------------------------------------------------------------------------
16646 Warnings:
16647 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16648 DROP FUNCTION IF EXISTS fn1;
16649 DROP FUNCTION IF EXISTS fn11;
16650 DROP DATABASE IF EXISTS d40402;
16651 CREATE FUNCTION fn1(n int) returns int
16652 BEGIN
16653 declare a int;
16654 set a = 9 * n;
16655 return a;
16656 END//
16657 CREATE DATABASE d40402;
16658 USE d40402;
16659 SELECT db_storedproc.fn1(100);
16660 db_storedproc.fn1(100)
16661 900
16662 SELECT db_storedproc.fn1(1000);
16663 db_storedproc.fn1(1000)
16664 9000
16665 CREATE FUNCTION db_storedproc.fn11(n int) returns int
16666 BEGIN
16667 declare a int;
16668 set a = 9 * n;
16669 return a;
16670 END//
16671 SELECT db_storedproc.fn11(100);
16672 db_storedproc.fn11(100)
16673 900
16674 SELECT db_storedproc.fn11(1000);
16675 db_storedproc.fn11(1000)
16676 9000
16677 USE db_storedproc;
16678 DROP FUNCTION fn1;
16679 DROP FUNCTION fn11;
16680 DROP DATABASE d40402;
16681 Warnings:
16682 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16683
16684 Testcase 4.4.3:
16685 --------------------------------------------------------------------------------
16686 Warnings:
16687 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16688 DROP DATABASE IF EXISTS d1;
16689 DROP DATABASE IF EXISTS d2;
16690 CREATE DATABASE d1;
16691 CREATE DATABASE d2;
16692 USE d1;
16693 create table res_t41(a char(5), b char(10));
16694 insert into res_t41 values('abcde', 'a!@#$%^&*(');
16695 USE d2;
16696 create table res_t42(a char(5), b char(10));
16697 USE d1;
16698 CREATE PROCEDURE sp2(n char (20))
16699 BEGIN
16700 SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
16701 insert into d2.res_t42 values (@a, @b);
16702 END//
16703 USE d2;
16704 CALL d1.sp2('a!@#$%^&*(');
16705 show warnings;
16706 Level Code Message
16707 SELECT * from d1.res_t41;
16708 a b
16709 abcde a!@#$%^&*(
16710 SELECT * from res_t42;
16711 a b
16712 abcde a!@#$%^&*(
16713 USE db_storedproc;
16714 DROP DATABASE d1;
16715 DROP DATABASE d2;
16716 Warnings:
16717 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16718
16719 Testcase 4.4.4:
16720 --------------------------------------------------------------------------------
16721 Warnings:
16722 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16723 CREATE DATABASE d1;
16724 USE d1;
16725 CREATE PROCEDURE sp3()
16726 BEGIN
16727 USE d1;
16728 END//
16729 ERROR 0A000: USE is not allowed in stored procedures
16730 USE db_storedproc;
16731 DROP DATABASE d1;
16732 Warnings:
16733 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16734
16735 Testcase 4.4.5:
16736 --------------------------------------------------------------------------------
16737 Warnings:
16738 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16739 CREATE DATABASE d1;
16740 USE d1;
16741 create table t43(a char(5), b char(10));
16742 insert into t43 values('abcde', 'a!@#$%^&*(');
16743 CREATE PROCEDURE d1.sp4()
16744 SELECT * from d1.t43;
16745 SELECT * from information_schema.routines where specific_name = 'sp4';
16746 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16747 sp4 def d1 sp4 PROCEDURE NULL NULL NULL NULL NULL NULL NULL NULL SQL SELECT * from d1.t43 NULL SQL SQL NO CONTAINS SQL NULL DEFINER modified created NO_ENGINE_SUBSTITUTION root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
16748 USE db_storedproc;
16749 DROP DATABASE d1;
16750 CREATE DATABASE d1;
16751 USE d1;
16752 create table t44(a char(5), b char(10));
16753 SELECT * from information_schema.routines where specific_name = 'sp4';
16754 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16755 USE db_storedproc;
16756 DROP DATABASE d1;
16757 Warnings:
16758 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16759
16760 Testcase 4.4.6:
16761 --------------------------------------------------------------------------------
16762 Warnings:
16763 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16764 USE db_storedproc;
16765 DROP PROCEDURE IF EXISTS sp5;
16766 CREATE PROCEDURE sp5()
16767 SELECT * from db_storedproc.t4 limit 0, 10;
16768 SELECT routine_schema from information_schema.routines where specific_name = 'sp5';
16769 ROUTINE_SCHEMA
16770 db_storedproc
16771 DROP PROCEDURE sp5;
16772 Warnings:
16773 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16774
16775 Testcase 4.4.7:
16776 --------------------------------------------------------------------------------
16777 Warnings:
16778 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16779 USE db_storedproc;
16780 drop table IF EXISTS t46;
16781 DROP PROCEDURE IF EXISTS sp6;
16782 create table t46(f1 char(20), f2 char(20));
16783 insert into t46 values ('abcd', 'wxyz');
16784 CREATE PROCEDURE db_storedproc.sp6()
16785 SELECT * from db_storedproc.t4 limit 0, 10;
16786 SELECT routine_schema from information_schema.routines where specific_name = 'sp6';
16787 ROUTINE_SCHEMA
16788 db_storedproc
16789 drop table t46;
16790 DROP PROCEDURE sp6;
16791 Warnings:
16792 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16793
16794 Testcase 4.4.8:
16795 --------------------------------------------------------------------------------
16796 Warnings:
16797 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16798 DROP DATABASE IF EXISTS d1;
16799 DROP DATABASE IF EXISTS d2;
16800 CREATE DATABASE d1;
16801 CREATE DATABASE d2;
16802 USE d1;
16803 CREATE PROCEDURE sp8 ( n char(20) ) sql security DEFINER comment 'initial'
16804 SELECT * from t1 where t1.f1 = n;
16805 USE d2;
16806 alter procedure d1.sp8 sql security DEFINER comment 'updated';
16807 SELECT * from information_schema.routines where specific_name = 'sp8' and routine_schema = 'd1';
16808 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16809 sp8 def d1 sp8 PROCEDURE NULL NULL NULL NULL NULL NULL NULL NULL SQL SELECT * from t1 where t1.f1 = n NULL SQL SQL NO CONTAINS SQL NULL DEFINER modified created NO_ENGINE_SUBSTITUTION updated root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
16810 Warnings:
16811 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16812
16813 Testcase 4.4.9:
16814 --------------------------------------------------------------------------------
16815 Warnings:
16816 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16817 USE d1;
16818 DROP FUNCTION IF EXISTS fn1;
16819 DROP FUNCTION IF EXISTS fn11;
16820 CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
16821 BEGIN
16822 declare a int;
16823 set a = 0.9 * n;
16824 return a;
16825 END//
16826 USE d2;
16827 alter function d1.fn2 sql security DEFINER comment 'updated';
16828 SELECT * from information_schema.routines where specific_name = 'fn2' and routine_schema = 'd1';
16829 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16830 fn2 def d1 fn2 FUNCTION int NULL NULL 10 0 NULL NULL NULL int SQL BEGIN
16831 declare a int;
16832 set a = 0.9 * n;
16833 return a;
16834 END NULL SQL SQL NO CONTAINS SQL NULL DEFINER modified created NO_ENGINE_SUBSTITUTION updated root@localhost latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
16835 Warnings:
16836 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16837
16838 Testcase 4.4.10:
16839 --------------------------------------------------------------------------------
16840 Warnings:
16841 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16842 USE d1;
16843 CREATE PROCEDURE sp9 ( n char(20) )
16844 SELECT * from t1 where t1.f1 = n;
16845 USE d2;
16846 DROP PROCEDURE d1.sp9;
16847 SELECT * from information_schema.routines where specific_name = 'sp9' and routine_schema = 'd1';
16848 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16849 Warnings:
16850 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16851
16852 Testcase 4.4.11:
16853 --------------------------------------------------------------------------------
16854 Warnings:
16855 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16856 USE d1;
16857 CREATE FUNCTION d1.fn3(n int) returns int
16858 BEGIN
16859 declare a int;
16860 set a = 0.9 * n;
16861 return a;
16862 END//
16863 USE d2;
16864 DROP FUNCTION d1.fn3;
16865 SELECT * from information_schema.routines where specific_name = 'fn3' and routine_schema = 'd1';
16866 SPECIFIC_NAME ROUTINE_CATALOG ROUTINE_SCHEMA ROUTINE_NAME ROUTINE_TYPE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE DATETIME_PRECISION CHARACTER_SET_NAME COLLATION_NAME DTD_IDENTIFIER ROUTINE_BODY ROUTINE_DEFINITION EXTERNAL_NAME EXTERNAL_LANGUAGE PARAMETER_STYLE IS_DETERMINISTIC SQL_DATA_ACCESS SQL_PATH SECURITY_TYPE CREATED LAST_ALTERED SQL_MODE ROUTINE_COMMENT DEFINER CHARACTER_SET_CLIENT COLLATION_CONNECTION DATABASE_COLLATION
16867 USE db_storedproc;
16868 DROP DATABASE d1;
16869 DROP DATABASE d2;
16870 Warnings:
16871 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16872
16873 Section 3.1.5 - Parameter use checks:
16874 Functions with all data types
16875 --------------------------------------------------------------------------------
16876 Warnings:
16877 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
16878 CREATE DATABASE d1;
16879 USE d1;
16880 DROP FUNCTION IF EXISTS fn1;
16881 CREATE FUNCTION fn1( f1 bigint) returns bigint
16882 BEGIN
16883 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16884 return f1;
16885 END//
16886 SELECT fn1(-9.22e+18);
16887 fn1(-9.22e+18)
16888 -9220000000000000000
16889 DROP FUNCTION IF EXISTS fn2;
16890 CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
16891 BEGIN
16892 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16893 return f1;
16894 END//
16895 SELECT fn2(1.84e+19);
16896 fn2(1.84e+19)
16897 18400000000000000000
16898 DROP FUNCTION IF EXISTS fn3;
16899 CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
16900 BEGIN
16901 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16902 return f1;
16903 END//
16904 Warnings:
16905 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16906 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16907 SELECT fn3(1.84e+17);
16908 fn3(1.84e+17)
16909 184000000000000000
16910 DROP FUNCTION IF EXISTS fn4;
16911 CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
16912 BEGIN
16913 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16914 return f1;
16915 END//
16916 Warnings:
16917 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16918 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16919 SELECT fn4(-9.22e+15);
16920 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
16921 DROP FUNCTION IF EXISTS fn5;
16922 CREATE FUNCTION fn5( f1 decimal) returns decimal
16923 BEGIN
16924 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16925 return f1;
16926 END//
16927 SELECT fn5(-1.00e+09);
16928 fn5(-1.00e+09)
16929 -1000000000
16930 DROP FUNCTION IF EXISTS fn6;
16931 CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
16932 BEGIN
16933 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16934 return f1;
16935 END//
16936 SELECT fn6(-1.00e+09);
16937 fn6(-1.00e+09)
16938 -1000000000
16939 DROP FUNCTION IF EXISTS fn7;
16940 CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
16941 BEGIN
16942 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16943 return f1;
16944 END//
16945 Warnings:
16946 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16947 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16948 SELECT fn7(99999999999);
16949 fn7(99999999999)
16950 9999999999
16951 Warnings:
16952 Warning 1264 Out of range value for column 'f1' at row 1
16953 DROP FUNCTION IF EXISTS fn8;
16954 CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
16955 BEGIN
16956 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16957 return f1;
16958 END//
16959 Warnings:
16960 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16961 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16962 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16963 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16964 SELECT fn8(999999999);
16965 fn8(999999999)
16966 1000000000
16967 DROP FUNCTION IF EXISTS fn9;
16968 CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
16969 BEGIN
16970 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16971 return f1;
16972 END//
16973 Warnings:
16974 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16975 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
16976 SELECT fn9(-1.00e+09);
16977 fn9(-1.00e+09)
16978 0000000010
16979 Warnings:
16980 Warning 1264 Out of range value for column 'f1' at row 1
16981 DROP FUNCTION IF EXISTS fn10;
16982 CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
16983 BEGIN
16984 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16985 return f1;
16986 END//
16987 SELECT fn10(-1.00e+09);
16988 fn10(-1.00e+09)
16989 -1000000000
16990 DROP FUNCTION IF EXISTS fn11;
16991 CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
16992 BEGIN
16993 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16994 return f1;
16995 END//
16996 Warnings:
16997 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16998 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
16999 SELECT fn11(99999999999);
17000 fn11(99999999999)
17001 9999999999
17002 Warnings:
17003 Warning 1264 Out of range value for column 'f1' at row 1
17004 DROP FUNCTION IF EXISTS fn12;
17005 CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
17006 BEGIN
17007 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17008 return f1;
17009 END//
17010 Warnings:
17011 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17012 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17013 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17014 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17015 SELECT fn12(999999999);
17016 fn12(999999999)
17017 1000000000
17018 DROP FUNCTION IF EXISTS fn13;
17019 CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
17020 BEGIN
17021 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17022 return f1;
17023 END//
17024 Warnings:
17025 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17026 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17027 SELECT fn13(-1.00e+09);
17028 fn13(-1.00e+09)
17029 0000000010
17030 Warnings:
17031 Warning 1264 Out of range value for column 'f1' at row 1
17032 DROP FUNCTION IF EXISTS fn14;
17033 CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
17034 BEGIN
17035 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17036 return f1;
17037 END//
17038 SELECT fn14(-1.00e+21);
17039 fn14(-1.00e+21)
17040 -1000000000000000000000.000000000000000000000000000000
17041 DROP FUNCTION IF EXISTS fn15;
17042 CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
17043 BEGIN
17044 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17045 return f1;
17046 END//
17047 Warnings:
17048 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17049 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17050 SELECT fn15(1.00e+16);
17051 fn15(1.00e+16)
17052 10000000000000000.000000000000000000000000000000
17053 DROP FUNCTION IF EXISTS fn16;
17054 CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
17055 BEGIN
17056 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17057 return f1;
17058 END//
17059 Warnings:
17060 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17061 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17062 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17063 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17064 SELECT fn16(1.00e+16);
17065 fn16(1.00e+16)
17066 000000000000000010000000000000000.000000000000000000000000000000
17067 DROP FUNCTION IF EXISTS fn17;
17068 CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
17069 BEGIN
17070 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17071 return f1;
17072 END//
17073 Warnings:
17074 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17075 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17076 SELECT fn17(-1.00e+21);
17077 fn17(-1.00e+21)
17078 000000000000000000000000000000010.000000000000000000000000000000
17079 Warnings:
17080 Warning 1264 Out of range value for column 'f1' at row 1
17081 DROP FUNCTION IF EXISTS fn18_d;
17082 CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
17083 BEGIN
17084 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17085 return f1;
17086 END//
17087 SELECT fn18_d( -1000000000000000000000000000000 );
17088 fn18_d( -1000000000000000000000000000000 )
17089 -1000000000000000000000000000000
17090 DROP FUNCTION IF EXISTS fn19_du;
17091 CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
17092 BEGIN
17093 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17094 return f1;
17095 END//
17096 Warnings:
17097 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17098 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17099 SELECT fn19_du( 100000000000000000000 );
17100 fn19_du( 100000000000000000000 )
17101 100000000000000000000
17102 DROP FUNCTION IF EXISTS fn20_duz;
17103 CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
17104 BEGIN
17105 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17106 return f1;
17107 END//
17108 Warnings:
17109 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17110 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17111 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17112 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17113 SELECT fn20_duz( 1000000000000000000000000 );
17114 fn20_duz( 1000000000000000000000000 )
17115 0000000000000000000000000000000000000001000000000000000000000000
17116 DROP FUNCTION IF EXISTS fn21_d_z;
17117 CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
17118 BEGIN
17119 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17120 return f1;
17121 END//
17122 Warnings:
17123 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17124 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17125 SELECT fn21_d_z(1.00e+00);
17126 fn21_d_z(1.00e+00)
17127 0000000000000000000000000000000000000000000000000000000000000010
17128 DROP FUNCTION IF EXISTS fn22;
17129 CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
17130 BEGIN
17131 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17132 return f1;
17133 END//
17134 Warnings:
17135 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17136 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17137 SELECT fn22(1.00e+00);
17138 fn22(1.00e+00)
17139 10
17140 DROP FUNCTION IF EXISTS fn23;
17141 CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
17142 BEGIN
17143 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17144 return f1;
17145 END//
17146 Warnings:
17147 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17148 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17149 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17150 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17151 SELECT fn23(1.00e+00);
17152 fn23(1.00e+00)
17153 0000000010
17154 DROP FUNCTION IF EXISTS fn24;
17155 CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
17156 BEGIN
17157 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17158 return f1;
17159 END//
17160 Warnings:
17161 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17162 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17163 SELECT fn24(-1.00e+09);
17164 fn24(-1.00e+09)
17165 0000000010
17166 Warnings:
17167 Warning 1264 Out of range value for column 'f1' at row 1
17168 DROP FUNCTION IF EXISTS fn25;
17169 CREATE FUNCTION fn25( f1 double) returns double
17170 BEGIN
17171 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17172 return f1;
17173 END//
17174 SELECT fn25(1.00e+00);
17175 fn25(1.00e+00)
17176 1
17177 DROP FUNCTION IF EXISTS fn26;
17178 CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
17179 BEGIN
17180 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17181 return f1;
17182 END//
17183 Warnings:
17184 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17185 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17186 SELECT fn26(1.00e+00);
17187 fn26(1.00e+00)
17188 10
17189 DROP FUNCTION IF EXISTS fn27;
17190 CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
17191 BEGIN
17192 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17193 return f1;
17194 END//
17195 Warnings:
17196 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17197 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17198 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17199 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17200 SELECT fn27(1.00e+00);
17201 fn27(1.00e+00)
17202 10
17203 DROP FUNCTION IF EXISTS fn28;
17204 CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
17205 BEGIN
17206 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17207 return f1;
17208 END//
17209 Warnings:
17210 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17211 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17212 SELECT fn28(1.00e+00);
17213 fn28(1.00e+00)
17214 10
17215 DROP FUNCTION IF EXISTS fn29;
17216 CREATE FUNCTION fn29( f1 float) returns float
17217 BEGIN
17218 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17219 return f1;
17220 END//
17221 SELECT fn29(1.00e+00);
17222 fn29(1.00e+00)
17223 1
17224 DROP FUNCTION IF EXISTS fn30;
17225 CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
17226 BEGIN
17227 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17228 return f1;
17229 END//
17230 Warnings:
17231 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17232 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17233 SELECT fn30(1.00e+00);
17234 fn30(1.00e+00)
17235 10
17236 DROP FUNCTION IF EXISTS fn31;
17237 CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
17238 BEGIN
17239 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17240 return f1;
17241 END//
17242 Warnings:
17243 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17244 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17245 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17246 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17247 SELECT fn31(1.00e+00);
17248 fn31(1.00e+00)
17249 10
17250 DROP FUNCTION IF EXISTS fn32;
17251 CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
17252 BEGIN
17253 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17254 return f1;
17255 END//
17256 Warnings:
17257 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17258 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17259 SELECT fn32(1.00e+00);
17260 fn32(1.00e+00)
17261 10
17262 DROP FUNCTION IF EXISTS fn33;
17263 CREATE FUNCTION fn33( f1 float(0)) returns float(0)
17264 BEGIN
17265 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17266 return f1;
17267 END//
17268 SELECT fn33(1.00e+00);
17269 fn33(1.00e+00)
17270 1
17271 DROP FUNCTION IF EXISTS fn34;
17272 CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
17273 BEGIN
17274 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17275 return f1;
17276 END//
17277 Warnings:
17278 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17279 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17280 SELECT fn34(1.00e+00);
17281 fn34(1.00e+00)
17282 10
17283 DROP FUNCTION IF EXISTS fn35;
17284 CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
17285 BEGIN
17286 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17287 return f1;
17288 END//
17289 Warnings:
17290 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17291 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17292 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17293 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17294 SELECT fn35(1.00e+00);
17295 fn35(1.00e+00)
17296 10
17297 DROP FUNCTION IF EXISTS fn36;
17298 CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
17299 BEGIN
17300 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17301 return f1;
17302 END//
17303 Warnings:
17304 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17305 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17306 SELECT fn36(1.00e+00);
17307 fn36(1.00e+00)
17308 10
17309 DROP FUNCTION IF EXISTS fn37;
17310 CREATE FUNCTION fn37( f1 float(23)) returns float(23)
17311 BEGIN
17312 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17313 return f1;
17314 END//
17315 SELECT fn37(1.00e+00);
17316 fn37(1.00e+00)
17317 1
17318 DROP FUNCTION IF EXISTS fn38;
17319 CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
17320 BEGIN
17321 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17322 return f1;
17323 END//
17324 Warnings:
17325 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17326 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17327 SELECT fn38(1.00e+00);
17328 fn38(1.00e+00)
17329 10
17330 DROP FUNCTION IF EXISTS fn39;
17331 CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
17332 BEGIN
17333 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17334 return f1;
17335 END//
17336 Warnings:
17337 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17338 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17339 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17340 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17341 SELECT fn39(1.00e+00);
17342 fn39(1.00e+00)
17343 10
17344 DROP FUNCTION IF EXISTS fn40;
17345 CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
17346 BEGIN
17347 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17348 return f1;
17349 END//
17350 Warnings:
17351 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17352 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17353 SELECT fn40(1.00e+00);
17354 fn40(1.00e+00)
17355 10
17356 DROP FUNCTION IF EXISTS fn41;
17357 CREATE FUNCTION fn41( f1 float(24)) returns float(24)
17358 BEGIN
17359 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17360 return f1;
17361 END//
17362 SELECT fn41(1.00e+00);
17363 fn41(1.00e+00)
17364 1
17365 DROP FUNCTION IF EXISTS fn42;
17366 CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
17367 BEGIN
17368 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17369 return f1;
17370 END//
17371 Warnings:
17372 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17373 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17374 SELECT fn42(1.00e+00);
17375 fn42(1.00e+00)
17376 10
17377 DROP FUNCTION IF EXISTS fn43;
17378 CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
17379 BEGIN
17380 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17381 return f1;
17382 END//
17383 Warnings:
17384 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17385 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17386 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17387 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17388 SELECT fn43(1.00e+00);
17389 fn43(1.00e+00)
17390 10
17391 DROP FUNCTION IF EXISTS fn44;
17392 CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
17393 BEGIN
17394 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17395 return f1;
17396 END//
17397 Warnings:
17398 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17399 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17400 SELECT fn44(1.00e+00);
17401 fn44(1.00e+00)
17402 10
17403 DROP FUNCTION IF EXISTS fn45;
17404 CREATE FUNCTION fn45( f1 float(53)) returns float(53)
17405 BEGIN
17406 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17407 return f1;
17408 END//
17409 SELECT fn45(1.00e+00);
17410 fn45(1.00e+00)
17411 1
17412 DROP FUNCTION IF EXISTS fn46;
17413 CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
17414 BEGIN
17415 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17416 return f1;
17417 END//
17418 Warnings:
17419 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17420 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17421 SELECT fn46(1.00e+00);
17422 fn46(1.00e+00)
17423 10
17424 DROP FUNCTION IF EXISTS fn47;
17425 CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
17426 BEGIN
17427 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17428 return f1;
17429 END//
17430 Warnings:
17431 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17432 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17433 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17434 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17435 SELECT fn47(1.00e+00);
17436 fn47(1.00e+00)
17437 10
17438 DROP FUNCTION IF EXISTS fn48;
17439 CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
17440 BEGIN
17441 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17442 return f1;
17443 END//
17444 Warnings:
17445 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17446 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17447 SELECT fn48(1.00e+00);
17448 fn48(1.00e+00)
17449 10
17450 DROP FUNCTION IF EXISTS fn49;
17451 CREATE FUNCTION fn49( f1 int) returns int
17452 BEGIN
17453 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17454 return f1;
17455 END//
17456 SELECT fn49(-2.15e+09);
17457 fn49(-2.15e+09)
17458 -2147483638
17459 Warnings:
17460 Warning 1264 Out of range value for column 'f1' at row 1
17461 DROP FUNCTION IF EXISTS fn50;
17462 CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
17463 BEGIN
17464 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17465 return f1;
17466 END//
17467 SELECT fn50(4.29e+09);
17468 fn50(4.29e+09)
17469 4290000000
17470 DROP FUNCTION IF EXISTS fn51;
17471 CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
17472 BEGIN
17473 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17474 return f1;
17475 END//
17476 Warnings:
17477 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17478 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17479 SELECT fn51(4.29e+09);
17480 fn51(4.29e+09)
17481 4290000000
17482 DROP FUNCTION IF EXISTS fn52;
17483 CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
17484 BEGIN
17485 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17486 return f1;
17487 END//
17488 Warnings:
17489 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17490 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17491 SELECT fn52(2.15e+08);
17492 fn52(2.15e+08)
17493 215000000
17494 DROP FUNCTION IF EXISTS fn53;
17495 CREATE FUNCTION fn53( f1 mediumint) returns mediumint
17496 BEGIN
17497 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17498 return f1;
17499 END//
17500 SELECT fn53(-8388600);
17501 fn53(-8388600)
17502 -8388598
17503 DROP FUNCTION IF EXISTS fn54;
17504 CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
17505 BEGIN
17506 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17507 return f1;
17508 END//
17509 SELECT fn54(16777201);
17510 fn54(16777201)
17511 16777202
17512 DROP FUNCTION IF EXISTS fn55;
17513 CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
17514 BEGIN
17515 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17516 return f1;
17517 END//
17518 Warnings:
17519 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17520 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17521 SELECT fn55(16777210);
17522 fn55(16777210)
17523 16777210
17524 DROP FUNCTION IF EXISTS fn56;
17525 CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
17526 BEGIN
17527 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17528 return f1;
17529 END//
17530 Warnings:
17531 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17532 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17533 SELECT fn56(-8388601);
17534 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
17535 DROP FUNCTION IF EXISTS fn57;
17536 CREATE FUNCTION fn57( f1 numeric) returns numeric
17537 BEGIN
17538 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17539 return f1;
17540 END//
17541 SELECT fn57(-999999999);
17542 fn57(-999999999)
17543 -1000000000
17544 DROP FUNCTION IF EXISTS fn58;
17545 CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
17546 BEGIN
17547 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17548 return f1;
17549 END//
17550 SELECT fn58(-999999999);
17551 fn58(-999999999)
17552 -1000000000
17553 DROP FUNCTION IF EXISTS fn59;
17554 CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
17555 BEGIN
17556 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17557 return f1;
17558 END//
17559 Warnings:
17560 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17561 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17562 SELECT fn59(9999999999);
17563 fn59(9999999999)
17564 9999999999
17565 DROP FUNCTION IF EXISTS fn60;
17566 CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
17567 BEGIN
17568 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17569 return f1;
17570 END//
17571 Warnings:
17572 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17573 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17574 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17575 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17576 SELECT fn60(99999999);
17577 fn60(99999999)
17578 0100000000
17579 DROP FUNCTION IF EXISTS fn61;
17580 CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
17581 BEGIN
17582 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17583 return f1;
17584 END//
17585 Warnings:
17586 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17587 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17588 SELECT fn61(-99999999);
17589 fn61(-99999999)
17590 0000000010
17591 Warnings:
17592 Warning 1264 Out of range value for column 'f1' at row 1
17593 DROP FUNCTION IF EXISTS fn62;
17594 CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
17595 BEGIN
17596 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17597 return f1;
17598 END//
17599 SELECT fn62(-999999999);
17600 fn62(-999999999)
17601 -1000000000
17602 DROP FUNCTION IF EXISTS fn63;
17603 CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
17604 BEGIN
17605 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17606 return f1;
17607 END//
17608 Warnings:
17609 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17610 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17611 SELECT fn63(9999999999);
17612 fn63(9999999999)
17613 9999999999
17614 DROP FUNCTION IF EXISTS fn64;
17615 CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
17616 BEGIN
17617 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17618 return f1;
17619 END//
17620 Warnings:
17621 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17622 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17623 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17624 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17625 SELECT fn64(99999999);
17626 fn64(99999999)
17627 0100000000
17628 DROP FUNCTION IF EXISTS fn65;
17629 CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
17630 BEGIN
17631 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17632 return f1;
17633 END//
17634 Warnings:
17635 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17636 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17637 SELECT fn65(-99999999);
17638 fn65(-99999999)
17639 0000000010
17640 Warnings:
17641 Warning 1264 Out of range value for column 'f1' at row 1
17642 DROP FUNCTION IF EXISTS fn66;
17643 CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
17644 BEGIN
17645 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17646 return f1;
17647 END//
17648 SELECT fn66(-1e+36);
17649 fn66(-1e+36)
17650 -999999999999999999999999999999989.999999999999999999999999999999
17651 Warnings:
17652 Warning 1264 Out of range value for column 'f1' at row 1
17653 DROP FUNCTION IF EXISTS fn67;
17654 CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
17655 BEGIN
17656 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17657 return f1;
17658 END//
17659 Warnings:
17660 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17661 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17662 SELECT fn67(1e+36);
17663 fn67(1e+36)
17664 999999999999999999999999999999999.999999999999999999999999999999
17665 Warnings:
17666 Warning 1264 Out of range value for column 'f1' at row 1
17667 DROP FUNCTION IF EXISTS fn68;
17668 CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
17669 BEGIN
17670 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17671 return f1;
17672 END//
17673 Warnings:
17674 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17675 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17676 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17677 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17678 SELECT fn68(1e+36);
17679 fn68(1e+36)
17680 999999999999999999999999999999999.999999999999999999999999999999
17681 Warnings:
17682 Warning 1264 Out of range value for column 'f1' at row 1
17683 DROP FUNCTION IF EXISTS fn69;
17684 CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
17685 BEGIN
17686 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17687 return f1;
17688 END//
17689 Warnings:
17690 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17691 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17692 SELECT fn69(-1e+36);
17693 fn69(-1e+36)
17694 000000000000000000000000000000010.000000000000000000000000000000
17695 Warnings:
17696 Warning 1264 Out of range value for column 'f1' at row 1
17697 DROP FUNCTION IF EXISTS fn70_n;
17698 CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
17699 BEGIN
17700 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17701 return f1;
17702 END//
17703 SELECT fn70_n( -1000000000000000000000000000000 );
17704 fn70_n( -1000000000000000000000000000000 )
17705 -1000000000000000000000000000000
17706 SELECT fn70_n( -10000000000000000000000000000000000000000 );
17707 fn70_n( -10000000000000000000000000000000000000000 )
17708 -10000000000000000000000000000000000000000
17709 DROP FUNCTION IF EXISTS fn71_nu;
17710 CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
17711 BEGIN
17712 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17713 return f1;
17714 END//
17715 Warnings:
17716 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17717 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17718 SELECT fn71_nu( 10000000000000000000000000000000000000000 );
17719 fn71_nu( 10000000000000000000000000000000000000000 )
17720 10000000000000000000000000000000000000000
17721 DROP FUNCTION IF EXISTS fn72_nuz;
17722 CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
17723 BEGIN
17724 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17725 return f1;
17726 END//
17727 Warnings:
17728 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17729 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17730 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17731 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17732 SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
17733 fn72_nuz( 10000000000000000000000000000000000000000 )
17734 0000000000000000000000010000000000000000000000000000000000000000
17735 DROP FUNCTION IF EXISTS fn73_n_z;
17736 CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
17737 BEGIN
17738 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17739 return f1;
17740 END//
17741 Warnings:
17742 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17743 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17744 SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
17745 fn73_n_z( 10000000000000000000000000000000000000000 )
17746 0000000000000000000000010000000000000000000000000000000000000000
17747 DROP FUNCTION IF EXISTS fn74;
17748 CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
17749 BEGIN
17750 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17751 return f1;
17752 END//
17753 Warnings:
17754 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17755 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17756 SELECT fn74(999999999);
17757 fn74(999999999)
17758 1000000000
17759 DROP FUNCTION IF EXISTS fn75;
17760 CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
17761 BEGIN
17762 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17763 return f1;
17764 END//
17765 Warnings:
17766 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17767 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17768 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17769 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17770 SELECT fn75(999999999);
17771 fn75(999999999)
17772 1000000000
17773 DROP FUNCTION IF EXISTS fn76;
17774 CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
17775 BEGIN
17776 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17777 return f1;
17778 END//
17779 Warnings:
17780 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17781 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17782 SELECT fn76(-999999999);
17783 fn76(-999999999)
17784 0000000010
17785 Warnings:
17786 Warning 1264 Out of range value for column 'f1' at row 1
17787 DROP FUNCTION IF EXISTS fn77;
17788 CREATE FUNCTION fn77( f1 real) returns real
17789 BEGIN
17790 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17791 return f1;
17792 END//
17793 SELECT fn77(1.1);
17794 fn77(1.1)
17795 1.0999999999999996
17796 DROP FUNCTION IF EXISTS fn78;
17797 CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
17798 BEGIN
17799 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17800 return f1;
17801 END//
17802 Warnings:
17803 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17804 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17805 SELECT fn78(1.1);
17806 fn78(1.1)
17807 10
17808 DROP FUNCTION IF EXISTS fn79;
17809 CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
17810 BEGIN
17811 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17812 return f1;
17813 END//
17814 Warnings:
17815 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17816 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17817 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17818 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
17819 SELECT fn79(1.1);
17820 fn79(1.1)
17821 10
17822 DROP FUNCTION IF EXISTS fn80;
17823 CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
17824 BEGIN
17825 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17826 return f1;
17827 END//
17828 Warnings:
17829 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17830 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17831 SELECT fn80(1.1);
17832 fn80(1.1)
17833 10
17834 DROP FUNCTION IF EXISTS fn81;
17835 CREATE FUNCTION fn81( f1 smallint) returns smallint
17836 BEGIN
17837 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17838 return f1;
17839 END//
17840 SELECT fn81(-32701);
17841 fn81(-32701)
17842 -32702
17843 DROP FUNCTION IF EXISTS fn82;
17844 CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
17845 BEGIN
17846 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17847 return f1;
17848 END//
17849 SELECT fn82(65531);
17850 fn82(65531)
17851 65532
17852 DROP FUNCTION IF EXISTS fn83;
17853 CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
17854 BEGIN
17855 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17856 return f1;
17857 END//
17858 Warnings:
17859 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17860 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17861 SELECT fn83(65531);
17862 fn83(65531)
17863 65532
17864 DROP FUNCTION IF EXISTS fn84;
17865 CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
17866 BEGIN
17867 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17868 return f1;
17869 END//
17870 Warnings:
17871 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17872 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17873 SELECT fn84(-32601);
17874 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
17875 DROP FUNCTION IF EXISTS fn85;
17876 CREATE FUNCTION fn85( f1 tinyint) returns tinyint
17877 BEGIN
17878 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17879 return f1;
17880 END//
17881 SELECT fn85(-115);
17882 fn85(-115)
17883 -116
17884 DROP FUNCTION IF EXISTS fn86;
17885 CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
17886 BEGIN
17887 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17888 return f1;
17889 END//
17890 SELECT fn86(251);
17891 fn86(251)
17892 252
17893 DROP FUNCTION IF EXISTS fn87;
17894 CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
17895 BEGIN
17896 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17897 return f1;
17898 END//
17899 Warnings:
17900 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17901 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17902 SELECT fn87(201);
17903 fn87(201)
17904 202
17905 DROP FUNCTION IF EXISTS fn88;
17906 CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
17907 BEGIN
17908 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17909 return f1;
17910 END//
17911 Warnings:
17912 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17913 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
17914 SELECT fn88(-101);
17915 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
17916 DROP FUNCTION IF EXISTS fn89;
17917 CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
17918 BEGIN
17919 IF f1 = '1enum' THEN
17920 SET f1 = '2enum';
17921 ELSE
17922 SET f1 = '1enum';
17923 END IF;
17924 RETURN f1;
17925 END//
17926 SELECT fn89( '1enum');
17927 fn89( '1enum')
17928 2enum
17929 DROP FUNCTION IF EXISTS fn90;
17930 CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
17931 BEGIN
17932 IF f1 = '1set' THEN
17933 SET f1 = '2set';
17934 ELSE
17935 SET f1 = '1set';
17936 END IF;
17937 RETURN f1;
17938 END//
17939 SELECT fn90( '1set');
17940 fn90( '1set')
17941 2set
17942 DROP FUNCTION IF EXISTS fn91;
17943 CREATE FUNCTION fn91( f1 date) returns date
17944 BEGIN
17945 set f1 = adddate(f1, interval 31 day);
17946 return f1;
17947 END//
17948 SELECT fn91('1997-12-31');
17949 fn91('1997-12-31')
17950 1998-01-31
17951 DROP FUNCTION IF EXISTS fn92;
17952 CREATE FUNCTION fn92( f1 time) returns time
17953 BEGIN
17954 set f1 = addtime(f1, '02:00:00.999998');
17955 return f1;
17956 END//
17957 SELECT fn92( '23:59:59.999999');
17958 fn92( '23:59:59.999999')
17959 26:00:01
17960 DROP FUNCTION IF EXISTS fn93;
17961 CREATE FUNCTION fn93( f1 datetime) returns datetime
17962 BEGIN
17963 set f1 = addtime(f1, '1 1:1:1.000002');
17964 return f1;
17965 END//
17966 SELECT fn93('1997-12-31 23:59:59.999999');
17967 fn93('1997-12-31 23:59:59.999999')
17968 1998-01-02 01:01:01
17969 DROP FUNCTION IF EXISTS fn94;
17970 CREATE FUNCTION fn94( f1 char) returns char
17971 BEGIN
17972 set f1 = concat('a', f1);
17973 return f1;
17974 END//
17975 SELECT fn94( 'h');
17976 fn94( 'h')
17977 a
17978 DROP FUNCTION IF EXISTS fn95;
17979 CREATE FUNCTION fn95( f1 char ascii) returns char ascii
17980 BEGIN
17981 set f1 = concat('a', f1);
17982 return f1;
17983 END//
17984 Warnings:
17985 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
17986 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
17987 SELECT fn95('h');
17988 fn95('h')
17989 a
17990 DROP FUNCTION IF EXISTS fn96;
17991 CREATE FUNCTION fn96( f1 binary) returns binary(2)
17992 BEGIN
17993 set f1 = concat('a', f1);
17994 return f1;
17995 END//
17996 SELECT fn96( 'h');
17997 fn96( 'h')
17998 a
17999 DROP FUNCTION IF EXISTS fn97;
18000 CREATE FUNCTION fn97( f1 longtext) returns longtext
18001 BEGIN
18002 set f1 = concat('hello', f1);
18003 return f1;
18004 END//
18005 SELECT fn97( 'world');
18006 fn97( 'world')
18007 helloworld
18008 DROP FUNCTION IF EXISTS fn98;
18009 CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
18010 BEGIN
18011 set f1 = concat('hello', f1);
18012 return f1;
18013 END//
18014 SELECT fn98( 'world');
18015 fn98( 'world')
18016 helloworld
18017 DROP FUNCTION IF EXISTS fn99;
18018 CREATE FUNCTION fn99( f1 text) returns text
18019 BEGIN
18020 set f1 = concat('hello', f1);
18021 return f1;
18022 END//
18023 SELECT fn99( 'world');
18024 fn99( 'world')
18025 helloworld
18026 DROP FUNCTION IF EXISTS fn100;
18027 CREATE FUNCTION fn100( f1 tinytext) returns tinytext
18028 BEGIN
18029 set f1 = concat('hello', f1);
18030 return f1;
18031 END//
18032 SELECT fn100( 'world');
18033 fn100( 'world')
18034 helloworld
18035 DROP FUNCTION IF EXISTS fn101;
18036 CREATE FUNCTION fn101( f1 year) returns year
18037 BEGIN
18038 set f1 = f1 + 10;
18039 return f1;
18040 END//
18041 SELECT fn101(51);
18042 fn101(51)
18043 2061
18044 DROP FUNCTION IF EXISTS fn102;
18045 CREATE FUNCTION fn102( f1 year) returns year
18046 BEGIN
18047 set f1 = f1 + 51;
18048 return f1;
18049 END//
18050 SELECT fn102(1982);
18051 fn102(1982)
18052 2033
18053 DROP FUNCTION IF EXISTS fn103;
18054 CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
18055 BEGIN
18056 set f1 = f1;
18057 return f1;
18058 END//
18059 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@');
18060 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
18061 DROP FUNCTION IF EXISTS fn104;
18062 CREATE FUNCTION fn104( f1 linestring) returns linestring
18063 BEGIN
18064 set f1 = f1;
18065 return f1;
18066 END//
18067 SELECT fn104('\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@');
18068 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
18069 DROP FUNCTION IF EXISTS fn105;
18070 CREATE FUNCTION fn105( f1 point) returns point
18071 BEGIN
18072 set f1 = f1;
18073 return f1;
18074 END//
18075 SELECT fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
18076 fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@')
18077 4@4@
18078 DROP FUNCTION IF EXISTS fn106;
18079 CREATE FUNCTION fn106( f1 polygon) returns polygon
18080 BEGIN
18081 set f1 = f1;
18082 return f1;
18083 END//
18084 SELECT fn106('\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@');
18085 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
18086 DROP FUNCTION IF EXISTS fn107;
18087 CREATE FUNCTION fn107( f1 timestamp) returns timestamp
18088 BEGIN
18089 set f1 = now();
18090 return f1;
18091 END//
18092 SELECT fn107(20050510080451);
18093 fn107(20050510080451)
18094 returned
18095 USE db_storedproc;
18096 DROP DATABASE d1;
18097 CREATE DATABASE db1;
18098 USE db1;
18099 DROP PROCEDURE IF EXISTS sp1;
18100 CREATE PROCEDURE sp1( f1 bigint)
18101 BEGIN
18102 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18103 SELECT f1;
18104 END//
18105 CALL sp1(-9.22e+18);
18106 f1
18107 -9220000000000000000
18108 DROP PROCEDURE IF EXISTS sp2;
18109 CREATE PROCEDURE sp2( f1 bigint unsigned)
18110 BEGIN
18111 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18112 SELECT f1;
18113 END//
18114 CALL sp2(1.84e+19);
18115 f1
18116 18400000000000000000
18117 DROP PROCEDURE IF EXISTS sp3;
18118 CREATE PROCEDURE sp3( f1 bigint unsigned zerofill)
18119 BEGIN
18120 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18121 SELECT f1;
18122 END//
18123 Warnings:
18124 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18125 CALL sp3(1.84e+17);
18126 f1
18127 00184000000000000000
18128 DROP PROCEDURE IF EXISTS sp4;
18129 CREATE PROCEDURE sp4( f1 bigint zerofill)
18130 BEGIN
18131 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18132 SELECT f1;
18133 END//
18134 Warnings:
18135 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18136 CALL sp4(-9.22e+15);
18137 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
18138 DROP PROCEDURE IF EXISTS sp5;
18139 CREATE PROCEDURE sp5( f1 decimal)
18140 BEGIN
18141 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18142 SELECT f1;
18143 END//
18144 CALL sp5(-1.00e+09);
18145 f1
18146 -1000000000
18147 DROP PROCEDURE IF EXISTS sp6;
18148 CREATE PROCEDURE sp6( f1 decimal (0))
18149 BEGIN
18150 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18151 SELECT f1;
18152 END//
18153 CALL sp6(-1.00e+09);
18154 f1
18155 -1000000000
18156 DROP PROCEDURE IF EXISTS sp7;
18157 CREATE PROCEDURE sp7( f1 decimal (0) unsigned)
18158 BEGIN
18159 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18160 SELECT f1;
18161 END//
18162 Warnings:
18163 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18164 CALL sp7(99999999999);
18165 f1
18166 9999999999
18167 Warnings:
18168 Warning 1264 Out of range value for column 'f1' at row 1
18169 DROP PROCEDURE IF EXISTS sp8;
18170 CREATE PROCEDURE sp8( f1 decimal (0) unsigned zerofill)
18171 BEGIN
18172 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18173 SELECT f1;
18174 END//
18175 Warnings:
18176 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18177 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18178 CALL sp8(999999999);
18179 f1
18180 1000000000
18181 DROP PROCEDURE IF EXISTS sp9;
18182 CREATE PROCEDURE sp9( f1 decimal (0) zerofill)
18183 BEGIN
18184 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18185 SELECT f1;
18186 END//
18187 Warnings:
18188 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18189 CALL sp9(-1.00e+09);
18190 f1
18191 0000000010
18192 Warnings:
18193 Warning 1264 Out of range value for column 'f1' at row 1
18194 DROP PROCEDURE IF EXISTS sp10;
18195 CREATE PROCEDURE sp10( f1 decimal (0, 0))
18196 BEGIN
18197 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18198 SELECT f1;
18199 END//
18200 CALL sp10(-1.00e+09);
18201 f1
18202 -1000000000
18203 DROP PROCEDURE IF EXISTS sp11;
18204 CREATE PROCEDURE sp11( f1 decimal (0, 0) unsigned)
18205 BEGIN
18206 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18207 SELECT f1;
18208 END//
18209 Warnings:
18210 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18211 CALL sp11(99999999999);
18212 f1
18213 9999999999
18214 Warnings:
18215 Warning 1264 Out of range value for column 'f1' at row 1
18216 DROP PROCEDURE IF EXISTS sp12;
18217 CREATE PROCEDURE sp12( f1 decimal (0, 0) unsigned zerofill)
18218 BEGIN
18219 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18220 SELECT f1;
18221 END//
18222 Warnings:
18223 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18224 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18225 CALL sp12(999999999);
18226 f1
18227 1000000000
18228 DROP PROCEDURE IF EXISTS sp13;
18229 CREATE PROCEDURE sp13( f1 decimal (0, 0) zerofill)
18230 BEGIN
18231 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18232 SELECT f1;
18233 END//
18234 Warnings:
18235 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18236 CALL sp13(-1.00e+09);
18237 f1
18238 0000000010
18239 Warnings:
18240 Warning 1264 Out of range value for column 'f1' at row 1
18241 DROP PROCEDURE IF EXISTS sp14;
18242 CREATE PROCEDURE sp14( f1 decimal (63, 30))
18243 BEGIN
18244 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18245 SELECT f1;
18246 END//
18247 CALL sp14(-1.00e+21);
18248 f1
18249 -1000000000000000000000.000000000000000000000000000000
18250 DROP PROCEDURE IF EXISTS sp15;
18251 CREATE PROCEDURE sp15( f1 decimal (63, 30) unsigned)
18252 BEGIN
18253 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18254 SELECT f1;
18255 END//
18256 Warnings:
18257 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18258 CALL sp15(1.00e+16);
18259 f1
18260 10000000000000000.000000000000000000000000000000
18261 DROP PROCEDURE IF EXISTS sp16;
18262 CREATE PROCEDURE sp16( f1 decimal (63, 30) unsigned zerofill)
18263 BEGIN
18264 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18265 SELECT f1;
18266 END//
18267 Warnings:
18268 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18269 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18270 CALL sp16(1.00e+16);
18271 f1
18272 000000000000000010000000000000000.000000000000000000000000000000
18273 DROP PROCEDURE IF EXISTS sp17;
18274 CREATE PROCEDURE sp17( f1 decimal (63, 30) zerofill)
18275 BEGIN
18276 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18277 SELECT f1;
18278 END//
18279 Warnings:
18280 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18281 CALL sp17(-1.00e+21);
18282 f1
18283 000000000000000000000000000000010.000000000000000000000000000000
18284 Warnings:
18285 Warning 1264 Out of range value for column 'f1' at row 1
18286 DROP PROCEDURE IF EXISTS sp18_d;
18287 CREATE PROCEDURE sp18_d( f1 decimal (64))
18288 BEGIN
18289 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18290 SELECT f1;
18291 END//
18292 CALL sp18_d(-1.00e+30);
18293 f1
18294 -1000000000000000000000000000000
18295 CALL sp18_d( -1000000000000000000000000000000 );
18296 f1
18297 -1000000000000000000000000000000
18298 DROP PROCEDURE IF EXISTS sp19_du;
18299 CREATE PROCEDURE sp19_du( f1 decimal (64) unsigned)
18300 BEGIN
18301 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18302 SELECT f1;
18303 END//
18304 Warnings:
18305 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18306 CALL sp19_du(1.00e+20);
18307 f1
18308 100000000000000000000
18309 CALL sp19_du( 100000000000000000000 );
18310 f1
18311 100000000000000000000
18312 CALL sp19_du(1.00e+24);
18313 f1
18314 1000000000000000000000000
18315 CALL sp19_du( 1000000000000000000000000 );
18316 f1
18317 1000000000000000000000000
18318 DROP PROCEDURE IF EXISTS sp20_duz;
18319 CREATE PROCEDURE sp20_duz( f1 decimal (64) unsigned zerofill)
18320 BEGIN
18321 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18322 SELECT f1;
18323 END//
18324 Warnings:
18325 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18326 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18327 CALL sp20_duz(1.00e+20);
18328 f1
18329 0000000000000000000000000000000000000000000100000000000000000000
18330 CALL sp20_duz( 100000000000000000000 );
18331 f1
18332 0000000000000000000000000000000000000000000100000000000000000000
18333 CALL sp20_duz(1.00e+24);
18334 f1
18335 0000000000000000000000000000000000000001000000000000000000000000
18336 CALL sp20_duz( 1000000000000000000000000 );
18337 f1
18338 0000000000000000000000000000000000000001000000000000000000000000
18339 DROP PROCEDURE IF EXISTS sp21;
18340 CREATE PROCEDURE sp21( f1 decimal (64) zerofill)
18341 BEGIN
18342 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18343 SELECT f1;
18344 END//
18345 Warnings:
18346 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18347 CALL sp21(1.00e+00);
18348 f1
18349 0000000000000000000000000000000000000000000000000000000000000010
18350 DROP PROCEDURE IF EXISTS sp22;
18351 CREATE PROCEDURE sp22( f1 decimal unsigned)
18352 BEGIN
18353 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18354 SELECT f1;
18355 END//
18356 Warnings:
18357 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18358 CALL sp22(1.00e+00);
18359 f1
18360 10
18361 DROP PROCEDURE IF EXISTS sp23;
18362 CREATE PROCEDURE sp23( f1 decimal unsigned zerofill)
18363 BEGIN
18364 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18365 SELECT f1;
18366 END//
18367 Warnings:
18368 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18369 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18370 CALL sp23(1.00e+00);
18371 f1
18372 0000000010
18373 DROP PROCEDURE IF EXISTS sp24;
18374 CREATE PROCEDURE sp24( f1 decimal zerofill)
18375 BEGIN
18376 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18377 SELECT f1;
18378 END//
18379 Warnings:
18380 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18381 CALL sp24(-1.00e+09);
18382 f1
18383 0000000010
18384 Warnings:
18385 Warning 1264 Out of range value for column 'f1' at row 1
18386 DROP PROCEDURE IF EXISTS sp25;
18387 CREATE PROCEDURE sp25( f1 double)
18388 BEGIN
18389 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18390 SELECT f1;
18391 END//
18392 CALL sp25(1.00e+00);
18393 f1
18394 1
18395 DROP PROCEDURE IF EXISTS sp26;
18396 CREATE PROCEDURE sp26( f1 double unsigned)
18397 BEGIN
18398 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18399 SELECT f1;
18400 END//
18401 Warnings:
18402 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18403 CALL sp26(1.00e+00);
18404 f1
18405 10
18406 DROP PROCEDURE IF EXISTS sp27;
18407 CREATE PROCEDURE sp27( f1 double unsigned zerofill)
18408 BEGIN
18409 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18410 SELECT f1;
18411 END//
18412 Warnings:
18413 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18414 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18415 CALL sp27(1.00e+00);
18416 f1
18417 0000000000000000000010
18418 DROP PROCEDURE IF EXISTS sp28;
18419 CREATE PROCEDURE sp28( f1 double zerofill)
18420 BEGIN
18421 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18422 SELECT f1;
18423 END//
18424 Warnings:
18425 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18426 CALL sp28(1.00e+00);
18427 f1
18428 0000000000000000000010
18429 DROP PROCEDURE IF EXISTS sp29;
18430 CREATE PROCEDURE sp29( f1 float)
18431 BEGIN
18432 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18433 SELECT f1;
18434 END//
18435 CALL sp29(1.00e+00);
18436 f1
18437 1
18438 DROP PROCEDURE IF EXISTS sp30;
18439 CREATE PROCEDURE sp30( f1 float unsigned)
18440 BEGIN
18441 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18442 SELECT f1;
18443 END//
18444 Warnings:
18445 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18446 CALL sp30(1.00e+00);
18447 f1
18448 10
18449 DROP PROCEDURE IF EXISTS sp31;
18450 CREATE PROCEDURE sp31( f1 float unsigned zerofill)
18451 BEGIN
18452 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18453 SELECT f1;
18454 END//
18455 Warnings:
18456 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18457 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18458 CALL sp31(1.00e+00);
18459 f1
18460 000000000010
18461 DROP PROCEDURE IF EXISTS sp32;
18462 CREATE PROCEDURE sp32( f1 float zerofill)
18463 BEGIN
18464 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18465 SELECT f1;
18466 END//
18467 Warnings:
18468 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18469 CALL sp32(1.00e+00);
18470 f1
18471 000000000010
18472 DROP PROCEDURE IF EXISTS sp33;
18473 CREATE PROCEDURE sp33( f1 float(0))
18474 BEGIN
18475 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18476 SELECT f1;
18477 END//
18478 CALL sp33(1.00e+00);
18479 f1
18480 1
18481 DROP PROCEDURE IF EXISTS sp34;
18482 CREATE PROCEDURE sp34( f1 float(0) unsigned)
18483 BEGIN
18484 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18485 SELECT f1;
18486 END//
18487 Warnings:
18488 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18489 CALL sp34(1.00e+00);
18490 f1
18491 10
18492 DROP PROCEDURE IF EXISTS sp35;
18493 CREATE PROCEDURE sp35( f1 float(0) unsigned zerofill)
18494 BEGIN
18495 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18496 SELECT f1;
18497 END//
18498 Warnings:
18499 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18500 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18501 CALL sp35(1.00e+00);
18502 f1
18503 000000000010
18504 DROP PROCEDURE IF EXISTS sp36;
18505 CREATE PROCEDURE sp36( f1 float(0) zerofill)
18506 BEGIN
18507 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18508 SELECT f1;
18509 END//
18510 Warnings:
18511 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18512 CALL sp36(1.00e+00);
18513 f1
18514 000000000010
18515 DROP PROCEDURE IF EXISTS sp37;
18516 CREATE PROCEDURE sp37( f1 float(23))
18517 BEGIN
18518 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18519 SELECT f1;
18520 END//
18521 CALL sp37(1.00e+00);
18522 f1
18523 1
18524 DROP PROCEDURE IF EXISTS sp38;
18525 CREATE PROCEDURE sp38( f1 float(23) unsigned)
18526 BEGIN
18527 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18528 SELECT f1;
18529 END//
18530 Warnings:
18531 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18532 CALL sp38(1.00e+00);
18533 f1
18534 10
18535 DROP PROCEDURE IF EXISTS sp39;
18536 CREATE PROCEDURE sp39( f1 float(23) unsigned zerofill)
18537 BEGIN
18538 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18539 SELECT f1;
18540 END//
18541 Warnings:
18542 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18543 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18544 CALL sp39(1.00e+00);
18545 f1
18546 000000000010
18547 DROP PROCEDURE IF EXISTS sp40;
18548 CREATE PROCEDURE sp40( f1 float(23) zerofill)
18549 BEGIN
18550 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18551 SELECT f1;
18552 END//
18553 Warnings:
18554 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18555 CALL sp40(1.00e+00);
18556 f1
18557 000000000010
18558 DROP PROCEDURE IF EXISTS sp41;
18559 CREATE PROCEDURE sp41( f1 float(24))
18560 BEGIN
18561 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18562 SELECT f1;
18563 END//
18564 CALL sp41(1.00e+00);
18565 f1
18566 1
18567 DROP PROCEDURE IF EXISTS sp42;
18568 CREATE PROCEDURE sp42( f1 float(24) unsigned)
18569 BEGIN
18570 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18571 SELECT f1;
18572 END//
18573 Warnings:
18574 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18575 CALL sp42(1.00e+00);
18576 f1
18577 10
18578 DROP PROCEDURE IF EXISTS sp43;
18579 CREATE PROCEDURE sp43( f1 float(24) unsigned zerofill)
18580 BEGIN
18581 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18582 SELECT f1;
18583 END//
18584 Warnings:
18585 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18586 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18587 CALL sp43(1.00e+00);
18588 f1
18589 000000000010
18590 DROP PROCEDURE IF EXISTS sp44;
18591 CREATE PROCEDURE sp44( f1 float(24) zerofill)
18592 BEGIN
18593 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18594 SELECT f1;
18595 END//
18596 Warnings:
18597 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18598 CALL sp44(1.00e+00);
18599 f1
18600 000000000010
18601 DROP PROCEDURE IF EXISTS sp45;
18602 CREATE PROCEDURE sp45( f1 float(53))
18603 BEGIN
18604 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18605 SELECT f1;
18606 END//
18607 CALL sp45(1.00e+00);
18608 f1
18609 1
18610 DROP PROCEDURE IF EXISTS sp46;
18611 CREATE PROCEDURE sp46( f1 float(53) unsigned)
18612 BEGIN
18613 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18614 SELECT f1;
18615 END//
18616 Warnings:
18617 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18618 CALL sp46(1.00e+00);
18619 f1
18620 10
18621 DROP PROCEDURE IF EXISTS sp47;
18622 CREATE PROCEDURE sp47( f1 float(53) unsigned zerofill)
18623 BEGIN
18624 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18625 SELECT f1;
18626 END//
18627 Warnings:
18628 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18629 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18630 CALL sp47(1.00e+00);
18631 f1
18632 0000000000000000000010
18633 DROP PROCEDURE IF EXISTS sp48;
18634 CREATE PROCEDURE sp48( f1 float(53) zerofill)
18635 BEGIN
18636 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18637 SELECT f1;
18638 END//
18639 Warnings:
18640 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18641 CALL sp48(1.00e+00);
18642 f1
18643 0000000000000000000010
18644 DROP PROCEDURE IF EXISTS sp49;
18645 CREATE PROCEDURE sp49( f1 int)
18646 BEGIN
18647 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18648 SELECT f1;
18649 END//
18650 CALL sp49(-2.15e+09);
18651 f1
18652 -2147483638
18653 Warnings:
18654 Warning 1264 Out of range value for column 'f1' at row 1
18655 DROP PROCEDURE IF EXISTS sp50;
18656 CREATE PROCEDURE sp50( f1 int unsigned)
18657 BEGIN
18658 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18659 SELECT f1;
18660 END//
18661 CALL sp50(4.29e+09);
18662 f1
18663 4290000000
18664 DROP PROCEDURE IF EXISTS sp51;
18665 CREATE PROCEDURE sp51( f1 int unsigned zerofill)
18666 BEGIN
18667 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18668 SELECT f1;
18669 END//
18670 Warnings:
18671 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18672 CALL sp51(4.29e+09);
18673 f1
18674 4290000000
18675 DROP PROCEDURE IF EXISTS sp52;
18676 CREATE PROCEDURE sp52( f1 int zerofill)
18677 BEGIN
18678 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18679 SELECT f1;
18680 END//
18681 Warnings:
18682 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18683 CALL sp52(2.15e+08);
18684 f1
18685 0215000000
18686 DROP PROCEDURE IF EXISTS sp53;
18687 CREATE PROCEDURE sp53( f1 mediumint)
18688 BEGIN
18689 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18690 SELECT f1;
18691 END//
18692 CALL sp53(-8388600);
18693 f1
18694 -8388598
18695 DROP PROCEDURE IF EXISTS sp54;
18696 CREATE PROCEDURE sp54( f1 mediumint unsigned)
18697 BEGIN
18698 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18699 SELECT f1;
18700 END//
18701 CALL sp54(16777201);
18702 f1
18703 16777202
18704 DROP PROCEDURE IF EXISTS sp55;
18705 CREATE PROCEDURE sp55( f1 mediumint unsigned zerofill)
18706 BEGIN
18707 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18708 SELECT f1;
18709 END//
18710 Warnings:
18711 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18712 CALL sp55(16777210);
18713 f1
18714 16777210
18715 DROP PROCEDURE IF EXISTS sp56;
18716 CREATE PROCEDURE sp56( f1 mediumint zerofill)
18717 BEGIN
18718 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18719 SELECT f1;
18720 END//
18721 Warnings:
18722 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18723 CALL sp56(-8388601);
18724 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
18725 DROP PROCEDURE IF EXISTS sp57;
18726 CREATE PROCEDURE sp57( f1 numeric)
18727 BEGIN
18728 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18729 SELECT f1;
18730 END//
18731 CALL sp57(-999999999);
18732 f1
18733 -1000000000
18734 DROP PROCEDURE IF EXISTS sp58;
18735 CREATE PROCEDURE sp58( f1 numeric (0))
18736 BEGIN
18737 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18738 SELECT f1;
18739 END//
18740 CALL sp58(-999999999);
18741 f1
18742 -1000000000
18743 DROP PROCEDURE IF EXISTS sp59;
18744 CREATE PROCEDURE sp59( f1 numeric (0) unsigned)
18745 BEGIN
18746 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18747 SELECT f1;
18748 END//
18749 Warnings:
18750 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18751 CALL sp59(9999999999);
18752 f1
18753 9999999999
18754 DROP PROCEDURE IF EXISTS sp60;
18755 CREATE PROCEDURE sp60( f1 numeric (0) unsigned zerofill)
18756 BEGIN
18757 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18758 SELECT f1;
18759 END//
18760 Warnings:
18761 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18762 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18763 CALL sp60(99999999);
18764 f1
18765 0100000000
18766 DROP PROCEDURE IF EXISTS sp61;
18767 CREATE PROCEDURE sp61( f1 numeric (0) zerofill)
18768 BEGIN
18769 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18770 SELECT f1;
18771 END//
18772 Warnings:
18773 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18774 CALL sp61(-99999999);
18775 f1
18776 0000000010
18777 Warnings:
18778 Warning 1264 Out of range value for column 'f1' at row 1
18779 DROP PROCEDURE IF EXISTS sp62;
18780 CREATE PROCEDURE sp62( f1 numeric (0, 0))
18781 BEGIN
18782 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18783 SELECT f1;
18784 END//
18785 CALL sp62(-999999999);
18786 f1
18787 -1000000000
18788 DROP PROCEDURE IF EXISTS sp63;
18789 CREATE PROCEDURE sp63( f1 numeric (0, 0) unsigned)
18790 BEGIN
18791 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18792 SELECT f1;
18793 END//
18794 Warnings:
18795 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18796 CALL sp63(9999999999);
18797 f1
18798 9999999999
18799 DROP PROCEDURE IF EXISTS sp64;
18800 CREATE PROCEDURE sp64( f1 numeric (0, 0) unsigned zerofill)
18801 BEGIN
18802 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18803 SELECT f1;
18804 END//
18805 Warnings:
18806 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18807 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18808 CALL sp64(99999999);
18809 f1
18810 0100000000
18811 DROP PROCEDURE IF EXISTS sp65;
18812 CREATE PROCEDURE sp65( f1 numeric (0, 0) zerofill)
18813 BEGIN
18814 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18815 SELECT f1;
18816 END//
18817 Warnings:
18818 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18819 CALL sp65(-99999999);
18820 f1
18821 0000000010
18822 Warnings:
18823 Warning 1264 Out of range value for column 'f1' at row 1
18824 DROP PROCEDURE IF EXISTS sp66_n;
18825 CREATE PROCEDURE sp66_n( f1 numeric (63, 30))
18826 BEGIN
18827 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18828 SELECT f1;
18829 END//
18830 CALL sp66_n(-1e+36);
18831 f1
18832 -999999999999999999999999999999989.999999999999999999999999999999
18833 Warnings:
18834 Warning 1264 Out of range value for column 'f1' at row 1
18835 CALL sp66_n( -1000000000000000000000000000000000000 );
18836 f1
18837 -999999999999999999999999999999989.999999999999999999999999999999
18838 Warnings:
18839 Warning 1264 Out of range value for column 'f1' at row 1
18840 DROP PROCEDURE IF EXISTS sp67_nu;
18841 CREATE PROCEDURE sp67_nu( f1 numeric (63, 30) unsigned)
18842 BEGIN
18843 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18844 SELECT f1;
18845 END//
18846 Warnings:
18847 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18848 CALL sp67_nu(1e+36);
18849 f1
18850 999999999999999999999999999999999.999999999999999999999999999999
18851 Warnings:
18852 Warning 1264 Out of range value for column 'f1' at row 1
18853 CALL sp67_nu( 1000000000000000000000000000000000000 );
18854 f1
18855 999999999999999999999999999999999.999999999999999999999999999999
18856 Warnings:
18857 Warning 1264 Out of range value for column 'f1' at row 1
18858 DROP PROCEDURE IF EXISTS sp68_nuz;
18859 CREATE PROCEDURE sp68_nuz( f1 numeric (63, 30) unsigned zerofill)
18860 BEGIN
18861 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18862 SELECT f1;
18863 END//
18864 Warnings:
18865 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18866 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18867 CALL sp68_nuz(1e+36);
18868 f1
18869 999999999999999999999999999999999.999999999999999999999999999999
18870 Warnings:
18871 Warning 1264 Out of range value for column 'f1' at row 1
18872 CALL sp68_nuz( 1000000000000000000000000000000000000 );
18873 f1
18874 999999999999999999999999999999999.999999999999999999999999999999
18875 Warnings:
18876 Warning 1264 Out of range value for column 'f1' at row 1
18877 DROP PROCEDURE IF EXISTS sp69_n_z;
18878 CREATE PROCEDURE sp69_n_z( f1 numeric (63, 30) zerofill)
18879 BEGIN
18880 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18881 SELECT f1;
18882 END//
18883 Warnings:
18884 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18885 CALL sp69_n_z(-1e+36);
18886 f1
18887 000000000000000000000000000000010.000000000000000000000000000000
18888 Warnings:
18889 Warning 1264 Out of range value for column 'f1' at row 1
18890 CALL sp69_n_z( -1000000000000000000000000000000000000 );
18891 f1
18892 000000000000000000000000000000010.000000000000000000000000000000
18893 Warnings:
18894 Warning 1264 Out of range value for column 'f1' at row 1
18895 DROP PROCEDURE IF EXISTS sp70_n;
18896 CREATE PROCEDURE sp70_n( f1 numeric (64))
18897 BEGIN
18898 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18899 SELECT f1;
18900 END//
18901 CALL sp70_n(-1e+40);
18902 f1
18903 -10000000000000000000000000000000000000000
18904 CALL sp70_n( -10000000000000000000000000000000000000000 );
18905 f1
18906 -10000000000000000000000000000000000000000
18907 DROP PROCEDURE IF EXISTS sp71_nu;
18908 CREATE PROCEDURE sp71_nu( f1 numeric (64) unsigned)
18909 BEGIN
18910 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18911 SELECT f1;
18912 END//
18913 Warnings:
18914 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18915 CALL sp71_nu(1.00e+40);
18916 f1
18917 10000000000000000000000000000000000000000
18918 CALL sp71_nu( 10000000000000000000000000000000000000000 );
18919 f1
18920 10000000000000000000000000000000000000000
18921 DROP PROCEDURE IF EXISTS sp72_nuz;
18922 CREATE PROCEDURE sp72_nuz( f1 numeric (64) unsigned zerofill)
18923 BEGIN
18924 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18925 SELECT f1;
18926 END//
18927 Warnings:
18928 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18929 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18930 CALL sp72_nuz(1.00e+40);
18931 f1
18932 0000000000000000000000010000000000000000000000000000000000000000
18933 CALL sp72_nuz( 10000000000000000000000000000000000000000 );
18934 f1
18935 0000000000000000000000010000000000000000000000000000000000000000
18936 DROP PROCEDURE IF EXISTS sp73_n_z;
18937 CREATE PROCEDURE sp73_n_z( f1 numeric (64) zerofill)
18938 BEGIN
18939 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18940 SELECT f1;
18941 END//
18942 Warnings:
18943 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18944 CALL sp73_n_z(1.00e+40);
18945 f1
18946 0000000000000000000000010000000000000000000000000000000000000000
18947 CALL sp73_n_z( 10000000000000000000000000000000000000000 );
18948 f1
18949 0000000000000000000000010000000000000000000000000000000000000000
18950 DROP PROCEDURE IF EXISTS sp74;
18951 CREATE PROCEDURE sp74( f1 numeric unsigned)
18952 BEGIN
18953 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18954 SELECT f1;
18955 END//
18956 Warnings:
18957 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18958 CALL sp74(999999999);
18959 f1
18960 1000000000
18961 DROP PROCEDURE IF EXISTS sp75;
18962 CREATE PROCEDURE sp75( f1 numeric unsigned zerofill)
18963 BEGIN
18964 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18965 SELECT f1;
18966 END//
18967 Warnings:
18968 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18969 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
18970 CALL sp75(999999999);
18971 f1
18972 1000000000
18973 DROP PROCEDURE IF EXISTS sp76;
18974 CREATE PROCEDURE sp76( f1 numeric zerofill)
18975 BEGIN
18976 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18977 SELECT f1;
18978 END//
18979 Warnings:
18980 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
18981 CALL sp76(-999999999);
18982 f1
18983 0000000010
18984 Warnings:
18985 Warning 1264 Out of range value for column 'f1' at row 1
18986 DROP PROCEDURE IF EXISTS sp77;
18987 CREATE PROCEDURE sp77( f1 real)
18988 BEGIN
18989 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18990 SELECT f1;
18991 END//
18992 CALL sp77(1.1);
18993 f1
18994 1.0999999999999996
18995 DROP PROCEDURE IF EXISTS sp78;
18996 CREATE PROCEDURE sp78( f1 real unsigned)
18997 BEGIN
18998 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18999 SELECT f1;
19000 END//
19001 Warnings:
19002 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
19003 CALL sp78(1.1);
19004 f1
19005 10
19006 DROP PROCEDURE IF EXISTS sp79;
19007 CREATE PROCEDURE sp79( f1 real unsigned zerofill)
19008 BEGIN
19009 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19010 SELECT f1;
19011 END//
19012 Warnings:
19013 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19014 Warning 1681 UNSIGNED for decimal and floating point data types is deprecated and support for it will be removed in a future release.
19015 CALL sp79(1.1);
19016 f1
19017 0000000000000000000010
19018 DROP PROCEDURE IF EXISTS sp80;
19019 CREATE PROCEDURE sp80( f1 real zerofill)
19020 BEGIN
19021 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19022 SELECT f1;
19023 END//
19024 Warnings:
19025 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19026 CALL sp80(1.1);
19027 f1
19028 0000000000000000000010
19029 DROP PROCEDURE IF EXISTS sp81;
19030 CREATE PROCEDURE sp81( f1 smallint)
19031 BEGIN
19032 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19033 SELECT f1;
19034 END//
19035 CALL sp81(-32701);
19036 f1
19037 -32702
19038 DROP PROCEDURE IF EXISTS sp82;
19039 CREATE PROCEDURE sp82( f1 smallint unsigned)
19040 BEGIN
19041 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19042 SELECT f1;
19043 END//
19044 CALL sp82(65531);
19045 f1
19046 65532
19047 DROP PROCEDURE IF EXISTS sp83;
19048 CREATE PROCEDURE sp83( f1 smallint unsigned zerofill)
19049 BEGIN
19050 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19051 SELECT f1;
19052 END//
19053 Warnings:
19054 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19055 CALL sp83(65531);
19056 f1
19057 65532
19058 DROP PROCEDURE IF EXISTS sp84;
19059 CREATE PROCEDURE sp84( f1 smallint zerofill)
19060 BEGIN
19061 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19062 SELECT f1;
19063 END//
19064 Warnings:
19065 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19066 CALL sp84(-32601);
19067 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
19068 DROP PROCEDURE IF EXISTS sp85;
19069 CREATE PROCEDURE sp85( f1 tinyint)
19070 BEGIN
19071 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19072 SELECT f1;
19073 END//
19074 CALL sp85(-115);
19075 f1
19076 -116
19077 DROP PROCEDURE IF EXISTS sp86;
19078 CREATE PROCEDURE sp86( f1 tinyint unsigned)
19079 BEGIN
19080 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19081 SELECT f1;
19082 END//
19083 CALL sp86(251);
19084 f1
19085 252
19086 DROP PROCEDURE IF EXISTS sp87;
19087 CREATE PROCEDURE sp87( f1 tinyint unsigned zerofill)
19088 BEGIN
19089 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19090 SELECT f1;
19091 END//
19092 Warnings:
19093 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19094 CALL sp87(201);
19095 f1
19096 202
19097 DROP PROCEDURE IF EXISTS sp88;
19098 CREATE PROCEDURE sp88( f1 tinyint zerofill)
19099 BEGIN
19100 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19101 SELECT f1;
19102 END//
19103 Warnings:
19104 Warning 1681 The ZEROFILL attribute is deprecated and will be removed in a future release. Use the LPAD function to zero-pad numbers, or store the formatted numbers in a CHAR column.
19105 CALL sp88(-101);
19106 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
19107 DROP PROCEDURE IF EXISTS sp89;
19108 CREATE PROCEDURE sp89( f1 enum('1enum', '2enum'))
19109 BEGIN
19110 IF f1 = '1enum' THEN set f1 = '2enum'; ELSE set f1 = '1enum'; END IF;
19111 END//
19112 CALL sp89( '1enum');
19113 DROP PROCEDURE IF EXISTS sp90;
19114 CREATE PROCEDURE sp90( f1 set('1set', '2set'))
19115 BEGIN
19116 IF f1 = '1set' THEN set f1 = '2set'; ELSE set f1 = '1set'; END IF;
19117 END//
19118 CALL sp90( '1set');
19119 DROP PROCEDURE IF EXISTS sp91;
19120 CREATE PROCEDURE sp91( f1 date)
19121 BEGIN
19122 set f1 = adddate(f1, interval 31 day);
19123 SELECT f1;
19124 END//
19125 CALL sp91( '1997-12-31');
19126 f1
19127 1998-01-31
19128 DROP PROCEDURE IF EXISTS sp92;
19129 CREATE PROCEDURE sp92( f1 time)
19130 BEGIN
19131 set f1 = addtime(f1, '02:00:00.999998');
19132 SELECT f1;
19133 END//
19134 CALL sp92( '23:59:59.999999');
19135 f1
19136 26:00:01
19137 DROP PROCEDURE IF EXISTS sp93;
19138 CREATE PROCEDURE sp93( f1 datetime)
19139 BEGIN
19140 set f1 = addtime(f1, '1 1:1:1.000002');
19141 SELECT f1;
19142 END//
19143 CALL sp93('1997-12-31 23:59:59.999999');
19144 f1
19145 1998-01-02 01:01:01
19146 DROP PROCEDURE IF EXISTS sp94;
19147 CREATE PROCEDURE sp94( f1 char)
19148 BEGIN
19149 set f1 = concat('a', f1);
19150 SELECT f1;
19151 END//
19152 CALL sp94( 'h');
19153 f1
19154 a
19155 DROP PROCEDURE IF EXISTS sp95;
19156 CREATE PROCEDURE sp95( f1 char ascii)
19157 BEGIN
19158 set f1 = concat('a', f1);
19159 SELECT f1;
19160 END//
19161 Warnings:
19162 Warning 1287 'ASCII' is deprecated and will be removed in a future release. Please use CHARACTER SET charset_name instead
19163 CALL sp95( 'h');
19164 f1
19165 a
19166 DROP PROCEDURE IF EXISTS sp96;
19167 CREATE PROCEDURE sp96( f1 char binary)
19168 BEGIN
19169 set f1 = concat('a', f1);
19170 SELECT f1;
19171 END//
19172 Warnings:
19173 Warning 1287 'BINARY as attribute of a type' is deprecated and will be removed in a future release. Please use a CHARACTER SET clause with _bin collation instead
19174 CALL sp96( 'h');
19175 f1
19176 a
19177 DROP PROCEDURE IF EXISTS sp97;
19178 CREATE PROCEDURE sp97( f1 longtext)
19179 BEGIN
19180 set f1 = concat('hello', f1);
19181 SELECT f1;
19182 END//
19183 CALL sp97( 'world');
19184 f1
19185 helloworld
19186 DROP PROCEDURE IF EXISTS sp98;
19187 CREATE PROCEDURE sp98( f1 mediumtext)
19188 BEGIN
19189 set f1 = concat('hello', f1);
19190 SELECT f1;
19191 END//
19192 CALL sp98( 'world');
19193 f1
19194 helloworld
19195 DROP PROCEDURE IF EXISTS sp99;
19196 CREATE PROCEDURE sp99( f1 text)
19197 BEGIN
19198 set f1 = concat('hello', f1);
19199 SELECT f1;
19200 END//
19201 CALL sp99( 'world');
19202 f1
19203 helloworld
19204 DROP PROCEDURE IF EXISTS sp100;
19205 CREATE PROCEDURE sp100( f1 tinytext)
19206 BEGIN
19207 set f1 = concat('hello', f1);
19208 SELECT f1;
19209 END//
19210 CALL sp100( 'world');
19211 f1
19212 helloworld
19213 DROP PROCEDURE IF EXISTS sp101;
19214 CREATE PROCEDURE sp101( f1 year)
19215 BEGIN
19216 set f1 = f1 + 10;
19217 SELECT f1;
19218 END//
19219 CALL sp101(51);
19220 f1
19221 2061
19222 DROP PROCEDURE IF EXISTS sp102;
19223 CREATE PROCEDURE sp102( f1 year)
19224 BEGIN
19225 set f1 = f1 + 51;
19226 SELECT f1;
19227 END//
19228 CALL sp102(1982);
19229 f1
19230 2033
19231 DROP PROCEDURE IF EXISTS sp103;
19232 CREATE PROCEDURE sp103( f1 geometrycollection)
19233 BEGIN
19234 set f1 = f1;
19235 SELECT f1;
19236 END//
19237 CALL sp103('\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@');
19238 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
19239 DROP PROCEDURE IF EXISTS sp104;
19240 CREATE PROCEDURE sp104( f1 linestring)
19241 BEGIN
19242 set f1 = f1;
19243 SELECT f1;
19244 END//
19245 CALL sp104('\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@');
19246 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
19247 DROP PROCEDURE IF EXISTS sp105;
19248 CREATE PROCEDURE sp105( f1 point)
19249 BEGIN
19250 set f1 = f1;
19251 SELECT f1;
19252 END//
19253 CALL sp105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
19254 f1
19255 4@4@
19256 DROP PROCEDURE IF EXISTS sp106;
19257 CREATE PROCEDURE sp106( f1 polygon)
19258 BEGIN
19259 set f1 = f1;
19260 SELECT f1;
19261 END//
19262 CALL sp106('\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@');
19263 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
19264 DROP PROCEDURE IF EXISTS sp107;
19265 CREATE PROCEDURE sp107( f1 timestamp)
19266 BEGIN
19267 set f1 = now() + 0 + f1;
19268 SELECT f1;
19269 END//
19270 CALL sp107(2.00e+13);
19271 f1
19272 returned
19273 Warnings:
19274 returned 1265 Data truncated for column 'f1' at row 1
19275 USE db_storedproc;
19276 DROP DATABASE db1;
19277 CREATE DATABASE db1;
19278 USE db1;
19279 DROP PROCEDURE IF EXISTS sp1;
19280 CREATE PROCEDURE sp1( in f1 year, inout f2 year, out f3 year, in f4 year,
19281 inout f5 year, out f6 year, in f7 year(4), inout f8 year(4),
19282 out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
19283 BEGIN
19284 set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
19285 set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
19286 set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
19287 set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
19288 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19289 END//
19290 DROP PROCEDURE IF EXISTS spexecute01;
19291 CREATE PROCEDURE spexecute01()
19292 BEGIN
19293 declare var1 year;
19294 declare var2 year;
19295 declare var3 year;
19296 declare var4 year;
19297 declare var5 year(4);
19298 declare var6 year(4);
19299 declare var7 year(4);
19300 declare var8 year(4);
19301 set var1 = 51;
19302 set var3 = 51;
19303 set var5 = 1982;
19304 set var7 = 1982;
19305 CALL sp1(51, var1, var2, 51, var3, var4, 1982, var5, var6, 1982, var7, var8);
19306 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19307 END//
19308 CALL spexecute01();
19309 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
19310 2061 2061 2071 2061 2061 2071 2033 2033 2084 2033 2033 2084
19311 var1 var2 var3 var4 var5 var6 var7 var8
19312 2061 2071 2061 2071 2033 2084 2033 2084
19313 DROP PROCEDURE spexecute01;
19314 DROP PROCEDURE sp1;
19315 DROP PROCEDURE IF EXISTS sp2;
19316 CREATE PROCEDURE sp2( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text,
19317 out f6 text, in f7 tinytext, inout f8 tinytext, out f9 tinytext,
19318 in f10 tinytext, inout f11 tinytext, out f12 tinytext)
19319 BEGIN
19320 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
19321 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
19322 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
19323 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
19324 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19325 END//
19326 DROP PROCEDURE IF EXISTS spexecute02;
19327 CREATE PROCEDURE spexecute02()
19328 BEGIN
19329 declare var1 text;
19330 declare var2 text;
19331 declare var3 text;
19332 declare var4 text;
19333 declare var5 tinytext;
19334 declare var6 tinytext;
19335 declare var7 tinytext;
19336 declare var8 tinytext;
19337 set var1 = 'world';
19338 set var3 = 'world';
19339 set var5 = 'world';
19340 set var7 = 'world';
19341 CALL sp2( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
19342 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19343 END//
19344 CALL spexecute02();
19345 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
19346 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
19347 var1 var2 var3 var4 var5 var6 var7 var8
19348 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
19349 DROP PROCEDURE spexecute02;
19350 DROP PROCEDURE sp2;
19351 DROP PROCEDURE IF EXISTS sp3;
19352 CREATE PROCEDURE sp3( in f1 char, inout f2 char, out f3 char, in f4 char ascii,
19353 inout f5 char ascii, out f6 char ascii, in f7 longtext,
19354 inout f8 longtext, out f9 longtext, in f10 mediumtext,
19355 inout f11 mediumtext, out f12 mediumtext)
19356 BEGIN
19357 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
19358 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
19359 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f9);
19360 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
19361 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19362 END//
19363 DROP PROCEDURE IF EXISTS spexecute03;
19364 CREATE PROCEDURE spexecute03()
19365 BEGIN
19366 declare var1 char;
19367 declare var2 char;
19368 declare var3 char ascii;
19369 declare var4 char ascii;
19370 declare var5 longtext;
19371 declare var6 longtext;
19372 declare var7 mediumtext;
19373 declare var8 mediumtext;
19374 set var1 = 'h';
19375 set var3 = 'h';
19376 set var5 = 'world';
19377 set var7 = 'world';
19378 CALL sp3( 'h', var1, var2, 'h', var3, var4, 'world', var5, var6, 'world', var7, var8);
19379 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19380 END//
19381 CALL spexecute03();
19382 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
19383 a a a a a a helloworld helloworld NULL helloworld helloworld hellohelloworld
19384 var1 var2 var3 var4 var5 var6 var7 var8
19385 a a a a helloworld NULL helloworld hellohelloworld
19386 DROP PROCEDURE spexecute03;
19387 DROP PROCEDURE sp3;
19388 DROP PROCEDURE IF EXISTS sp4;
19389 CREATE PROCEDURE sp4( in f1 bigint, inout f2 bigint, out f3 bigint,
19390 in f4 bigint, inout f5 bigint, out f6 bigint,
19391 in f7 bigint, inout f8 bigint, out f9 bigint,
19392 in f10 bigint, inout f11 bigint, out f12 bigint)
19393 BEGIN
19394 set f3 = f2;
19395 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19396 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
19397 set f6 = f5;
19398 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
19399 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19400 set f9 = f8;
19401 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
19402 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19403 set f12 = f11;
19404 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
19405 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19406 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19407 END//
19408 DROP PROCEDURE IF EXISTS spexecute04;
19409 CREATE PROCEDURE spexecute04()
19410 BEGIN
19411 declare var1 bigint;
19412 declare var2 bigint;
19413 declare var3 bigint;
19414 declare var4 bigint;
19415 declare var5 bigint;
19416 declare var6 bigint;
19417 declare var7 bigint;
19418 declare var8 bigint;
19419 set var1 = -9.22e+18;
19420 set var3 = -9.22e+18;
19421 set var5 = -9.22e+18;
19422 set var7 = -9.22e+18;
19423 CALL sp4(-9.22e+18, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19424 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19425 END//
19426 CALL spexecute04();
19427 ERROR 22003: BIGINT value is out of range in '(f1@0 * 2)'
19428 DROP PROCEDURE spexecute04;
19429 DROP PROCEDURE sp4;
19430 DROP PROCEDURE IF EXISTS sp6;
19431 CREATE PROCEDURE sp6( in f1 timestamp, inout f2 timestamp, out f3 timestamp, in f4 timestamp, inout f5 timestamp, out f6 timestamp, in f7 timestamp, inout f8 timestamp, out f9 timestamp, in f10 timestamp, inout f11 timestamp, out f12 timestamp)
19432 BEGIN
19433 set f1 = now() + 0 + f1; set f2 = now() + 0 + f2; set f3 = now() + 0 + f1;
19434 set f4 = now() + 0 + f4; set f5 = now() + 0 + f5; set f6 = now() + 0 + f5;
19435 set f7 = now() + 0 + f7; set f8 = now() + 0 + f8; set f9 = now() + 0 + f8;
19436 set f10 = now() + 0 + f10; set f11 = now() + 0 + f11; set f12 = now() + 0 + f11;
19437 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19438 END//
19439 DROP PROCEDURE IF EXISTS spexecute06;
19440 CREATE PROCEDURE spexecute06()
19441 BEGIN
19442 declare var1 timestamp;
19443 declare var2 timestamp;
19444 declare var3 timestamp;
19445 declare var4 timestamp;
19446 declare var5 timestamp;
19447 declare var6 timestamp;
19448 declare var7 timestamp;
19449 declare var8 timestamp;
19450 set var1 = 2.00e+13;
19451 set var3 = 2.00e+13;
19452 set var5 = 2.00e+13;
19453 set var7 = 2.00e+13;
19454 CALL sp6(2.00e+13, var1, var2, 2.00e+13, var3, var4, 2.00e+13, var5, var6, 2.00e+13, var7, var8);
19455 END//
19456 CALL spexecute06();
19457 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
19458 returned returned returned returned returned returned returned returned returned returned returned returned
19459 DROP PROCEDURE spexecute06;
19460 DROP PROCEDURE sp6;
19461 DROP PROCEDURE IF EXISTS sp07;
19462 CREATE PROCEDURE sp07( IN f1 BIGINT UNSIGNED,
19463 INOUT f2 BIGINT UNSIGNED,
19464 OUT f3 BIGINT UNSIGNED,
19465 IN f4 BIGINT,
19466 INOUT f5 BIGINT,
19467 OUT f6 BIGINT,
19468 IN f7 BIGINT,
19469 INOUT f8 BIGINT,
19470 OUT f9 BIGINT,
19471 IN f10 BIGINT,
19472 INOUT f11 BIGINT,
19473 OUT f12 BIGINT)
19474 BEGIN
19475 SELECT f1, f2, f3;
19476 SELECT f4, f5, f6;
19477 SELECT f7, f8, f9;
19478 SELECT f10, f11, f12;
19479 set f3 = f2;
19480 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19481 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
19482 set f3 = (f3 * 2); set f3 = (f3 - 10); set f3 = (f3 + 10);
19483 set f6 = f5;
19484 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
19485 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19486 set f9 = f8;
19487 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
19488 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19489 set f12 = f11;
19490 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
19491 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19492 SELECT f1, f2, f3;
19493 SELECT f4, f5, f6;
19494 SELECT f7, f8, f9;
19495 SELECT f10, f11, f12;
19496 END//
19497 DROP PROCEDURE IF EXISTS spexecute07;
19498 CREATE PROCEDURE spexecute07()
19499 BEGIN
19500 declare var1 bigint unsigned;
19501 declare var2 bigint unsigned;
19502 declare var3 bigint;
19503 declare var4 bigint;
19504 declare var5 bigint;
19505 declare var6 bigint;
19506 declare var7 bigint;
19507 declare var8 bigint;
19508 set var1 = 1.84e+19;
19509 set var3 = -9.22e+18;
19510 set var5 = -9.22e+18;
19511 set var7 = -9.22e+18;
19512 SELECT var1, var2;
19513 SELECT var3, var4;
19514 SELECT var5, var6;
19515 SELECT var7, var8;
19516 CALL sp07( var1, var1, var2, var3, var3, var4,
19517 var5, var5, var6, var7, var7, var8 );
19518 SELECT var1, var2;
19519 SELECT var3, var4;
19520 SELECT var5, var6;
19521 SELECT var7, var8;
19522 END//
19523 CALL spexecute07();
19524 var1 var2
19525 18400000000000000000 NULL
19526 var3 var4
19527 -9220000000000000000 NULL
19528 var5 var6
19529 -9220000000000000000 NULL
19530 var7 var8
19531 -9220000000000000000 NULL
19532 f1 f2 f3
19533 18400000000000000000 18400000000000000000 NULL
19534 f4 f5 f6
19535 -9220000000000000000 -9220000000000000000 NULL
19536 f7 f8 f9
19537 -9220000000000000000 -9220000000000000000 NULL
19538 f10 f11 f12
19539 -9220000000000000000 -9220000000000000000 NULL
19540 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 * 2)'
19541 DROP PROCEDURE spexecute07;
19542 DROP PROCEDURE sp07;
19543 DROP PROCEDURE IF EXISTS sp8;
19544 CREATE PROCEDURE sp8( in f1 bigint unsigned zerofill,
19545 inout f2 bigint unsigned zerofill,
19546 out f3 bigint unsigned zerofill,
19547 in f4 bigint,
19548 inout f5 bigint,
19549 out f6 bigint,
19550 in f7 bigint,
19551 inout f8 bigint,
19552 out f9 bigint,
19553 in f10 bigint,
19554 inout f11 bigint,
19555 out f12 bigint)
19556 BEGIN
19557 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19558 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
19559 set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19560 set f6 = f5;
19561 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
19562 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19563 set f9 = f8;
19564 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
19565 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19566 set f12 = f11;
19567 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
19568 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19569 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19570 END//
19571 DROP PROCEDURE IF EXISTS spexecute08;
19572 CREATE PROCEDURE spexecute08()
19573 BEGIN
19574 declare var1 bigint unsigned zerofill;
19575 declare var2 bigint unsigned zerofill;
19576 declare var3 bigint;
19577 declare var4 bigint;
19578 declare var5 bigint;
19579 declare var6 bigint;
19580 declare var7 bigint;
19581 declare var8 bigint;
19582 set var1 = 1.84e+17;
19583 set var3 = -9.22e+18;
19584 set var5 = -9.22e+18;
19585 set var7 = -9.22e+18;
19586 CALL sp8(1.84e+17, var1, var2, -9.22e+18, var3, var4,
19587 -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19588 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19589 END//
19590 CALL spexecute08();
19591 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19592 DROP PROCEDURE spexecute08;
19593 DROP PROCEDURE sp8;
19594 DROP PROCEDURE IF EXISTS sp9;
19595 CREATE PROCEDURE sp9( in f1 bigint zerofill,
19596 inout f2 bigint zerofill,
19597 out f3 bigint zerofill,
19598 in f4 bigint,
19599 inout f5 bigint,
19600 out f6 bigint,
19601 in f7 bigint,
19602 inout f8 bigint,
19603 out f9 bigint,
19604 in f10 bigint,
19605 inout f11 bigint,
19606 out f12 bigint)
19607 BEGIN
19608 set f3 = f2;
19609 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
19610 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
19611 set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19612 set f6 = f5;
19613 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
19614 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19615 set f9 = f8;
19616 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
19617 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19618 set f12 = f11;
19619 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
19620 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19621 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19622 END//
19623 DROP PROCEDURE IF EXISTS spexecute09;
19624 CREATE PROCEDURE spexecute09()
19625 BEGIN
19626 declare var1 bigint zerofill;
19627 declare var2 bigint zerofill;
19628 declare var3 bigint;
19629 declare var4 bigint;
19630 declare var5 bigint;
19631 declare var6 bigint;
19632 declare var7 bigint;
19633 declare var8 bigint;
19634 set var1 = -9.22e+15;
19635 set var3 = -9.22e+18;
19636 set var5 = -9.22e+18;
19637 set var7 = -9.22e+18;
19638 CALL sp9(-9.22e+15, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19639 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19640 END//
19641 CALL spexecute09();
19642 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
19643 DROP PROCEDURE spexecute09;
19644 DROP PROCEDURE sp9;
19645 DROP PROCEDURE IF EXISTS sp10;
19646 CREATE PROCEDURE sp10( in f1 decimal,
19647 inout f2 decimal,
19648 out f3 decimal,
19649 in f4 bigint,
19650 inout f5 bigint,
19651 out f6 bigint,
19652 in f7 bigint,
19653 inout f8 bigint,
19654 out f9 bigint,
19655 in f10 bigint,
19656 inout f11 bigint,
19657 out f12 bigint)
19658 BEGIN
19659 set f3 = f2;
19660 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19661 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19662 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19663 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19664 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19665 END//
19666 DROP PROCEDURE IF EXISTS spexecute10;
19667 CREATE PROCEDURE spexecute10()
19668 BEGIN
19669 declare var1 decimal;
19670 declare var2 decimal;
19671 declare var3 bigint;
19672 declare var4 bigint;
19673 declare var5 bigint;
19674 declare var6 bigint;
19675 declare var7 bigint;
19676 declare var8 bigint;
19677 set var1 = -1.00e+09;
19678 set var3 = -9.22e+18;
19679 set var5 = -9.22e+18;
19680 set var7 = -9.22e+18;
19681 CALL sp10(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19682 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19683 END//
19684 CALL spexecute10();
19685 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19686 DROP PROCEDURE spexecute10;
19687 DROP PROCEDURE sp10;
19688 DROP PROCEDURE IF EXISTS sp11;
19689 CREATE PROCEDURE sp11( in f1 decimal (0), inout f2 decimal (0), out f3 decimal (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19690 BEGIN
19691 set f3 = f2;
19692 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19693 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19694 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19695 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19696 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19697 END//
19698 DROP PROCEDURE IF EXISTS spexecute11;
19699 CREATE PROCEDURE spexecute11()
19700 BEGIN
19701 declare var1 decimal (0);
19702 declare var2 decimal (0);
19703 declare var3 bigint;
19704 declare var4 bigint;
19705 declare var5 bigint;
19706 declare var6 bigint;
19707 declare var7 bigint;
19708 declare var8 bigint;
19709 set var1 = --1.00e+09;
19710 set var3 = -9.22e+18;
19711 set var5 = -9.22e+18;
19712 set var7 = -9.22e+18;
19713 CALL sp11(--1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19714 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19715 END//
19716 CALL spexecute11();
19717 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19718 DROP PROCEDURE spexecute11;
19719 DROP PROCEDURE sp11;
19720 DROP PROCEDURE IF EXISTS sp12;
19721 CREATE PROCEDURE sp12( in f1 decimal (0) unsigned, inout f2 decimal (0) unsigned, out f3 decimal (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19722 BEGIN
19723 set f3 = f2;
19724 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19725 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19726 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19727 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19728 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19729 END//
19730 DROP PROCEDURE IF EXISTS spexecute12;
19731 CREATE PROCEDURE spexecute12()
19732 BEGIN
19733 declare var1 decimal (0) unsigned;
19734 declare var2 decimal (0) unsigned;
19735 declare var3 bigint;
19736 declare var4 bigint;
19737 declare var5 bigint;
19738 declare var6 bigint;
19739 declare var7 bigint;
19740 declare var8 bigint;
19741 set var1 = 99999999999;
19742 set var3 = -9.22e+18;
19743 set var5 = -9.22e+18;
19744 set var7 = -9.22e+18;
19745 CALL sp12(99999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19746 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19747 END//
19748 CALL spexecute12();
19749 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19750 DROP PROCEDURE spexecute12;
19751 DROP PROCEDURE sp12;
19752 DROP PROCEDURE IF EXISTS sp13;
19753 CREATE PROCEDURE sp13( in f1 decimal (0, 0) zerofill, inout f2 decimal (0, 0) zerofill, out f3 decimal (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19754 BEGIN
19755 set f3 = f2;
19756 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19757 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19758 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19759 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19760 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19761 END//
19762 DROP PROCEDURE IF EXISTS spexecute13;
19763 CREATE PROCEDURE spexecute13()
19764 BEGIN
19765 declare var1 decimal (0, 0) zerofill;
19766 declare var2 decimal (0, 0) zerofill;
19767 declare var3 bigint;
19768 declare var4 bigint;
19769 declare var5 bigint;
19770 declare var6 bigint;
19771 declare var7 bigint;
19772 declare var8 bigint;
19773 set var1 = -1.00e+09;
19774 set var3 = -9.22e+18;
19775 set var5 = -9.22e+18;
19776 set var7 = -9.22e+18;
19777 CALL sp13(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19778 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19779 END//
19780 CALL spexecute13();
19781 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19782 DROP PROCEDURE spexecute13;
19783 DROP PROCEDURE sp13;
19784 DROP PROCEDURE IF EXISTS sp14;
19785 CREATE PROCEDURE sp14( in f1 decimal (63, 30), inout f2 decimal (63, 30), out f3 decimal (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19786 BEGIN
19787 set f3 = f2;
19788 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19789 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19790 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19791 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19792 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19793 END//
19794 DROP PROCEDURE IF EXISTS spexecute14;
19795 CREATE PROCEDURE spexecute14()
19796 BEGIN
19797 declare var1 decimal (63, 30);
19798 declare var2 decimal (63, 30);
19799 declare var3 bigint;
19800 declare var4 bigint;
19801 declare var5 bigint;
19802 declare var6 bigint;
19803 declare var7 bigint;
19804 declare var8 bigint;
19805 set var1 = -1.00e+21;
19806 set var3 = -9.22e+18;
19807 set var5 = -9.22e+18;
19808 set var7 = -9.22e+18;
19809 CALL sp14(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19810 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19811 END//
19812 CALL spexecute14();
19813 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19814 DROP PROCEDURE spexecute14;
19815 DROP PROCEDURE sp14;
19816 DROP PROCEDURE IF EXISTS sp15;
19817 CREATE PROCEDURE sp15( in f1 double, inout f2 double, out f3 double, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19818 BEGIN
19819 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19820 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19821 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19822 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19823 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19824 END//
19825 DROP PROCEDURE IF EXISTS spexecute15;
19826 CREATE PROCEDURE spexecute15()
19827 BEGIN
19828 declare var1 double;
19829 declare var2 double;
19830 declare var3 bigint;
19831 declare var4 bigint;
19832 declare var5 bigint;
19833 declare var6 bigint;
19834 declare var7 bigint;
19835 declare var8 bigint;
19836 set var1 = 1.00e+00;
19837 set var3 = -9.22e+18;
19838 set var5 = -9.22e+18;
19839 set var7 = -9.22e+18;
19840 CALL sp15(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19841 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19842 END//
19843 CALL spexecute15();
19844 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19845 DROP PROCEDURE spexecute15;
19846 DROP PROCEDURE sp15;
19847 DROP PROCEDURE IF EXISTS sp16;
19848 CREATE PROCEDURE sp16( in f1 double zerofill, inout f2 double zerofill, out f3 double zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19849 BEGIN
19850 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19851 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19852 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19853 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19854 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19855 END//
19856 DROP PROCEDURE IF EXISTS spexecute16;
19857 CREATE PROCEDURE spexecute16()
19858 BEGIN
19859 declare var1 double zerofill;
19860 declare var2 double zerofill;
19861 declare var3 bigint;
19862 declare var4 bigint;
19863 declare var5 bigint;
19864 declare var6 bigint;
19865 declare var7 bigint;
19866 declare var8 bigint;
19867 set var1 = 1.00e+00;
19868 set var3 = -9.22e+18;
19869 set var5 = -9.22e+18;
19870 set var7 = -9.22e+18;
19871 CALL sp16(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19872 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19873 END//
19874 CALL spexecute16();
19875 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19876 DROP PROCEDURE spexecute16;
19877 DROP PROCEDURE sp16;
19878 DROP PROCEDURE IF EXISTS sp17;
19879 CREATE PROCEDURE sp17( in f1 double unsigned, inout f2 double unsigned, out f3 double unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19880 BEGIN
19881 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19882 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19883 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19884 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19885 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19886 END//
19887 DROP PROCEDURE IF EXISTS spexecute17;
19888 CREATE PROCEDURE spexecute17()
19889 BEGIN
19890 declare var1 double unsigned;
19891 declare var2 double unsigned;
19892 declare var3 bigint;
19893 declare var4 bigint;
19894 declare var5 bigint;
19895 declare var6 bigint;
19896 declare var7 bigint;
19897 declare var8 bigint;
19898 set var1 = 1.00e+00;
19899 set var3 = -9.22e+18;
19900 set var5 = -9.22e+18;
19901 set var7 = -9.22e+18;
19902 CALL sp17(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19903 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19904 END//
19905 CALL spexecute17();
19906 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19907 DROP PROCEDURE spexecute17;
19908 DROP PROCEDURE sp17;
19909 DROP PROCEDURE IF EXISTS sp18;
19910 CREATE PROCEDURE sp18( in f1 double unsigned zerofill, inout f2 double unsigned zerofill, out f3 double unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19911 BEGIN
19912 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19913 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19914 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19915 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19916 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19917 END//
19918 DROP PROCEDURE IF EXISTS spexecute18;
19919 CREATE PROCEDURE spexecute18()
19920 BEGIN
19921 declare var1 double unsigned zerofill;
19922 declare var2 double unsigned zerofill;
19923 declare var3 bigint;
19924 declare var4 bigint;
19925 declare var5 bigint;
19926 declare var6 bigint;
19927 declare var7 bigint;
19928 declare var8 bigint;
19929 set var1 = 1.00e+00;
19930 set var3 = -9.22e+18;
19931 set var5 = -9.22e+18;
19932 set var7 = -9.22e+18;
19933 CALL sp18(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19934 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19935 END//
19936 CALL spexecute18();
19937 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19938 DROP PROCEDURE spexecute18;
19939 DROP PROCEDURE sp18;
19940 DROP PROCEDURE IF EXISTS sp19;
19941 CREATE PROCEDURE sp19( in f1 float unsigned, inout f2 float unsigned, out f3 float unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19942 BEGIN
19943 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19944 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19945 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19946 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19947 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19948 END//
19949 DROP PROCEDURE IF EXISTS spexecute19;
19950 CREATE PROCEDURE spexecute19()
19951 BEGIN
19952 declare var1 float unsigned;
19953 declare var2 float unsigned;
19954 declare var3 bigint;
19955 declare var4 bigint;
19956 declare var5 bigint;
19957 declare var6 bigint;
19958 declare var7 bigint;
19959 declare var8 bigint;
19960 set var1 = 1.00e+00;
19961 set var3 = -9.22e+18;
19962 set var5 = -9.22e+18;
19963 set var7 = -9.22e+18;
19964 CALL sp19(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19965 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19966 END//
19967 CALL spexecute19();
19968 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
19969 DROP PROCEDURE spexecute19;
19970 DROP PROCEDURE sp19;
19971 DROP PROCEDURE IF EXISTS sp20;
19972 CREATE PROCEDURE sp20( in f1 float unsigned zerofill, inout f2 float unsigned zerofill, out f3 float unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
19973 BEGIN
19974 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
19975 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
19976 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
19977 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
19978 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19979 END//
19980 DROP PROCEDURE IF EXISTS spexecute20;
19981 CREATE PROCEDURE spexecute20()
19982 BEGIN
19983 declare var1 float unsigned zerofill;
19984 declare var2 float unsigned zerofill;
19985 declare var3 bigint;
19986 declare var4 bigint;
19987 declare var5 bigint;
19988 declare var6 bigint;
19989 declare var7 bigint;
19990 declare var8 bigint;
19991 set var1 = 1.00e+00;
19992 set var3 = -9.22e+18;
19993 set var5 = -9.22e+18;
19994 set var7 = -9.22e+18;
19995 CALL sp20(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19996 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19997 END//
19998 CALL spexecute20();
19999 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20000 DROP PROCEDURE spexecute20;
20001 DROP PROCEDURE sp20;
20002 DROP PROCEDURE IF EXISTS sp21;
20003 CREATE PROCEDURE sp21( in f1 float zerofill, inout f2 float zerofill, out f3 float zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20004 BEGIN
20005 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
20006 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20007 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20008 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20009 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20010 END//
20011 DROP PROCEDURE IF EXISTS spexecute21;
20012 CREATE PROCEDURE spexecute21()
20013 BEGIN
20014 declare var1 float zerofill;
20015 declare var2 float zerofill;
20016 declare var3 bigint;
20017 declare var4 bigint;
20018 declare var5 bigint;
20019 declare var6 bigint;
20020 declare var7 bigint;
20021 declare var8 bigint;
20022 set var1 = 1.00e+00;
20023 set var3 = -9.22e+18;
20024 set var5 = -9.22e+18;
20025 set var7 = -9.22e+18;
20026 CALL sp21(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20027 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20028 END//
20029 CALL spexecute21();
20030 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20031 DROP PROCEDURE spexecute21;
20032 DROP PROCEDURE sp21;
20033 DROP PROCEDURE IF EXISTS sp22;
20034 CREATE PROCEDURE sp22( in f1 float(0), inout f2 float(0), out f3 float(0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20035 BEGIN
20036 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
20037 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20038 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20039 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20040 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20041 END//
20042 DROP PROCEDURE IF EXISTS spexecute22;
20043 CREATE PROCEDURE spexecute22()
20044 BEGIN
20045 declare var1 float(0);
20046 declare var2 float(0);
20047 declare var3 bigint;
20048 declare var4 bigint;
20049 declare var5 bigint;
20050 declare var6 bigint;
20051 declare var7 bigint;
20052 declare var8 bigint;
20053 set var1 = 1.00e+00;
20054 set var3 = -9.22e+18;
20055 set var5 = -9.22e+18;
20056 set var7 = -9.22e+18;
20057 CALL sp22(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20058 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20059 END//
20060 CALL spexecute22();
20061 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20062 DROP PROCEDURE spexecute22;
20063 DROP PROCEDURE sp22;
20064 DROP PROCEDURE IF EXISTS sp23;
20065 CREATE PROCEDURE sp23( in f1 numeric, inout f2 numeric, out f3 numeric, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20066 BEGIN
20067 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
20068 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20069 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20070 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20071 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20072 END//
20073 DROP PROCEDURE IF EXISTS spexecute23;
20074 CREATE PROCEDURE spexecute23()
20075 BEGIN
20076 declare var1 numeric;
20077 declare var2 numeric;
20078 declare var3 bigint;
20079 declare var4 bigint;
20080 declare var5 bigint;
20081 declare var6 bigint;
20082 declare var7 bigint;
20083 declare var8 bigint;
20084 set var1 = -999999999;
20085 set var3 = -9.22e+18;
20086 set var5 = -9.22e+18;
20087 set var7 = -9.22e+18;
20088 CALL sp23(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20089 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20090 END//
20091 CALL spexecute23();
20092 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20093 DROP PROCEDURE spexecute23;
20094 DROP PROCEDURE sp23;
20095 DROP PROCEDURE IF EXISTS sp24;
20096 CREATE PROCEDURE sp24( in f1 real, inout f2 real, out f3 real, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20097 BEGIN
20098 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
20099 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20100 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20101 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20102 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20103 END//
20104 DROP PROCEDURE IF EXISTS spexecute24;
20105 CREATE PROCEDURE spexecute24()
20106 BEGIN
20107 declare var1 real;
20108 declare var2 real;
20109 declare var3 bigint;
20110 declare var4 bigint;
20111 declare var5 bigint;
20112 declare var6 bigint;
20113 declare var7 bigint;
20114 declare var8 bigint;
20115 set var1 = 1.1;
20116 set var3 = -9.22e+18;
20117 set var5 = -9.22e+18;
20118 set var7 = -9.22e+18;
20119 CALL sp24(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20120 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20121 END//
20122 CALL spexecute24();
20123 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20124 DROP PROCEDURE spexecute24;
20125 DROP PROCEDURE sp24;
20126 DROP PROCEDURE IF EXISTS sp25;
20127 CREATE PROCEDURE sp25( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20128 BEGIN
20129 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
20130 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20131 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20132 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20133 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20134 END//
20135 DROP PROCEDURE IF EXISTS spexecute25;
20136 CREATE PROCEDURE spexecute25()
20137 BEGIN
20138 declare var1 smallint;
20139 declare var2 smallint;
20140 declare var3 bigint;
20141 declare var4 bigint;
20142 declare var5 bigint;
20143 declare var6 bigint;
20144 declare var7 bigint;
20145 declare var8 bigint;
20146 set var1 = -32701;
20147 set var3 = -9.22e+18;
20148 set var5 = -9.22e+18;
20149 set var7 = -9.22e+18;
20150 CALL sp25(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20151 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20152 END//
20153 CALL spexecute25();
20154 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20155 DROP PROCEDURE spexecute25;
20156 DROP PROCEDURE sp25;
20157 DROP PROCEDURE IF EXISTS sp26;
20158 CREATE PROCEDURE sp26( in f1 date, inout f2 date, out f3 date, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20159 BEGIN
20160 set f1 = adddate(f1, interval 31 day); set f2 = adddate(f2, interval 31 day); set f3 = adddate(f2, interval 31 day);
20161 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20162 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20163 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20164 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20165 END//
20166 DROP PROCEDURE IF EXISTS spexecute26;
20167 CREATE PROCEDURE spexecute26()
20168 BEGIN
20169 declare var1 date;
20170 declare var2 date;
20171 declare var3 bigint;
20172 declare var4 bigint;
20173 declare var5 bigint;
20174 declare var6 bigint;
20175 declare var7 bigint;
20176 declare var8 bigint;
20177 set var1 = '1997-12-31';
20178 set var3 = -9.22e+18;
20179 set var5 = -9.22e+18;
20180 set var7 = -9.22e+18;
20181 CALL sp26( '1997-12-31', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20182 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20183 END//
20184 CALL spexecute26();
20185 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20186 DROP PROCEDURE spexecute26;
20187 DROP PROCEDURE sp26;
20188 DROP PROCEDURE IF EXISTS sp27;
20189 CREATE PROCEDURE sp27( in f1 time, inout f2 time, out f3 time, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20190 BEGIN
20191 set f1 = addtime(f1, '02:00:00.999998'); set f2 = addtime(f2, '02:00:00.999998'); set f3 = addtime(f2, '02:00:00.999998');
20192 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20193 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20194 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20195 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20196 END//
20197 DROP PROCEDURE IF EXISTS spexecute27;
20198 CREATE PROCEDURE spexecute27()
20199 BEGIN
20200 declare var1 time;
20201 declare var2 time;
20202 declare var3 bigint;
20203 declare var4 bigint;
20204 declare var5 bigint;
20205 declare var6 bigint;
20206 declare var7 bigint;
20207 declare var8 bigint;
20208 set var1 = '23:59:59.999999';
20209 set var3 = -9.22e+18;
20210 set var5 = -9.22e+18;
20211 set var7 = -9.22e+18;
20212 CALL sp27( '23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20213 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20214 END//
20215 CALL spexecute27();
20216 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20217 DROP PROCEDURE spexecute27;
20218 DROP PROCEDURE sp27;
20219 DROP PROCEDURE IF EXISTS sp28;
20220 CREATE PROCEDURE sp28( in f1 datetime, inout f2 datetime, out f3 datetime, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20221 BEGIN
20222 set f1 = addtime(f1, '1 1:1:1.000002'); set f2 = addtime(f2, '1 1:1:1.000002'); set f3 = addtime(f1, '1 1:1:1.000002');
20223 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20224 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20225 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20226 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20227 END//
20228 DROP PROCEDURE IF EXISTS spexecute28;
20229 CREATE PROCEDURE spexecute28()
20230 BEGIN
20231 declare var1 datetime;
20232 declare var2 datetime;
20233 declare var3 bigint;
20234 declare var4 bigint;
20235 declare var5 bigint;
20236 declare var6 bigint;
20237 declare var7 bigint;
20238 declare var8 bigint;
20239 set var1 = '1997-12-31 23:59:59.999999';
20240 set var3 = -9.22e+18;
20241 set var5 = -9.22e+18;
20242 set var7 = -9.22e+18;
20243 CALL sp28('1997-12-31 23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20244 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20245 END//
20246 CALL spexecute28();
20247 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20248 DROP PROCEDURE spexecute28;
20249 DROP PROCEDURE sp28;
20250 DROP PROCEDURE IF EXISTS sp29;
20251 CREATE PROCEDURE sp29( in f1 float(0) unsigned, inout f2 float(0) unsigned, out f3 float(0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20252 BEGIN
20253 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20254 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20255 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20256 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20257 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20258 END//
20259 DROP PROCEDURE IF EXISTS spexecute29;
20260 CREATE PROCEDURE spexecute29()
20261 BEGIN
20262 declare var1 float(0) unsigned;
20263 declare var2 float(0) unsigned;
20264 declare var3 bigint;
20265 declare var4 bigint;
20266 declare var5 bigint;
20267 declare var6 bigint;
20268 declare var7 bigint;
20269 declare var8 bigint;
20270 set var1 = 1.00e+00;
20271 set var3 = -9.22e+18;
20272 set var5 = -9.22e+18;
20273 set var7 = -9.22e+18;
20274 CALL sp29(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20275 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20276 END//
20277 CALL spexecute29();
20278 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20279 DROP PROCEDURE spexecute29;
20280 DROP PROCEDURE sp29;
20281 DROP PROCEDURE IF EXISTS sp30;
20282 CREATE PROCEDURE sp30( in f1 float(0) zerofill, inout f2 float(0) zerofill, out f3 float(0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20283 BEGIN
20284 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20285 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20286 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20287 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20288 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20289 END//
20290 DROP PROCEDURE IF EXISTS spexecute30;
20291 CREATE PROCEDURE spexecute30()
20292 BEGIN
20293 declare var1 float(0) zerofill;
20294 declare var2 float(0) zerofill;
20295 declare var3 bigint;
20296 declare var4 bigint;
20297 declare var5 bigint;
20298 declare var6 bigint;
20299 declare var7 bigint;
20300 declare var8 bigint;
20301 set var1 = 1.00e+00;
20302 set var3 = -9.22e+18;
20303 set var5 = -9.22e+18;
20304 set var7 = -9.22e+18;
20305 CALL sp30(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20306 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20307 END//
20308 CALL spexecute30();
20309 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20310 DROP PROCEDURE spexecute30;
20311 DROP PROCEDURE sp30;
20312 DROP PROCEDURE IF EXISTS sp31;
20313 CREATE PROCEDURE sp31( in f1 float(23), inout f2 float(23), out f3 float(23), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20314 BEGIN
20315 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20316 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20317 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20318 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20319 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20320 END//
20321 DROP PROCEDURE IF EXISTS spexecute31;
20322 CREATE PROCEDURE spexecute31()
20323 BEGIN
20324 declare var1 float(23);
20325 declare var2 float(23);
20326 declare var3 bigint;
20327 declare var4 bigint;
20328 declare var5 bigint;
20329 declare var6 bigint;
20330 declare var7 bigint;
20331 declare var8 bigint;
20332 set var1 = 1.00e+00;
20333 set var3 = -9.22e+18;
20334 set var5 = -9.22e+18;
20335 set var7 = -9.22e+18;
20336 CALL sp31(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20337 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20338 END//
20339 CALL spexecute31();
20340 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20341 DROP PROCEDURE spexecute31;
20342 DROP PROCEDURE sp31;
20343 DROP PROCEDURE IF EXISTS sp32;
20344 CREATE PROCEDURE sp32( in f1 float(23) unsigned, inout f2 float(23) unsigned, out f3 float(23) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20345 BEGIN
20346 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20347 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20348 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20349 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20350 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20351 END//
20352 DROP PROCEDURE IF EXISTS spexecute32;
20353 CREATE PROCEDURE spexecute32()
20354 BEGIN
20355 declare var1 float(23) unsigned;
20356 declare var2 float(23) unsigned;
20357 declare var3 bigint;
20358 declare var4 bigint;
20359 declare var5 bigint;
20360 declare var6 bigint;
20361 declare var7 bigint;
20362 declare var8 bigint;
20363 set var1 = 1.00e+00;
20364 set var3 = -9.22e+18;
20365 set var5 = -9.22e+18;
20366 set var7 = -9.22e+18;
20367 CALL sp32(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20368 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20369 END//
20370 CALL spexecute32();
20371 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20372 DROP PROCEDURE spexecute32;
20373 DROP PROCEDURE sp32;
20374 DROP PROCEDURE IF EXISTS sp33;
20375 CREATE PROCEDURE sp33( in f1 float(23) zerofill, inout f2 float(23) zerofill, out f3 float(23) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20376 BEGIN
20377 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20378 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20379 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20380 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20381 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20382 END//
20383 DROP PROCEDURE IF EXISTS spexecute33;
20384 CREATE PROCEDURE spexecute33()
20385 BEGIN
20386 declare var1 float(23) zerofill;
20387 declare var2 float(23) zerofill;
20388 declare var3 bigint;
20389 declare var4 bigint;
20390 declare var5 bigint;
20391 declare var6 bigint;
20392 declare var7 bigint;
20393 declare var8 bigint;
20394 set var1 = 1.00e+00;
20395 set var3 = -9.22e+18;
20396 set var5 = -9.22e+18;
20397 set var7 = -9.22e+18;
20398 CALL sp33(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20399 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20400 END//
20401 CALL spexecute33();
20402 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20403 DROP PROCEDURE spexecute33;
20404 DROP PROCEDURE sp33;
20405 DROP PROCEDURE IF EXISTS sp34;
20406 CREATE PROCEDURE sp34( in f1 float(24), inout f2 float(24), out f3 float(24), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20407 BEGIN
20408 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20409 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20410 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20411 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20412 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20413 END//
20414 DROP PROCEDURE IF EXISTS spexecute34;
20415 CREATE PROCEDURE spexecute34()
20416 BEGIN
20417 declare var1 float(24);
20418 declare var2 float(24);
20419 declare var3 bigint;
20420 declare var4 bigint;
20421 declare var5 bigint;
20422 declare var6 bigint;
20423 declare var7 bigint;
20424 declare var8 bigint;
20425 set var1 = 1.00e+00;
20426 set var3 = -9.22e+18;
20427 set var5 = -9.22e+18;
20428 set var7 = -9.22e+18;
20429 CALL sp34(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20430 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20431 END//
20432 CALL spexecute34();
20433 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20434 DROP PROCEDURE spexecute34;
20435 DROP PROCEDURE sp34;
20436 DROP PROCEDURE IF EXISTS sp35;
20437 CREATE PROCEDURE sp35( in f1 float(24) unsigned, inout f2 float(24) unsigned, out f3 float(24) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20438 BEGIN
20439 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20440 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20441 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20442 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20443 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20444 END//
20445 DROP PROCEDURE IF EXISTS spexecute35;
20446 CREATE PROCEDURE spexecute35()
20447 BEGIN
20448 declare var1 float(24) unsigned;
20449 declare var2 float(24) unsigned;
20450 declare var3 bigint;
20451 declare var4 bigint;
20452 declare var5 bigint;
20453 declare var6 bigint;
20454 declare var7 bigint;
20455 declare var8 bigint;
20456 set var1 = 1.00e+00;
20457 set var3 = -9.22e+18;
20458 set var5 = -9.22e+18;
20459 set var7 = -9.22e+18;
20460 CALL sp35(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20461 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20462 END//
20463 CALL spexecute35();
20464 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20465 DROP PROCEDURE spexecute35;
20466 DROP PROCEDURE sp35;
20467 DROP PROCEDURE IF EXISTS sp36;
20468 CREATE PROCEDURE sp36( in f1 float(24) zerofill, inout f2 float(24) zerofill, out f3 float(24) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20469 BEGIN
20470 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20471 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20472 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20473 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20474 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20475 END//
20476 DROP PROCEDURE IF EXISTS spexecute36;
20477 CREATE PROCEDURE spexecute36()
20478 BEGIN
20479 declare var1 float(24) zerofill;
20480 declare var2 float(24) zerofill;
20481 declare var3 bigint;
20482 declare var4 bigint;
20483 declare var5 bigint;
20484 declare var6 bigint;
20485 declare var7 bigint;
20486 declare var8 bigint;
20487 set var1 = 1.00e+00;
20488 set var3 = -9.22e+18;
20489 set var5 = -9.22e+18;
20490 set var7 = -9.22e+18;
20491 CALL sp36(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20492 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20493 END//
20494 CALL spexecute36();
20495 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20496 DROP PROCEDURE spexecute36;
20497 DROP PROCEDURE sp36;
20498 DROP PROCEDURE IF EXISTS sp37;
20499 CREATE PROCEDURE sp37( in f1 float(53), inout f2 float(53), out f3 float(53), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20500 BEGIN
20501 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20502 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20503 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20504 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20505 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20506 END//
20507 DROP PROCEDURE IF EXISTS spexecute37;
20508 CREATE PROCEDURE spexecute37()
20509 BEGIN
20510 declare var1 float(53);
20511 declare var2 float(53);
20512 declare var3 bigint;
20513 declare var4 bigint;
20514 declare var5 bigint;
20515 declare var6 bigint;
20516 declare var7 bigint;
20517 declare var8 bigint;
20518 set var1 = 1.00e+00;
20519 set var3 = -9.22e+18;
20520 set var5 = -9.22e+18;
20521 set var7 = -9.22e+18;
20522 CALL sp37(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20523 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20524 END//
20525 CALL spexecute37();
20526 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20527 DROP PROCEDURE spexecute37;
20528 DROP PROCEDURE sp37;
20529 DROP PROCEDURE IF EXISTS sp38;
20530 CREATE PROCEDURE sp38( in f1 float(53) unsigned, inout f2 float(53) unsigned, out f3 float(53) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20531 BEGIN
20532 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20533 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20534 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20535 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20536 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20537 END//
20538 DROP PROCEDURE IF EXISTS spexecute38;
20539 CREATE PROCEDURE spexecute38()
20540 BEGIN
20541 declare var1 float(53) unsigned;
20542 declare var2 float(53) unsigned;
20543 declare var3 bigint;
20544 declare var4 bigint;
20545 declare var5 bigint;
20546 declare var6 bigint;
20547 declare var7 bigint;
20548 declare var8 bigint;
20549 set var1 = 1.00e+00;
20550 set var3 = -9.22e+18;
20551 set var5 = -9.22e+18;
20552 set var7 = -9.22e+18;
20553 CALL sp38(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20554 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20555 END//
20556 CALL spexecute38();
20557 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20558 DROP PROCEDURE spexecute38;
20559 DROP PROCEDURE sp38;
20560 DROP PROCEDURE IF EXISTS sp39;
20561 CREATE PROCEDURE sp39( in f1 float(53) zerofill, inout f2 float(53) zerofill, out f3 float(53) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20562 BEGIN
20563 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20564 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20565 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20566 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20567 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20568 END//
20569 DROP PROCEDURE IF EXISTS spexecute39;
20570 CREATE PROCEDURE spexecute39()
20571 BEGIN
20572 declare var1 float(53) zerofill;
20573 declare var2 float(53) zerofill;
20574 declare var3 bigint;
20575 declare var4 bigint;
20576 declare var5 bigint;
20577 declare var6 bigint;
20578 declare var7 bigint;
20579 declare var8 bigint;
20580 set var1 = 1.00e+00;
20581 set var3 = -9.22e+18;
20582 set var5 = -9.22e+18;
20583 set var7 = -9.22e+18;
20584 CALL sp39(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20585 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20586 END//
20587 CALL spexecute39();
20588 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20589 DROP PROCEDURE spexecute39;
20590 DROP PROCEDURE sp39;
20591 DROP PROCEDURE IF EXISTS sp40;
20592 CREATE PROCEDURE sp40( in f1 real unsigned, inout f2 real unsigned, out f3 real unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20593 BEGIN
20594 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20595 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20596 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20597 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20598 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20599 END//
20600 DROP PROCEDURE IF EXISTS spexecute40;
20601 CREATE PROCEDURE spexecute40()
20602 BEGIN
20603 declare var1 real unsigned;
20604 declare var2 real unsigned;
20605 declare var3 bigint;
20606 declare var4 bigint;
20607 declare var5 bigint;
20608 declare var6 bigint;
20609 declare var7 bigint;
20610 declare var8 bigint;
20611 set var1 = 1.1;
20612 set var3 = -9.22e+18;
20613 set var5 = -9.22e+18;
20614 set var7 = -9.22e+18;
20615 CALL sp40(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20616 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20617 END//
20618 CALL spexecute40();
20619 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20620 DROP PROCEDURE spexecute40;
20621 DROP PROCEDURE sp40;
20622 DROP PROCEDURE IF EXISTS sp41;
20623 CREATE PROCEDURE sp41( in f1 real unsigned zerofill, inout f2 real unsigned zerofill, out f3 real unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20624 BEGIN
20625 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20626 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20627 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20628 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20629 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20630 END//
20631 DROP PROCEDURE IF EXISTS spexecute41;
20632 CREATE PROCEDURE spexecute41()
20633 BEGIN
20634 declare var1 real unsigned zerofill;
20635 declare var2 real unsigned zerofill;
20636 declare var3 bigint;
20637 declare var4 bigint;
20638 declare var5 bigint;
20639 declare var6 bigint;
20640 declare var7 bigint;
20641 declare var8 bigint;
20642 set var1 = 1.1;
20643 set var3 = -9.22e+18;
20644 set var5 = -9.22e+18;
20645 set var7 = -9.22e+18;
20646 CALL sp41(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20647 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20648 END//
20649 CALL spexecute41();
20650 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20651 DROP PROCEDURE spexecute41;
20652 DROP PROCEDURE sp41;
20653 DROP PROCEDURE IF EXISTS sp42;
20654 CREATE PROCEDURE sp42( in f1 real zerofill, inout f2 real zerofill, out f3 real zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20655 BEGIN
20656 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20657 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20658 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20659 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20660 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20661 END//
20662 DROP PROCEDURE IF EXISTS spexecute42;
20663 CREATE PROCEDURE spexecute42()
20664 BEGIN
20665 declare var1 real zerofill;
20666 declare var2 real zerofill;
20667 declare var3 bigint;
20668 declare var4 bigint;
20669 declare var5 bigint;
20670 declare var6 bigint;
20671 declare var7 bigint;
20672 declare var8 bigint;
20673 set var1 = 1.1;
20674 set var3 = -9.22e+18;
20675 set var5 = -9.22e+18;
20676 set var7 = -9.22e+18;
20677 CALL sp42(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20678 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20679 END//
20680 CALL spexecute42();
20681 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20682 DROP PROCEDURE spexecute42;
20683 DROP PROCEDURE sp42;
20684 DROP PROCEDURE IF EXISTS sp43;
20685 CREATE PROCEDURE sp43( in f1 numeric (0), inout f2 numeric (0), out f3 numeric (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20686 BEGIN
20687 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20688 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20689 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20690 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20691 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20692 END//
20693 DROP PROCEDURE IF EXISTS spexecute43;
20694 CREATE PROCEDURE spexecute43()
20695 BEGIN
20696 declare var1 numeric (0);
20697 declare var2 numeric (0);
20698 declare var3 bigint;
20699 declare var4 bigint;
20700 declare var5 bigint;
20701 declare var6 bigint;
20702 declare var7 bigint;
20703 declare var8 bigint;
20704 set var1 = -999999999;
20705 set var3 = -9.22e+18;
20706 set var5 = -9.22e+18;
20707 set var7 = -9.22e+18;
20708 CALL sp43(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20709 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20710 END//
20711 CALL spexecute43();
20712 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20713 DROP PROCEDURE spexecute43;
20714 DROP PROCEDURE sp43;
20715 DROP PROCEDURE IF EXISTS sp44;
20716 CREATE PROCEDURE sp44( in f1 numeric (0) unsigned, inout f2 numeric (0) unsigned, out f3 numeric (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20717 BEGIN
20718 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20719 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20720 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20721 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20722 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20723 END//
20724 DROP PROCEDURE IF EXISTS spexecute44;
20725 CREATE PROCEDURE spexecute44()
20726 BEGIN
20727 declare var1 numeric (0) unsigned;
20728 declare var2 numeric (0) unsigned;
20729 declare var3 bigint;
20730 declare var4 bigint;
20731 declare var5 bigint;
20732 declare var6 bigint;
20733 declare var7 bigint;
20734 declare var8 bigint;
20735 set var1 = 9999999999;
20736 set var3 = -9.22e+18;
20737 set var5 = -9.22e+18;
20738 set var7 = -9.22e+18;
20739 CALL sp44(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20740 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20741 END//
20742 CALL spexecute44();
20743 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20744 DROP PROCEDURE spexecute44;
20745 DROP PROCEDURE sp44;
20746 DROP PROCEDURE IF EXISTS sp45;
20747 CREATE PROCEDURE sp45( in f1 numeric (0) zerofill, inout f2 numeric (0) zerofill, out f3 numeric (0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20748 BEGIN
20749 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20750 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20751 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20752 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20753 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20754 END//
20755 DROP PROCEDURE IF EXISTS spexecute45;
20756 CREATE PROCEDURE spexecute45()
20757 BEGIN
20758 declare var1 numeric (0) zerofill;
20759 declare var2 numeric (0) zerofill;
20760 declare var3 bigint;
20761 declare var4 bigint;
20762 declare var5 bigint;
20763 declare var6 bigint;
20764 declare var7 bigint;
20765 declare var8 bigint;
20766 set var1 = -99999999;
20767 set var3 = -9.22e+18;
20768 set var5 = -9.22e+18;
20769 set var7 = -9.22e+18;
20770 CALL sp45(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20771 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20772 END//
20773 CALL spexecute45();
20774 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20775 DROP PROCEDURE spexecute45;
20776 DROP PROCEDURE sp45;
20777 DROP PROCEDURE IF EXISTS sp46;
20778 CREATE PROCEDURE sp46( in f1 numeric (0, 0), inout f2 numeric (0, 0), out f3 numeric (0, 0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20779 BEGIN
20780 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20781 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20782 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20783 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20784 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20785 END//
20786 DROP PROCEDURE IF EXISTS spexecute46;
20787 CREATE PROCEDURE spexecute46()
20788 BEGIN
20789 declare var1 numeric (0, 0);
20790 declare var2 numeric (0, 0);
20791 declare var3 bigint;
20792 declare var4 bigint;
20793 declare var5 bigint;
20794 declare var6 bigint;
20795 declare var7 bigint;
20796 declare var8 bigint;
20797 set var1 = -999999999;
20798 set var3 = -9.22e+18;
20799 set var5 = -9.22e+18;
20800 set var7 = -9.22e+18;
20801 CALL sp46(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20802 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20803 END//
20804 CALL spexecute46();
20805 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20806 DROP PROCEDURE spexecute46;
20807 DROP PROCEDURE sp46;
20808 DROP PROCEDURE IF EXISTS sp47;
20809 CREATE PROCEDURE sp47( in f1 numeric (0, 0) unsigned, inout f2 numeric (0, 0) unsigned, out f3 numeric (0, 0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20810 BEGIN
20811 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20812 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20813 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20814 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20815 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20816 END//
20817 DROP PROCEDURE IF EXISTS spexecute47;
20818 CREATE PROCEDURE spexecute47()
20819 BEGIN
20820 declare var1 numeric (0, 0) unsigned;
20821 declare var2 numeric (0, 0) unsigned;
20822 declare var3 bigint;
20823 declare var4 bigint;
20824 declare var5 bigint;
20825 declare var6 bigint;
20826 declare var7 bigint;
20827 declare var8 bigint;
20828 set var1 = 9999999999;
20829 set var3 = -9.22e+18;
20830 set var5 = -9.22e+18;
20831 set var7 = -9.22e+18;
20832 CALL sp47(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20833 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20834 END//
20835 CALL spexecute47();
20836 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20837 DROP PROCEDURE spexecute47;
20838 DROP PROCEDURE sp47;
20839 DROP PROCEDURE IF EXISTS sp48;
20840 CREATE PROCEDURE sp48( in f1 numeric (0, 0) zerofill, inout f2 numeric (0, 0) zerofill, out f3 numeric (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20841 BEGIN
20842 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20843 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20844 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20845 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20846 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20847 END//
20848 DROP PROCEDURE IF EXISTS spexecute48;
20849 CREATE PROCEDURE spexecute48()
20850 BEGIN
20851 declare var1 numeric (0, 0) zerofill;
20852 declare var2 numeric (0, 0) zerofill;
20853 declare var3 bigint;
20854 declare var4 bigint;
20855 declare var5 bigint;
20856 declare var6 bigint;
20857 declare var7 bigint;
20858 declare var8 bigint;
20859 set var1 = -99999999;
20860 set var3 = -9.22e+18;
20861 set var5 = -9.22e+18;
20862 set var7 = -9.22e+18;
20863 CALL sp48(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20864 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20865 END//
20866 CALL spexecute48();
20867 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20868 DROP PROCEDURE spexecute48;
20869 DROP PROCEDURE sp48;
20870 DROP PROCEDURE IF EXISTS sp49;
20871 CREATE PROCEDURE sp49( in f1 numeric unsigned, inout f2 numeric unsigned, out f3 numeric unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20872 BEGIN
20873 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20874 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20875 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20876 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20877 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20878 END//
20879 DROP PROCEDURE IF EXISTS spexecute49;
20880 CREATE PROCEDURE spexecute49()
20881 BEGIN
20882 declare var1 numeric unsigned;
20883 declare var2 numeric unsigned;
20884 declare var3 bigint;
20885 declare var4 bigint;
20886 declare var5 bigint;
20887 declare var6 bigint;
20888 declare var7 bigint;
20889 declare var8 bigint;
20890 set var1 = -999999999;
20891 set var3 = -9.22e+18;
20892 set var5 = -9.22e+18;
20893 set var7 = -9.22e+18;
20894 CALL sp49(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20895 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20896 END//
20897 CALL spexecute49();
20898 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20899 DROP PROCEDURE spexecute49;
20900 DROP PROCEDURE sp49;
20901 DROP PROCEDURE IF EXISTS sp50;
20902 CREATE PROCEDURE sp50( in f1 numeric unsigned zerofill, inout f2 numeric unsigned zerofill, out f3 numeric unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20903 BEGIN
20904 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20905 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20906 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20907 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20908 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20909 END//
20910 DROP PROCEDURE IF EXISTS spexecute50;
20911 CREATE PROCEDURE spexecute50()
20912 BEGIN
20913 declare var1 numeric unsigned zerofill;
20914 declare var2 numeric unsigned zerofill;
20915 declare var3 bigint;
20916 declare var4 bigint;
20917 declare var5 bigint;
20918 declare var6 bigint;
20919 declare var7 bigint;
20920 declare var8 bigint;
20921 set var1 = 9999999999;
20922 set var3 = -9.22e+18;
20923 set var5 = -9.22e+18;
20924 set var7 = -9.22e+18;
20925 CALL sp50(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20926 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20927 END//
20928 CALL spexecute50();
20929 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20930 DROP PROCEDURE spexecute50;
20931 DROP PROCEDURE sp50;
20932 DROP PROCEDURE IF EXISTS sp51;
20933 CREATE PROCEDURE sp51( in f1 numeric zerofill, inout f2 numeric zerofill, out f3 numeric zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20934 BEGIN
20935 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20936 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20937 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20938 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20939 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20940 END//
20941 DROP PROCEDURE IF EXISTS spexecute51;
20942 CREATE PROCEDURE spexecute51()
20943 BEGIN
20944 declare var1 numeric zerofill;
20945 declare var2 numeric zerofill;
20946 declare var3 bigint;
20947 declare var4 bigint;
20948 declare var5 bigint;
20949 declare var6 bigint;
20950 declare var7 bigint;
20951 declare var8 bigint;
20952 set var1 = -99999999;
20953 set var3 = -9.22e+18;
20954 set var5 = -9.22e+18;
20955 set var7 = -9.22e+18;
20956 CALL sp51(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20957 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20958 END//
20959 CALL spexecute51();
20960 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20961 DROP PROCEDURE spexecute51;
20962 DROP PROCEDURE sp51;
20963 DROP PROCEDURE IF EXISTS sp52;
20964 CREATE PROCEDURE sp52( in f1 numeric (63, 30), inout f2 numeric (63, 30), out f3 numeric (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20965 BEGIN
20966 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20967 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20968 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
20969 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
20970 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20971 END//
20972 DROP PROCEDURE IF EXISTS spexecute52;
20973 CREATE PROCEDURE spexecute52()
20974 BEGIN
20975 declare var1 numeric (63, 30);
20976 declare var2 numeric (63, 30);
20977 declare var3 bigint;
20978 declare var4 bigint;
20979 declare var5 bigint;
20980 declare var6 bigint;
20981 declare var7 bigint;
20982 declare var8 bigint;
20983 set var1 = -1.00e+22;
20984 set var3 = -9.22e+18;
20985 set var5 = -9.22e+18;
20986 set var7 = -9.22e+18;
20987 CALL sp52(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20988 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20989 END//
20990 CALL spexecute52();
20991 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
20992 DROP PROCEDURE spexecute52;
20993 DROP PROCEDURE sp52;
20994 DROP PROCEDURE IF EXISTS sp53;
20995 CREATE PROCEDURE sp53( in f1 numeric (64), inout f2 numeric (64), out f3 numeric (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
20996 BEGIN
20997 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
20998 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
20999 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21000 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21001 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21002 END//
21003 DROP PROCEDURE IF EXISTS spexecute53;
21004 CREATE PROCEDURE spexecute53()
21005 BEGIN
21006 declare var1 numeric (64);
21007 declare var2 numeric (64);
21008 declare var3 bigint;
21009 declare var4 bigint;
21010 declare var5 bigint;
21011 declare var6 bigint;
21012 declare var7 bigint;
21013 declare var8 bigint;
21014 set var1 = -1.00e+22;
21015 set var3 = -9.22e+18;
21016 set var5 = -9.22e+18;
21017 set var7 = -9.22e+18;
21018 CALL sp53(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21019 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21020 END//
21021 CALL spexecute53();
21022 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21023 DROP PROCEDURE spexecute53;
21024 DROP PROCEDURE sp53;
21025 DROP PROCEDURE IF EXISTS sp54;
21026 CREATE PROCEDURE sp54( in f1 numeric (64) unsigned, inout f2 numeric (64) unsigned, out f3 numeric (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21027 BEGIN
21028 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21029 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21030 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21031 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21032 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21033 END//
21034 DROP PROCEDURE IF EXISTS spexecute54;
21035 CREATE PROCEDURE spexecute54()
21036 BEGIN
21037 declare var1 numeric (64) unsigned;
21038 declare var2 numeric (64) unsigned;
21039 declare var3 bigint;
21040 declare var4 bigint;
21041 declare var5 bigint;
21042 declare var6 bigint;
21043 declare var7 bigint;
21044 declare var8 bigint;
21045 set var1 = 1.00e+22;
21046 set var3 = -9.22e+18;
21047 set var5 = -9.22e+18;
21048 set var7 = -9.22e+18;
21049 CALL sp54(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21050 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21051 END//
21052 CALL spexecute54();
21053 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21054 DROP PROCEDURE spexecute54;
21055 DROP PROCEDURE sp54;
21056 DROP PROCEDURE IF EXISTS sp55;
21057 CREATE PROCEDURE sp55( in f1 numeric (64) zerofill, inout f2 numeric (64) zerofill, out f3 numeric (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21058 BEGIN
21059 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21060 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21061 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21062 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21063 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21064 END//
21065 DROP PROCEDURE IF EXISTS spexecute55;
21066 CREATE PROCEDURE spexecute55()
21067 BEGIN
21068 declare var1 numeric (64) zerofill;
21069 declare var2 numeric (64) zerofill;
21070 declare var3 bigint;
21071 declare var4 bigint;
21072 declare var5 bigint;
21073 declare var6 bigint;
21074 declare var7 bigint;
21075 declare var8 bigint;
21076 set var1 = -1.00e+22;
21077 set var3 = -9.22e+18;
21078 set var5 = -9.22e+18;
21079 set var7 = -9.22e+18;
21080 CALL sp55(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21081 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21082 END//
21083 CALL spexecute55();
21084 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21085 DROP PROCEDURE spexecute55;
21086 DROP PROCEDURE sp55;
21087 DROP PROCEDURE IF EXISTS sp56;
21088 CREATE PROCEDURE sp56( in f1 year, inout f2 year, out f3 year, in f4 year, inout f5 year, out f6 year, in f7 year, inout f8 year, out f9 year, in f10 year, inout f11 year, out f12 year)
21089 BEGIN
21090 set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
21091 set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
21092 set f7 = f7 + 10; set f8 = f8 + 10; set f9 = f8 + 10;
21093 set f10= f10+ 10; set f11 = f11 + 10; set f12 = f11 + 10;
21094 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21095 END//
21096 DROP PROCEDURE IF EXISTS spexecute56;
21097 CREATE PROCEDURE spexecute56()
21098 BEGIN
21099 declare var1 year;
21100 declare var2 year;
21101 declare var3 year;
21102 declare var4 year;
21103 declare var5 year;
21104 declare var6 year;
21105 declare var7 year;
21106 declare var8 year;
21107 set var1 = 51;
21108 set var3 = 51;
21109 set var5 = 51;
21110 set var7 = 51;
21111 CALL sp56(51, var1, var2, 51, var3, var4, 51, var5, var6, 51, var7, var8);
21112 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21113 END//
21114 CALL spexecute56();
21115 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21116 2061 2061 2071 2061 2061 2071 2061 2061 2071 2061 2061 2071
21117 var1 var2 var3 var4 var5 var6 var7 var8
21118 2061 2071 2061 2071 2061 2071 2061 2071
21119 DROP PROCEDURE spexecute56;
21120 DROP PROCEDURE sp56;
21121 DROP PROCEDURE IF EXISTS sp57;
21122 CREATE PROCEDURE sp57( in f1 year(4), inout f2 year(4), out f3 year(4), in f4 year(4), inout f5 year(4), out f6 year(4), in f7 year(4), inout f8 year(4), out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
21123 BEGIN
21124 set f1 = f1 + 51; set f2 = f2 + 51; set f3 = f2 + 51;
21125 set f4 = f4 + 51; set f5 = f5 + 51; set f6 = f5 + 51;
21126 set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
21127 set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
21128 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21129 END//
21130 DROP PROCEDURE IF EXISTS spexecute57;
21131 CREATE PROCEDURE spexecute57()
21132 BEGIN
21133 declare var1 year(4);
21134 declare var2 year(4);
21135 declare var3 year(4);
21136 declare var4 year(4);
21137 declare var5 year(4);
21138 declare var6 year(4);
21139 declare var7 year(4);
21140 declare var8 year(4);
21141 set var1 = 1982;
21142 set var3 = 1982;
21143 set var5 = 1982;
21144 set var7 = 1982;
21145 CALL sp57(1982, var1, var2, 1982, var3, var4, 1982, var5, var6, 1982, var7, var8);
21146 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21147 END//
21148 CALL spexecute57();
21149 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21150 2033 2033 2084 2033 2033 2084 2033 2033 2084 2033 2033 2084
21151 var1 var2 var3 var4 var5 var6 var7 var8
21152 2033 2084 2033 2084 2033 2084 2033 2084
21153 DROP PROCEDURE spexecute57;
21154 DROP PROCEDURE sp57;
21155 DROP PROCEDURE IF EXISTS sp58;
21156 CREATE PROCEDURE sp58( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text, out f6 text, in f7 text, inout f8 text, out f9 text, in f10 text, inout f11 text, out f12 text)
21157 BEGIN
21158 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
21159 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
21160 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
21161 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
21162 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21163 END//
21164 DROP PROCEDURE IF EXISTS spexecute58;
21165 CREATE PROCEDURE spexecute58()
21166 BEGIN
21167 declare var1 text;
21168 declare var2 text;
21169 declare var3 text;
21170 declare var4 text;
21171 declare var5 text;
21172 declare var6 text;
21173 declare var7 text;
21174 declare var8 text;
21175 set var1 = 'world';
21176 set var3 = 'world';
21177 set var5 = 'world';
21178 set var7 = 'world';
21179 CALL sp58( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
21180 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21181 END//
21182 CALL spexecute58();
21183 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21184 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
21185 var1 var2 var3 var4 var5 var6 var7 var8
21186 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
21187 DROP PROCEDURE spexecute58;
21188 DROP PROCEDURE sp58;
21189 DROP PROCEDURE IF EXISTS sp59;
21190 CREATE PROCEDURE sp59( in f1 tinytext, inout f2 tinytext, out f3 tinytext, in f4 tinytext, inout f5 tinytext, out f6 tinytext, in f7 tinytext, inout f8 tinytext, out f9 tinytext, in f10 tinytext, inout f11 tinytext, out f12 tinytext)
21191 BEGIN
21192 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
21193 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
21194 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
21195 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
21196 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21197 END//
21198 DROP PROCEDURE IF EXISTS spexecute59;
21199 CREATE PROCEDURE spexecute59()
21200 BEGIN
21201 declare var1 tinytext;
21202 declare var2 tinytext;
21203 declare var3 tinytext;
21204 declare var4 tinytext;
21205 declare var5 tinytext;
21206 declare var6 tinytext;
21207 declare var7 tinytext;
21208 declare var8 tinytext;
21209 set var1 = 'world';
21210 set var3 = 'world';
21211 set var5 = 'world';
21212 set var7 = 'world';
21213 CALL sp59( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
21214 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21215 END//
21216 CALL spexecute59();
21217 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21218 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
21219 var1 var2 var3 var4 var5 var6 var7 var8
21220 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
21221 DROP PROCEDURE spexecute59;
21222 DROP PROCEDURE sp59;
21223 DROP PROCEDURE IF EXISTS sp60;
21224 CREATE PROCEDURE sp60( in f1 char, inout f2 char, out f3 char, in f4 char, inout f5 char, out f6 char, in f7 char, inout f8 char, out f9 char, in f10 char, inout f11 char, out f12 char)
21225 BEGIN
21226 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
21227 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f5);
21228 set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f8);
21229 set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
21230 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21231 END//
21232 DROP PROCEDURE IF EXISTS spexecute60;
21233 CREATE PROCEDURE spexecute60()
21234 BEGIN
21235 declare var1 char;
21236 declare var2 char;
21237 declare var3 char;
21238 declare var4 char;
21239 declare var5 char;
21240 declare var6 char;
21241 declare var7 char;
21242 declare var8 char;
21243 set var1 = 'h';
21244 set var3 = 'h';
21245 set var5 = 'h';
21246 set var7 = 'h';
21247 CALL sp60( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
21248 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21249 END//
21250 CALL spexecute60();
21251 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21252 a a a a a a a a a a a a
21253 var1 var2 var3 var4 var5 var6 var7 var8
21254 a a a a a a a a
21255 DROP PROCEDURE spexecute60;
21256 DROP PROCEDURE sp60;
21257 DROP PROCEDURE IF EXISTS sp61;
21258 CREATE PROCEDURE sp61( in f1 char ascii, inout f2 char ascii, out f3 char ascii, in f4 char ascii, inout f5 char ascii, out f6 char ascii, in f7 char ascii, inout f8 char ascii, out f9 char ascii, in f10 char ascii, inout f11 char ascii, out f12 char ascii)
21259 BEGIN
21260 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f2);
21261 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
21262 set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f9);
21263 set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
21264 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21265 END//
21266 DROP PROCEDURE IF EXISTS spexecute61;
21267 CREATE PROCEDURE spexecute61()
21268 BEGIN
21269 declare var1 char ascii;
21270 declare var2 char ascii;
21271 declare var3 char ascii;
21272 declare var4 char ascii;
21273 declare var5 char ascii;
21274 declare var6 char ascii;
21275 declare var7 char ascii;
21276 declare var8 char ascii;
21277 set var1 = 'h';
21278 set var3 = 'h';
21279 set var5 = 'h';
21280 set var7 = 'h';
21281 CALL sp61( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
21282 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21283 END//
21284 CALL spexecute61();
21285 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21286 a a a a a a a a NULL a a a
21287 var1 var2 var3 var4 var5 var6 var7 var8
21288 a a a a a NULL a a
21289 DROP PROCEDURE spexecute61;
21290 DROP PROCEDURE sp61;
21291 DROP PROCEDURE IF EXISTS sp62;
21292 CREATE PROCEDURE sp62( in f1 longtext, inout f2 longtext, out f3 longtext, in f4 longtext, inout f5 longtext, out f6 longtext, in f7 longtext, inout f8 longtext, out f9 longtext, in f10 longtext, inout f11 longtext, out f12 longtext)
21293 BEGIN
21294 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
21295 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
21296 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
21297 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
21298 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21299 END//
21300 DROP PROCEDURE IF EXISTS spexecute62;
21301 CREATE PROCEDURE spexecute62()
21302 BEGIN
21303 declare var1 longtext;
21304 declare var2 longtext;
21305 declare var3 longtext;
21306 declare var4 longtext;
21307 declare var5 longtext;
21308 declare var6 longtext;
21309 declare var7 longtext;
21310 declare var8 longtext;
21311 set var1 = 'world';
21312 set var3 = 'world';
21313 set var5 = 'world';
21314 set var7 = 'world';
21315 CALL sp62( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
21316 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21317 END//
21318 CALL spexecute62();
21319 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21320 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
21321 var1 var2 var3 var4 var5 var6 var7 var8
21322 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
21323 DROP PROCEDURE spexecute62;
21324 DROP PROCEDURE sp62;
21325 DROP PROCEDURE IF EXISTS sp63;
21326 CREATE PROCEDURE sp63( in f1 mediumtext, inout f2 mediumtext, out f3 mediumtext, in f4 mediumtext, inout f5 mediumtext, out f6 mediumtext, in f7 mediumtext, inout f8 mediumtext, out f9 mediumtext, in f10 mediumtext, inout f11 mediumtext, out f12 mediumtext)
21327 BEGIN
21328 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f3);
21329 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
21330 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
21331 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
21332 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21333 END//
21334 DROP PROCEDURE IF EXISTS spexecute63;
21335 CREATE PROCEDURE spexecute63()
21336 BEGIN
21337 declare var1 mediumtext;
21338 declare var2 mediumtext;
21339 declare var3 mediumtext;
21340 declare var4 mediumtext;
21341 declare var5 mediumtext;
21342 declare var6 mediumtext;
21343 declare var7 mediumtext;
21344 declare var8 mediumtext;
21345 set var1 = 'world';
21346 set var3 = 'world';
21347 set var5 = 'world';
21348 set var7 = 'world';
21349 CALL sp63( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
21350 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21351 END//
21352 CALL spexecute63();
21353 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21354 helloworld helloworld NULL helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
21355 var1 var2 var3 var4 var5 var6 var7 var8
21356 helloworld NULL helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
21357 DROP PROCEDURE spexecute63;
21358 DROP PROCEDURE sp63;
21359 DROP PROCEDURE IF EXISTS sp64;
21360 CREATE PROCEDURE sp64( in f1 decimal, inout f2 decimal, out f3 decimal, in f4 decimal, inout f5 decimal, out f6 decimal, in f7 decimal, inout f8 decimal, out f9 decimal, in f10 decimal, inout f11 decimal, out f12 decimal)
21361 BEGIN
21362 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
21363 set f4 = (f4 / 2); set f4 = (f4 * 2); set f4 = (f4 - 10); set f4 = (f4 + 10); set f5 = (f5 / 2); set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f5 / 2); set f6 = (f5 * 2); set f6 = (f5 - 10); set f6 = (f5 + 10);
21364 set f7 = (f7 / 2); set f7 = (f7 * 2); set f7 = (f7 - 10); set f7 = (f7 + 10); set f8 = (f8 / 2); set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f8 / 2); set f9 = (f8 * 2); set f9 = (f8 - 10); set f9 = (f8 + 10);
21365 set f10 = (f10 / 2); set f10 = (f10 * 2); set f10 = (f10 - 10); set f10 = (f10 + 10); set f11 = (f11 / 2); set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f11 / 2); set f12 = (f11 * 2); set f12 = (f11 - 10); set f12 = (f11 + 10);
21366 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21367 END//
21368 DROP PROCEDURE IF EXISTS spexecute64;
21369 CREATE PROCEDURE spexecute64()
21370 BEGIN
21371 declare var1 decimal;
21372 declare var2 decimal;
21373 declare var3 decimal;
21374 declare var4 decimal;
21375 declare var5 decimal;
21376 declare var6 decimal;
21377 declare var7 decimal;
21378 declare var8 decimal;
21379 set var1 = --1.00e+09;
21380 set var3 = --1.00e+09;
21381 set var5 = --1.00e+09;
21382 set var7 = --1.00e+09;
21383 CALL sp64(--1.00e+09, var1, var2, --1.00e+09, var3, var4, --1.00e+09, var5, var6, --1.00e+09, var7, var8);
21384 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21385 END//
21386 CALL spexecute64();
21387 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
21388 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010
21389 var1 var2 var3 var4 var5 var6 var7 var8
21390 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010
21391 DROP PROCEDURE spexecute64;
21392 DROP PROCEDURE sp64;
21393 DROP PROCEDURE IF EXISTS sp65;
21394 CREATE PROCEDURE sp65( in f1 decimal (0, 0) unsigned zerofill, inout f2 decimal (0, 0) unsigned zerofill, out f3 decimal (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21395 BEGIN
21396 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21397 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21398 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21399 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21400 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21401 END//
21402 DROP PROCEDURE IF EXISTS spexecute65;
21403 CREATE PROCEDURE spexecute65()
21404 BEGIN
21405 declare var1 decimal (0, 0) unsigned zerofill;
21406 declare var2 decimal (0, 0) unsigned zerofill;
21407 declare var3 bigint;
21408 declare var4 bigint;
21409 declare var5 bigint;
21410 declare var6 bigint;
21411 declare var7 bigint;
21412 declare var8 bigint;
21413 set var1 = 999999999;
21414 set var3 = -9.22e+18;
21415 set var5 = -9.22e+18;
21416 set var7 = -9.22e+18;
21417 CALL sp65(999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21418 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21419 END//
21420 CALL spexecute65();
21421 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21422 DROP PROCEDURE spexecute65;
21423 DROP PROCEDURE sp65;
21424 DROP PROCEDURE IF EXISTS sp66;
21425 CREATE PROCEDURE sp66( in f1 decimal (63, 30) unsigned, inout f2 decimal (63, 30) unsigned, out f3 decimal (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21426 BEGIN
21427 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21428 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21429 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21430 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21431 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21432 END//
21433 DROP PROCEDURE IF EXISTS spexecute66;
21434 CREATE PROCEDURE spexecute66()
21435 BEGIN
21436 declare var1 decimal (63, 30) unsigned;
21437 declare var2 decimal (63, 30) unsigned;
21438 declare var3 bigint;
21439 declare var4 bigint;
21440 declare var5 bigint;
21441 declare var6 bigint;
21442 declare var7 bigint;
21443 declare var8 bigint;
21444 set var1 = 1.00e+16;
21445 set var3 = -9.22e+18;
21446 set var5 = -9.22e+18;
21447 set var7 = -9.22e+18;
21448 CALL sp66(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21449 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21450 END//
21451 CALL spexecute66();
21452 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21453 DROP PROCEDURE spexecute66;
21454 DROP PROCEDURE sp66;
21455 DROP PROCEDURE IF EXISTS sp67;
21456 CREATE PROCEDURE sp67( in f1 decimal (63, 30) unsigned zerofill, inout f2 decimal (63, 30) unsigned zerofill, out f3 decimal (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21457 BEGIN
21458 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21459 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21460 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21461 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21462 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21463 END//
21464 DROP PROCEDURE IF EXISTS spexecute67;
21465 CREATE PROCEDURE spexecute67()
21466 BEGIN
21467 declare var1 decimal (63, 30) unsigned zerofill;
21468 declare var2 decimal (63, 30) unsigned zerofill;
21469 declare var3 bigint;
21470 declare var4 bigint;
21471 declare var5 bigint;
21472 declare var6 bigint;
21473 declare var7 bigint;
21474 declare var8 bigint;
21475 set var1 = 1.00e+16;
21476 set var3 = -9.22e+18;
21477 set var5 = -9.22e+18;
21478 set var7 = -9.22e+18;
21479 CALL sp67(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21480 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21481 END//
21482 CALL spexecute67();
21483 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21484 DROP PROCEDURE spexecute67;
21485 DROP PROCEDURE sp67;
21486 DROP PROCEDURE IF EXISTS sp68;
21487 CREATE PROCEDURE sp68( in f1 decimal (63, 30) zerofill, inout f2 decimal (63, 30) zerofill, out f3 decimal (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21488 BEGIN
21489 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21490 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21491 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21492 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21493 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21494 END//
21495 DROP PROCEDURE IF EXISTS spexecute68;
21496 CREATE PROCEDURE spexecute68()
21497 BEGIN
21498 declare var1 decimal (63, 30) zerofill;
21499 declare var2 decimal (63, 30) zerofill;
21500 declare var3 bigint;
21501 declare var4 bigint;
21502 declare var5 bigint;
21503 declare var6 bigint;
21504 declare var7 bigint;
21505 declare var8 bigint;
21506 set var1 = -1.00e+21;
21507 set var3 = -9.22e+18;
21508 set var5 = -9.22e+18;
21509 set var7 = -9.22e+18;
21510 CALL sp68(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21511 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21512 END//
21513 CALL spexecute68();
21514 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21515 DROP PROCEDURE spexecute68;
21516 DROP PROCEDURE sp68;
21517 DROP PROCEDURE IF EXISTS sp69;
21518 CREATE PROCEDURE sp69( in f1 decimal (64), inout f2 decimal (64), out f3 decimal (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21519 BEGIN
21520 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21521 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21522 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21523 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21524 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21525 END//
21526 DROP PROCEDURE IF EXISTS spexecute69;
21527 CREATE PROCEDURE spexecute69()
21528 BEGIN
21529 declare var1 decimal (64);
21530 declare var2 decimal (64);
21531 declare var3 bigint;
21532 declare var4 bigint;
21533 declare var5 bigint;
21534 declare var6 bigint;
21535 declare var7 bigint;
21536 declare var8 bigint;
21537 set var1 = -1.00e+22;
21538 set var3 = -9.22e+18;
21539 set var5 = -9.22e+18;
21540 set var7 = -9.22e+18;
21541 CALL sp69(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21542 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21543 END//
21544 CALL spexecute69();
21545 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21546 DROP PROCEDURE spexecute69;
21547 DROP PROCEDURE sp69;
21548 DROP PROCEDURE IF EXISTS sp70;
21549 CREATE PROCEDURE sp70( in f1 decimal (64) unsigned, inout f2 decimal (64) unsigned, out f3 decimal (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21550 BEGIN
21551 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21552 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21553 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21554 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21555 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21556 END//
21557 DROP PROCEDURE IF EXISTS spexecute70;
21558 CREATE PROCEDURE spexecute70()
21559 BEGIN
21560 declare var1 decimal (64) unsigned;
21561 declare var2 decimal (64) unsigned;
21562 declare var3 bigint;
21563 declare var4 bigint;
21564 declare var5 bigint;
21565 declare var6 bigint;
21566 declare var7 bigint;
21567 declare var8 bigint;
21568 set var1 = 1.00e+22;
21569 set var3 = -9.22e+18;
21570 set var5 = -9.22e+18;
21571 set var7 = -9.22e+18;
21572 CALL sp70(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21573 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21574 END//
21575 CALL spexecute70();
21576 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21577 DROP PROCEDURE spexecute70;
21578 DROP PROCEDURE sp70;
21579 DROP PROCEDURE IF EXISTS sp71;
21580 CREATE PROCEDURE sp71( in f1 decimal (64) unsigned zerofill, inout f2 decimal (64) unsigned zerofill, out f3 decimal (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21581 BEGIN
21582 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21583 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21584 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21585 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21586 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21587 END//
21588 DROP PROCEDURE IF EXISTS spexecute71;
21589 CREATE PROCEDURE spexecute71()
21590 BEGIN
21591 declare var1 decimal (64) unsigned zerofill;
21592 declare var2 decimal (64) unsigned zerofill;
21593 declare var3 bigint;
21594 declare var4 bigint;
21595 declare var5 bigint;
21596 declare var6 bigint;
21597 declare var7 bigint;
21598 declare var8 bigint;
21599 set var1 = 1.00e+22;
21600 set var3 = -9.22e+18;
21601 set var5 = -9.22e+18;
21602 set var7 = -9.22e+18;
21603 CALL sp71(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21604 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21605 END//
21606 CALL spexecute71();
21607 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21608 DROP PROCEDURE spexecute71;
21609 DROP PROCEDURE sp71;
21610 DROP PROCEDURE IF EXISTS sp72;
21611 CREATE PROCEDURE sp72( in f1 decimal (64) zerofill, inout f2 decimal (64) zerofill, out f3 decimal (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21612 BEGIN
21613 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21614 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21615 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21616 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21617 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21618 END//
21619 DROP PROCEDURE IF EXISTS spexecute72;
21620 CREATE PROCEDURE spexecute72()
21621 BEGIN
21622 declare var1 decimal (64) zerofill;
21623 declare var2 decimal (64) zerofill;
21624 declare var3 bigint;
21625 declare var4 bigint;
21626 declare var5 bigint;
21627 declare var6 bigint;
21628 declare var7 bigint;
21629 declare var8 bigint;
21630 set var1 = 1.00e+00;
21631 set var3 = -9.22e+18;
21632 set var5 = -9.22e+18;
21633 set var7 = -9.22e+18;
21634 CALL sp72(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21635 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21636 END//
21637 CALL spexecute72();
21638 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21639 DROP PROCEDURE spexecute72;
21640 DROP PROCEDURE sp72;
21641 DROP PROCEDURE IF EXISTS sp73;
21642 CREATE PROCEDURE sp73( in f1 decimal unsigned, inout f2 decimal unsigned, out f3 decimal unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21643 BEGIN
21644 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21645 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21646 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21647 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21648 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21649 END//
21650 DROP PROCEDURE IF EXISTS spexecute73;
21651 CREATE PROCEDURE spexecute73()
21652 BEGIN
21653 declare var1 decimal unsigned;
21654 declare var2 decimal unsigned;
21655 declare var3 bigint;
21656 declare var4 bigint;
21657 declare var5 bigint;
21658 declare var6 bigint;
21659 declare var7 bigint;
21660 declare var8 bigint;
21661 set var1 = 1.00e+00;
21662 set var3 = -9.22e+18;
21663 set var5 = -9.22e+18;
21664 set var7 = -9.22e+18;
21665 CALL sp73(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21666 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21667 END//
21668 CALL spexecute73();
21669 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21670 DROP PROCEDURE spexecute73;
21671 DROP PROCEDURE sp73;
21672 DROP PROCEDURE IF EXISTS sp74;
21673 CREATE PROCEDURE sp74( in f1 decimal unsigned zerofill, inout f2 decimal unsigned zerofill, out f3 decimal unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21674 BEGIN
21675 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21676 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21677 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21678 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21679 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21680 END//
21681 DROP PROCEDURE IF EXISTS spexecute74;
21682 CREATE PROCEDURE spexecute74()
21683 BEGIN
21684 declare var1 decimal unsigned zerofill;
21685 declare var2 decimal unsigned zerofill;
21686 declare var3 bigint;
21687 declare var4 bigint;
21688 declare var5 bigint;
21689 declare var6 bigint;
21690 declare var7 bigint;
21691 declare var8 bigint;
21692 set var1 = 1.00e+00;
21693 set var3 = -9.22e+18;
21694 set var5 = -9.22e+18;
21695 set var7 = -9.22e+18;
21696 CALL sp74(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21697 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21698 END//
21699 CALL spexecute74();
21700 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21701 DROP PROCEDURE spexecute74;
21702 DROP PROCEDURE sp74;
21703 DROP PROCEDURE IF EXISTS sp75;
21704 CREATE PROCEDURE sp75( in f1 decimal zerofill, inout f2 decimal zerofill, out f3 decimal zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21705 BEGIN
21706 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21707 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21708 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21709 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21710 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21711 END//
21712 DROP PROCEDURE IF EXISTS spexecute75;
21713 CREATE PROCEDURE spexecute75()
21714 BEGIN
21715 declare var1 decimal zerofill;
21716 declare var2 decimal zerofill;
21717 declare var3 bigint;
21718 declare var4 bigint;
21719 declare var5 bigint;
21720 declare var6 bigint;
21721 declare var7 bigint;
21722 declare var8 bigint;
21723 set var1 = -1.00e+09;
21724 set var3 = -9.22e+18;
21725 set var5 = -9.22e+18;
21726 set var7 = -9.22e+18;
21727 CALL sp75(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21728 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21729 END//
21730 CALL spexecute75();
21731 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21732 DROP PROCEDURE spexecute75;
21733 DROP PROCEDURE sp75;
21734 DROP PROCEDURE IF EXISTS sp76;
21735 CREATE PROCEDURE sp76( in f1 float(0) unsigned zerofill, inout f2 float(0) unsigned zerofill, out f3 float(0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21736 BEGIN
21737 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21738 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21739 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21740 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21741 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21742 END//
21743 DROP PROCEDURE IF EXISTS spexecute76;
21744 CREATE PROCEDURE spexecute76()
21745 BEGIN
21746 declare var1 float(0) unsigned zerofill;
21747 declare var2 float(0) unsigned zerofill;
21748 declare var3 bigint;
21749 declare var4 bigint;
21750 declare var5 bigint;
21751 declare var6 bigint;
21752 declare var7 bigint;
21753 declare var8 bigint;
21754 set var1 = 1.00e+00;
21755 set var3 = -9.22e+18;
21756 set var5 = -9.22e+18;
21757 set var7 = -9.22e+18;
21758 CALL sp76(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21759 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21760 END//
21761 CALL spexecute76();
21762 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21763 DROP PROCEDURE spexecute76;
21764 DROP PROCEDURE sp76;
21765 DROP PROCEDURE IF EXISTS sp77;
21766 CREATE PROCEDURE sp77( in f1 float(23) unsigned zerofill, inout f2 float(23) unsigned zerofill, out f3 float(23) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21767 BEGIN
21768 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21769 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21770 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21771 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21772 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21773 END//
21774 DROP PROCEDURE IF EXISTS spexecute77;
21775 CREATE PROCEDURE spexecute77()
21776 BEGIN
21777 declare var1 float(23) unsigned zerofill;
21778 declare var2 float(23) unsigned zerofill;
21779 declare var3 bigint;
21780 declare var4 bigint;
21781 declare var5 bigint;
21782 declare var6 bigint;
21783 declare var7 bigint;
21784 declare var8 bigint;
21785 set var1 = 1.00e+00;
21786 set var3 = -9.22e+18;
21787 set var5 = -9.22e+18;
21788 set var7 = -9.22e+18;
21789 CALL sp77(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21790 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21791 END//
21792 CALL spexecute77();
21793 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21794 DROP PROCEDURE spexecute77;
21795 DROP PROCEDURE sp77;
21796 DROP PROCEDURE IF EXISTS sp78;
21797 CREATE PROCEDURE sp78( in f1 float(24) unsigned zerofill, inout f2 float(24) unsigned zerofill, out f3 float(24) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21798 BEGIN
21799 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21800 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21801 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21802 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21803 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21804 END//
21805 DROP PROCEDURE IF EXISTS spexecute78;
21806 CREATE PROCEDURE spexecute78()
21807 BEGIN
21808 declare var1 float(24) unsigned zerofill;
21809 declare var2 float(24) unsigned zerofill;
21810 declare var3 bigint;
21811 declare var4 bigint;
21812 declare var5 bigint;
21813 declare var6 bigint;
21814 declare var7 bigint;
21815 declare var8 bigint;
21816 set var1 = 1.00e+00;
21817 set var3 = -9.22e+18;
21818 set var5 = -9.22e+18;
21819 set var7 = -9.22e+18;
21820 CALL sp78(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21821 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21822 END//
21823 CALL spexecute78();
21824 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21825 DROP PROCEDURE spexecute78;
21826 DROP PROCEDURE sp78;
21827 DROP PROCEDURE IF EXISTS sp79;
21828 CREATE PROCEDURE sp79( in f1 float(53) unsigned zerofill, inout f2 float(53) unsigned zerofill, out f3 float(53) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21829 BEGIN
21830 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21831 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21832 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21833 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21834 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21835 END//
21836 DROP PROCEDURE IF EXISTS spexecute79;
21837 CREATE PROCEDURE spexecute79()
21838 BEGIN
21839 declare var1 float(53) unsigned zerofill;
21840 declare var2 float(53) unsigned zerofill;
21841 declare var3 bigint;
21842 declare var4 bigint;
21843 declare var5 bigint;
21844 declare var6 bigint;
21845 declare var7 bigint;
21846 declare var8 bigint;
21847 set var1 = 1.00e+00;
21848 set var3 = -9.22e+18;
21849 set var5 = -9.22e+18;
21850 set var7 = -9.22e+18;
21851 CALL sp79(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21852 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21853 END//
21854 CALL spexecute79();
21855 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21856 DROP PROCEDURE spexecute79;
21857 DROP PROCEDURE sp79;
21858 DROP PROCEDURE IF EXISTS sp80;
21859 CREATE PROCEDURE sp80( in f1 int, inout f2 int, out f3 int, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21860 BEGIN
21861 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21862 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21863 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21864 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21865 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21866 END//
21867 DROP PROCEDURE IF EXISTS spexecute80;
21868 CREATE PROCEDURE spexecute80()
21869 BEGIN
21870 declare var1 int;
21871 declare var2 int;
21872 declare var3 bigint;
21873 declare var4 bigint;
21874 declare var5 bigint;
21875 declare var6 bigint;
21876 declare var7 bigint;
21877 declare var8 bigint;
21878 set var1 = -2.15e+09;
21879 set var3 = -9.22e+18;
21880 set var5 = -9.22e+18;
21881 set var7 = -9.22e+18;
21882 CALL sp80(-2.15e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21883 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21884 END//
21885 CALL spexecute80();
21886 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21887 DROP PROCEDURE spexecute80;
21888 DROP PROCEDURE sp80;
21889 DROP PROCEDURE IF EXISTS sp81;
21890 CREATE PROCEDURE sp81( in f1 int unsigned, inout f2 int unsigned, out f3 int unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21891 BEGIN
21892 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21893 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21894 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21895 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21896 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21897 END//
21898 DROP PROCEDURE IF EXISTS spexecute81;
21899 CREATE PROCEDURE spexecute81()
21900 BEGIN
21901 declare var1 int unsigned;
21902 declare var2 int unsigned;
21903 declare var3 bigint;
21904 declare var4 bigint;
21905 declare var5 bigint;
21906 declare var6 bigint;
21907 declare var7 bigint;
21908 declare var8 bigint;
21909 set var1 = 4.29e+09;
21910 set var3 = -9.22e+18;
21911 set var5 = -9.22e+18;
21912 set var7 = -9.22e+18;
21913 CALL sp81(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21914 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21915 END//
21916 CALL spexecute81();
21917 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21918 DROP PROCEDURE spexecute81;
21919 DROP PROCEDURE sp81;
21920 DROP PROCEDURE IF EXISTS sp82;
21921 CREATE PROCEDURE sp82( in f1 int unsigned zerofill, inout f2 int unsigned zerofill, out f3 int unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21922 BEGIN
21923 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21924 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21925 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21926 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21927 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21928 END//
21929 DROP PROCEDURE IF EXISTS spexecute82;
21930 CREATE PROCEDURE spexecute82()
21931 BEGIN
21932 declare var1 int unsigned zerofill;
21933 declare var2 int unsigned zerofill;
21934 declare var3 bigint;
21935 declare var4 bigint;
21936 declare var5 bigint;
21937 declare var6 bigint;
21938 declare var7 bigint;
21939 declare var8 bigint;
21940 set var1 = 4.29e+09;
21941 set var3 = -9.22e+18;
21942 set var5 = -9.22e+18;
21943 set var7 = -9.22e+18;
21944 CALL sp82(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21945 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21946 END//
21947 CALL spexecute82();
21948 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21949 DROP PROCEDURE spexecute82;
21950 DROP PROCEDURE sp82;
21951 DROP PROCEDURE IF EXISTS sp83;
21952 CREATE PROCEDURE sp83( in f1 int zerofill, inout f2 int zerofill, out f3 int zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21953 BEGIN
21954 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21955 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21956 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21957 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21958 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21959 END//
21960 DROP PROCEDURE IF EXISTS spexecute83;
21961 CREATE PROCEDURE spexecute83()
21962 BEGIN
21963 declare var1 int zerofill;
21964 declare var2 int zerofill;
21965 declare var3 bigint;
21966 declare var4 bigint;
21967 declare var5 bigint;
21968 declare var6 bigint;
21969 declare var7 bigint;
21970 declare var8 bigint;
21971 set var1 = 2.15e+08;
21972 set var3 = -9.22e+18;
21973 set var5 = -9.22e+18;
21974 set var7 = -9.22e+18;
21975 CALL sp83(2.15e+08, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21976 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21977 END//
21978 CALL spexecute83();
21979 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
21980 DROP PROCEDURE spexecute83;
21981 DROP PROCEDURE sp83;
21982 DROP PROCEDURE IF EXISTS sp84;
21983 CREATE PROCEDURE sp84( in f1 mediumint, inout f2 mediumint, out f3 mediumint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
21984 BEGIN
21985 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
21986 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
21987 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
21988 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
21989 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21990 END//
21991 DROP PROCEDURE IF EXISTS spexecute84;
21992 CREATE PROCEDURE spexecute84()
21993 BEGIN
21994 declare var1 mediumint;
21995 declare var2 mediumint;
21996 declare var3 bigint;
21997 declare var4 bigint;
21998 declare var5 bigint;
21999 declare var6 bigint;
22000 declare var7 bigint;
22001 declare var8 bigint;
22002 set var1 = -8388600;
22003 set var3 = -9.22e+18;
22004 set var5 = -9.22e+18;
22005 set var7 = -9.22e+18;
22006 CALL sp84(-8388600, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22007 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22008 END//
22009 CALL spexecute84();
22010 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22011 DROP PROCEDURE spexecute84;
22012 DROP PROCEDURE sp84;
22013 DROP PROCEDURE IF EXISTS sp85;
22014 CREATE PROCEDURE sp85( in f1 mediumint unsigned, inout f2 mediumint unsigned, out f3 mediumint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22015 BEGIN
22016 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22017 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22018 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22019 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22020 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22021 END//
22022 DROP PROCEDURE IF EXISTS spexecute85;
22023 CREATE PROCEDURE spexecute85()
22024 BEGIN
22025 declare var1 mediumint unsigned;
22026 declare var2 mediumint unsigned;
22027 declare var3 bigint;
22028 declare var4 bigint;
22029 declare var5 bigint;
22030 declare var6 bigint;
22031 declare var7 bigint;
22032 declare var8 bigint;
22033 set var1 = 16777201;
22034 set var3 = -9.22e+18;
22035 set var5 = -9.22e+18;
22036 set var7 = -9.22e+18;
22037 CALL sp85(16777201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22038 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22039 END//
22040 CALL spexecute85();
22041 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22042 DROP PROCEDURE spexecute85;
22043 DROP PROCEDURE sp85;
22044 DROP PROCEDURE IF EXISTS sp86;
22045 CREATE PROCEDURE sp86( in f1 mediumint unsigned zerofill, inout f2 mediumint unsigned zerofill, out f3 mediumint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22046 BEGIN
22047 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22048 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22049 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22050 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22051 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22052 END//
22053 DROP PROCEDURE IF EXISTS spexecute86;
22054 CREATE PROCEDURE spexecute86()
22055 BEGIN
22056 declare var1 mediumint unsigned zerofill;
22057 declare var2 mediumint unsigned zerofill;
22058 declare var3 bigint;
22059 declare var4 bigint;
22060 declare var5 bigint;
22061 declare var6 bigint;
22062 declare var7 bigint;
22063 declare var8 bigint;
22064 set var1 = 16777210;
22065 set var3 = -9.22e+18;
22066 set var5 = -9.22e+18;
22067 set var7 = -9.22e+18;
22068 CALL sp86(16777210, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22069 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22070 END//
22071 CALL spexecute86();
22072 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22073 DROP PROCEDURE spexecute86;
22074 DROP PROCEDURE sp86;
22075 DROP PROCEDURE IF EXISTS sp87;
22076 CREATE PROCEDURE sp87( in f1 mediumint zerofill, inout f2 mediumint zerofill, out f3 mediumint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22077 BEGIN
22078 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22079 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22080 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22081 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22082 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22083 END//
22084 DROP PROCEDURE IF EXISTS spexecute87;
22085 CREATE PROCEDURE spexecute87()
22086 BEGIN
22087 declare var1 mediumint zerofill;
22088 declare var2 mediumint zerofill;
22089 declare var3 bigint;
22090 declare var4 bigint;
22091 declare var5 bigint;
22092 declare var6 bigint;
22093 declare var7 bigint;
22094 declare var8 bigint;
22095 set var1 = -8388601;
22096 set var3 = -9.22e+18;
22097 set var5 = -9.22e+18;
22098 set var7 = -9.22e+18;
22099 CALL sp87(-8388601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22100 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22101 END//
22102 CALL spexecute87();
22103 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
22104 DROP PROCEDURE spexecute87;
22105 DROP PROCEDURE sp87;
22106 DROP PROCEDURE IF EXISTS sp88;
22107 CREATE PROCEDURE sp88( in f1 numeric (0) unsigned zerofill, inout f2 numeric (0) unsigned zerofill, out f3 numeric (0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22108 BEGIN
22109 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22110 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22111 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22112 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22113 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22114 END//
22115 DROP PROCEDURE IF EXISTS spexecute88;
22116 CREATE PROCEDURE spexecute88()
22117 BEGIN
22118 declare var1 numeric (0) unsigned zerofill;
22119 declare var2 numeric (0) unsigned zerofill;
22120 declare var3 bigint;
22121 declare var4 bigint;
22122 declare var5 bigint;
22123 declare var6 bigint;
22124 declare var7 bigint;
22125 declare var8 bigint;
22126 set var1 = 99999999;
22127 set var3 = -9.22e+18;
22128 set var5 = -9.22e+18;
22129 set var7 = -9.22e+18;
22130 CALL sp88(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22131 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22132 END//
22133 CALL spexecute88();
22134 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22135 DROP PROCEDURE spexecute88;
22136 DROP PROCEDURE sp88;
22137 DROP PROCEDURE IF EXISTS sp89;
22138 CREATE PROCEDURE sp89( in f1 numeric (0, 0) unsigned zerofill, inout f2 numeric (0, 0) unsigned zerofill, out f3 numeric (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22139 BEGIN
22140 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22141 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22142 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22143 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22144 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22145 END//
22146 DROP PROCEDURE IF EXISTS spexecute89;
22147 CREATE PROCEDURE spexecute89()
22148 BEGIN
22149 declare var1 numeric (0, 0) unsigned zerofill;
22150 declare var2 numeric (0, 0) unsigned zerofill;
22151 declare var3 bigint;
22152 declare var4 bigint;
22153 declare var5 bigint;
22154 declare var6 bigint;
22155 declare var7 bigint;
22156 declare var8 bigint;
22157 set var1 = 99999999;
22158 set var3 = -9.22e+18;
22159 set var5 = -9.22e+18;
22160 set var7 = -9.22e+18;
22161 CALL sp89(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22162 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22163 END//
22164 CALL spexecute89();
22165 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22166 DROP PROCEDURE spexecute89;
22167 DROP PROCEDURE sp89;
22168 DROP PROCEDURE IF EXISTS sp90;
22169 CREATE PROCEDURE sp90( in f1 numeric (63, 30) unsigned, inout f2 numeric (63, 30) unsigned, out f3 numeric (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22170 BEGIN
22171 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22172 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22173 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22174 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22175 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22176 END//
22177 DROP PROCEDURE IF EXISTS spexecute90;
22178 CREATE PROCEDURE spexecute90()
22179 BEGIN
22180 declare var1 numeric (63, 30) unsigned;
22181 declare var2 numeric (63, 30) unsigned;
22182 declare var3 bigint;
22183 declare var4 bigint;
22184 declare var5 bigint;
22185 declare var6 bigint;
22186 declare var7 bigint;
22187 declare var8 bigint;
22188 set var1 = 1.00e+22;
22189 set var3 = -9.22e+18;
22190 set var5 = -9.22e+18;
22191 set var7 = -9.22e+18;
22192 CALL sp90(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22193 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22194 END//
22195 CALL spexecute90();
22196 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22197 DROP PROCEDURE spexecute90;
22198 DROP PROCEDURE sp90;
22199 DROP PROCEDURE IF EXISTS sp91;
22200 CREATE PROCEDURE sp91( in f1 numeric (63, 30) unsigned zerofill, inout f2 numeric (63, 30) unsigned zerofill, out f3 numeric (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22201 BEGIN
22202 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22203 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22204 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22205 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22206 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22207 END//
22208 DROP PROCEDURE IF EXISTS spexecute91;
22209 CREATE PROCEDURE spexecute91()
22210 BEGIN
22211 declare var1 numeric (63, 30) unsigned zerofill;
22212 declare var2 numeric (63, 30) unsigned zerofill;
22213 declare var3 bigint;
22214 declare var4 bigint;
22215 declare var5 bigint;
22216 declare var6 bigint;
22217 declare var7 bigint;
22218 declare var8 bigint;
22219 set var1 = 1.00e+22;
22220 set var3 = -9.22e+18;
22221 set var5 = -9.22e+18;
22222 set var7 = -9.22e+18;
22223 CALL sp91(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22224 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22225 END//
22226 CALL spexecute91();
22227 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22228 DROP PROCEDURE spexecute91;
22229 DROP PROCEDURE sp91;
22230 DROP PROCEDURE IF EXISTS sp92;
22231 CREATE PROCEDURE sp92( in f1 numeric (63, 30) zerofill, inout f2 numeric (63, 30) zerofill, out f3 numeric (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22232 BEGIN
22233 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22234 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22235 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22236 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22237 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22238 END//
22239 DROP PROCEDURE IF EXISTS spexecute92;
22240 CREATE PROCEDURE spexecute92()
22241 BEGIN
22242 declare var1 numeric (63, 30) zerofill;
22243 declare var2 numeric (63, 30) zerofill;
22244 declare var3 bigint;
22245 declare var4 bigint;
22246 declare var5 bigint;
22247 declare var6 bigint;
22248 declare var7 bigint;
22249 declare var8 bigint;
22250 set var1 = -1.00e+22;
22251 set var3 = -9.22e+18;
22252 set var5 = -9.22e+18;
22253 set var7 = -9.22e+18;
22254 CALL sp92(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22255 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22256 END//
22257 CALL spexecute92();
22258 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22259 DROP PROCEDURE spexecute92;
22260 DROP PROCEDURE sp92;
22261 DROP PROCEDURE IF EXISTS sp93;
22262 CREATE PROCEDURE sp93( in f1 numeric (64) unsigned zerofill, inout f2 numeric (64) unsigned zerofill, out f3 numeric (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22263 BEGIN
22264 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22265 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22266 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22267 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22268 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22269 END//
22270 DROP PROCEDURE IF EXISTS spexecute93;
22271 CREATE PROCEDURE spexecute93()
22272 BEGIN
22273 declare var1 numeric (64) unsigned zerofill;
22274 declare var2 numeric (64) unsigned zerofill;
22275 declare var3 bigint;
22276 declare var4 bigint;
22277 declare var5 bigint;
22278 declare var6 bigint;
22279 declare var7 bigint;
22280 declare var8 bigint;
22281 set var1 = 1.00e+22;
22282 set var3 = -9.22e+18;
22283 set var5 = -9.22e+18;
22284 set var7 = -9.22e+18;
22285 CALL sp93(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22286 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22287 END//
22288 CALL spexecute93();
22289 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22290 DROP PROCEDURE spexecute93;
22291 DROP PROCEDURE sp93;
22292 DROP PROCEDURE IF EXISTS sp94;
22293 CREATE PROCEDURE sp94( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22294 BEGIN
22295 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22296 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22297 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22298 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22299 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22300 END//
22301 DROP PROCEDURE IF EXISTS spexecute94;
22302 CREATE PROCEDURE spexecute94()
22303 BEGIN
22304 declare var1 smallint;
22305 declare var2 smallint;
22306 declare var3 bigint;
22307 declare var4 bigint;
22308 declare var5 bigint;
22309 declare var6 bigint;
22310 declare var7 bigint;
22311 declare var8 bigint;
22312 set var1 = -32701;
22313 set var3 = -9.22e+18;
22314 set var5 = -9.22e+18;
22315 set var7 = -9.22e+18;
22316 CALL sp94(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22317 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22318 END//
22319 CALL spexecute94();
22320 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22321 DROP PROCEDURE spexecute94;
22322 DROP PROCEDURE sp94;
22323 DROP PROCEDURE IF EXISTS sp95;
22324 CREATE PROCEDURE sp95( in f1 smallint unsigned, inout f2 smallint unsigned, out f3 smallint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22325 BEGIN
22326 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22327 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22328 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22329 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22330 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22331 END//
22332 DROP PROCEDURE IF EXISTS spexecute95;
22333 CREATE PROCEDURE spexecute95()
22334 BEGIN
22335 declare var1 smallint unsigned;
22336 declare var2 smallint unsigned;
22337 declare var3 bigint;
22338 declare var4 bigint;
22339 declare var5 bigint;
22340 declare var6 bigint;
22341 declare var7 bigint;
22342 declare var8 bigint;
22343 set var1 = 65531;
22344 set var3 = -9.22e+18;
22345 set var5 = -9.22e+18;
22346 set var7 = -9.22e+18;
22347 CALL sp95(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22348 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22349 END//
22350 CALL spexecute95();
22351 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22352 DROP PROCEDURE spexecute95;
22353 DROP PROCEDURE sp95;
22354 DROP PROCEDURE IF EXISTS sp96;
22355 CREATE PROCEDURE sp96( in f1 smallint unsigned zerofill, inout f2 smallint unsigned zerofill, out f3 smallint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22356 BEGIN
22357 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22358 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22359 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22360 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22361 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22362 END//
22363 DROP PROCEDURE IF EXISTS spexecute96;
22364 CREATE PROCEDURE spexecute96()
22365 BEGIN
22366 declare var1 smallint unsigned zerofill;
22367 declare var2 smallint unsigned zerofill;
22368 declare var3 bigint;
22369 declare var4 bigint;
22370 declare var5 bigint;
22371 declare var6 bigint;
22372 declare var7 bigint;
22373 declare var8 bigint;
22374 set var1 = 65531;
22375 set var3 = -9.22e+18;
22376 set var5 = -9.22e+18;
22377 set var7 = -9.22e+18;
22378 CALL sp96(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22379 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22380 END//
22381 CALL spexecute96();
22382 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22383 DROP PROCEDURE spexecute96;
22384 DROP PROCEDURE sp96;
22385 DROP PROCEDURE IF EXISTS sp97;
22386 CREATE PROCEDURE sp97( in f1 smallint zerofill, inout f2 smallint zerofill, out f3 smallint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22387 BEGIN
22388 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22389 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22390 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22391 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22392 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22393 END//
22394 DROP PROCEDURE IF EXISTS spexecute97;
22395 CREATE PROCEDURE spexecute97()
22396 BEGIN
22397 declare var1 smallint zerofill;
22398 declare var2 smallint zerofill;
22399 declare var3 bigint;
22400 declare var4 bigint;
22401 declare var5 bigint;
22402 declare var6 bigint;
22403 declare var7 bigint;
22404 declare var8 bigint;
22405 set var1 = -32601;
22406 set var3 = -9.22e+18;
22407 set var5 = -9.22e+18;
22408 set var7 = -9.22e+18;
22409 CALL sp97(-32601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22410 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22411 END//
22412 CALL spexecute97();
22413 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
22414 DROP PROCEDURE spexecute97;
22415 DROP PROCEDURE sp97;
22416 DROP PROCEDURE IF EXISTS sp98;
22417 CREATE PROCEDURE sp98( in f1 tinyint, inout f2 tinyint, out f3 tinyint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22418 BEGIN
22419 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22420 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22421 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22422 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22423 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22424 END//
22425 DROP PROCEDURE IF EXISTS spexecute98;
22426 CREATE PROCEDURE spexecute98()
22427 BEGIN
22428 declare var1 tinyint;
22429 declare var2 tinyint;
22430 declare var3 bigint;
22431 declare var4 bigint;
22432 declare var5 bigint;
22433 declare var6 bigint;
22434 declare var7 bigint;
22435 declare var8 bigint;
22436 set var1 = -115;
22437 set var3 = -9.22e+18;
22438 set var5 = -9.22e+18;
22439 set var7 = -9.22e+18;
22440 CALL sp98(-115, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22441 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22442 END//
22443 CALL spexecute98();
22444 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22445 DROP PROCEDURE spexecute98;
22446 DROP PROCEDURE sp98;
22447 DROP PROCEDURE IF EXISTS sp99;
22448 CREATE PROCEDURE sp99( in f1 tinyint unsigned, inout f2 tinyint unsigned, out f3 tinyint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22449 BEGIN
22450 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22451 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22452 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22453 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22454 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22455 END//
22456 DROP PROCEDURE IF EXISTS spexecute99;
22457 CREATE PROCEDURE spexecute99()
22458 BEGIN
22459 declare var1 tinyint unsigned;
22460 declare var2 tinyint unsigned;
22461 declare var3 bigint;
22462 declare var4 bigint;
22463 declare var5 bigint;
22464 declare var6 bigint;
22465 declare var7 bigint;
22466 declare var8 bigint;
22467 set var1 = 251;
22468 set var3 = -9.22e+18;
22469 set var5 = -9.22e+18;
22470 set var7 = -9.22e+18;
22471 CALL sp99(251, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22472 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22473 END//
22474 CALL spexecute99();
22475 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22476 DROP PROCEDURE spexecute99;
22477 DROP PROCEDURE sp99;
22478 DROP PROCEDURE IF EXISTS sp100;
22479 CREATE PROCEDURE sp100( in f1 tinyint unsigned zerofill, inout f2 tinyint unsigned zerofill, out f3 tinyint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22480 BEGIN
22481 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22482 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22483 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22484 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22485 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22486 END//
22487 DROP PROCEDURE IF EXISTS spexecute100;
22488 CREATE PROCEDURE spexecute100()
22489 BEGIN
22490 declare var1 tinyint unsigned zerofill;
22491 declare var2 tinyint unsigned zerofill;
22492 declare var3 bigint;
22493 declare var4 bigint;
22494 declare var5 bigint;
22495 declare var6 bigint;
22496 declare var7 bigint;
22497 declare var8 bigint;
22498 set var1 = 201;
22499 set var3 = -9.22e+18;
22500 set var5 = -9.22e+18;
22501 set var7 = -9.22e+18;
22502 CALL sp100(201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22503 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22504 END//
22505 CALL spexecute100();
22506 ERROR 22003: BIGINT value is out of range in '(f5@4 * 2)'
22507 DROP PROCEDURE spexecute100;
22508 DROP PROCEDURE sp100;
22509 DROP PROCEDURE IF EXISTS sp101;
22510 CREATE PROCEDURE sp101( in f1 tinyint zerofill, inout f2 tinyint zerofill, out f3 tinyint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
22511 BEGIN
22512 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
22513 set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
22514 set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
22515 set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
22516 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
22517 END//
22518 DROP PROCEDURE IF EXISTS spexecute101;
22519 CREATE PROCEDURE spexecute101()
22520 BEGIN
22521 declare var1 tinyint zerofill;
22522 declare var2 tinyint zerofill;
22523 declare var3 bigint;
22524 declare var4 bigint;
22525 declare var5 bigint;
22526 declare var6 bigint;
22527 declare var7 bigint;
22528 declare var8 bigint;
22529 set var1 = -101;
22530 set var3 = -9.22e+18;
22531 set var5 = -9.22e+18;
22532 set var7 = -9.22e+18;
22533 CALL sp101(-101, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
22534 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
22535 END//
22536 CALL spexecute101();
22537 ERROR 22003: BIGINT UNSIGNED value is out of range in '(f1@0 - 10)'
22538 DROP PROCEDURE spexecute101;
22539 DROP PROCEDURE sp101;
22540 USE db_storedproc;
22541 DROP DATABASE db1;
22542 USE db_storedproc;
22543
22544 Testcase 4.7.2:
22545 FIXME: a wrong testcase number and/or description has been detected here. This
22546 FIXME: needs to be checked to be sure where the missing testcase is located.
22547 .
22548 check for "allow_invalid_dates" server sql mode
22549
22550 --------------------------------------------------------------------------------
22551 DROP PROCEDURE IF EXISTS sp2;
22552 drop table IF EXISTS temp_table;
22553 create table temp_table (f1 datetime);
22554 set @@sql_mode = 'allow_invalid_dates';
22555 CREATE PROCEDURE sp2 ()
22556 BEGIN
22557 declare a datetime;
22558 set a = '2005-03-14 01:01:02';
22559 insert into temp_table values(a);
22560 END//
22561 show CREATE PROCEDURE sp2;
22562 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22563 sp2 ALLOW_INVALID_DATES CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`()
22564 BEGIN
22565 declare a datetime;
22566 set a = '2005-03-14 01:01:02';
22567 insert into temp_table values(a);
22568 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22569 set @@sql_mode = 'traditional';
22570 CALL sp2 ();
22571 SELECT * from temp_table;
22572 f1
22573 2005-03-14 01:01:02
22574 SELECT @@sql_mode;
22575 @@sql_mode
22576 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_ENGINE_SUBSTITUTION
22577 DROP PROCEDURE sp2;
22578 drop table temp_table;
22579 Warnings:
22580 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22581
22582 Testcase 4.7.3:
22583 FIXME: a wrong testcase number and/or description has been detected here. This
22584 FIXME: needs to be checked to be sure where the missing testcase is located.
22585 .
22586 check for *high_not_precedence* server sql mode
22587
22588 --------------------------------------------------------------------------------
22589 Warnings:
22590 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22591 DROP PROCEDURE IF EXISTS sp3;
22592 set @@sql_mode = 'high_not_precedence';
22593 CREATE PROCEDURE sp3()
22594 BEGIN
22595 declare a int signed;
22596 declare b int unsigned;
22597 set a = -5;
22598 set b = 5;
22599 SELECT not 1 between a and b;
22600 END//
22601 show CREATE PROCEDURE sp3;
22602 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22603 sp3 HIGH_NOT_PRECEDENCE CREATE DEFINER=`root`@`localhost` PROCEDURE `sp3`()
22604 BEGIN
22605 declare a int signed;
22606 declare b int unsigned;
22607 set a = -5;
22608 set b = 5;
22609 SELECT not 1 between a and b;
22610 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22611 set @@sql_mode='';
22612 CALL sp3();
22613 not 1 between a and b
22614 1
22615 SELECT @@sql_mode;
22616 @@sql_mode
22617
22618 DROP PROCEDURE sp3;
22619 Warnings:
22620 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22621
22622 Testcase 4.7.4:
22623 FIXME: a wrong testcase number and/or description has been detected here. This
22624 FIXME: needs to be checked to be sure where the missing testcase is located.
22625 .
22626 check for combination of server sql modes
22627
22628 --------------------------------------------------------------------------------
22629 Warnings:
22630 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22631 DROP PROCEDURE IF EXISTS sp4;
22632 set @@sql_mode = 'ansi, error_for_division_by_zero';
22633 ERROR 42000: Variable 'sql_mode' can't be set to the value of ' error_for_division_by_zero'
22634 set @@sql_mode = 'ansi,error_for_division_by_zero';
22635 Warnings:
22636 Warning 3135 'NO_ZERO_DATE', 'NO_ZERO_IN_DATE' and 'ERROR_FOR_DIVISION_BY_ZERO' sql modes should be used with strict mode. They will be merged with strict mode in a future release.
22637 SHOW VARIABLES LIKE 'sql_mode';
22638 Variable_name Value
22639 sql_mode REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI,ERROR_FOR_DIVISION_BY_ZERO
22640 CREATE PROCEDURE sp4()
22641 BEGIN
22642 declare a int;
22643 declare b int;
22644 declare c int;
22645 set a = 0;
22646 set b = 1;
22647 set c = b/a;
22648 show warnings;
22649 END//
22650 show CREATE PROCEDURE sp4;
22651 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22652 sp4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ONLY_FULL_GROUP_BY,ANSI,ERROR_FOR_DIVISION_BY_ZERO CREATE DEFINER="root"@"localhost" PROCEDURE "sp4"()
22653 BEGIN
22654 declare a int;
22655 declare b int;
22656 declare c int;
22657 set a = 0;
22658 set b = 1;
22659 set c = b/a;
22660 show warnings;
22661 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22662 set @@sql_mode='';
22663 CALL sp4();
22664 Level Code Message
22665 Warning 1365 Division by 0
22666 Warnings:
22667 Warning 1365 Division by 0
22668 DROP PROCEDURE sp4;
22669 set @@sql_mode='';
22670 Warnings:
22671 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22672
22673 Section 3.1.8 - SHOW statement checks:
22674 --------------------------------------------------------------------------------
22675 Warnings:
22676 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22677 USE db_storedproc;
22678 Warnings:
22679 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22680
22681 Testcase 4.8.1:
22682 --------------------------------------------------------------------------------
22683 Warnings:
22684 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22685 DROP PROCEDURE IF EXISTS sp6;
22686 DROP PROCEDURE IF EXISTS sp6a;
22687 DROP PROCEDURE IF EXISTS sp6b;
22688 DROP PROCEDURE IF EXISTS sp6c;
22689 CREATE PROCEDURE sp6a (i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
22690 language sql
22691 BEGIN
22692 set @x=i1;
22693 set @y=@x;
22694 END//
22695 CREATE PROCEDURE sp6b (out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
22696 deterministic
22697 BEGIN
22698 set @x=i1;
22699 set @y=@x;
22700 END//
22701 CREATE PROCEDURE sp6c (inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real) comment 'this is a comment'
22702 BEGIN
22703 set @x=i1;
22704 set @y=@x;
22705 END//
22706 show CREATE PROCEDURE sp6a;
22707 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22708 sp6a CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6a`(i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
22709 BEGIN
22710 set @x=i1;
22711 set @y=@x;
22712 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22713 show CREATE PROCEDURE sp6b;
22714 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22715 sp6b CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6b`(out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
22716 DETERMINISTIC
22717 BEGIN
22718 set @x=i1;
22719 set @y=@x;
22720 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22721 show CREATE PROCEDURE sp6c;
22722 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22723 sp6c CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6c`(inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real)
22724 COMMENT 'this is a comment'
22725 BEGIN
22726 set @x=i1;
22727 set @y=@x;
22728 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22729 SHOW PROCEDURE status like 'sp6a';
22730 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22731 db_storedproc sp6a PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22732 SHOW PROCEDURE status like 'sp6b';
22733 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22734 db_storedproc sp6b PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22735 SHOW PROCEDURE status like 'sp6c';
22736 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22737 db_storedproc sp6c PROCEDURE root@localhost <modified> <created> DEFINER this is a comment latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22738 DROP PROCEDURE sp6a;
22739 DROP PROCEDURE sp6b;
22740 DROP PROCEDURE sp6c;
22741 Warnings:
22742 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22743
22744 Testcase 4.8.2:
22745 --------------------------------------------------------------------------------
22746 Warnings:
22747 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22748 DROP PROCEDURE IF EXISTS sp6;
22749 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22750 BEGIN
22751 set @x=i1;
22752 set @y=@x;
22753 END//
22754 SHOW PROCEDURE status like 'sp6';
22755 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22756 db_storedproc sp6 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22757 DROP PROCEDURE sp6;
22758 Warnings:
22759 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22760
22761 Testcase 4.8.3:
22762 --------------------------------------------------------------------------------
22763 Warnings:
22764 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22765 DROP PROCEDURE IF EXISTS sp6;
22766 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22767 BEGIN
22768 set @x=i1;
22769 set @y=@x;
22770 END//
22771 SHOW CREATE FUNCTION sp6;
22772 ERROR 42000: FUNCTION sp6 does not exist
22773 DROP PROCEDURE sp6;
22774 Warnings:
22775 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22776
22777 Testcase 4.8.4:
22778 --------------------------------------------------------------------------------
22779 Warnings:
22780 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22781 DROP PROCEDURE IF EXISTS sp6;
22782 CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real) returns longtext
22783 BEGIN
22784 set @x=i1;
22785 set @y=@x;
22786 return 0;
22787 END//
22788 show function status like 'sp6';
22789 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22790 db_storedproc sp6 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22791 DROP FUNCTION sp6;
22792 Warnings:
22793 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22794
22795 Testcase 4.8.5:
22796 --------------------------------------------------------------------------------
22797 Warnings:
22798 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22799 DROP PROCEDURE IF EXISTS sp7;
22800 show CREATE PROCEDURE sp7;
22801 ERROR 42000: PROCEDURE sp7 does not exist
22802 Warnings:
22803 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22804
22805 Testcase 4.8.6:
22806 --------------------------------------------------------------------------------
22807 Warnings:
22808 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22809 DROP PROCEDURE IF EXISTS sp6;
22810 show procedure status like 'sp6';
22811 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22812 Warnings:
22813 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22814
22815 Testcase 4.8.7:
22816 --------------------------------------------------------------------------------
22817 Warnings:
22818 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22819 DROP FUNCTION IF EXISTS fn1;
22820 CREATE FUNCTION fn1 (i1 real) returns real
22821 BEGIN
22822 return i1;
22823 END//
22824 show CREATE PROCEDURE fn1;
22825 ERROR 42000: PROCEDURE fn1 does not exist
22826 DROP FUNCTION fn1;
22827 Warnings:
22828 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22829
22830 Testcase 4.8.8:
22831 --------------------------------------------------------------------------------
22832 Warnings:
22833 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22834 DROP FUNCTION IF EXISTS fn1;
22835 CREATE FUNCTION fn1 (i1 real) returns real
22836 BEGIN
22837 return i1;
22838 END//
22839 show procedure status like 'fn1';
22840 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22841 DROP FUNCTION fn1;
22842 Warnings:
22843 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22844
22845 Testcase 4.8.9:
22846 --------------------------------------------------------------------------------
22847 Warnings:
22848 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22849 Warnings:
22850 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22851
22852 Testcase 4.8.10:
22853 --------------------------------------------------------------------------------
22854 Warnings:
22855 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22856 DROP FUNCTION IF EXISTS fn1;
22857 CREATE FUNCTION fn1 (i1 real) returns real
22858 BEGIN
22859 return i1;
22860 END//
22861 SHOW FUNCTION STATUS LIKE 'fn1';
22862 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22863 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22864 DROP FUNCTION fn1;
22865 Warnings:
22866 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22867
22868 Testcase 4.8.11:
22869 --------------------------------------------------------------------------------
22870 Warnings:
22871 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22872 DROP FUNCTION IF EXISTS fn1;
22873 CREATE FUNCTION fn1 (x int) returns int
22874 BEGIN
22875 return x;
22876 END//
22877 show CREATE PROCEDURE fn1;
22878 ERROR 42000: PROCEDURE fn1 does not exist
22879 DROP FUNCTION fn1;
22880 Warnings:
22881 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22882
22883 Testcase 4.8.12:
22884 --------------------------------------------------------------------------------
22885 Warnings:
22886 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22887 DROP FUNCTION IF EXISTS fn1;
22888 CREATE FUNCTION fn1(x int) returns int
22889 BEGIN
22890 return x;
22891 END//
22892 DROP FUNCTION fn1;
22893 show CREATE FUNCTION fn1;
22894 ERROR 42000: FUNCTION fn1 does not exist
22895 Warnings:
22896 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22897
22898 Testcase 4.8.13:
22899 --------------------------------------------------------------------------------
22900 Warnings:
22901 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22902 DROP FUNCTION IF EXISTS f1000;
22903 SHOW FUNCTION STATUS LIKE 'f1000';
22904 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22905 Warnings:
22906 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22907
22908 Testcase 4.8.14:
22909 --------------------------------------------------------------------------------
22910 Warnings:
22911 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22912 DROP PROCEDURE IF EXISTS sp1;
22913 CREATE PROCEDURE sp1()
22914 BEGIN
22915 SELECT * from t8;
22916 END//
22917 show CREATE FUNCTION sp1;
22918 ERROR 42000: FUNCTION sp1 does not exist
22919 DROP PROCEDURE sp1;
22920 Warnings:
22921 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22922
22923 Testcase 4.8.15:
22924 --------------------------------------------------------------------------------
22925 Warnings:
22926 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22927 DROP PROCEDURE IF EXISTS sp6;
22928 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22929 BEGIN
22930 set @x=i1;
22931 set @y=@x;
22932 END//
22933 show function status like 'sp6';
22934 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22935 DROP PROCEDURE sp6;
22936 Warnings:
22937 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22938
22939 Testcase 4.8.16:
22940 --------------------------------------------------------------------------------
22941 Warnings:
22942 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22943 Warnings:
22944 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22945
22946 Testcase 4.8.17:
22947 --------------------------------------------------------------------------------
22948 Warnings:
22949 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22950 DROP PROCEDURE IF EXISTS sp6;
22951 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22952 BEGIN
22953 set @x=i1;
22954 set @y=@x;
22955 END//
22956 alter procedure sp6 sql security invoker;
22957 alter procedure sp6 comment 'this is a new comment';
22958 SHOW PROCEDURE status like 'sp6';
22959 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22960 db_storedproc sp6 PROCEDURE root@localhost <modified> <created> INVOKER this is a new comment latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22961 DROP PROCEDURE sp6;
22962 Warnings:
22963 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22964
22965 Testcase 4.8.18:
22966 --------------------------------------------------------------------------------
22967 Warnings:
22968 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22969 DROP FUNCTION IF EXISTS fn1;
22970 CREATE FUNCTION fn1 (x int) returns int
22971 BEGIN
22972 return x;
22973 END//
22974 alter function fn1 sql security invoker;
22975 show create function fn1;
22976 Function sql_mode Create Function character_set_client collation_connection Database Collation
22977 fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int
22978 SQL SECURITY INVOKER
22979 BEGIN
22980 return x;
22981 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
22982 DROP FUNCTION fn1;
22983 Warnings:
22984 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22985
22986 Testcase 4.8.19:
22987 --------------------------------------------------------------------------------
22988 Warnings:
22989 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
22990 DROP FUNCTION IF EXISTS fn1;
22991 CREATE FUNCTION fn1 (i1 longtext) returns longtext
22992 BEGIN
22993 return i1;
22994 END//
22995 alter function fn1 sql security invoker;
22996 alter function fn1 comment 'this is a function 3242#@%$#@';
22997 show function status like 'fn1';
22998 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22999 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is a function 3242#@%$#@ latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
23000 DROP FUNCTION fn1;
23001 Warnings:
23002 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23003
23004 Testcase 4.8.20:
23005 --------------------------------------------------------------------------------
23006 Warnings:
23007 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23008 DROP PROCEDURE IF EXISTS sp6;
23009 CREATE PROCEDURE sp6 (i1 int , i2 int)
23010 BEGIN
23011 set @x=i1;
23012 set @y=@x;
23013 END//
23014 alter procedure sp6 comment 'this is simple';
23015 show CREATE PROCEDURE sp6;
23016 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
23017 sp6 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6`(i1 int , i2 int)
23018 COMMENT 'this is simple'
23019 BEGIN
23020 set @x=i1;
23021 set @y=@x;
23022 END latin1 latin1_swedish_ci utf8mb4_0900_ai_ci
23023 DROP PROCEDURE sp6;
23024 Warnings:
23025 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23026
23027 Testcase 4.8.21:
23028 --------------------------------------------------------------------------------
23029 Warnings:
23030 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23031 DROP PROCEDURE IF EXISTS sp6;
23032 CREATE PROCEDURE sp6 (i1 int, i2 int)
23033 BEGIN
23034 set @x=i1;
23035 set @y=@x;
23036 END//
23037 DROP PROCEDURE sp6;
23038 show CREATE PROCEDURE sp6;
23039 ERROR 42000: PROCEDURE sp6 does not exist
23040 Warnings:
23041 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23042
23043 Testcase 4.8.22:
23044 --------------------------------------------------------------------------------
23045 Warnings:
23046 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23047 DROP PROCEDURE IF EXISTS sp6;
23048 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23049 BEGIN
23050 set @x=i3;
23051 set @y=@x;
23052 END//
23053 DROP PROCEDURE sp6;
23054 SHOW PROCEDURE status like 'sp6';
23055 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
23056 Warnings:
23057 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23058
23059 Testcase 4.8.23:
23060 --------------------------------------------------------------------------------
23061 Warnings:
23062 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23063 DROP FUNCTION IF EXISTS fn1;
23064 CREATE FUNCTION fn1 (x int) returns int
23065 BEGIN
23066 return x;
23067 END//
23068 DROP FUNCTION fn1;
23069 show CREATE FUNCTION fn1;
23070 ERROR 42000: FUNCTION fn1 does not exist
23071 Warnings:
23072 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23073
23074 Testcase 4.8.24:
23075 --------------------------------------------------------------------------------
23076 Warnings:
23077 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23078 DROP FUNCTION IF EXISTS fn1;
23079 CREATE FUNCTION fn1 (i1 longtext) returns longtext
23080 BEGIN
23081 return i1;
23082 END//
23083 DROP FUNCTION fn1;
23084 SHOW FUNCTION STATUS LIKE 'fn1';
23085 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
23086 Warnings:
23087 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23088
23089 Section 3.1.9 - Routine body checks:
23090 --------------------------------------------------------------------------------
23091 Warnings:
23092 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23093 USE db_storedproc;
23094 Warnings:
23095 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23096
23097 Testcase 4.9.1:
23098 --------------------------------------------------------------------------------
23099 Warnings:
23100 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23101 DROP PROCEDURE IF EXISTS sp6;
23102 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23103 BEGIN
23104 set @x = i3;
23105 set @a = i5;
23106 set @y = @x;
23107 set @b = @a;
23108 SELECT * from t9 limit 0, 100;
23109 END//
23110 CALL sp6 (10, 20, 30, 40, 50);
23111 f1 f2 f3
23112 -4991 a_aaaaaaaaa -4991
23113 -4992 a^aaaaaaaa -4992
23114 -4993 agaaaaaaa -4993
23115 -4994 afaaaaaa -4994
23116 -4995 aeaaaaa -4995
23117 -4996 adaaaa -4996
23118 -4997 acaaa -4997
23119 -4998 abaa -4998
23120 -4999 aaa -4999
23121 -5000 a` -5000
23122 DROP PROCEDURE sp6;
23123 Warnings:
23124 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23125
23126 Testcase 4.9.2:
23127 --------------------------------------------------------------------------------
23128 Warnings:
23129 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23130 DROP PROCEDURE IF EXISTS sp6;
23131 drop table IF EXISTS res_t9;
23132 create table res_t9 (f1 int, f2 char(25), f3 int);
23133 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23134 BEGIN
23135 set @x = i3;
23136 set @a = i5;
23137 set @y = @x;
23138 set @b = @a;
23139 insert into res_t9 values (@y, @a, 111);
23140 SELECT * from res_t9;
23141 END//
23142 CALL sp6 (10, 20, 30, 40, 50);
23143 f1 f2 f3
23144 30 50 111
23145 DROP PROCEDURE sp6;
23146 drop table res_t9;
23147 Warnings:
23148 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23149
23150 Testcase 4.9.3:
23151 --------------------------------------------------------------------------------
23152 Warnings:
23153 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23154 DROP PROCEDURE IF EXISTS sp6;
23155 drop table IF EXISTS res_t9;
23156 create table res_t9 (f1 int, f2 char(25), f3 int);
23157 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23158 BEGIN
23159 set @x = i3;
23160 set @a = i5;
23161 set @y = @x;
23162 set @b = @a;
23163 insert into res_t9 values (@y, @a, 111);
23164 SELECT * from res_t9;
23165 delete from res_t9;
23166 SELECT * from res_t9;
23167 END//
23168 CALL sp6 (10, 20, 30, 40, 50);
23169 f1 f2 f3
23170 30 50 111
23171 f1 f2 f3
23172 DROP PROCEDURE sp6;
23173 drop table res_t9;
23174 Warnings:
23175 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23176
23177 Testcase 4.9.4:
23178 --------------------------------------------------------------------------------
23179 Warnings:
23180 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23181 DROP PROCEDURE IF EXISTS sp6;
23182 drop table IF EXISTS res_t9;
23183 create table res_t9 (f1 int, f2 char(25), f3 int);
23184 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23185 BEGIN
23186 set @x = i3;
23187 set @a = i5;
23188 set @y = @x;
23189 set @b = @a;
23190 insert into res_t9 values (@y, @a, 111);
23191 SELECT * from res_t9;
23192 update res_t9 set f2 = 1000 where f2 = 50;
23193 SELECT * from res_t9;
23194 END//
23195 CALL sp6 (10, 20, 30, 40, 50);
23196 f1 f2 f3
23197 30 50 111
23198 f1 f2 f3
23199 30 1000 111
23200 DROP PROCEDURE sp6;
23201 drop table res_t9;
23202 Warnings:
23203 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23204
23205 Testcase 4.9.5:
23206 --------------------------------------------------------------------------------
23207 Warnings:
23208 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23209 DROP PROCEDURE IF EXISTS sp6;
23210 drop table IF EXISTS res_t9;
23211 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23212 BEGIN
23213 set @x = i1;
23214 set @y = i3;
23215 set @z = i5;
23216 set @a = @x;
23217 set @b = @y;
23218 set @c = @z;
23219 create table res_t9(f1 longtext, f2 longblob, f3 real);
23220 insert into res_t9 values (@a, @b, @c);
23221 SELECT * from res_t9;
23222 END//
23223 CALL sp6 (10, 20, 30, 40, 50);
23224 f1 f2 f3
23225 10 30 50
23226 DROP PROCEDURE sp6;
23227 drop table IF EXISTS res_t9;
23228 Warnings:
23229 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23230
23231 Testcase 4.9.6:
23232 --------------------------------------------------------------------------------
23233 Warnings:
23234 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23235 DROP FUNCTION IF EXISTS fn1;
23236 Warnings:
23237 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23238 CREATE FUNCTION fn1(i1 longtext) returns longtext
23239 BEGIN
23240 SELECT * from t9 limit 0, 100;
23241 return i1;
23242 END//
23243 ERROR 0A000: Not allowed to return a result set from a function
23244 DROP FUNCTION IF EXISTS fn1;
23245 Warnings:
23246 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23247 drop table IF EXISTS res_t9;
23248 Warnings:
23249 Note 1051 Unknown table 'db_storedproc.res_t9'
23250 create table res_t9 (f1 int, f2 char(25), f3 int);
23251 insert into res_t9 values (10, 'abc', 20);
23252 CREATE FUNCTION fn1(i1 longtext) returns longtext
23253 BEGIN
23254 delete from res_t9;
23255 drop table res_t9;
23256 return i1;
23257 END//
23258 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
23259 DROP FUNCTION IF EXISTS fn1;
23260 Warnings:
23261 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23262 drop table IF EXISTS res_t9;
23263 CREATE FUNCTION fn1(i1 longtext) returns longtext
23264 BEGIN
23265 create table res_t9 (f1 longtext, f2 longblob, f3 real);
23266 drop table res_t9;
23267 return i1;
23268 END//
23269 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
23270 DROP FUNCTION IF EXISTS fn1;
23271 Warnings:
23272 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23273 drop table IF EXISTS res_t9;
23274 Warnings:
23275 Note 1051 Unknown table 'db_storedproc.res_t9'
23276 create table res_t9 (f1 int, f2 char(25), f3 int);
23277 CREATE FUNCTION fn1(i1 longtext) returns longtext
23278 BEGIN
23279 insert into res_t9 values (100, 'abc', 300);
23280 drop table res_t9;
23281 return i1;
23282 END//
23283 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
23284 DROP FUNCTION IF EXISTS fn1;
23285 Warnings:
23286 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23287 drop table IF EXISTS res_t9;
23288 create table res_t9 (f1 int, f2 char(25), f3 int);
23289 insert into res_t9 values (10, 'abc', 20);
23290 CREATE FUNCTION fn1(i1 longtext) returns longtext
23291 BEGIN
23292 update res_t9 set f1 = 20;
23293 drop table res_t9;
23294 return i1;
23295 END//
23296 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
23297 drop table res_t9;
23298 DROP FUNCTION IF EXISTS fn1;
23299 Warnings:
23300 Note 1305 FUNCTION db_storedproc.fn1 does not exist
23301 Warnings:
23302 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23303
23304 Testcase 4.9.7:
23305 --------------------------------------------------------------------------------
23306 Warnings:
23307 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23308 DROP PROCEDURE IF EXISTS sp6;
23309 drop table IF EXISTS res_t9;
23310 create table res_t9 (f1 longtext, f2 longblob, f3 real);
23311 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
23312 BEGIN
23313 set @x = i1;
23314 set @y = i3;
23315 set @z = i5;
23316 set @a = @x;
23317 set @b = @y;
23318 set @c = @z;
23319 insert into res_t9 values (@a, @b, @c);
23320 SELECT * from res_t9;
23321 create index index_1 on res_t9 (f1 (5));
23322 analyze table res_t9;
23323 show index from res_t9;
23324 END//
23325 CALL sp6 (10, 20, 30, 40, 50);
23326 f1 f2 f3
23327 10 30 50
23328 Table Op Msg_type Msg_text
23329 db_storedproc.res_t9 analyze status OK
23330 Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment Visible Expression
23331 res_t9 1 index_1 1 f1 A 1 5 NULL YES BTREE YES NULL
23332 DROP PROCEDURE sp6;
23333 drop table res_t9;
23334 Warnings:
23335 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23336
23337 Section 3.1._ - :
23338 --------------------------------------------------------------------------------
23339 Warnings:
23340 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23341 USE db_storedproc;
23342 Warnings:
23343 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23344
23345 Testcase 4.11.1:
23346 --------------------------------------------------------------------------------
23347 Warnings:
23348 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23349 DROP PROCEDURE IF EXISTS h1;
23350 DROP PROCEDURE IF EXISTS sp1;
23351 CREATE PROCEDURE sp1 (x int, y int)
23352 BEGIN
23353 set @y=x;
23354 END//
23355 CREATE PROCEDURE h1 ()
23356 BEGIN
23357 declare continue handler for 1318 set @x2 = 1;
23358 set @x=0;
23359 CALL sp1 (1);
23360 set @x=1;
23361 SELECT @x, @x2;
23362 END//
23363 CALL h1 ();
23364 @x @x2
23365 1 1
23366 DROP PROCEDURE h1;
23367 DROP PROCEDURE sp1;
23368 Warnings:
23369 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23370
23371 Testcase 4.11.2:
23372 --------------------------------------------------------------------------------
23373 Warnings:
23374 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23375 DROP PROCEDURE IF EXISTS h1;
23376 CREATE PROCEDURE h1 ()
23377 BEGIN
23378 declare continue handler for 1305 set @x2 = 1;
23379 set @x=0;
23380 CALL sp1 (1);
23381 set @x=1;
23382 SELECT @x, @x2;
23383 END//
23384 CALL h1 ();
23385 @x @x2
23386 1 1
23387 DROP PROCEDURE h1;
23388 Warnings:
23389 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23390
23391 Testcase 4.11.3:
23392 --------------------------------------------------------------------------------
23393 Warnings:
23394 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23395 DROP PROCEDURE IF EXISTS h1;
23396 DROP PROCEDURE IF EXISTS sp1;
23397 CREATE PROCEDURE sp1 (x int, y int)
23398 BEGIN
23399 set @xx=1;
23400 END//
23401 CREATE PROCEDURE h1 ()
23402 BEGIN
23403 declare exit handler for 1318 set @x2 = 1;
23404 set @x=1;
23405 set @x2=0;
23406 CALL sp1 (1);
23407 set @x=0;
23408 END//
23409 CALL h1();
23410 SELECT @x, @x2;
23411 @x @x2
23412 1 1
23413 DROP PROCEDURE h1;
23414 DROP PROCEDURE sp1;
23415 Warnings:
23416 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23417
23418 Testcase 4.11.4:
23419 --------------------------------------------------------------------------------
23420 Warnings:
23421 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23422 DROP PROCEDURE IF EXISTS h1;
23423 CREATE PROCEDURE h1 ()
23424 BEGIN
23425 declare exit handler for 1305 set @x2 = 1;
23426 set @x=1;
23427 set @x2=0;
23428 CALL sp1 (1);
23429 set @x=0;
23430 END//
23431 CALL h1 ();
23432 SELECT @x, @x2;
23433 @x @x2
23434 1 1
23435 DROP PROCEDURE h1;
23436 Warnings:
23437 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23438
23439 Testcase 4.11.5:
23440 --------------------------------------------------------------------------------
23441 Warnings:
23442 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23443 DROP PROCEDURE IF EXISTS h1;
23444 DROP PROCEDURE IF EXISTS sp1;
23445 CREATE PROCEDURE sp1 (x int, y int)
23446 BEGIN
23447 set @y=x;
23448 END//
23449 CREATE PROCEDURE h1 ()
23450 BEGIN
23451 declare continue handler for 1318 set @x2 = 1;
23452 set @x=0;
23453 CALL sp1 (1);
23454 set @x=1;
23455 SELECT @x, @x2;
23456 END//
23457 CALL h1 ();
23458 @x @x2
23459 1 1
23460 DROP PROCEDURE h1;
23461 DROP PROCEDURE sp1;
23462 Warnings:
23463 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23464
23465 Testcase 4.11.6:
23466 --------------------------------------------------------------------------------
23467 Warnings:
23468 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23469 DROP PROCEDURE IF EXISTS h1;
23470 DROP PROCEDURE IF EXISTS sp1;
23471 CREATE PROCEDURE sp1 (x int, y int)
23472 BEGIN
23473 set @y=x;
23474 END//
23475 CREATE PROCEDURE h1 ()
23476 BEGIN
23477 declare continue handler for 1318 set @x2 = 1;
23478 set @x=0;
23479 CALL sp1 (1);
23480 set @x=1;
23481 SELECT @x, @x2;
23482 END//
23483 CALL h1 ();
23484 @x @x2
23485 1 1
23486 DROP PROCEDURE h1;
23487 DROP PROCEDURE sp1;
23488 Warnings:
23489 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23490
23491 Testcase 4.11.7:
23492 --------------------------------------------------------------------------------
23493 Warnings:
23494 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23495 DROP PROCEDURE IF EXISTS h1;
23496 DROP PROCEDURE IF EXISTS sp1;
23497 CREATE PROCEDURE sp1 (x int, y int)
23498 BEGIN
23499 set @y=x;
23500 END//
23501 CREATE PROCEDURE h1 ()
23502 BEGIN
23503 declare continue handler for sqlstate '42000' set @x2 = 1;
23504 set @x=0;
23505 CALL sp1 (1);
23506 set @x=1;
23507 SELECT @x, @x2;
23508 END//
23509 CALL h1 ();
23510 @x @x2
23511 1 1
23512 DROP PROCEDURE h1;
23513 DROP PROCEDURE sp1;
23514 Warnings:
23515 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23516
23517 Testcase 4.11.8:
23518 --------------------------------------------------------------------------------
23519 Warnings:
23520 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23521 DROP PROCEDURE IF EXISTS h1;
23522 CREATE PROCEDURE h1 ()
23523 BEGIN
23524 declare continue handler for sqlstate '42000' set @x2 = 1;
23525 set @x=0;
23526 CALL sp1 (1);
23527 set @x=1;
23528 SELECT @x, @x2;
23529 END//
23530 CALL h1 ();
23531 @x @x2
23532 1 1
23533 DROP PROCEDURE h1;
23534 Warnings:
23535 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23536
23537 Testcase 4.11.9:
23538 --------------------------------------------------------------------------------
23539 Warnings:
23540 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23541 DROP PROCEDURE IF EXISTS h1;
23542 DROP PROCEDURE IF EXISTS sp1;
23543 CREATE PROCEDURE sp1 (x int, y int)
23544 BEGIN
23545 set @xx=1;
23546 END//
23547 CREATE PROCEDURE h1 ()
23548 BEGIN
23549 declare exit handler for sqlstate '42000' set @x2 = 1;
23550 set @x=1;
23551 set @x2=0;
23552 CALL sp1 (1);
23553 set @x=0;
23554 END//
23555 CALL h1();
23556 SELECT @x, @x2;
23557 @x @x2
23558 1 1
23559 DROP PROCEDURE h1;
23560 DROP PROCEDURE sp1;
23561 Warnings:
23562 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23563
23564 Testcase 4.11.10:
23565 --------------------------------------------------------------------------------
23566 Warnings:
23567 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23568 DROP PROCEDURE IF EXISTS h1;
23569 CREATE PROCEDURE h1 ()
23570 BEGIN
23571 declare exit handler for sqlstate '42000' set @x2 = 1;
23572 set @x=1;
23573 set @x2=0;
23574 CALL sp1 (1);
23575 set @x=0;
23576 END//
23577 CALL h1 ();
23578 SELECT @x, @x2;
23579 @x @x2
23580 1 1
23581 DROP PROCEDURE h1;
23582 Warnings:
23583 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23584
23585 Testcase 4.11.11:
23586 --------------------------------------------------------------------------------
23587 Warnings:
23588 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23589 DROP PROCEDURE IF EXISTS h1;
23590 DROP PROCEDURE IF EXISTS sp1;
23591 CREATE PROCEDURE sp1 (x int, y int)
23592 BEGIN
23593 set @y=x;
23594 END//
23595 CREATE PROCEDURE h1 ()
23596 BEGIN
23597 declare continue handler for sqlstate '42000' set @x2 = 1;
23598 set @x=0;
23599 CALL sp1 (1);
23600 set @x=1;
23601 SELECT @x, @x2;
23602 END//
23603 CALL h1 ();
23604 @x @x2
23605 1 1
23606 DROP PROCEDURE h1;
23607 DROP PROCEDURE sp1;
23608 Warnings:
23609 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23610
23611 Testcase 4.11.12:
23612 --------------------------------------------------------------------------------
23613 Warnings:
23614 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23615 DROP PROCEDURE IF EXISTS h1;
23616 DROP PROCEDURE IF EXISTS sp1;
23617 CREATE PROCEDURE sp1 (x int, y int)
23618 BEGIN
23619 set @y=x;
23620 END//
23621 CREATE PROCEDURE h1 ()
23622 BEGIN
23623 declare continue handler for sqlstate '42000' set @x2 = 1;
23624 set @x=0;
23625 CALL sp1 (1);
23626 set @x=1;
23627 SELECT @x, @x2;
23628 END//
23629 CALL h1 ();
23630 @x @x2
23631 1 1
23632 DROP PROCEDURE h1;
23633 DROP PROCEDURE sp1;
23634 Warnings:
23635 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23636
23637 Testcase 4.11.13:
23638 --------------------------------------------------------------------------------
23639 Warnings:
23640 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23641 DROP PROCEDURE IF EXISTS h1;
23642 drop table IF EXISTS res_t1;
23643 drop table IF EXISTS res_t2;
23644 create table res_t1(w char, x char);
23645 create table res_t2(y char, z char);
23646 CREATE PROCEDURE h1()
23647 BEGIN
23648 declare done int default 0;
23649 declare a, b char;
23650 declare cur1 cursor for SELECT w, x from res_t1;
23651 declare continue handler for sqlstate '02000' set done = 1;
23652 open cur1;
23653 repeat
23654 SELECT done;
23655 fetch cur1 into a, b;
23656 SELECT done;
23657 if not done then
23658 insert into res_t2 values (a, b);
23659 END if;
23660 until done END repeat;
23661 SELECT done;
23662 close cur1;
23663 END//
23664 CALL h1();
23665 done
23666 0
23667 done
23668 1
23669 done
23670 1
23671 DROP PROCEDURE IF EXISTS h1;
23672 DROP TABLE IF EXISTS res_t1;
23673 DROP TABLE IF EXISTS res_t2;
23674 Warnings:
23675 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23676
23677 Testcase 4.11.14:
23678 --------------------------------------------------------------------------------
23679 Warnings:
23680 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23681 DROP PROCEDURE IF EXISTS h1;
23682 drop table IF EXISTS res_t1;
23683 drop table IF EXISTS res_t2;
23684 create table res_t1(w char, x char);
23685 create table res_t2(y char, z char);
23686 CREATE PROCEDURE h1()
23687 BEGIN
23688 declare done int default 0;
23689 declare a, b char;
23690 declare cur1 cursor for SELECT w, x from res_t1;
23691 declare continue handler for sqlstate '02000' set done = 1;
23692 open cur1;
23693 repeat
23694 SELECT done;
23695 fetch cur1 into a, b;
23696 SELECT done;
23697 if not done then
23698 insert into res_t2 values (a, b);
23699 END if;
23700 until done END repeat;
23701 SELECT done;
23702 close cur1;
23703 END//
23704 CALL h1();
23705 done
23706 0
23707 done
23708 1
23709 done
23710 1
23711 DROP PROCEDURE IF EXISTS h1;
23712 DROP TABLE IF EXISTS res_t1;
23713 DROP TABLE IF EXISTS res_t2;
23714 Warnings:
23715 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23716
23717 Testcase 4.11.15:
23718 --------------------------------------------------------------------------------
23719 Warnings:
23720 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23721 DROP PROCEDURE IF EXISTS h1;
23722 drop table IF EXISTS res_t1;
23723 drop table IF EXISTS res_t2;
23724 create table res_t1(w char, x char);
23725 create table res_t2(y char, z char);
23726 CREATE PROCEDURE h1()
23727 BEGIN
23728 declare done int default 0;
23729 declare a, b char;
23730 declare cur1 cursor for SELECT w, x from res_t1;
23731 declare continue handler for sqlstate '02000' set done = 1;
23732 open cur1;
23733 repeat
23734 SELECT done;
23735 set @x=0;
23736 fetch cur1 into a, b;
23737 SELECT @x=1;
23738 if not done then
23739 insert into res_t2 values (a, b);
23740 END if;
23741 until done END repeat;
23742 SELECT done;
23743 close cur1;
23744 END//
23745 CALL h1();
23746 done
23747 0
23748 @x=1
23749 0
23750 done
23751 1
23752 DROP PROCEDURE IF EXISTS h1;
23753 DROP TABLE IF EXISTS res_t1;
23754 DROP TABLE IF EXISTS res_t2;
23755 Warnings:
23756 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23757
23758 Testcase 4.11.16:
23759 --------------------------------------------------------------------------------
23760 Warnings:
23761 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23762 DROP PROCEDURE IF EXISTS h1;
23763 drop table IF EXISTS res_t1;
23764 drop table IF EXISTS res_t2;
23765 create table res_t1(w char, x char);
23766 create table res_t2(y char, z char);
23767 CREATE PROCEDURE h1()
23768 BEGIN
23769 declare done int default 0;
23770 declare a, b char;
23771 declare cur1 cursor for SELECT w, x from res_t1;
23772 declare continue handler for sqlstate '02000' set done = 1;
23773 open cur1;
23774 repeat
23775 SELECT done;
23776 set @x=0;
23777 fetch cur1 into a, b;
23778 SELECT @x=1;
23779 if not done then
23780 insert into res_t2 values (a, b);
23781 END if;
23782 until done END repeat;
23783 SELECT done;
23784 close cur1;
23785 END//
23786 CALL h1();
23787 done
23788 0
23789 @x=1
23790 0
23791 done
23792 1
23793 DROP PROCEDURE IF EXISTS h1;
23794 DROP TABLE IF EXISTS res_t1;
23795 DROP TABLE IF EXISTS res_t2;
23796 Warnings:
23797 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23798
23799 Testcase 4.11.17:
23800 --------------------------------------------------------------------------------
23801 Warnings:
23802 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23803 DROP PROCEDURE IF EXISTS h1;
23804 drop table IF EXISTS res_t1;
23805 drop table IF EXISTS res_t2;
23806 create table res_t1(w char, x char);
23807 insert into res_t1 values('a', 'b');
23808 insert into res_t1 values('c', 'd');
23809 create table res_t2(y char, z char);
23810 CREATE PROCEDURE h1()
23811 BEGIN
23812 declare done int default 0;
23813 declare a, b char;
23814 declare cur1 cursor for SELECT w, x from res_t1;
23815 declare continue handler for sqlstate 'HY000' set done = 1;
23816 open cur1;
23817 SELECT done;
23818 fetch cur1 into a;
23819 SELECT done;
23820 close cur1;
23821 END//
23822 CALL h1();
23823 done
23824 0
23825 done
23826 1
23827 DROP PROCEDURE IF EXISTS h1;
23828 DROP TABLE IF EXISTS res_t1;
23829 DROP TABLE IF EXISTS res_t2;
23830 Warnings:
23831 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23832
23833 Testcase 4.11.18:
23834 --------------------------------------------------------------------------------
23835 Warnings:
23836 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23837 DROP PROCEDURE IF EXISTS h1;
23838 drop table IF EXISTS res_t1;
23839 drop table IF EXISTS res_t2;
23840 create table res_t1(w char, x char);
23841 insert into res_t1 values('a', 'b');
23842 insert into res_t1 values('c', 'd');
23843 create table res_t2(y char, z char);
23844 CREATE PROCEDURE h1()
23845 BEGIN
23846 declare done int default 0;
23847 declare a, b char;
23848 declare cur1 cursor for SELECT w, x from res_t1;
23849 declare continue handler for 1328 set done = 1;
23850 open cur1;
23851 SELECT done;
23852 fetch cur1 into a;
23853 SELECT done;
23854 close cur1;
23855 END//
23856 CALL h1();
23857 done
23858 0
23859 done
23860 1
23861 DROP PROCEDURE IF EXISTS h1;
23862 DROP TABLE IF EXISTS res_t1;
23863 DROP TABLE IF EXISTS res_t2;
23864 Warnings:
23865 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23866
23867 Testcase 4.11.19:
23868 --------------------------------------------------------------------------------
23869 Warnings:
23870 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23871 DROP PROCEDURE IF EXISTS h1;
23872 drop table IF EXISTS res_t1;
23873 drop table IF EXISTS res_t2;
23874 create table res_t1(w char, x char);
23875 insert into res_t1 values('a', 'b');
23876 insert into res_t1 values('c', 'd');
23877 create table res_t2(y char, z char);
23878 CREATE PROCEDURE h1()
23879 BEGIN
23880 declare done int default 0;
23881 declare a, b char;
23882 declare cur1 cursor for SELECT w, x from res_t1;
23883 declare exit handler for sqlstate 'HY000' set done = 1;
23884 open cur1;
23885 SELECT done;
23886 set @x=0;
23887 fetch cur1 into a;
23888 set @x=1;
23889 SELECT done, @x;
23890 close cur1;
23891 END//
23892 CALL h1();
23893 done
23894 0
23895 DROP PROCEDURE IF EXISTS h1;
23896 DROP TABLE IF EXISTS res_t1;
23897 DROP TABLE IF EXISTS res_t2;
23898 Warnings:
23899 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23900
23901 Testcase 4.11.20:
23902 --------------------------------------------------------------------------------
23903 Warnings:
23904 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23905 DROP PROCEDURE IF EXISTS h1;
23906 drop table IF EXISTS res_t1;
23907 drop table IF EXISTS res_t2;
23908 create table res_t1(w char, x char);
23909 insert into res_t1 values('a', 'b');
23910 insert into res_t1 values('c', 'd');
23911 create table res_t2(y char, z char);
23912 CREATE PROCEDURE h1()
23913 BEGIN
23914 declare done int default 0;
23915 declare a, b char;
23916 declare cur1 cursor for SELECT w, x from res_t1;
23917 declare exit handler for 1328 set done = 1;
23918 open cur1;
23919 SELECT done;
23920 set @x=0;
23921 fetch cur1 into a;
23922 set @x=1;
23923 SELECT done;
23924 close cur1;
23925 END//
23926 CALL h1();
23927 done
23928 0
23929 DROP PROCEDURE IF EXISTS h1;
23930 DROP TABLE IF EXISTS res_t1;
23931 DROP TABLE IF EXISTS res_t2;
23932 Warnings:
23933 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23934
23935 Testcase 4.11.21:
23936 --------------------------------------------------------------------------------
23937 Warnings:
23938 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23939 DROP PROCEDURE IF EXISTS h1;
23940 drop table IF EXISTS res_t1;
23941 drop table IF EXISTS res_t2;
23942 create table res_t1(w char, x char);
23943 insert into res_t1 values('a', 'b');
23944 insert into res_t1 values('c', 'd');
23945 create table res_t2(y char, z char);
23946 CREATE PROCEDURE h1()
23947 BEGIN
23948 declare done int default 0;
23949 declare a, b char;
23950 declare cur1 cursor for SELECT w, x from res_t1;
23951 declare continue handler for 1325 set done = 1;
23952 open cur1;
23953 SELECT done;
23954 open cur1;
23955 SELECT done;
23956 close cur1;
23957 END//
23958 CALL h1();
23959 done
23960 0
23961 done
23962 1
23963 DROP PROCEDURE IF EXISTS h1;
23964 DROP TABLE IF EXISTS res_t1;
23965 DROP TABLE IF EXISTS res_t2;
23966 Warnings:
23967 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23968
23969 Testcase 4.11.22:
23970 --------------------------------------------------------------------------------
23971 Warnings:
23972 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
23973 DROP PROCEDURE IF EXISTS h1;
23974 drop table IF EXISTS res_t1;
23975 drop table IF EXISTS res_t2;
23976 create table res_t1(w char, x char);
23977 insert into res_t1 values('a', 'b');
23978 insert into res_t1 values('c', 'd');
23979 create table res_t2(y char, z char);
23980 CREATE PROCEDURE h1()
23981 BEGIN
23982 declare done int default 0;
23983 declare a, b char;
23984 declare cur1 cursor for SELECT w, x from res_t1;
23985 declare continue handler for 1325 set done = 1;
23986 open cur1;
23987 SELECT done;
23988 open cur1;
23989 set @x=1;
23990 SELECT done, @x;
23991 close cur1;
23992 END//
23993 CALL h1();
23994 done
23995 0
23996 done @x
23997 1 1
23998 DROP PROCEDURE IF EXISTS h1;
23999 DROP TABLE IF EXISTS res_t1;
24000 DROP TABLE IF EXISTS res_t2;
24001 Warnings:
24002 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24003
24004 Testcase 4.11.23:
24005 --------------------------------------------------------------------------------
24006 Warnings:
24007 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24008 DROP PROCEDURE IF EXISTS h1;
24009 drop table IF EXISTS res_t1;
24010 drop table IF EXISTS res_t2;
24011 create table res_t1(w char, x char);
24012 insert into res_t1 values('a', 'b');
24013 insert into res_t1 values('c', 'd');
24014 create table res_t2(y char, z char);
24015 CREATE PROCEDURE h1()
24016 BEGIN
24017 declare done int default 0;
24018 declare a, b char;
24019 declare cur1 cursor for SELECT w, x from res_t1;
24020 declare exit handler for 1325 set done = 1;
24021 open cur1;
24022 set @x=0;
24023 SELECT done;
24024 open cur1;
24025 set @x=1;
24026 SELECT done;
24027 close cur1;
24028 END//
24029 CALL h1();
24030 done
24031 0
24032 DROP PROCEDURE IF EXISTS h1;
24033 DROP TABLE IF EXISTS res_t1;
24034 DROP TABLE IF EXISTS res_t2;
24035 Warnings:
24036 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24037
24038 Testcase 4.11.24:
24039 --------------------------------------------------------------------------------
24040 Warnings:
24041 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24042 DROP PROCEDURE IF EXISTS h1;
24043 drop table IF EXISTS res_t1;
24044 drop table IF EXISTS res_t2;
24045 create table res_t1(w char, x char);
24046 insert into res_t1 values('a', 'b');
24047 insert into res_t1 values('c', 'd');
24048 create table res_t2(y char, z char);
24049 CREATE PROCEDURE h1()
24050 BEGIN
24051 declare done int default 0;
24052 declare a, b char;
24053 declare cur1 cursor for SELECT w, x from res_t1;
24054 declare exit handler for sqlstate '24000' set done = 1;
24055 open cur1;
24056 set @x=0;
24057 SELECT done;
24058 open cur1;
24059 set @x=1;
24060 SELECT done, @x;
24061 close cur1;
24062 END//
24063 CALL h1();
24064 done
24065 0
24066 DROP PROCEDURE IF EXISTS h1;
24067 DROP TABLE IF EXISTS res_t1;
24068 DROP TABLE IF EXISTS res_t2;
24069 Warnings:
24070 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24071
24072 Testcase 4.11.25:
24073 --------------------------------------------------------------------------------
24074 Warnings:
24075 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24076 DROP PROCEDURE IF EXISTS h1;
24077 drop table IF EXISTS res_t1;
24078 drop table IF EXISTS res_t2;
24079 create table res_t1(w char, x char);
24080 insert into res_t1 values('a', 'b');
24081 insert into res_t1 values('c', 'd');
24082 create table res_t2(y char, z char);
24083 CREATE PROCEDURE h1()
24084 BEGIN
24085 declare done int default 0;
24086 declare a, b char;
24087 declare cur1 cursor for SELECT w, x from res_t1;
24088 declare continue handler for 1326 set done = 1;
24089 set @x=0;
24090 fetch cur1 into a, b;
24091 set @x=1;
24092 SELECT done, @x;
24093 END//
24094 CALL h1();
24095 done @x
24096 1 1
24097 DROP PROCEDURE IF EXISTS h1;
24098 DROP TABLE IF EXISTS res_t1;
24099 DROP TABLE IF EXISTS res_t2;
24100 Warnings:
24101 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24102
24103 Testcase 4.11.26:
24104 --------------------------------------------------------------------------------
24105 Warnings:
24106 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24107 DROP PROCEDURE IF EXISTS h1;
24108 drop table IF EXISTS res_t1;
24109 drop table IF EXISTS res_t2;
24110 create table res_t1(w char, x char);
24111 insert into res_t1 values('a', 'b');
24112 insert into res_t1 values('c', 'd');
24113 create table res_t2(y char, z char);
24114 CREATE PROCEDURE h1()
24115 BEGIN
24116 declare done int default 0;
24117 declare a, b char;
24118 declare cur1 cursor for SELECT w, x from res_t1;
24119 declare continue handler for sqlstate '24000' set done = 1;
24120 set @x=0;
24121 fetch cur1 into a, b;
24122 set @x=1;
24123 SELECT done, @x;
24124 END//
24125 CALL h1();
24126 done @x
24127 1 1
24128 DROP PROCEDURE IF EXISTS h1;
24129 DROP TABLE IF EXISTS res_t1;
24130 DROP TABLE IF EXISTS res_t2;
24131 Warnings:
24132 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24133
24134 Testcase 4.11.27:
24135 --------------------------------------------------------------------------------
24136 Warnings:
24137 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24138 DROP PROCEDURE IF EXISTS h1;
24139 drop table IF EXISTS res_t1;
24140 drop table IF EXISTS res_t2;
24141 create table res_t1(w char, x char);
24142 insert into res_t1 values('a', 'b');
24143 insert into res_t1 values('c', 'd');
24144 create table res_t2(y char, z char);
24145 CREATE PROCEDURE h1()
24146 BEGIN
24147 declare done int default 0;
24148 declare a, b char;
24149 declare cur1 cursor for SELECT w, x from res_t1;
24150 declare exit handler for 1326 set done = 1;
24151 set @x=0;
24152 fetch cur1 into a, b;
24153 set @x=1;
24154 SELECT done, @x;
24155 END//
24156 CALL h1();
24157 DROP PROCEDURE IF EXISTS h1;
24158 DROP TABLE IF EXISTS res_t1;
24159 DROP TABLE IF EXISTS res_t2;
24160 Warnings:
24161 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24162
24163 Testcase 4.11.28:
24164 --------------------------------------------------------------------------------
24165 Warnings:
24166 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24167 DROP PROCEDURE IF EXISTS h1;
24168 drop table IF EXISTS res_t1;
24169 drop table IF EXISTS res_t2;
24170 create table res_t1(w char, x char);
24171 insert into res_t1 values('a', 'b');
24172 insert into res_t1 values('c', 'd');
24173 create table res_t2(y char, z char);
24174 CREATE PROCEDURE h1()
24175 BEGIN
24176 declare done int default 0;
24177 declare a, b char;
24178 declare cur1 cursor for SELECT w, x from res_t1;
24179 declare exit handler for sqlstate '24000' set done = 1;
24180 set @x=0;
24181 fetch cur1 into a, b;
24182 set @x=1;
24183 SELECT done, @x;
24184 END//
24185 CALL h1();
24186 DROP PROCEDURE IF EXISTS h1;
24187 drop table IF EXISTS res_t1;
24188 drop table IF EXISTS res_t2;
24189 Warnings:
24190 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24191
24192 Testcase 4.11.29:
24193 --------------------------------------------------------------------------------
24194 Warnings:
24195 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24196 DROP PROCEDURE IF EXISTS h1;
24197 drop table IF EXISTS res_t1;
24198 drop table IF EXISTS res_t2;
24199 create table res_t1(w char, x char);
24200 insert into res_t1 values('a', 'b');
24201 insert into res_t1 values('c', 'd');
24202 create table res_t2(y char, z char);
24203 CREATE PROCEDURE h1()
24204 BEGIN
24205 declare done int default 0;
24206 declare a, b char;
24207 declare cur1 cursor for SELECT w, x from res_t1;
24208 declare continue handler for 1339 set done = 1;
24209 set @x=0;
24210 case @x
24211 when 1 then set @x=10;
24212 when 2 then set @x=11;
24213 END case;
24214 set @x=1;
24215 SELECT done, @x;
24216 END//
24217 CALL h1();
24218 done @x
24219 1 1
24220 DROP PROCEDURE IF EXISTS h1;
24221 drop table IF EXISTS res_t1;
24222 drop table IF EXISTS res_t2;
24223 Warnings:
24224 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24225
24226 Testcase 4.11.30:
24227 --------------------------------------------------------------------------------
24228 Warnings:
24229 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24230 DROP PROCEDURE IF EXISTS h1;
24231 drop table IF EXISTS res_t1;
24232 drop table IF EXISTS res_t2;
24233 create table res_t1(w char, x char);
24234 insert into res_t1 values('a', 'b');
24235 insert into res_t1 values('c', 'd');
24236 create table res_t2(y char, z char);
24237 CREATE PROCEDURE h1()
24238 BEGIN
24239 declare done int default 0;
24240 declare a, b char;
24241 declare cur1 cursor for SELECT w, x from res_t1;
24242 declare continue handler for sqlstate '20000' set done = 1;
24243 set @x=0;
24244 case @x
24245 when 1 then set @x=10;
24246 when 2 then set @x=11;
24247 END case;
24248 set @x=1;
24249 SELECT done, @x;
24250 END//
24251 CALL h1();
24252 done @x
24253 1 1
24254 DROP PROCEDURE IF EXISTS h1;
24255 drop table IF EXISTS res_t1;
24256 drop table IF EXISTS res_t2;
24257 Warnings:
24258 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24259
24260 Testcase 4.11.31:
24261 --------------------------------------------------------------------------------
24262 Warnings:
24263 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24264 DROP PROCEDURE IF EXISTS h1;
24265 drop table IF EXISTS res_t1;
24266 drop table IF EXISTS res_t2;
24267 create table res_t1(w char, x char);
24268 insert into res_t1 values('a', 'b');
24269 insert into res_t1 values('c', 'd');
24270 create table res_t2(y char, z char);
24271 CREATE PROCEDURE h1()
24272 BEGIN
24273 declare done int default 0;
24274 declare a, b char;
24275 declare cur1 cursor for SELECT w, x from res_t1;
24276 declare exit handler for 1339 set done = 1;
24277 set @x=0;
24278 case @x
24279 when 1 then set @x=10;
24280 when 2 then set @x=11;
24281 END case;
24282 set @x=1;
24283 SELECT done, @x;
24284 END//
24285 CALL h1();
24286 DROP PROCEDURE IF EXISTS h1;
24287 drop table IF EXISTS res_t1;
24288 drop table IF EXISTS res_t2;
24289 Warnings:
24290 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24291
24292 Testcase 4.11.32:
24293 --------------------------------------------------------------------------------
24294 Warnings:
24295 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24296 DROP PROCEDURE IF EXISTS h1;
24297 drop table IF EXISTS res_t1;
24298 drop table IF EXISTS res_t2;
24299 create table res_t1(w char, x char);
24300 insert into res_t1 values('a', 'b');
24301 insert into res_t1 values('c', 'd');
24302 create table res_t2(y char, z char);
24303 CREATE PROCEDURE h1()
24304 BEGIN
24305 declare done int default 0;
24306 declare a, b char;
24307 declare cur1 cursor for SELECT w, x from res_t1;
24308 declare exit handler for sqlstate '20000' set done = 1;
24309 set @x=0;
24310 case @x
24311 when 1 then set @x=10;
24312 when 2 then set @x=11;
24313 END case;
24314 set @x=1;
24315 SELECT done, @x;
24316 END//
24317 CALL h1();
24318 DROP PROCEDURE IF EXISTS h1;
24319 DROP TABLE IF EXISTS res_t1;
24320 DROP TABLE IF EXISTS res_t2;
24321 Warnings:
24322 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24323
24324 Testcase 4.11.33:
24325 --------------------------------------------------------------------------------
24326 Warnings:
24327 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24328 DROP PROCEDURE IF EXISTS h1;
24329 drop table IF EXISTS res_t1;
24330 create table res_t1(w char, x char);
24331 insert into res_t1 values('a', 'b');
24332 insert into res_t1 values('c', 'd');
24333 CREATE PROCEDURE h1()
24334 BEGIN
24335 declare condname condition for sqlstate '20000';
24336 declare done int default 0;
24337 declare a, b char;
24338 declare condname condition for sqlstate '20000';
24339 declare cur1 cursor for SELECT w, x from t1;
24340 set @x=2;
24341 case @x
24342 when 1 then set @x=10;
24343 when 2 then set @x=11;
24344 END case;
24345 set @x=1;
24346 SELECT done, @x;
24347 END//
24348 ERROR 42000: Duplicate condition: condname
24349 DROP TABLE IF EXISTS res_t1;
24350 Warnings:
24351 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24352
24353 Testcase 4.11.35:
24354 --------------------------------------------------------------------------------
24355 Warnings:
24356 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24357 DROP PROCEDURE IF EXISTS h1;
24358 drop table IF EXISTS res_t1;
24359 CREATE TABLE res_t1(w INT UNIQUE, x CHAR);
24360 insert into res_t1 values (1, 'a');
24361 CREATE PROCEDURE h1 ()
24362 begin1_label:BEGIN
24363 declare condname1 condition for sqlstate '020';
24364 declare condname2 condition for sqlstate 'wewe';
24365 declare condname3 condition for 9999;
24366 declare exit handler for sqlstate '020' set @var1 = 1;
24367 declare exit handler for sqlstate 'wewe'set @var1 = 1;
24368 declare exit handler for 9999 set @var1 = 1;
24369 set @var2 = 1;
24370 insert into res_t1 values (2, 'b');
24371 begin2_label: BEGIN
24372 declare continue handler for sqlstate '90000023' set @var3= 1;
24373 set @var4 = 1;
24374 insert into res_t1 values (3, 'c');
24375 END begin2_label;
24376 END begin1_label//
24377 ERROR 42000: Bad SQLSTATE: '020'
24378 CREATE PROCEDURE h1 ()
24379 begin1_label:BEGIN
24380 declare condname1 condition for sqlstate '020';
24381 declare condname2 condition for sqlstate 'wewe';
24382 declare condname3 condition for 9999;
24383 set @var2 = 1;
24384 insert into res_t1 values (2, 'b');
24385 begin2_label: BEGIN
24386 declare continue handler for sqlstate '90000023' set @var3= 1;
24387 set @var4 = 1;
24388 insert into res_t1 values (3, 'c');
24389 END begin2_label;
24390 END begin1_label//
24391 ERROR 42000: Bad SQLSTATE: '020'
24392 DROP TABLE IF EXISTS res_t1;
24393 Warnings:
24394 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24395
24396 Testcase 4.11.36:
24397 --------------------------------------------------------------------------------
24398 Warnings:
24399 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24400 DROP PROCEDURE IF EXISTS h1;
24401 CREATE PROCEDURE h1 ()
24402 BEGIN
24403 declare x1 int default 0;
24404 BEGIN
24405 declare condname1 condition for sqlstate '00000';
24406 declare exit handler for condname1 set @x = 1;
24407 set x1 = 1;
24408 set x1 = 2;
24409 END;
24410 SELECT @x, x1;
24411 END//
24412 ERROR 42000: Bad SQLSTATE: '00000'
24413 DROP PROCEDURE IF EXISTS h1;
24414 Warnings:
24415 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24416
24417 Testcase 4.11.40:
24418 --------------------------------------------------------------------------------
24419 Warnings:
24420 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24421 DROP PROCEDURE IF EXISTS h1;
24422 DROP TABLE IF EXISTS res_t1;
24423 CREATE TABLE res_t1(w CHAR UNIQUE, x CHAR);
24424 INSERT INTO res_t1 VALUES ('a', 'b');
24425 CREATE PROCEDURE h1 ()
24426 BEGIN
24427 DECLARE x1, x2, x3, x4, x5 int default 0;
24428 DECLARE condname1 CONDITION FOR SQLSTATE '42000';
24429 DECLARE condname2 CONDITION FOR SQLSTATE '42000';
24430 DECLARE CONTINUE HANDLER FOR condname1 set x1 = 1;
24431 DECLARE CONTINUE HANDLER FOR condname1 set x2 = 1;
24432 DECLARE EXIT HANDLER FOR condname1 SET x3 = 1;
24433 DECLARE CONTINUE HANDLER FOR condname2 SET x4 = 1;
24434 DECLARE EXIT HANDLER FOR condname2 SET x5 = 1;
24435 END//
24436 ERROR 42000: Duplicate handler declared in the same block
24437 DROP PROCEDURE IF EXISTS h1;
24438 DROP TABLE IF EXISTS res_t1;
24439 Warnings:
24440 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24441
24442 Testcase 4.11.41:
24443 --------------------------------------------------------------------------------
24444 Warnings:
24445 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24446 DROP PROCEDURE IF EXISTS h1;
24447 CREATE PROCEDURE h1 ()
24448 BEGIN
24449 DECLARE x1 INT DEFAULT 0;
24450 BEGIN
24451 DECLARE condname1 CONDITION FOR SQLSTATE '00000';
24452 DECLARE EXIT HANDLER FOR SQLSTATE '00000' SET @x = 1;
24453 SET x1 = 1;
24454 SET x1 = 2;
24455 END;
24456 SELECT @x, x1;
24457 END//
24458 ERROR 42000: Bad SQLSTATE: '00000'
24459 CALL h1();
24460 ERROR 42000: PROCEDURE db_storedproc.h1 does not exist
24461 DROP PROCEDURE IF EXISTS h1;
24462 Warnings:
24463 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24464
24465 * Testcase 3.1.2.53 (4.11.42):
24466 * Ensure that a handler condition of sqlwarning takes the same action as a
24467 * handler condition defined with an sqlstate that begins with 01.
24468 --------------------------------------------------------------------------------
24469 Warnings:
24470 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24471 DROP PROCEDURE IF EXISTS h1;
24472 DROP TABLE IF EXISTS res_t1;
24473 CREATE PROCEDURE h1()
24474 BEGIN
24475 DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
24476 SET @done=0;
24477 SET @x=1;
24478 INSERT INTO res_t1 VALUES('xxx', 'yy');
24479 SET @x=0;
24480 END//
24481 CALL h1();
24482 ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
24483 SELECT @done, @x;
24484 @done @x
24485 0 1
24486 CREATE TABLE res_t1(w CHAR, x CHAR);
24487 INSERT INTO res_t1 VALUES('a', 'b');
24488 INSERT INTO res_t1 VALUES('c', 'd');
24489 CALL h1();
24490 SELECT @done, @x;
24491 @done @x
24492 1 1
24493 DROP PROCEDURE IF EXISTS h1;
24494 DROP TABLE IF EXISTS res_t1;
24495 CREATE PROCEDURE h1()
24496 BEGIN
24497 DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
24498 SET @done=0;
24499 SET @x=0;
24500 INSERT INTO res_t1 VALUES('xxx', 'yy');
24501 SET @x=1;
24502 END//
24503 CALL h1();
24504 ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
24505 SELECT @done, @x;
24506 @done @x
24507 0 0
24508 CREATE TABLE res_t1(w CHAR, x CHAR);
24509 INSERT INTO res_t1 VALUES('a', 'b');
24510 INSERT INTO res_t1 VALUES('c', 'd');
24511 CALL h1();
24512 SELECT @done, @x;
24513 @done @x
24514 1 1
24515 DROP PROCEDURE IF EXISTS h1;
24516 DROP TABLE IF EXISTS res_t1;
24517 SET sql_mode = default;
24518
24519 --source suite/funcs_1/storedproc/cleanup_sp_tb.inc
24520 --------------------------------------------------------------------------------
24521 DROP DATABASE IF EXISTS db_storedproc;
24522 DROP DATABASE IF EXISTS db_storedproc_1;
24523 Warnings:
24524 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.
24525
24526 . +++ END OF SCRIPT +++
24527 --------------------------------------------------------------------------------
24528 Warnings:
24529 Warning 3719 'utf8' is currently an alias for the character set UTF8MB3, but will be an alias for UTF8MB4 in a future release. Please consider using UTF8MB4 in order to be unambiguous.