Debian Codegraph @

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

raw
1 set sql_mode="";
2
3 --source suite/funcs_1/storedproc/load_sp_tb.inc
4 --------------------------------------------------------------------------------
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;
11 CREATE DATABASE db_storedproc_1;
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' ignore 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' ignore 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
66 Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE
67 FUNCTION, ALTER PROCEDURE, ALTER FUNCTION, DROP PROCEDURE, DROP FUNCTION, SHOW
68 CREATE PROCEDURE, SHOW CREATE FUNCTION, SHOW CREATE PROCEDURE STATUS, SHOW
69 CREATE FUNCTION STATUS, and CALL statements:
70 --------------------------------------------------------------------------------
71
72 Testcase 4.1.1:
73 ---------------
74 Ensure that all clauses that should be supported are supported
75 CREATE PROCEDURE
76 --------------------------------------------------------------------------------
77 USE db_storedproc;
78 DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
79 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
80 CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 (f1 char(20) )
81 SELECT * from t1 where f2 = f1;
82 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
83 CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934('aaaa');
84 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
85 DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
86 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
87 CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 TINYTEXT )
88 LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'this is simple'
89 BEGIN
90 SET @v1 = f1;
91 SELECT @v1, @v1;
92 END//
93 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
94 CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' );
95 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
96 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
97 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
98 DROP PROCEDURE IF EXISTS sp1;
99 CREATE PROCEDURE sp1( f1 BINARY )
100 LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
101 BEGIN
102 SET @v1 = f1;
103 SELECT @v1;
104 END//
105 CALL sp1( 34 );
106 @v1
107 3
108 Warnings:
109 Warning 1265 Data truncated for column 'f1' at row 0
110 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
111 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
112 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
113 DROP PROCEDURE IF EXISTS sp1;
114 CREATE PROCEDURE sp1( f1 BLOB )
115 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
116 BEGIN
117 set @v1 = f1;
118 SELECT @v1;
119 END//
120 CALL sp1( 34 );
121 @v1
122 34
123 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
124 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
125 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
126 DROP PROCEDURE IF EXISTS sp1;
127 CREATE PROCEDURE sp1( f1 INT )
128 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
129 BEGIN
130 SET @v1 = f1;
131 SELECT @v1;
132 END//
133 CALL sp1( 34 );
134 @v1
135 34
136 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
137 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
138 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
139 DROP PROCEDURE IF EXISTS sp1;
140 CREATE PROCEDURE sp1( f1 DECIMAL(256, 30) )
141 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
142 BEGIN
143 SET @v1 = f1;
144 SELECT @v1;
145 END//
146 ERROR 42000: Too big precision specified for 'f1'. Maximum is 65
147 DROP PROCEDURE IF EXISTS sp1//
148 Warnings:
149 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
150 CREATE PROCEDURE sp1( f1 DECIMAL(66, 30) )
151 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
152 BEGIN
153 SET @v1 = f1;
154 SELECT @v1;
155 END//
156 ERROR 42000: Too big precision specified for 'f1'. Maximum is 65
157 DROP PROCEDURE IF EXISTS sp1//
158 Warnings:
159 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
160 DROP TABLE IF EXISTS t1_aux;
161 DROP PROCEDURE IF EXISTS sproc_1;
162 DROP FUNCTION IF EXISTS func_1;
163 CREATE TABLE t1_aux ( f1 DECIMAL(65, 30) );
164 INSERT INTO t1_aux SET f1 = NULL;
165 CREATE PROCEDURE sproc_1(f1 DECIMAL(65, 30), OUT f2 DECIMAL(65, 30))
166 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
167 BEGIN
168 SET f2 = NULL;
169 SET f2 = f1;
170 SET @v2_proc = f1;
171 END//
172 CREATE FUNCTION func_1(f1 DECIMAL(65, 30)) RETURNS DECIMAL(65,30)
173 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
174 BEGIN
175 RETURN f1;
176 END//
177 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
178 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
179 db_storedproc sproc_1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
180 SHOW FUNCTION 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 func_1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
183 UPDATE t1_aux SET f1 = NULL;
184 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
185 UPDATE t1_aux SET f1 = 1.7976931348623157493578e+308;
186 SELECT f1 INTO @v1_tab FROM t1_aux;
187 CALL sproc_1(1.7976931348623157493578e+308, @v1_proc);
188 SET @v1_func = func_1(1.7976931348623157493578e+308);
189 UPDATE t1_aux SET f1 = NULL;
190 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
191 UPDATE t1_aux SET f1 = 0.1234567890987654321e+100;
192 SELECT f1 INTO @v1_tab FROM t1_aux;
193 CALL sproc_1(0.1234567890987654321e+100, @v1_proc);
194 SET @v1_func = func_1(0.1234567890987654321e+100);
195 UPDATE t1_aux SET f1 = NULL;
196 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
197 UPDATE t1_aux SET f1 = 0.1234567890987654321e+99;
198 SELECT f1 INTO @v1_tab FROM t1_aux;
199 CALL sproc_1(0.1234567890987654321e+99, @v1_proc);
200 SET @v1_func = func_1(0.1234567890987654321e+99);
201 UPDATE t1_aux SET f1 = NULL;
202 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
203 UPDATE t1_aux SET f1 = 0.1234567890987654321e+98;
204 SELECT f1 INTO @v1_tab FROM t1_aux;
205 CALL sproc_1(0.1234567890987654321e+98, @v1_proc);
206 SET @v1_func = func_1(0.1234567890987654321e+98);
207 UPDATE t1_aux SET f1 = NULL;
208 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
209 UPDATE t1_aux SET f1 = 0.1234567890987654321e+97;
210 SELECT f1 INTO @v1_tab FROM t1_aux;
211 CALL sproc_1(0.1234567890987654321e+97, @v1_proc);
212 SET @v1_func = func_1(0.1234567890987654321e+97);
213 UPDATE t1_aux SET f1 = NULL;
214 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
215 UPDATE t1_aux SET f1 = 0.1234567890987654321e+96;
216 SELECT f1 INTO @v1_tab FROM t1_aux;
217 CALL sproc_1(0.1234567890987654321e+96, @v1_proc);
218 SET @v1_func = func_1(0.1234567890987654321e+96);
219 UPDATE t1_aux SET f1 = NULL;
220 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
221 UPDATE t1_aux SET f1 = 0.1234567890987654321e+95;
222 SELECT f1 INTO @v1_tab FROM t1_aux;
223 CALL sproc_1(0.1234567890987654321e+95, @v1_proc);
224 SET @v1_func = func_1(0.1234567890987654321e+95);
225 UPDATE t1_aux SET f1 = NULL;
226 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
227 UPDATE t1_aux SET f1 = 0.1234567890987654321e+94;
228 SELECT f1 INTO @v1_tab FROM t1_aux;
229 CALL sproc_1(0.1234567890987654321e+94, @v1_proc);
230 SET @v1_func = func_1(0.1234567890987654321e+94);
231 UPDATE t1_aux SET f1 = NULL;
232 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
233 UPDATE t1_aux SET f1 = 0.1234567890987654321e+93;
234 SELECT f1 INTO @v1_tab FROM t1_aux;
235 CALL sproc_1(0.1234567890987654321e+93, @v1_proc);
236 SET @v1_func = func_1(0.1234567890987654321e+93);
237 UPDATE t1_aux SET f1 = NULL;
238 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
239 UPDATE t1_aux SET f1 = 0.1234567890987654321e+92;
240 SELECT f1 INTO @v1_tab FROM t1_aux;
241 CALL sproc_1(0.1234567890987654321e+92, @v1_proc);
242 SET @v1_func = func_1(0.1234567890987654321e+92);
243 UPDATE t1_aux SET f1 = NULL;
244 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
245 UPDATE t1_aux SET f1 = 0.1234567890987654321e+91;
246 SELECT f1 INTO @v1_tab FROM t1_aux;
247 CALL sproc_1(0.1234567890987654321e+91, @v1_proc);
248 SET @v1_func = func_1(0.1234567890987654321e+91);
249 UPDATE t1_aux SET f1 = NULL;
250 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
251 UPDATE t1_aux SET f1 = 0.1234567890987654321e+90;
252 SELECT f1 INTO @v1_tab FROM t1_aux;
253 CALL sproc_1(0.1234567890987654321e+90, @v1_proc);
254 SET @v1_func = func_1(0.1234567890987654321e+90);
255 UPDATE t1_aux SET f1 = NULL;
256 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
257 UPDATE t1_aux SET f1 = 0.1234567890987654321e+89;
258 SELECT f1 INTO @v1_tab FROM t1_aux;
259 CALL sproc_1(0.1234567890987654321e+89, @v1_proc);
260 SET @v1_func = func_1(0.1234567890987654321e+89);
261 UPDATE t1_aux SET f1 = NULL;
262 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
263 UPDATE t1_aux SET f1 = 0.1234567890987654321e+88;
264 SELECT f1 INTO @v1_tab FROM t1_aux;
265 CALL sproc_1(0.1234567890987654321e+88, @v1_proc);
266 SET @v1_func = func_1(0.1234567890987654321e+88);
267 UPDATE t1_aux SET f1 = NULL;
268 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
269 UPDATE t1_aux SET f1 = 0.1234567890987654321e+87;
270 SELECT f1 INTO @v1_tab FROM t1_aux;
271 CALL sproc_1(0.1234567890987654321e+87, @v1_proc);
272 SET @v1_func = func_1(0.1234567890987654321e+87);
273 UPDATE t1_aux SET f1 = NULL;
274 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
275 UPDATE t1_aux SET f1 = 0.1234567890987654321e+86;
276 SELECT f1 INTO @v1_tab FROM t1_aux;
277 CALL sproc_1(0.1234567890987654321e+86, @v1_proc);
278 SET @v1_func = func_1(0.1234567890987654321e+86);
279 UPDATE t1_aux SET f1 = NULL;
280 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
281 UPDATE t1_aux SET f1 = 0.1234567890987654321e+85;
282 SELECT f1 INTO @v1_tab FROM t1_aux;
283 CALL sproc_1(0.1234567890987654321e+85, @v1_proc);
284 SET @v1_func = func_1(0.1234567890987654321e+85);
285 UPDATE t1_aux SET f1 = NULL;
286 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
287 UPDATE t1_aux SET f1 = 0.1234567890987654321e+84;
288 SELECT f1 INTO @v1_tab FROM t1_aux;
289 CALL sproc_1(0.1234567890987654321e+84, @v1_proc);
290 SET @v1_func = func_1(0.1234567890987654321e+84);
291 UPDATE t1_aux SET f1 = NULL;
292 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
293 UPDATE t1_aux SET f1 = 0.1234567890987654321e+83;
294 SELECT f1 INTO @v1_tab FROM t1_aux;
295 CALL sproc_1(0.1234567890987654321e+83, @v1_proc);
296 SET @v1_func = func_1(0.1234567890987654321e+83);
297 UPDATE t1_aux SET f1 = NULL;
298 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
299 UPDATE t1_aux SET f1 = 0.1234567890987654321e+82;
300 SELECT f1 INTO @v1_tab FROM t1_aux;
301 CALL sproc_1(0.1234567890987654321e+82, @v1_proc);
302 SET @v1_func = func_1(0.1234567890987654321e+82);
303 UPDATE t1_aux SET f1 = NULL;
304 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
305 UPDATE t1_aux SET f1 = 0.1234567890987654321e+81;
306 SELECT f1 INTO @v1_tab FROM t1_aux;
307 CALL sproc_1(0.1234567890987654321e+81, @v1_proc);
308 SET @v1_func = func_1(0.1234567890987654321e+81);
309 UPDATE t1_aux SET f1 = NULL;
310 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
311 UPDATE t1_aux SET f1 = 0.1234567890987654321e+80;
312 SELECT f1 INTO @v1_tab FROM t1_aux;
313 CALL sproc_1(0.1234567890987654321e+80, @v1_proc);
314 SET @v1_func = func_1(0.1234567890987654321e+80);
315 UPDATE t1_aux SET f1 = NULL;
316 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
317 UPDATE t1_aux SET f1 = 0.1234567890987654321e+79;
318 SELECT f1 INTO @v1_tab FROM t1_aux;
319 CALL sproc_1(0.1234567890987654321e+79, @v1_proc);
320 SET @v1_func = func_1(0.1234567890987654321e+79);
321 UPDATE t1_aux SET f1 = NULL;
322 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
323 UPDATE t1_aux SET f1 = 0.1234567890987654321e+78;
324 SELECT f1 INTO @v1_tab FROM t1_aux;
325 CALL sproc_1(0.1234567890987654321e+78, @v1_proc);
326 SET @v1_func = func_1(0.1234567890987654321e+78);
327 UPDATE t1_aux SET f1 = NULL;
328 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
329 UPDATE t1_aux SET f1 = 0.1234567890987654321e+77;
330 SELECT f1 INTO @v1_tab FROM t1_aux;
331 CALL sproc_1(0.1234567890987654321e+77, @v1_proc);
332 SET @v1_func = func_1(0.1234567890987654321e+77);
333 UPDATE t1_aux SET f1 = NULL;
334 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
335 UPDATE t1_aux SET f1 = 0.1234567890987654321e+76;
336 SELECT f1 INTO @v1_tab FROM t1_aux;
337 CALL sproc_1(0.1234567890987654321e+76, @v1_proc);
338 SET @v1_func = func_1(0.1234567890987654321e+76);
339 UPDATE t1_aux SET f1 = NULL;
340 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
341 UPDATE t1_aux SET f1 = 0.1234567890987654321e+75;
342 SELECT f1 INTO @v1_tab FROM t1_aux;
343 CALL sproc_1(0.1234567890987654321e+75, @v1_proc);
344 SET @v1_func = func_1(0.1234567890987654321e+75);
345 UPDATE t1_aux SET f1 = NULL;
346 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
347 UPDATE t1_aux SET f1 = 0.1234567890987654321e+74;
348 SELECT f1 INTO @v1_tab FROM t1_aux;
349 CALL sproc_1(0.1234567890987654321e+74, @v1_proc);
350 SET @v1_func = func_1(0.1234567890987654321e+74);
351 UPDATE t1_aux SET f1 = NULL;
352 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
353 UPDATE t1_aux SET f1 = 0.1234567890987654321e+73;
354 SELECT f1 INTO @v1_tab FROM t1_aux;
355 CALL sproc_1(0.1234567890987654321e+73, @v1_proc);
356 SET @v1_func = func_1(0.1234567890987654321e+73);
357 UPDATE t1_aux SET f1 = NULL;
358 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
359 UPDATE t1_aux SET f1 = 0.1234567890987654321e+72;
360 SELECT f1 INTO @v1_tab FROM t1_aux;
361 CALL sproc_1(0.1234567890987654321e+72, @v1_proc);
362 SET @v1_func = func_1(0.1234567890987654321e+72);
363 UPDATE t1_aux SET f1 = NULL;
364 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
365 UPDATE t1_aux SET f1 = 0.1234567890987654321e+71;
366 SELECT f1 INTO @v1_tab FROM t1_aux;
367 CALL sproc_1(0.1234567890987654321e+71, @v1_proc);
368 SET @v1_func = func_1(0.1234567890987654321e+71);
369 UPDATE t1_aux SET f1 = NULL;
370 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
371 UPDATE t1_aux SET f1 = 0.1234567890987654321e+70;
372 SELECT f1 INTO @v1_tab FROM t1_aux;
373 CALL sproc_1(0.1234567890987654321e+70, @v1_proc);
374 SET @v1_func = func_1(0.1234567890987654321e+70);
375 UPDATE t1_aux SET f1 = NULL;
376 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
377 UPDATE t1_aux SET f1 = 0.1234567890987654321e+69;
378 SELECT f1 INTO @v1_tab FROM t1_aux;
379 CALL sproc_1(0.1234567890987654321e+69, @v1_proc);
380 SET @v1_func = func_1(0.1234567890987654321e+69);
381 UPDATE t1_aux SET f1 = NULL;
382 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
383 UPDATE t1_aux SET f1 = 0.1234567890987654321e+68;
384 SELECT f1 INTO @v1_tab FROM t1_aux;
385 CALL sproc_1(0.1234567890987654321e+68, @v1_proc);
386 SET @v1_func = func_1(0.1234567890987654321e+68);
387 UPDATE t1_aux SET f1 = NULL;
388 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
389 UPDATE t1_aux SET f1 = 0.1234567890987654321e+67;
390 SELECT f1 INTO @v1_tab FROM t1_aux;
391 CALL sproc_1(0.1234567890987654321e+67, @v1_proc);
392 SET @v1_func = func_1(0.1234567890987654321e+67);
393 UPDATE t1_aux SET f1 = NULL;
394 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
395 UPDATE t1_aux SET f1 = 0.1234567890987654321e+66;
396 SELECT f1 INTO @v1_tab FROM t1_aux;
397 CALL sproc_1(0.1234567890987654321e+66, @v1_proc);
398 SET @v1_func = func_1(0.1234567890987654321e+66);
399 UPDATE t1_aux SET f1 = NULL;
400 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
401 UPDATE t1_aux SET f1 = 0.1234567890987654321e+65;
402 SELECT f1 INTO @v1_tab FROM t1_aux;
403 CALL sproc_1(0.1234567890987654321e+65, @v1_proc);
404 SET @v1_func = func_1(0.1234567890987654321e+65);
405 UPDATE t1_aux SET f1 = NULL;
406 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
407 UPDATE t1_aux SET f1 = 0.1234567890987654321e+64;
408 SELECT f1 INTO @v1_tab FROM t1_aux;
409 CALL sproc_1(0.1234567890987654321e+64, @v1_proc);
410 SET @v1_func = func_1(0.1234567890987654321e+64);
411 UPDATE t1_aux SET f1 = NULL;
412 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
413 UPDATE t1_aux SET f1 = 0.1234567890987654321e+63;
414 SELECT f1 INTO @v1_tab FROM t1_aux;
415 CALL sproc_1(0.1234567890987654321e+63, @v1_proc);
416 SET @v1_func = func_1(0.1234567890987654321e+63);
417 UPDATE t1_aux SET f1 = NULL;
418 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
419 UPDATE t1_aux SET f1 = 0.1234567890987654321e+62;
420 SELECT f1 INTO @v1_tab FROM t1_aux;
421 CALL sproc_1(0.1234567890987654321e+62, @v1_proc);
422 SET @v1_func = func_1(0.1234567890987654321e+62);
423 UPDATE t1_aux SET f1 = NULL;
424 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
425 UPDATE t1_aux SET f1 = 0.1234567890987654321e+61;
426 SELECT f1 INTO @v1_tab FROM t1_aux;
427 CALL sproc_1(0.1234567890987654321e+61, @v1_proc);
428 SET @v1_func = func_1(0.1234567890987654321e+61);
429 UPDATE t1_aux SET f1 = NULL;
430 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
431 UPDATE t1_aux SET f1 = 0.1234567890987654321e+60;
432 SELECT f1 INTO @v1_tab FROM t1_aux;
433 CALL sproc_1(0.1234567890987654321e+60, @v1_proc);
434 SET @v1_func = func_1(0.1234567890987654321e+60);
435 UPDATE t1_aux SET f1 = NULL;
436 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
437 UPDATE t1_aux SET f1 = 0.1234567890987654321e+59;
438 SELECT f1 INTO @v1_tab FROM t1_aux;
439 CALL sproc_1(0.1234567890987654321e+59, @v1_proc);
440 SET @v1_func = func_1(0.1234567890987654321e+59);
441 UPDATE t1_aux SET f1 = NULL;
442 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
443 UPDATE t1_aux SET f1 = 0.1234567890987654321e+58;
444 SELECT f1 INTO @v1_tab FROM t1_aux;
445 CALL sproc_1(0.1234567890987654321e+58, @v1_proc);
446 SET @v1_func = func_1(0.1234567890987654321e+58);
447 UPDATE t1_aux SET f1 = NULL;
448 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
449 UPDATE t1_aux SET f1 = 0.1234567890987654321e+57;
450 SELECT f1 INTO @v1_tab FROM t1_aux;
451 CALL sproc_1(0.1234567890987654321e+57, @v1_proc);
452 SET @v1_func = func_1(0.1234567890987654321e+57);
453 UPDATE t1_aux SET f1 = NULL;
454 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
455 UPDATE t1_aux SET f1 = 0.1234567890987654321e+56;
456 SELECT f1 INTO @v1_tab FROM t1_aux;
457 CALL sproc_1(0.1234567890987654321e+56, @v1_proc);
458 SET @v1_func = func_1(0.1234567890987654321e+56);
459 UPDATE t1_aux SET f1 = NULL;
460 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
461 UPDATE t1_aux SET f1 = 0.1234567890987654321e+55;
462 SELECT f1 INTO @v1_tab FROM t1_aux;
463 CALL sproc_1(0.1234567890987654321e+55, @v1_proc);
464 SET @v1_func = func_1(0.1234567890987654321e+55);
465 UPDATE t1_aux SET f1 = NULL;
466 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
467 UPDATE t1_aux SET f1 = 0.1234567890987654321e+54;
468 SELECT f1 INTO @v1_tab FROM t1_aux;
469 CALL sproc_1(0.1234567890987654321e+54, @v1_proc);
470 SET @v1_func = func_1(0.1234567890987654321e+54);
471 UPDATE t1_aux SET f1 = NULL;
472 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
473 UPDATE t1_aux SET f1 = 0.1234567890987654321e+53;
474 SELECT f1 INTO @v1_tab FROM t1_aux;
475 CALL sproc_1(0.1234567890987654321e+53, @v1_proc);
476 SET @v1_func = func_1(0.1234567890987654321e+53);
477 UPDATE t1_aux SET f1 = NULL;
478 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
479 UPDATE t1_aux SET f1 = 0.1234567890987654321e+52;
480 SELECT f1 INTO @v1_tab FROM t1_aux;
481 CALL sproc_1(0.1234567890987654321e+52, @v1_proc);
482 SET @v1_func = func_1(0.1234567890987654321e+52);
483 UPDATE t1_aux SET f1 = NULL;
484 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
485 UPDATE t1_aux SET f1 = 0.1234567890987654321e+51;
486 SELECT f1 INTO @v1_tab FROM t1_aux;
487 CALL sproc_1(0.1234567890987654321e+51, @v1_proc);
488 SET @v1_func = func_1(0.1234567890987654321e+51);
489 UPDATE t1_aux SET f1 = NULL;
490 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
491 UPDATE t1_aux SET f1 = 0.1234567890987654321e+50;
492 SELECT f1 INTO @v1_tab FROM t1_aux;
493 CALL sproc_1(0.1234567890987654321e+50, @v1_proc);
494 SET @v1_func = func_1(0.1234567890987654321e+50);
495 UPDATE t1_aux SET f1 = NULL;
496 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
497 UPDATE t1_aux SET f1 = 0.1234567890987654321e+49;
498 SELECT f1 INTO @v1_tab FROM t1_aux;
499 CALL sproc_1(0.1234567890987654321e+49, @v1_proc);
500 SET @v1_func = func_1(0.1234567890987654321e+49);
501 UPDATE t1_aux SET f1 = NULL;
502 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
503 UPDATE t1_aux SET f1 = 0.1234567890987654321e+48;
504 SELECT f1 INTO @v1_tab FROM t1_aux;
505 CALL sproc_1(0.1234567890987654321e+48, @v1_proc);
506 SET @v1_func = func_1(0.1234567890987654321e+48);
507 UPDATE t1_aux SET f1 = NULL;
508 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
509 UPDATE t1_aux SET f1 = 0.1234567890987654321e+47;
510 SELECT f1 INTO @v1_tab FROM t1_aux;
511 CALL sproc_1(0.1234567890987654321e+47, @v1_proc);
512 SET @v1_func = func_1(0.1234567890987654321e+47);
513 UPDATE t1_aux SET f1 = NULL;
514 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
515 UPDATE t1_aux SET f1 = 0.1234567890987654321e+46;
516 SELECT f1 INTO @v1_tab FROM t1_aux;
517 CALL sproc_1(0.1234567890987654321e+46, @v1_proc);
518 SET @v1_func = func_1(0.1234567890987654321e+46);
519 UPDATE t1_aux SET f1 = NULL;
520 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
521 UPDATE t1_aux SET f1 = 0.1234567890987654321e+45;
522 SELECT f1 INTO @v1_tab FROM t1_aux;
523 CALL sproc_1(0.1234567890987654321e+45, @v1_proc);
524 SET @v1_func = func_1(0.1234567890987654321e+45);
525 UPDATE t1_aux SET f1 = NULL;
526 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
527 UPDATE t1_aux SET f1 = 0.1234567890987654321e+44;
528 SELECT f1 INTO @v1_tab FROM t1_aux;
529 CALL sproc_1(0.1234567890987654321e+44, @v1_proc);
530 SET @v1_func = func_1(0.1234567890987654321e+44);
531 UPDATE t1_aux SET f1 = NULL;
532 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
533 UPDATE t1_aux SET f1 = 0.1234567890987654321e+43;
534 SELECT f1 INTO @v1_tab FROM t1_aux;
535 CALL sproc_1(0.1234567890987654321e+43, @v1_proc);
536 SET @v1_func = func_1(0.1234567890987654321e+43);
537 UPDATE t1_aux SET f1 = NULL;
538 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
539 UPDATE t1_aux SET f1 = 0.1234567890987654321e+42;
540 SELECT f1 INTO @v1_tab FROM t1_aux;
541 CALL sproc_1(0.1234567890987654321e+42, @v1_proc);
542 SET @v1_func = func_1(0.1234567890987654321e+42);
543 UPDATE t1_aux SET f1 = NULL;
544 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
545 UPDATE t1_aux SET f1 = 0.1234567890987654321e+41;
546 SELECT f1 INTO @v1_tab FROM t1_aux;
547 CALL sproc_1(0.1234567890987654321e+41, @v1_proc);
548 SET @v1_func = func_1(0.1234567890987654321e+41);
549 UPDATE t1_aux SET f1 = NULL;
550 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
551 UPDATE t1_aux SET f1 = 0.1234567890987654321e+40;
552 SELECT f1 INTO @v1_tab FROM t1_aux;
553 CALL sproc_1(0.1234567890987654321e+40, @v1_proc);
554 SET @v1_func = func_1(0.1234567890987654321e+40);
555 UPDATE t1_aux SET f1 = NULL;
556 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
557 UPDATE t1_aux SET f1 = 0.1234567890987654321e+39;
558 SELECT f1 INTO @v1_tab FROM t1_aux;
559 CALL sproc_1(0.1234567890987654321e+39, @v1_proc);
560 SET @v1_func = func_1(0.1234567890987654321e+39);
561 UPDATE t1_aux SET f1 = NULL;
562 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
563 UPDATE t1_aux SET f1 = 0.1234567890987654321e+38;
564 SELECT f1 INTO @v1_tab FROM t1_aux;
565 CALL sproc_1(0.1234567890987654321e+38, @v1_proc);
566 SET @v1_func = func_1(0.1234567890987654321e+38);
567 UPDATE t1_aux SET f1 = NULL;
568 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
569 UPDATE t1_aux SET f1 = 0.1234567890987654321e+37;
570 SELECT f1 INTO @v1_tab FROM t1_aux;
571 CALL sproc_1(0.1234567890987654321e+37, @v1_proc);
572 SET @v1_func = func_1(0.1234567890987654321e+37);
573 UPDATE t1_aux SET f1 = NULL;
574 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
575 UPDATE t1_aux SET f1 = 0.1234567890987654321e+36;
576 SELECT f1 INTO @v1_tab FROM t1_aux;
577 CALL sproc_1(0.1234567890987654321e+36, @v1_proc);
578 SET @v1_func = func_1(0.1234567890987654321e+36);
579 UPDATE t1_aux SET f1 = NULL;
580 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
581 UPDATE t1_aux SET f1 = 0.1234567890987654321e+35;
582 SELECT f1 INTO @v1_tab FROM t1_aux;
583 CALL sproc_1(0.1234567890987654321e+35, @v1_proc);
584 SET @v1_func = func_1(0.1234567890987654321e+35);
585 UPDATE t1_aux SET f1 = NULL;
586 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
587 UPDATE t1_aux SET f1 = 0.1234567890987654321e+34;
588 SELECT f1 INTO @v1_tab FROM t1_aux;
589 CALL sproc_1(0.1234567890987654321e+34, @v1_proc);
590 SET @v1_func = func_1(0.1234567890987654321e+34);
591 UPDATE t1_aux SET f1 = NULL;
592 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
593 UPDATE t1_aux SET f1 = 0.1234567890987654321e+33;
594 SELECT f1 INTO @v1_tab FROM t1_aux;
595 CALL sproc_1(0.1234567890987654321e+33, @v1_proc);
596 SET @v1_func = func_1(0.1234567890987654321e+33);
597 UPDATE t1_aux SET f1 = NULL;
598 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
599 UPDATE t1_aux SET f1 = 0.1234567890987654321e+32;
600 SELECT f1 INTO @v1_tab FROM t1_aux;
601 CALL sproc_1(0.1234567890987654321e+32, @v1_proc);
602 SET @v1_func = func_1(0.1234567890987654321e+32);
603 UPDATE t1_aux SET f1 = NULL;
604 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
605 UPDATE t1_aux SET f1 = 0.1234567890987654321e+31;
606 SELECT f1 INTO @v1_tab FROM t1_aux;
607 CALL sproc_1(0.1234567890987654321e+31, @v1_proc);
608 SET @v1_func = func_1(0.1234567890987654321e+31);
609 UPDATE t1_aux SET f1 = NULL;
610 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
611 UPDATE t1_aux SET f1 = 0.1234567890987654321e+30;
612 SELECT f1 INTO @v1_tab FROM t1_aux;
613 CALL sproc_1(0.1234567890987654321e+30, @v1_proc);
614 SET @v1_func = func_1(0.1234567890987654321e+30);
615 UPDATE t1_aux SET f1 = NULL;
616 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
617 UPDATE t1_aux SET f1 = 0.1234567890987654321e+29;
618 SELECT f1 INTO @v1_tab FROM t1_aux;
619 CALL sproc_1(0.1234567890987654321e+29, @v1_proc);
620 SET @v1_func = func_1(0.1234567890987654321e+29);
621 UPDATE t1_aux SET f1 = NULL;
622 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
623 UPDATE t1_aux SET f1 = 0.1234567890987654321e+28;
624 SELECT f1 INTO @v1_tab FROM t1_aux;
625 CALL sproc_1(0.1234567890987654321e+28, @v1_proc);
626 SET @v1_func = func_1(0.1234567890987654321e+28);
627 UPDATE t1_aux SET f1 = NULL;
628 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
629 UPDATE t1_aux SET f1 = 0.1234567890987654321e+27;
630 SELECT f1 INTO @v1_tab FROM t1_aux;
631 CALL sproc_1(0.1234567890987654321e+27, @v1_proc);
632 SET @v1_func = func_1(0.1234567890987654321e+27);
633 UPDATE t1_aux SET f1 = NULL;
634 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
635 UPDATE t1_aux SET f1 = 0.1234567890987654321e+26;
636 SELECT f1 INTO @v1_tab FROM t1_aux;
637 CALL sproc_1(0.1234567890987654321e+26, @v1_proc);
638 SET @v1_func = func_1(0.1234567890987654321e+26);
639 UPDATE t1_aux SET f1 = NULL;
640 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
641 UPDATE t1_aux SET f1 = 0.1234567890987654321e+25;
642 SELECT f1 INTO @v1_tab FROM t1_aux;
643 CALL sproc_1(0.1234567890987654321e+25, @v1_proc);
644 SET @v1_func = func_1(0.1234567890987654321e+25);
645 UPDATE t1_aux SET f1 = NULL;
646 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
647 UPDATE t1_aux SET f1 = 0.1234567890987654321e+24;
648 SELECT f1 INTO @v1_tab FROM t1_aux;
649 CALL sproc_1(0.1234567890987654321e+24, @v1_proc);
650 SET @v1_func = func_1(0.1234567890987654321e+24);
651 UPDATE t1_aux SET f1 = NULL;
652 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
653 UPDATE t1_aux SET f1 = 0.1234567890987654321e+23;
654 SELECT f1 INTO @v1_tab FROM t1_aux;
655 CALL sproc_1(0.1234567890987654321e+23, @v1_proc);
656 SET @v1_func = func_1(0.1234567890987654321e+23);
657 UPDATE t1_aux SET f1 = NULL;
658 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
659 UPDATE t1_aux SET f1 = 0.1234567890987654321e+22;
660 SELECT f1 INTO @v1_tab FROM t1_aux;
661 CALL sproc_1(0.1234567890987654321e+22, @v1_proc);
662 SET @v1_func = func_1(0.1234567890987654321e+22);
663 UPDATE t1_aux SET f1 = NULL;
664 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
665 UPDATE t1_aux SET f1 = 0.1234567890987654321e+21;
666 SELECT f1 INTO @v1_tab FROM t1_aux;
667 CALL sproc_1(0.1234567890987654321e+21, @v1_proc);
668 SET @v1_func = func_1(0.1234567890987654321e+21);
669 UPDATE t1_aux SET f1 = NULL;
670 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
671 UPDATE t1_aux SET f1 = 0.1234567890987654321e+20;
672 SELECT f1 INTO @v1_tab FROM t1_aux;
673 CALL sproc_1(0.1234567890987654321e+20, @v1_proc);
674 SET @v1_func = func_1(0.1234567890987654321e+20);
675 UPDATE t1_aux SET f1 = NULL;
676 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
677 UPDATE t1_aux SET f1 = 0.1234567890987654321e+19;
678 SELECT f1 INTO @v1_tab FROM t1_aux;
679 CALL sproc_1(0.1234567890987654321e+19, @v1_proc);
680 SET @v1_func = func_1(0.1234567890987654321e+19);
681 UPDATE t1_aux SET f1 = NULL;
682 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
683 UPDATE t1_aux SET f1 = 0.1234567890987654321e+18;
684 SELECT f1 INTO @v1_tab FROM t1_aux;
685 CALL sproc_1(0.1234567890987654321e+18, @v1_proc);
686 SET @v1_func = func_1(0.1234567890987654321e+18);
687 UPDATE t1_aux SET f1 = NULL;
688 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
689 UPDATE t1_aux SET f1 = 0.1234567890987654321e+17;
690 SELECT f1 INTO @v1_tab FROM t1_aux;
691 CALL sproc_1(0.1234567890987654321e+17, @v1_proc);
692 SET @v1_func = func_1(0.1234567890987654321e+17);
693 UPDATE t1_aux SET f1 = NULL;
694 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
695 UPDATE t1_aux SET f1 = 0.1234567890987654321e+16;
696 SELECT f1 INTO @v1_tab FROM t1_aux;
697 CALL sproc_1(0.1234567890987654321e+16, @v1_proc);
698 SET @v1_func = func_1(0.1234567890987654321e+16);
699 UPDATE t1_aux SET f1 = NULL;
700 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
701 UPDATE t1_aux SET f1 = 0.1234567890987654321e+15;
702 SELECT f1 INTO @v1_tab FROM t1_aux;
703 CALL sproc_1(0.1234567890987654321e+15, @v1_proc);
704 SET @v1_func = func_1(0.1234567890987654321e+15);
705 UPDATE t1_aux SET f1 = NULL;
706 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
707 UPDATE t1_aux SET f1 = 0.1234567890987654321e+14;
708 SELECT f1 INTO @v1_tab FROM t1_aux;
709 CALL sproc_1(0.1234567890987654321e+14, @v1_proc);
710 SET @v1_func = func_1(0.1234567890987654321e+14);
711 UPDATE t1_aux SET f1 = NULL;
712 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
713 UPDATE t1_aux SET f1 = 0.1234567890987654321e+13;
714 SELECT f1 INTO @v1_tab FROM t1_aux;
715 CALL sproc_1(0.1234567890987654321e+13, @v1_proc);
716 SET @v1_func = func_1(0.1234567890987654321e+13);
717 UPDATE t1_aux SET f1 = NULL;
718 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
719 UPDATE t1_aux SET f1 = 0.1234567890987654321e+12;
720 SELECT f1 INTO @v1_tab FROM t1_aux;
721 CALL sproc_1(0.1234567890987654321e+12, @v1_proc);
722 SET @v1_func = func_1(0.1234567890987654321e+12);
723 UPDATE t1_aux SET f1 = NULL;
724 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
725 UPDATE t1_aux SET f1 = 0.1234567890987654321e+11;
726 SELECT f1 INTO @v1_tab FROM t1_aux;
727 CALL sproc_1(0.1234567890987654321e+11, @v1_proc);
728 SET @v1_func = func_1(0.1234567890987654321e+11);
729 UPDATE t1_aux SET f1 = NULL;
730 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
731 UPDATE t1_aux SET f1 = 0.1234567890987654321e+10;
732 SELECT f1 INTO @v1_tab FROM t1_aux;
733 CALL sproc_1(0.1234567890987654321e+10, @v1_proc);
734 SET @v1_func = func_1(0.1234567890987654321e+10);
735 UPDATE t1_aux SET f1 = NULL;
736 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
737 UPDATE t1_aux SET f1 = 0.1234567890987654321e+9;
738 SELECT f1 INTO @v1_tab FROM t1_aux;
739 CALL sproc_1(0.1234567890987654321e+9, @v1_proc);
740 SET @v1_func = func_1(0.1234567890987654321e+9);
741 UPDATE t1_aux SET f1 = NULL;
742 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
743 UPDATE t1_aux SET f1 = 0.1234567890987654321e+8;
744 SELECT f1 INTO @v1_tab FROM t1_aux;
745 CALL sproc_1(0.1234567890987654321e+8, @v1_proc);
746 SET @v1_func = func_1(0.1234567890987654321e+8);
747 UPDATE t1_aux SET f1 = NULL;
748 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
749 UPDATE t1_aux SET f1 = 0.1234567890987654321e+7;
750 SELECT f1 INTO @v1_tab FROM t1_aux;
751 CALL sproc_1(0.1234567890987654321e+7, @v1_proc);
752 SET @v1_func = func_1(0.1234567890987654321e+7);
753 UPDATE t1_aux SET f1 = NULL;
754 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
755 UPDATE t1_aux SET f1 = 0.1234567890987654321e+6;
756 SELECT f1 INTO @v1_tab FROM t1_aux;
757 CALL sproc_1(0.1234567890987654321e+6, @v1_proc);
758 SET @v1_func = func_1(0.1234567890987654321e+6);
759 UPDATE t1_aux SET f1 = NULL;
760 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
761 UPDATE t1_aux SET f1 = 0.1234567890987654321e+5;
762 SELECT f1 INTO @v1_tab FROM t1_aux;
763 CALL sproc_1(0.1234567890987654321e+5, @v1_proc);
764 SET @v1_func = func_1(0.1234567890987654321e+5);
765 UPDATE t1_aux SET f1 = NULL;
766 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
767 UPDATE t1_aux SET f1 = 0.1234567890987654321e+4;
768 SELECT f1 INTO @v1_tab FROM t1_aux;
769 CALL sproc_1(0.1234567890987654321e+4, @v1_proc);
770 SET @v1_func = func_1(0.1234567890987654321e+4);
771 UPDATE t1_aux SET f1 = NULL;
772 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
773 UPDATE t1_aux SET f1 = 0.1234567890987654321e+3;
774 SELECT f1 INTO @v1_tab FROM t1_aux;
775 CALL sproc_1(0.1234567890987654321e+3, @v1_proc);
776 SET @v1_func = func_1(0.1234567890987654321e+3);
777 UPDATE t1_aux SET f1 = NULL;
778 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
779 UPDATE t1_aux SET f1 = 0.1234567890987654321e+2;
780 SELECT f1 INTO @v1_tab FROM t1_aux;
781 CALL sproc_1(0.1234567890987654321e+2, @v1_proc);
782 SET @v1_func = func_1(0.1234567890987654321e+2);
783 UPDATE t1_aux SET f1 = NULL;
784 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
785 UPDATE t1_aux SET f1 = 0.1234567890987654321e+1;
786 SELECT f1 INTO @v1_tab FROM t1_aux;
787 CALL sproc_1(0.1234567890987654321e+1, @v1_proc);
788 SET @v1_func = func_1(0.1234567890987654321e+1);
789 UPDATE t1_aux SET f1 = NULL;
790 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
791 UPDATE t1_aux SET f1 = 0.1234567890987654321e+0;
792 SELECT f1 INTO @v1_tab FROM t1_aux;
793 CALL sproc_1(0.1234567890987654321e+0, @v1_proc);
794 SET @v1_func = func_1(0.1234567890987654321e+0);
795 UPDATE t1_aux SET f1 = NULL;
796 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
797 UPDATE t1_aux SET f1 = 0.1234567890987654321e-100;
798 SELECT f1 INTO @v1_tab FROM t1_aux;
799 CALL sproc_1(0.1234567890987654321e-100, @v1_proc);
800 SET @v1_func = func_1(0.1234567890987654321e-100);
801 UPDATE t1_aux SET f1 = NULL;
802 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
803 UPDATE t1_aux SET f1 = 0.1234567890987654321e-99;
804 SELECT f1 INTO @v1_tab FROM t1_aux;
805 CALL sproc_1(0.1234567890987654321e-99, @v1_proc);
806 SET @v1_func = func_1(0.1234567890987654321e-99);
807 UPDATE t1_aux SET f1 = NULL;
808 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
809 UPDATE t1_aux SET f1 = 0.1234567890987654321e-98;
810 SELECT f1 INTO @v1_tab FROM t1_aux;
811 CALL sproc_1(0.1234567890987654321e-98, @v1_proc);
812 SET @v1_func = func_1(0.1234567890987654321e-98);
813 UPDATE t1_aux SET f1 = NULL;
814 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
815 UPDATE t1_aux SET f1 = 0.1234567890987654321e-97;
816 SELECT f1 INTO @v1_tab FROM t1_aux;
817 CALL sproc_1(0.1234567890987654321e-97, @v1_proc);
818 SET @v1_func = func_1(0.1234567890987654321e-97);
819 UPDATE t1_aux SET f1 = NULL;
820 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
821 UPDATE t1_aux SET f1 = 0.1234567890987654321e-96;
822 SELECT f1 INTO @v1_tab FROM t1_aux;
823 CALL sproc_1(0.1234567890987654321e-96, @v1_proc);
824 SET @v1_func = func_1(0.1234567890987654321e-96);
825 UPDATE t1_aux SET f1 = NULL;
826 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
827 UPDATE t1_aux SET f1 = 0.1234567890987654321e-95;
828 SELECT f1 INTO @v1_tab FROM t1_aux;
829 CALL sproc_1(0.1234567890987654321e-95, @v1_proc);
830 SET @v1_func = func_1(0.1234567890987654321e-95);
831 UPDATE t1_aux SET f1 = NULL;
832 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
833 UPDATE t1_aux SET f1 = 0.1234567890987654321e-94;
834 SELECT f1 INTO @v1_tab FROM t1_aux;
835 CALL sproc_1(0.1234567890987654321e-94, @v1_proc);
836 SET @v1_func = func_1(0.1234567890987654321e-94);
837 UPDATE t1_aux SET f1 = NULL;
838 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
839 UPDATE t1_aux SET f1 = 0.1234567890987654321e-93;
840 SELECT f1 INTO @v1_tab FROM t1_aux;
841 CALL sproc_1(0.1234567890987654321e-93, @v1_proc);
842 SET @v1_func = func_1(0.1234567890987654321e-93);
843 UPDATE t1_aux SET f1 = NULL;
844 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
845 UPDATE t1_aux SET f1 = 0.1234567890987654321e-92;
846 SELECT f1 INTO @v1_tab FROM t1_aux;
847 CALL sproc_1(0.1234567890987654321e-92, @v1_proc);
848 SET @v1_func = func_1(0.1234567890987654321e-92);
849 UPDATE t1_aux SET f1 = NULL;
850 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
851 UPDATE t1_aux SET f1 = 0.1234567890987654321e-91;
852 SELECT f1 INTO @v1_tab FROM t1_aux;
853 CALL sproc_1(0.1234567890987654321e-91, @v1_proc);
854 SET @v1_func = func_1(0.1234567890987654321e-91);
855 UPDATE t1_aux SET f1 = NULL;
856 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
857 UPDATE t1_aux SET f1 = 0.1234567890987654321e-90;
858 SELECT f1 INTO @v1_tab FROM t1_aux;
859 CALL sproc_1(0.1234567890987654321e-90, @v1_proc);
860 SET @v1_func = func_1(0.1234567890987654321e-90);
861 UPDATE t1_aux SET f1 = NULL;
862 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
863 UPDATE t1_aux SET f1 = 0.1234567890987654321e-89;
864 SELECT f1 INTO @v1_tab FROM t1_aux;
865 CALL sproc_1(0.1234567890987654321e-89, @v1_proc);
866 SET @v1_func = func_1(0.1234567890987654321e-89);
867 UPDATE t1_aux SET f1 = NULL;
868 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
869 UPDATE t1_aux SET f1 = 0.1234567890987654321e-88;
870 SELECT f1 INTO @v1_tab FROM t1_aux;
871 CALL sproc_1(0.1234567890987654321e-88, @v1_proc);
872 SET @v1_func = func_1(0.1234567890987654321e-88);
873 UPDATE t1_aux SET f1 = NULL;
874 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
875 UPDATE t1_aux SET f1 = 0.1234567890987654321e-87;
876 SELECT f1 INTO @v1_tab FROM t1_aux;
877 CALL sproc_1(0.1234567890987654321e-87, @v1_proc);
878 SET @v1_func = func_1(0.1234567890987654321e-87);
879 UPDATE t1_aux SET f1 = NULL;
880 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
881 UPDATE t1_aux SET f1 = 0.1234567890987654321e-86;
882 SELECT f1 INTO @v1_tab FROM t1_aux;
883 CALL sproc_1(0.1234567890987654321e-86, @v1_proc);
884 SET @v1_func = func_1(0.1234567890987654321e-86);
885 UPDATE t1_aux SET f1 = NULL;
886 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
887 UPDATE t1_aux SET f1 = 0.1234567890987654321e-85;
888 SELECT f1 INTO @v1_tab FROM t1_aux;
889 CALL sproc_1(0.1234567890987654321e-85, @v1_proc);
890 SET @v1_func = func_1(0.1234567890987654321e-85);
891 UPDATE t1_aux SET f1 = NULL;
892 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
893 UPDATE t1_aux SET f1 = 0.1234567890987654321e-84;
894 SELECT f1 INTO @v1_tab FROM t1_aux;
895 CALL sproc_1(0.1234567890987654321e-84, @v1_proc);
896 SET @v1_func = func_1(0.1234567890987654321e-84);
897 UPDATE t1_aux SET f1 = NULL;
898 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
899 UPDATE t1_aux SET f1 = 0.1234567890987654321e-83;
900 SELECT f1 INTO @v1_tab FROM t1_aux;
901 CALL sproc_1(0.1234567890987654321e-83, @v1_proc);
902 SET @v1_func = func_1(0.1234567890987654321e-83);
903 UPDATE t1_aux SET f1 = NULL;
904 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
905 UPDATE t1_aux SET f1 = 0.1234567890987654321e-82;
906 SELECT f1 INTO @v1_tab FROM t1_aux;
907 CALL sproc_1(0.1234567890987654321e-82, @v1_proc);
908 SET @v1_func = func_1(0.1234567890987654321e-82);
909 UPDATE t1_aux SET f1 = NULL;
910 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
911 UPDATE t1_aux SET f1 = 0.1234567890987654321e-81;
912 SELECT f1 INTO @v1_tab FROM t1_aux;
913 CALL sproc_1(0.1234567890987654321e-81, @v1_proc);
914 SET @v1_func = func_1(0.1234567890987654321e-81);
915 UPDATE t1_aux SET f1 = NULL;
916 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
917 UPDATE t1_aux SET f1 = 0.1234567890987654321e-80;
918 SELECT f1 INTO @v1_tab FROM t1_aux;
919 CALL sproc_1(0.1234567890987654321e-80, @v1_proc);
920 SET @v1_func = func_1(0.1234567890987654321e-80);
921 UPDATE t1_aux SET f1 = NULL;
922 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
923 UPDATE t1_aux SET f1 = 0.1234567890987654321e-79;
924 SELECT f1 INTO @v1_tab FROM t1_aux;
925 CALL sproc_1(0.1234567890987654321e-79, @v1_proc);
926 SET @v1_func = func_1(0.1234567890987654321e-79);
927 UPDATE t1_aux SET f1 = NULL;
928 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
929 UPDATE t1_aux SET f1 = 0.1234567890987654321e-78;
930 SELECT f1 INTO @v1_tab FROM t1_aux;
931 CALL sproc_1(0.1234567890987654321e-78, @v1_proc);
932 SET @v1_func = func_1(0.1234567890987654321e-78);
933 UPDATE t1_aux SET f1 = NULL;
934 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
935 UPDATE t1_aux SET f1 = 0.1234567890987654321e-77;
936 SELECT f1 INTO @v1_tab FROM t1_aux;
937 CALL sproc_1(0.1234567890987654321e-77, @v1_proc);
938 SET @v1_func = func_1(0.1234567890987654321e-77);
939 UPDATE t1_aux SET f1 = NULL;
940 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
941 UPDATE t1_aux SET f1 = 0.1234567890987654321e-76;
942 SELECT f1 INTO @v1_tab FROM t1_aux;
943 CALL sproc_1(0.1234567890987654321e-76, @v1_proc);
944 SET @v1_func = func_1(0.1234567890987654321e-76);
945 UPDATE t1_aux SET f1 = NULL;
946 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
947 UPDATE t1_aux SET f1 = 0.1234567890987654321e-75;
948 SELECT f1 INTO @v1_tab FROM t1_aux;
949 CALL sproc_1(0.1234567890987654321e-75, @v1_proc);
950 SET @v1_func = func_1(0.1234567890987654321e-75);
951 UPDATE t1_aux SET f1 = NULL;
952 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
953 UPDATE t1_aux SET f1 = 0.1234567890987654321e-74;
954 SELECT f1 INTO @v1_tab FROM t1_aux;
955 CALL sproc_1(0.1234567890987654321e-74, @v1_proc);
956 SET @v1_func = func_1(0.1234567890987654321e-74);
957 UPDATE t1_aux SET f1 = NULL;
958 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
959 UPDATE t1_aux SET f1 = 0.1234567890987654321e-73;
960 SELECT f1 INTO @v1_tab FROM t1_aux;
961 CALL sproc_1(0.1234567890987654321e-73, @v1_proc);
962 SET @v1_func = func_1(0.1234567890987654321e-73);
963 UPDATE t1_aux SET f1 = NULL;
964 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
965 UPDATE t1_aux SET f1 = 0.1234567890987654321e-72;
966 SELECT f1 INTO @v1_tab FROM t1_aux;
967 CALL sproc_1(0.1234567890987654321e-72, @v1_proc);
968 SET @v1_func = func_1(0.1234567890987654321e-72);
969 UPDATE t1_aux SET f1 = NULL;
970 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
971 UPDATE t1_aux SET f1 = 0.1234567890987654321e-71;
972 SELECT f1 INTO @v1_tab FROM t1_aux;
973 CALL sproc_1(0.1234567890987654321e-71, @v1_proc);
974 SET @v1_func = func_1(0.1234567890987654321e-71);
975 UPDATE t1_aux SET f1 = NULL;
976 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
977 UPDATE t1_aux SET f1 = 0.1234567890987654321e-70;
978 SELECT f1 INTO @v1_tab FROM t1_aux;
979 CALL sproc_1(0.1234567890987654321e-70, @v1_proc);
980 SET @v1_func = func_1(0.1234567890987654321e-70);
981 UPDATE t1_aux SET f1 = NULL;
982 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
983 UPDATE t1_aux SET f1 = 0.1234567890987654321e-69;
984 SELECT f1 INTO @v1_tab FROM t1_aux;
985 CALL sproc_1(0.1234567890987654321e-69, @v1_proc);
986 SET @v1_func = func_1(0.1234567890987654321e-69);
987 UPDATE t1_aux SET f1 = NULL;
988 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
989 UPDATE t1_aux SET f1 = 0.1234567890987654321e-68;
990 SELECT f1 INTO @v1_tab FROM t1_aux;
991 CALL sproc_1(0.1234567890987654321e-68, @v1_proc);
992 SET @v1_func = func_1(0.1234567890987654321e-68);
993 UPDATE t1_aux SET f1 = NULL;
994 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
995 UPDATE t1_aux SET f1 = 0.1234567890987654321e-67;
996 SELECT f1 INTO @v1_tab FROM t1_aux;
997 CALL sproc_1(0.1234567890987654321e-67, @v1_proc);
998 SET @v1_func = func_1(0.1234567890987654321e-67);
999 UPDATE t1_aux SET f1 = NULL;
1000 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1001 UPDATE t1_aux SET f1 = 0.1234567890987654321e-66;
1002 SELECT f1 INTO @v1_tab FROM t1_aux;
1003 CALL sproc_1(0.1234567890987654321e-66, @v1_proc);
1004 SET @v1_func = func_1(0.1234567890987654321e-66);
1005 UPDATE t1_aux SET f1 = NULL;
1006 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1007 UPDATE t1_aux SET f1 = 0.1234567890987654321e-65;
1008 SELECT f1 INTO @v1_tab FROM t1_aux;
1009 CALL sproc_1(0.1234567890987654321e-65, @v1_proc);
1010 SET @v1_func = func_1(0.1234567890987654321e-65);
1011 UPDATE t1_aux SET f1 = NULL;
1012 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1013 UPDATE t1_aux SET f1 = 0.1234567890987654321e-64;
1014 SELECT f1 INTO @v1_tab FROM t1_aux;
1015 CALL sproc_1(0.1234567890987654321e-64, @v1_proc);
1016 SET @v1_func = func_1(0.1234567890987654321e-64);
1017 UPDATE t1_aux SET f1 = NULL;
1018 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1019 UPDATE t1_aux SET f1 = 0.1234567890987654321e-63;
1020 SELECT f1 INTO @v1_tab FROM t1_aux;
1021 CALL sproc_1(0.1234567890987654321e-63, @v1_proc);
1022 SET @v1_func = func_1(0.1234567890987654321e-63);
1023 UPDATE t1_aux SET f1 = NULL;
1024 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1025 UPDATE t1_aux SET f1 = 0.1234567890987654321e-62;
1026 SELECT f1 INTO @v1_tab FROM t1_aux;
1027 CALL sproc_1(0.1234567890987654321e-62, @v1_proc);
1028 SET @v1_func = func_1(0.1234567890987654321e-62);
1029 UPDATE t1_aux SET f1 = NULL;
1030 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1031 UPDATE t1_aux SET f1 = 0.1234567890987654321e-61;
1032 SELECT f1 INTO @v1_tab FROM t1_aux;
1033 CALL sproc_1(0.1234567890987654321e-61, @v1_proc);
1034 SET @v1_func = func_1(0.1234567890987654321e-61);
1035 UPDATE t1_aux SET f1 = NULL;
1036 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1037 UPDATE t1_aux SET f1 = 0.1234567890987654321e-60;
1038 SELECT f1 INTO @v1_tab FROM t1_aux;
1039 CALL sproc_1(0.1234567890987654321e-60, @v1_proc);
1040 SET @v1_func = func_1(0.1234567890987654321e-60);
1041 UPDATE t1_aux SET f1 = NULL;
1042 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1043 UPDATE t1_aux SET f1 = 0.1234567890987654321e-59;
1044 SELECT f1 INTO @v1_tab FROM t1_aux;
1045 CALL sproc_1(0.1234567890987654321e-59, @v1_proc);
1046 SET @v1_func = func_1(0.1234567890987654321e-59);
1047 UPDATE t1_aux SET f1 = NULL;
1048 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1049 UPDATE t1_aux SET f1 = 0.1234567890987654321e-58;
1050 SELECT f1 INTO @v1_tab FROM t1_aux;
1051 CALL sproc_1(0.1234567890987654321e-58, @v1_proc);
1052 SET @v1_func = func_1(0.1234567890987654321e-58);
1053 UPDATE t1_aux SET f1 = NULL;
1054 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1055 UPDATE t1_aux SET f1 = 0.1234567890987654321e-57;
1056 SELECT f1 INTO @v1_tab FROM t1_aux;
1057 CALL sproc_1(0.1234567890987654321e-57, @v1_proc);
1058 SET @v1_func = func_1(0.1234567890987654321e-57);
1059 UPDATE t1_aux SET f1 = NULL;
1060 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1061 UPDATE t1_aux SET f1 = 0.1234567890987654321e-56;
1062 SELECT f1 INTO @v1_tab FROM t1_aux;
1063 CALL sproc_1(0.1234567890987654321e-56, @v1_proc);
1064 SET @v1_func = func_1(0.1234567890987654321e-56);
1065 UPDATE t1_aux SET f1 = NULL;
1066 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1067 UPDATE t1_aux SET f1 = 0.1234567890987654321e-55;
1068 SELECT f1 INTO @v1_tab FROM t1_aux;
1069 CALL sproc_1(0.1234567890987654321e-55, @v1_proc);
1070 SET @v1_func = func_1(0.1234567890987654321e-55);
1071 UPDATE t1_aux SET f1 = NULL;
1072 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1073 UPDATE t1_aux SET f1 = 0.1234567890987654321e-54;
1074 SELECT f1 INTO @v1_tab FROM t1_aux;
1075 CALL sproc_1(0.1234567890987654321e-54, @v1_proc);
1076 SET @v1_func = func_1(0.1234567890987654321e-54);
1077 UPDATE t1_aux SET f1 = NULL;
1078 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1079 UPDATE t1_aux SET f1 = 0.1234567890987654321e-53;
1080 SELECT f1 INTO @v1_tab FROM t1_aux;
1081 CALL sproc_1(0.1234567890987654321e-53, @v1_proc);
1082 SET @v1_func = func_1(0.1234567890987654321e-53);
1083 UPDATE t1_aux SET f1 = NULL;
1084 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1085 UPDATE t1_aux SET f1 = 0.1234567890987654321e-52;
1086 SELECT f1 INTO @v1_tab FROM t1_aux;
1087 CALL sproc_1(0.1234567890987654321e-52, @v1_proc);
1088 SET @v1_func = func_1(0.1234567890987654321e-52);
1089 UPDATE t1_aux SET f1 = NULL;
1090 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1091 UPDATE t1_aux SET f1 = 0.1234567890987654321e-51;
1092 SELECT f1 INTO @v1_tab FROM t1_aux;
1093 CALL sproc_1(0.1234567890987654321e-51, @v1_proc);
1094 SET @v1_func = func_1(0.1234567890987654321e-51);
1095 UPDATE t1_aux SET f1 = NULL;
1096 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1097 UPDATE t1_aux SET f1 = 0.1234567890987654321e-50;
1098 SELECT f1 INTO @v1_tab FROM t1_aux;
1099 CALL sproc_1(0.1234567890987654321e-50, @v1_proc);
1100 SET @v1_func = func_1(0.1234567890987654321e-50);
1101 UPDATE t1_aux SET f1 = NULL;
1102 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1103 UPDATE t1_aux SET f1 = 0.1234567890987654321e-49;
1104 SELECT f1 INTO @v1_tab FROM t1_aux;
1105 CALL sproc_1(0.1234567890987654321e-49, @v1_proc);
1106 SET @v1_func = func_1(0.1234567890987654321e-49);
1107 UPDATE t1_aux SET f1 = NULL;
1108 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1109 UPDATE t1_aux SET f1 = 0.1234567890987654321e-48;
1110 SELECT f1 INTO @v1_tab FROM t1_aux;
1111 CALL sproc_1(0.1234567890987654321e-48, @v1_proc);
1112 SET @v1_func = func_1(0.1234567890987654321e-48);
1113 UPDATE t1_aux SET f1 = NULL;
1114 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1115 UPDATE t1_aux SET f1 = 0.1234567890987654321e-47;
1116 SELECT f1 INTO @v1_tab FROM t1_aux;
1117 CALL sproc_1(0.1234567890987654321e-47, @v1_proc);
1118 SET @v1_func = func_1(0.1234567890987654321e-47);
1119 UPDATE t1_aux SET f1 = NULL;
1120 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1121 UPDATE t1_aux SET f1 = 0.1234567890987654321e-46;
1122 SELECT f1 INTO @v1_tab FROM t1_aux;
1123 CALL sproc_1(0.1234567890987654321e-46, @v1_proc);
1124 SET @v1_func = func_1(0.1234567890987654321e-46);
1125 UPDATE t1_aux SET f1 = NULL;
1126 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1127 UPDATE t1_aux SET f1 = 0.1234567890987654321e-45;
1128 SELECT f1 INTO @v1_tab FROM t1_aux;
1129 CALL sproc_1(0.1234567890987654321e-45, @v1_proc);
1130 SET @v1_func = func_1(0.1234567890987654321e-45);
1131 UPDATE t1_aux SET f1 = NULL;
1132 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1133 UPDATE t1_aux SET f1 = 0.1234567890987654321e-44;
1134 SELECT f1 INTO @v1_tab FROM t1_aux;
1135 CALL sproc_1(0.1234567890987654321e-44, @v1_proc);
1136 SET @v1_func = func_1(0.1234567890987654321e-44);
1137 UPDATE t1_aux SET f1 = NULL;
1138 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1139 UPDATE t1_aux SET f1 = 0.1234567890987654321e-43;
1140 SELECT f1 INTO @v1_tab FROM t1_aux;
1141 CALL sproc_1(0.1234567890987654321e-43, @v1_proc);
1142 SET @v1_func = func_1(0.1234567890987654321e-43);
1143 UPDATE t1_aux SET f1 = NULL;
1144 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1145 UPDATE t1_aux SET f1 = 0.1234567890987654321e-42;
1146 SELECT f1 INTO @v1_tab FROM t1_aux;
1147 CALL sproc_1(0.1234567890987654321e-42, @v1_proc);
1148 SET @v1_func = func_1(0.1234567890987654321e-42);
1149 UPDATE t1_aux SET f1 = NULL;
1150 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1151 UPDATE t1_aux SET f1 = 0.1234567890987654321e-41;
1152 SELECT f1 INTO @v1_tab FROM t1_aux;
1153 CALL sproc_1(0.1234567890987654321e-41, @v1_proc);
1154 SET @v1_func = func_1(0.1234567890987654321e-41);
1155 UPDATE t1_aux SET f1 = NULL;
1156 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1157 UPDATE t1_aux SET f1 = 0.1234567890987654321e-40;
1158 SELECT f1 INTO @v1_tab FROM t1_aux;
1159 CALL sproc_1(0.1234567890987654321e-40, @v1_proc);
1160 SET @v1_func = func_1(0.1234567890987654321e-40);
1161 UPDATE t1_aux SET f1 = NULL;
1162 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1163 UPDATE t1_aux SET f1 = 0.1234567890987654321e-39;
1164 SELECT f1 INTO @v1_tab FROM t1_aux;
1165 CALL sproc_1(0.1234567890987654321e-39, @v1_proc);
1166 SET @v1_func = func_1(0.1234567890987654321e-39);
1167 UPDATE t1_aux SET f1 = NULL;
1168 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1169 UPDATE t1_aux SET f1 = 0.1234567890987654321e-38;
1170 SELECT f1 INTO @v1_tab FROM t1_aux;
1171 CALL sproc_1(0.1234567890987654321e-38, @v1_proc);
1172 SET @v1_func = func_1(0.1234567890987654321e-38);
1173 UPDATE t1_aux SET f1 = NULL;
1174 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1175 UPDATE t1_aux SET f1 = 0.1234567890987654321e-37;
1176 SELECT f1 INTO @v1_tab FROM t1_aux;
1177 CALL sproc_1(0.1234567890987654321e-37, @v1_proc);
1178 SET @v1_func = func_1(0.1234567890987654321e-37);
1179 UPDATE t1_aux SET f1 = NULL;
1180 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1181 UPDATE t1_aux SET f1 = 0.1234567890987654321e-36;
1182 SELECT f1 INTO @v1_tab FROM t1_aux;
1183 CALL sproc_1(0.1234567890987654321e-36, @v1_proc);
1184 SET @v1_func = func_1(0.1234567890987654321e-36);
1185 UPDATE t1_aux SET f1 = NULL;
1186 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1187 UPDATE t1_aux SET f1 = 0.1234567890987654321e-35;
1188 SELECT f1 INTO @v1_tab FROM t1_aux;
1189 CALL sproc_1(0.1234567890987654321e-35, @v1_proc);
1190 SET @v1_func = func_1(0.1234567890987654321e-35);
1191 UPDATE t1_aux SET f1 = NULL;
1192 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1193 UPDATE t1_aux SET f1 = 0.1234567890987654321e-34;
1194 SELECT f1 INTO @v1_tab FROM t1_aux;
1195 CALL sproc_1(0.1234567890987654321e-34, @v1_proc);
1196 SET @v1_func = func_1(0.1234567890987654321e-34);
1197 UPDATE t1_aux SET f1 = NULL;
1198 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1199 UPDATE t1_aux SET f1 = 0.1234567890987654321e-33;
1200 SELECT f1 INTO @v1_tab FROM t1_aux;
1201 CALL sproc_1(0.1234567890987654321e-33, @v1_proc);
1202 SET @v1_func = func_1(0.1234567890987654321e-33);
1203 UPDATE t1_aux SET f1 = NULL;
1204 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1205 UPDATE t1_aux SET f1 = 0.1234567890987654321e-32;
1206 SELECT f1 INTO @v1_tab FROM t1_aux;
1207 CALL sproc_1(0.1234567890987654321e-32, @v1_proc);
1208 SET @v1_func = func_1(0.1234567890987654321e-32);
1209 UPDATE t1_aux SET f1 = NULL;
1210 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1211 UPDATE t1_aux SET f1 = 0.1234567890987654321e-31;
1212 SELECT f1 INTO @v1_tab FROM t1_aux;
1213 CALL sproc_1(0.1234567890987654321e-31, @v1_proc);
1214 SET @v1_func = func_1(0.1234567890987654321e-31);
1215 UPDATE t1_aux SET f1 = NULL;
1216 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1217 UPDATE t1_aux SET f1 = 0.1234567890987654321e-30;
1218 SELECT f1 INTO @v1_tab FROM t1_aux;
1219 CALL sproc_1(0.1234567890987654321e-30, @v1_proc);
1220 SET @v1_func = func_1(0.1234567890987654321e-30);
1221 UPDATE t1_aux SET f1 = NULL;
1222 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1223 UPDATE t1_aux SET f1 = 0.1234567890987654321e-29;
1224 SELECT f1 INTO @v1_tab FROM t1_aux;
1225 CALL sproc_1(0.1234567890987654321e-29, @v1_proc);
1226 SET @v1_func = func_1(0.1234567890987654321e-29);
1227 UPDATE t1_aux SET f1 = NULL;
1228 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1229 UPDATE t1_aux SET f1 = 0.1234567890987654321e-28;
1230 SELECT f1 INTO @v1_tab FROM t1_aux;
1231 CALL sproc_1(0.1234567890987654321e-28, @v1_proc);
1232 SET @v1_func = func_1(0.1234567890987654321e-28);
1233 UPDATE t1_aux SET f1 = NULL;
1234 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1235 UPDATE t1_aux SET f1 = 0.1234567890987654321e-27;
1236 SELECT f1 INTO @v1_tab FROM t1_aux;
1237 CALL sproc_1(0.1234567890987654321e-27, @v1_proc);
1238 SET @v1_func = func_1(0.1234567890987654321e-27);
1239 UPDATE t1_aux SET f1 = NULL;
1240 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1241 UPDATE t1_aux SET f1 = 0.1234567890987654321e-26;
1242 SELECT f1 INTO @v1_tab FROM t1_aux;
1243 CALL sproc_1(0.1234567890987654321e-26, @v1_proc);
1244 SET @v1_func = func_1(0.1234567890987654321e-26);
1245 UPDATE t1_aux SET f1 = NULL;
1246 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1247 UPDATE t1_aux SET f1 = 0.1234567890987654321e-25;
1248 SELECT f1 INTO @v1_tab FROM t1_aux;
1249 CALL sproc_1(0.1234567890987654321e-25, @v1_proc);
1250 SET @v1_func = func_1(0.1234567890987654321e-25);
1251 UPDATE t1_aux SET f1 = NULL;
1252 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1253 UPDATE t1_aux SET f1 = 0.1234567890987654321e-24;
1254 SELECT f1 INTO @v1_tab FROM t1_aux;
1255 CALL sproc_1(0.1234567890987654321e-24, @v1_proc);
1256 SET @v1_func = func_1(0.1234567890987654321e-24);
1257 UPDATE t1_aux SET f1 = NULL;
1258 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1259 UPDATE t1_aux SET f1 = 0.1234567890987654321e-23;
1260 SELECT f1 INTO @v1_tab FROM t1_aux;
1261 CALL sproc_1(0.1234567890987654321e-23, @v1_proc);
1262 SET @v1_func = func_1(0.1234567890987654321e-23);
1263 UPDATE t1_aux SET f1 = NULL;
1264 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1265 UPDATE t1_aux SET f1 = 0.1234567890987654321e-22;
1266 SELECT f1 INTO @v1_tab FROM t1_aux;
1267 CALL sproc_1(0.1234567890987654321e-22, @v1_proc);
1268 SET @v1_func = func_1(0.1234567890987654321e-22);
1269 UPDATE t1_aux SET f1 = NULL;
1270 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1271 UPDATE t1_aux SET f1 = 0.1234567890987654321e-21;
1272 SELECT f1 INTO @v1_tab FROM t1_aux;
1273 CALL sproc_1(0.1234567890987654321e-21, @v1_proc);
1274 SET @v1_func = func_1(0.1234567890987654321e-21);
1275 UPDATE t1_aux SET f1 = NULL;
1276 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1277 UPDATE t1_aux SET f1 = 0.1234567890987654321e-20;
1278 SELECT f1 INTO @v1_tab FROM t1_aux;
1279 CALL sproc_1(0.1234567890987654321e-20, @v1_proc);
1280 SET @v1_func = func_1(0.1234567890987654321e-20);
1281 UPDATE t1_aux SET f1 = NULL;
1282 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1283 UPDATE t1_aux SET f1 = 0.1234567890987654321e-19;
1284 SELECT f1 INTO @v1_tab FROM t1_aux;
1285 CALL sproc_1(0.1234567890987654321e-19, @v1_proc);
1286 SET @v1_func = func_1(0.1234567890987654321e-19);
1287 UPDATE t1_aux SET f1 = NULL;
1288 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1289 UPDATE t1_aux SET f1 = 0.1234567890987654321e-18;
1290 SELECT f1 INTO @v1_tab FROM t1_aux;
1291 CALL sproc_1(0.1234567890987654321e-18, @v1_proc);
1292 SET @v1_func = func_1(0.1234567890987654321e-18);
1293 UPDATE t1_aux SET f1 = NULL;
1294 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1295 UPDATE t1_aux SET f1 = 0.1234567890987654321e-17;
1296 SELECT f1 INTO @v1_tab FROM t1_aux;
1297 CALL sproc_1(0.1234567890987654321e-17, @v1_proc);
1298 SET @v1_func = func_1(0.1234567890987654321e-17);
1299 UPDATE t1_aux SET f1 = NULL;
1300 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1301 UPDATE t1_aux SET f1 = 0.1234567890987654321e-16;
1302 SELECT f1 INTO @v1_tab FROM t1_aux;
1303 CALL sproc_1(0.1234567890987654321e-16, @v1_proc);
1304 SET @v1_func = func_1(0.1234567890987654321e-16);
1305 UPDATE t1_aux SET f1 = NULL;
1306 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1307 UPDATE t1_aux SET f1 = 0.1234567890987654321e-15;
1308 SELECT f1 INTO @v1_tab FROM t1_aux;
1309 CALL sproc_1(0.1234567890987654321e-15, @v1_proc);
1310 SET @v1_func = func_1(0.1234567890987654321e-15);
1311 UPDATE t1_aux SET f1 = NULL;
1312 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1313 UPDATE t1_aux SET f1 = 0.1234567890987654321e-14;
1314 SELECT f1 INTO @v1_tab FROM t1_aux;
1315 CALL sproc_1(0.1234567890987654321e-14, @v1_proc);
1316 SET @v1_func = func_1(0.1234567890987654321e-14);
1317 UPDATE t1_aux SET f1 = NULL;
1318 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1319 UPDATE t1_aux SET f1 = 0.1234567890987654321e-13;
1320 SELECT f1 INTO @v1_tab FROM t1_aux;
1321 CALL sproc_1(0.1234567890987654321e-13, @v1_proc);
1322 SET @v1_func = func_1(0.1234567890987654321e-13);
1323 UPDATE t1_aux SET f1 = NULL;
1324 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1325 UPDATE t1_aux SET f1 = 0.1234567890987654321e-12;
1326 SELECT f1 INTO @v1_tab FROM t1_aux;
1327 CALL sproc_1(0.1234567890987654321e-12, @v1_proc);
1328 SET @v1_func = func_1(0.1234567890987654321e-12);
1329 UPDATE t1_aux SET f1 = NULL;
1330 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1331 UPDATE t1_aux SET f1 = 0.1234567890987654321e-11;
1332 SELECT f1 INTO @v1_tab FROM t1_aux;
1333 CALL sproc_1(0.1234567890987654321e-11, @v1_proc);
1334 SET @v1_func = func_1(0.1234567890987654321e-11);
1335 UPDATE t1_aux SET f1 = NULL;
1336 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1337 UPDATE t1_aux SET f1 = 0.1234567890987654321e-10;
1338 SELECT f1 INTO @v1_tab FROM t1_aux;
1339 CALL sproc_1(0.1234567890987654321e-10, @v1_proc);
1340 SET @v1_func = func_1(0.1234567890987654321e-10);
1341 UPDATE t1_aux SET f1 = NULL;
1342 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1343 UPDATE t1_aux SET f1 = 0.1234567890987654321e-9;
1344 SELECT f1 INTO @v1_tab FROM t1_aux;
1345 CALL sproc_1(0.1234567890987654321e-9, @v1_proc);
1346 SET @v1_func = func_1(0.1234567890987654321e-9);
1347 UPDATE t1_aux SET f1 = NULL;
1348 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1349 UPDATE t1_aux SET f1 = 0.1234567890987654321e-8;
1350 SELECT f1 INTO @v1_tab FROM t1_aux;
1351 CALL sproc_1(0.1234567890987654321e-8, @v1_proc);
1352 SET @v1_func = func_1(0.1234567890987654321e-8);
1353 UPDATE t1_aux SET f1 = NULL;
1354 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1355 UPDATE t1_aux SET f1 = 0.1234567890987654321e-7;
1356 SELECT f1 INTO @v1_tab FROM t1_aux;
1357 CALL sproc_1(0.1234567890987654321e-7, @v1_proc);
1358 SET @v1_func = func_1(0.1234567890987654321e-7);
1359 UPDATE t1_aux SET f1 = NULL;
1360 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1361 UPDATE t1_aux SET f1 = 0.1234567890987654321e-6;
1362 SELECT f1 INTO @v1_tab FROM t1_aux;
1363 CALL sproc_1(0.1234567890987654321e-6, @v1_proc);
1364 SET @v1_func = func_1(0.1234567890987654321e-6);
1365 UPDATE t1_aux SET f1 = NULL;
1366 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1367 UPDATE t1_aux SET f1 = 0.1234567890987654321e-5;
1368 SELECT f1 INTO @v1_tab FROM t1_aux;
1369 CALL sproc_1(0.1234567890987654321e-5, @v1_proc);
1370 SET @v1_func = func_1(0.1234567890987654321e-5);
1371 UPDATE t1_aux SET f1 = NULL;
1372 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1373 UPDATE t1_aux SET f1 = 0.1234567890987654321e-4;
1374 SELECT f1 INTO @v1_tab FROM t1_aux;
1375 CALL sproc_1(0.1234567890987654321e-4, @v1_proc);
1376 SET @v1_func = func_1(0.1234567890987654321e-4);
1377 UPDATE t1_aux SET f1 = NULL;
1378 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1379 UPDATE t1_aux SET f1 = 0.1234567890987654321e-3;
1380 SELECT f1 INTO @v1_tab FROM t1_aux;
1381 CALL sproc_1(0.1234567890987654321e-3, @v1_proc);
1382 SET @v1_func = func_1(0.1234567890987654321e-3);
1383 UPDATE t1_aux SET f1 = NULL;
1384 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1385 UPDATE t1_aux SET f1 = 0.1234567890987654321e-2;
1386 SELECT f1 INTO @v1_tab FROM t1_aux;
1387 CALL sproc_1(0.1234567890987654321e-2, @v1_proc);
1388 SET @v1_func = func_1(0.1234567890987654321e-2);
1389 UPDATE t1_aux SET f1 = NULL;
1390 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1391 UPDATE t1_aux SET f1 = 0.1234567890987654321e-1;
1392 SELECT f1 INTO @v1_tab FROM t1_aux;
1393 CALL sproc_1(0.1234567890987654321e-1, @v1_proc);
1394 SET @v1_func = func_1(0.1234567890987654321e-1);
1395 UPDATE t1_aux SET f1 = NULL;
1396 SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
1397 UPDATE t1_aux SET f1 = 0.1234567890987654321e-0;
1398 SELECT f1 INTO @v1_tab FROM t1_aux;
1399 CALL sproc_1(0.1234567890987654321e-0, @v1_proc);
1400 SET @v1_func = func_1(0.1234567890987654321e-0);
1401 DROP PROCEDURE sproc_1;
1402 DROP FUNCTION func_1;
1403 DROP TABLE t1_aux;
1404 DROP PROCEDURE IF EXISTS sp1;
1405 CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
1406 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1407 BEGIN
1408 SELECT f1;
1409 END//
1410 Warnings:
1411 Note 1291 Column 'f1' has duplicated value 'value1' in ENUM
1412 CALL sp1( "value1" );
1413 f1
1414 value1
1415 Warnings:
1416 Note 1291 Column 'f1' has duplicated value 'value1' in ENUM
1417 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1418 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1419 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1420 DROP PROCEDURE IF EXISTS sp1;
1421 CREATE PROCEDURE sp1( f1 SET("value1", "value1") )
1422 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1423 BEGIN
1424 SELECT f1;
1425 END//
1426 Warnings:
1427 Note 1291 Column 'f1' has duplicated value 'value1' in SET
1428 CALL sp1( "value1, value1" );
1429 f1
1430 value1
1431 Warnings:
1432 Note 1291 Column 'f1' has duplicated value 'value1' in SET
1433 Warning 1265 Data truncated for column 'f1' at row 0
1434 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1435 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1436 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1437 DROP PROCEDURE IF EXISTS sp1;
1438 CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
1439 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1440 BEGIN
1441 SELECT f1;
1442 END//
1443 Warnings:
1444 Note 1291 Column 'f1' has duplicated value 'value1' in ENUM
1445 CALL sp1( "value1" );
1446 f1
1447 value1
1448 Warnings:
1449 Note 1291 Column 'f1' has duplicated value 'value1' in ENUM
1450 SHOW PROCEDURE STATUS WHERE db = 'db_storedproc';
1451 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1452 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1453 DROP PROCEDURE IF EXISTS sp1;
1454 CREATE PROCEDURE sp1( f1 TEXT ) LANGUAGE SQL SELECT f1;
1455 CALL sp1( 'abc' );
1456 f1
1457 abc
1458 SHOW PROCEDURE STATUS LIKE 'sp1';
1459 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1460 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1461 DROP PROCEDURE IF EXISTS sp1;
1462 CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1;
1463 CALL sp1( 'abc' );
1464 f1
1465 abc
1466 SHOW PROCEDURE STATUS LIKE 'sp1';
1467 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1468 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1469 DROP PROCEDURE IF EXISTS sp1;
1470 CREATE PROCEDURE sp1( f1 TEXT ) NOT DETERMINISTIC SELECT f1;
1471 CALL sp1( 'abc' );
1472 f1
1473 abc
1474 SHOW PROCEDURE STATUS LIKE 'sp1';
1475 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1476 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1477 DROP PROCEDURE IF EXISTS sp1;
1478 CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY DEFINER SELECT f1;
1479 CALL sp1( 'abc' );
1480 f1
1481 abc
1482 SHOW PROCEDURE STATUS LIKE 'sp1';
1483 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1484 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1485 DROP PROCEDURE IF EXISTS sp1;
1486 CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY INVOKER SELECT f1;
1487 CALL sp1( 'abc' );
1488 f1
1489 abc
1490 SHOW PROCEDURE STATUS LIKE 'sp1';
1491 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1492 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> INVOKER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1493 DROP PROCEDURE IF EXISTS sp1;
1494 CREATE PROCEDURE sp1( f1 TEXT ) COMMENT 'this is simple' SELECT f1;
1495 CALL sp1( 'abc' );
1496 f1
1497 abc
1498 SHOW PROCEDURE STATUS LIKE 'sp1';
1499 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1500 db_storedproc sp1 PROCEDURE root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1501 DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
1502 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long
1503 DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde;
1504 ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long
1505 DROP PROCEDURE sp1;
1506
1507 Testcase 4.1.2:
1508 ---------------
1509 Ensure that all clauses that should be supported are supported
1510 CREATE FUNCTION
1511 --------------------------------------------------------------------------------
1512 DROP FUNCTION IF EXISTS fn1;
1513 CREATE FUNCTION fn1 (s CHAR(20)) RETURNS CHAR(50)
1514 RETURN CONCAT('hello, ', s, '!');
1515 SELECT fn1('world');
1516 fn1('world')
1517 hello, world!
1518 DROP FUNCTION IF EXISTS fn1;
1519 CREATE FUNCTION fn1( f1 MEDIUMTEXT ) RETURNS MEDIUMTEXT
1520 LANGUAGE SQL DETERMINISTIC SQL SECURITY DEFINER COMMENT 'this is simple'
1521 BEGIN
1522 SET @v1 = 'hello';
1523 SET f1 = CONCAT( @v1, f1 );
1524 RETURN f1;
1525 END//
1526 SELECT fn1( ' world');
1527 fn1( ' world')
1528 hello world
1529 SHOW FUNCTION STATUS LIKE 'fn1';
1530 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1531 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1532 DROP FUNCTION IF EXISTS fn1;
1533 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT
1534 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1535 BEGIN
1536 SET f1 = 1 + f1;
1537 RETURN f1;
1538 END//
1539 SELECT fn1( 126 );
1540 fn1( 126 )
1541 127
1542 SHOW FUNCTION STATUS LIKE 'fn1';
1543 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1544 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1545 DROP FUNCTION IF EXISTS fn1;
1546 CREATE FUNCTION fn1( f1 DECIMAL(63, 61) ) RETURNS DECIMAL(63, 61)
1547 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1548 BEGIN
1549 SET f1 = 1000000 + f1;
1550 RETURN f1;
1551 END//
1552 ERROR 42000: Too big scale specified for 'f1'. Maximum is 38
1553 SELECT fn1( 1.3326e+8 );
1554 ERROR 42000: FUNCTION db_storedproc.fn1 does not exist
1555 CREATE FUNCTION fn1( f1 DECIMAL(63, 30) ) RETURNS DECIMAL(63, 30)
1556 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1557 BEGIN
1558 SET f1 = 1000000 + f1;
1559 RETURN f1;
1560 END//
1561 SELECT fn1( 1.3326e+8 );
1562 fn1( 1.3326e+8 )
1563 134260000.000000000000000000000000000000
1564 SHOW FUNCTION STATUS LIKE 'fn1';
1565 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1566 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1567 DROP FUNCTION IF EXISTS fn1;
1568 CREATE FUNCTION fn1( f1 ENUM("value1", "value1") ) RETURNS DECIMAL(63, 30)
1569 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1570 BEGIN
1571 RETURN f1;
1572 END//
1573 Warnings:
1574 Note 1291 Column 'f1' has duplicated value 'value1' in ENUM
1575 SELECT fn1( "value1" );
1576 fn1( "value1" )
1577 1.000000000000000000000000000000
1578 SHOW FUNCTION STATUS LIKE 'fn1';
1579 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1580 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1581 DROP FUNCTION IF EXISTS fn1;
1582 CREATE FUNCTION fn1( f1 SET("value1", "value1") ) RETURNS DECIMAL(63, 30)
1583 LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
1584 BEGIN
1585 RETURN f1;
1586 END//
1587 Warnings:
1588 Note 1291 Column 'f1' has duplicated value 'value1' in SET
1589 SELECT fn1( "value1, value1" );
1590 fn1( "value1, value1" )
1591 1.000000000000000000000000000000
1592 SHOW FUNCTION STATUS LIKE 'fn1';
1593 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1594 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1595 DROP FUNCTION IF EXISTS fn1;
1596 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT LANGUAGE SQL
1597 BEGIN
1598 SET f1 = 1 + f1;
1599 RETURN f1;
1600 END//
1601 SELECT fn1( 126 );
1602 fn1( 126 )
1603 127
1604 SHOW FUNCTION STATUS LIKE 'fn1';
1605 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1606 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1607 DROP FUNCTION IF EXISTS fn1;
1608 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT DETERMINISTIC
1609 BEGIN
1610 SET f1 = 1 + f1;
1611 RETURN f1;
1612 END//
1613 SELECT fn1( 126 );
1614 fn1( 126 )
1615 127
1616 SHOW FUNCTION STATUS LIKE 'fn1';
1617 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1618 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1619 DROP FUNCTION IF EXISTS fn1;
1620 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT NOT DETERMINISTIC
1621 BEGIN
1622 SET f1 = 1 + f1;
1623 RETURN f1;
1624 END//
1625 SELECT fn1( 126 );
1626 fn1( 126 )
1627 127
1628 SHOW FUNCTION STATUS LIKE 'fn1';
1629 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1630 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1631 DROP FUNCTION IF EXISTS fn1;
1632 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY DEFINER
1633 BEGIN
1634 SET f1 = 1 + f1;
1635 RETURN f1;
1636 END//
1637 SELECT fn1( 126 );
1638 fn1( 126 )
1639 127
1640 SHOW FUNCTION STATUS LIKE 'fn1';
1641 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1642 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1643 DROP FUNCTION IF EXISTS fn1;
1644 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY INVOKER
1645 BEGIN
1646 SET f1 = 1 + f1;
1647 RETURN f1;
1648 END//
1649 SELECT fn1( 126 );
1650 fn1( 126 )
1651 127
1652 SHOW FUNCTION STATUS LIKE 'fn1';
1653 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1654 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1655 DROP FUNCTION IF EXISTS fn1;
1656 CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT COMMENT 'this is simple'
1657 BEGIN
1658 SET f1 = 1 + f1;
1659 RETURN f1;
1660 END//
1661 SELECT fn1( 126 );
1662 fn1( 126 )
1663 127
1664 SHOW FUNCTION STATUS LIKE 'fn1';
1665 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1666 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER this is simple latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1667 DROP FUNCTION fn1;
1668
1669 Testcase 4.1.3:
1670 ---------------
1671 Ensure that all clauses that should be supported are supported
1672 SHOW CREATE PROC
1673 --------------------------------------------------------------------------------
1674 DROP PROCEDURE IF EXISTS sp1;
1675 CREATE PROCEDURE sp1 (f1 char(20) )
1676 SELECT * from t1 where f2 = f1;
1677 show CREATE PROCEDURE sp1;
1678 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
1679 sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`(f1 char(20) )
1680 SELECT * from t1 where f2 = f1 latin1 <modified> <created>
1681 DROP PROCEDURE sp1;
1682
1683 Testcase 4.1.4:
1684 ---------------
1685 show create function
1686 --------------------------------------------------------------------------------
1687 DROP FUNCTION IF EXISTS fn1;
1688 CREATE FUNCTION fn1 (s char(20)) returns char(50)
1689 return concat('hello, ', s, '!');
1690 show CREATE FUNCTION fn1;
1691 Function sql_mode Create Function character_set_client collation_connection Database Collation
1692 fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(s char(20)) RETURNS char(50) CHARSET utf8mb4 COLLATE utf8mb4_uca1400_ai_ci
1693 return concat('hello, ', s, '!') latin1 <modified> <created>
1694 DROP FUNCTION fn1;
1695
1696 Testcase 4.1.5:
1697 ---------------
1698 SHOW PROCEDURE status
1699 --------------------------------------------------------------------------------
1700 CREATE PROCEDURE sp5()
1701 SELECT * from t1;
1702 SHOW PROCEDURE status like 'sp5';
1703 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1704 db_storedproc sp5 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1705 DROP PROCEDURE sp5;
1706
1707 Testcase 4.1.6:
1708 ---------------
1709 show function status
1710 --------------------------------------------------------------------------------
1711 CREATE FUNCTION fn5(a int) returns int
1712 BEGIN
1713 set @b = 0.9 * a;
1714 return @b;
1715 END//
1716 SHOW FUNCTION STATUS LIKE 'fn5';
1717 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
1718 db_storedproc fn5 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
1719 DROP FUNCTION fn5;
1720
1721 Testcase 4.1.7:
1722 ---------------
1723 CALL procedure
1724 --------------------------------------------------------------------------------
1725 DROP PROCEDURE IF EXISTS sp7a;
1726 DROP PROCEDURE IF EXISTS sp7b;
1727 DROP PROCEDURE IF EXISTS sp7c;
1728 CREATE PROCEDURE sp7a(a char(20))
1729 SELECT * from t1 where t1.f2 = a;
1730 CALL sp7a( 'xyz' );
1731 f1 f2 f3 f4 f5 f6
1732 CREATE PROCEDURE sp7b (a char (20), out b char(20))
1733 SELECT f1 into b from t1 where t1.f2= a;
1734 CALL sp7b('xyz', @out_param);
1735 Warnings:
1736 Warning 1329 No data - zero rows fetched, selected, or processed
1737 SELECT @out_param;
1738 @out_param
1739 NULL
1740 CREATE PROCEDURE sp7c (a char (20), out b char(20), inout c int)
1741 BEGIN
1742 SELECT f1 into b from t1 where t1.f2=a;
1743 update t1 set t1.f2=999 where t1.f4=c;
1744 SELECT f2 into c from t1 where t1.f2=999;
1745 END//
1746 set @c=1;
1747 CALL sp7c('xyz', @out_param, @c);
1748 SELECT @out_param;
1749 @out_param
1750 NULL
1751 SELECT @c;
1752 @c
1753 1
1754 DROP PROCEDURE sp7a;
1755 DROP PROCEDURE sp7b;
1756 DROP PROCEDURE sp7c;
1757
1758 Testcase 4.1.8:
1759 ---------------
1760 calling function
1761 --------------------------------------------------------------------------------
1762 CREATE FUNCTION fn8(a char(20)) returns char(50)
1763 return concat('hello, ', a, '!');
1764 SELECT fn8('world');
1765 fn8('world')
1766 hello, world!
1767 DROP FUNCTION fn8;
1768
1769 Testcase 4.1.9:
1770 ---------------
1771 drop procedure
1772 --------------------------------------------------------------------------------
1773 SELECT * from mysql.proc where specific_name='sp9';
1774 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1775 DROP PROCEDURE IF EXISTS sp9;
1776 SELECT * from mysql.proc where specific_name='sp9';
1777 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1778 CREATE PROCEDURE sp9()SELECT * from t1;
1779 SELECT * from mysql.proc where specific_name='sp9';
1780 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1781 db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci SELECT * from t1 NONE
1782 DROP PROCEDURE sp9;
1783 SELECT * from mysql.proc where specific_name='sp9';
1784 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1785 CREATE PROCEDURE sp9()SELECT * from t1;
1786 SELECT * from mysql.proc where specific_name='sp9';
1787 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1788 db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci SELECT * from t1 NONE
1789 DROP PROCEDURE IF EXISTS sp9;
1790 SELECT * from mysql.proc where specific_name='sp9';
1791 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1792
1793 Testcase 4.1.10:
1794 ----------------
1795 DROP FUNCTION
1796 --------------------------------------------------------------------------------
1797 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1798 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1799 DROP FUNCTION IF EXISTS fn10;
1800 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1801 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1802 CREATE FUNCTION fn10() returns int return 100;
1803 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1804 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1805 db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci return 100 NONE
1806 DROP FUNCTION fn10;
1807 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1808 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1809 CREATE FUNCTION fn10() returns int return 100;
1810 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1811 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1812 db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci return 100 NONE
1813 DROP FUNCTION IF EXISTS fn10;
1814 SELECT * from mysql.proc where specific_name='fn10' and type='function';
1815 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
1816
1817 Testcase 4.1.11:
1818 ----------------
1819 alter proc
1820 --------------------------------------------------------------------------------
1821 create user 'user_1'@'localhost';
1822 grant execute on db_storedproc.* to 'user_1'@'localhost';
1823 flush privileges;
1824 drop table IF EXISTS mysql.t1;
1825 Warnings:
1826 Note 1051 Unknown table 'mysql.t1'
1827 create table mysql.t1( f1 char );
1828 DROP PROCEDURE IF EXISTS sp11;
1829 Warnings:
1830 Note 1305 PROCEDURE db_storedproc.sp11 does not exist
1831 CREATE PROCEDURE sp11() insert into mysql.t1 values('a');
1832 SELECT security_type from mysql.proc where specific_name='sp11';
1833 security_type
1834 DEFINER
1835 connect u_1, localhost, user_1, , db_storedproc;
1836
1837 user_1@localhost db_storedproc
1838 CALL sp11();
1839 connection default;
1840 USE db_storedproc;
1841
1842 root@localhost db_storedproc
1843 alter procedure sp11 sql security invoker;
1844 SELECT security_type from mysql.proc where specific_name='sp11';
1845 security_type
1846 INVOKER
1847 connection u_1;
1848
1849 user_1@localhost db_storedproc
1850 USE db_storedproc;
1851 CALL sp11();
1852 ERROR 42000: INSERT command denied to user 'user_1'@'localhost' for table `mysql`.`t1`
1853 commit work;
1854 disconnect u_1;
1855 connection default;
1856
1857 root@localhost db_storedproc
1858 alter procedure sp11 sql security DEFINER;
1859 SELECT security_type from mysql.proc where specific_name='sp11';
1860 security_type
1861 DEFINER
1862 CALL sp11();
1863 DROP USER 'user_1'@'localhost';
1864 DROP PROCEDURE sp11;
1865 drop table mysql.t1;
1866
1867 Testcase 4.1.12:
1868 ----------------
1869 alter function
1870 --------------------------------------------------------------------------------
1871 CREATE FUNCTION fn12() returns int
1872 return 100;
1873 SELECT security_type from mysql.proc where specific_name='fn12';
1874 security_type
1875 DEFINER
1876 SELECT fn12();
1877 fn12()
1878 100
1879 alter function fn12 sql security invoker;
1880 SELECT security_type from mysql.proc where specific_name='fn12';
1881 security_type
1882 INVOKER
1883 SELECT fn12();
1884 fn12()
1885 100
1886 alter function fn12 sql security DEFINER;
1887 SELECT security_type from mysql.proc where specific_name='fn12';
1888 security_type
1889 DEFINER
1890 SELECT fn12();
1891 fn12()
1892 100
1893 DROP FUNCTION fn12;
1894
1895 Testcase 4.1.13:
1896 ----------------
1897 alter proc
1898 --------------------------------------------------------------------------------
1899 DROP PROCEDURE IF EXISTS sp11;
1900 Warnings:
1901 Note 1305 PROCEDURE db_storedproc.sp11 does not exist
1902 CREATE PROCEDURE sp11()
1903 SELECT * from t1;
1904 SELECT comment from mysql.proc where specific_name='sp11';
1905 comment
1906
1907 alter procedure sp11 comment 'this is simple';
1908 SELECT comment from mysql.proc where specific_name='sp11';
1909 comment
1910 this is simple
1911 DROP PROCEDURE sp11;
1912
1913 Testcase 4.1.14:
1914 ----------------
1915 alter function
1916 --------------------------------------------------------------------------------
1917 DROP FUNCTION IF EXISTS fn12;
1918 Warnings:
1919 Note 1305 FUNCTION db_storedproc.fn12 does not exist
1920 CREATE FUNCTION fn12() returns int
1921 return 100;
1922 SELECT comment from mysql.proc where specific_name='fn12';
1923 comment
1924
1925 alter function fn12 comment 'this is simple';
1926 SELECT comment from mysql.proc where specific_name='fn12';
1927 comment
1928 this is simple
1929 DROP FUNCTION fn12;
1930
1931 Testcase 4.1.15:
1932 ----------------
1933 Ensure that any invalid stored procedure name is never accepted, and that an
1934 appropriate error message is returned when the name is rejected
1935 --------------------------------------------------------------------------------
1936 CREATE PROCEDURE sp1()
1937 DROP PROCEDURE sp1;
1938 ERROR HY000: Can't drop or alter a PROCEDURE from within another stored routine
1939 CREATE PROCEDURE !_sp1( f1 char(20) )
1940 SELECT * from t1 where f2 = f1;
1941 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '!_sp1( f1 char(20) )
1942 SELECT * from t1 where f2 = f1' at line 1
1943 CREATE PROCEDURE function()
1944 SELECT * from t1 where f2=f1;
1945 DROP PROCEDURE function;
1946 CREATE PROCEDURE accessible()
1947 SELECT * from t1 where f2=f1;
1948 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accessible()
1949 SELECT * from t1 where f2=f1' at line 1
1950 CREATE PROCEDURE add()
1951 SELECT * from t1 where f2=f1;
1952 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'add()
1953 SELECT * from t1 where f2=f1' at line 1
1954 CREATE PROCEDURE all()
1955 SELECT * from t1 where f2=f1;
1956 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all()
1957 SELECT * from t1 where f2=f1' at line 1
1958 CREATE PROCEDURE alter()
1959 SELECT * from t1 where f2=f1;
1960 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'alter()
1961 SELECT * from t1 where f2=f1' at line 1
1962 CREATE PROCEDURE analyze()
1963 SELECT * from t1 where f2=f1;
1964 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'analyze()
1965 SELECT * from t1 where f2=f1' at line 1
1966 CREATE PROCEDURE and()
1967 SELECT * from t1 where f2=f1;
1968 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and()
1969 SELECT * from t1 where f2=f1' at line 1
1970 CREATE PROCEDURE as()
1971 SELECT * from t1 where f2=f1;
1972 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as()
1973 SELECT * from t1 where f2=f1' at line 1
1974 CREATE PROCEDURE asc()
1975 SELECT * from t1 where f2=f1;
1976 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc()
1977 SELECT * from t1 where f2=f1' at line 1
1978 CREATE PROCEDURE asensitive()
1979 SELECT * from t1 where f2=f1;
1980 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asensitive()
1981 SELECT * from t1 where f2=f1' at line 1
1982 CREATE PROCEDURE before()
1983 SELECT * from t1 where f2=f1;
1984 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'before()
1985 SELECT * from t1 where f2=f1' at line 1
1986 CREATE PROCEDURE between()
1987 SELECT * from t1 where f2=f1;
1988 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'between()
1989 SELECT * from t1 where f2=f1' at line 1
1990 CREATE PROCEDURE bigint()
1991 SELECT * from t1 where f2=f1;
1992 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint()
1993 SELECT * from t1 where f2=f1' at line 1
1994 CREATE PROCEDURE binary()
1995 SELECT * from t1 where f2=f1;
1996 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary()
1997 SELECT * from t1 where f2=f1' at line 1
1998 CREATE PROCEDURE blob()
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 MariaDB server version for the right syntax to use near 'blob()
2001 SELECT * from t1 where f2=f1' at line 1
2002 CREATE PROCEDURE both()
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 MariaDB server version for the right syntax to use near 'both()
2005 SELECT * from t1 where f2=f1' at line 1
2006 CREATE PROCEDURE by()
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 MariaDB server version for the right syntax to use near 'by()
2009 SELECT * from t1 where f2=f1' at line 1
2010 CREATE PROCEDURE call()
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 MariaDB server version for the right syntax to use near 'call()
2013 SELECT * from t1 where f2=f1' at line 1
2014 CREATE PROCEDURE cascade()
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 MariaDB server version for the right syntax to use near 'cascade()
2017 SELECT * from t1 where f2=f1' at line 1
2018 CREATE PROCEDURE case()
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 MariaDB server version for the right syntax to use near 'case()
2021 SELECT * from t1 where f2=f1' at line 1
2022 CREATE PROCEDURE change()
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 MariaDB server version for the right syntax to use near 'change()
2025 SELECT * from t1 where f2=f1' at line 1
2026 CREATE PROCEDURE char()
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 MariaDB server version for the right syntax to use near 'char()
2029 SELECT * from t1 where f2=f1' at line 1
2030 CREATE PROCEDURE character()
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 MariaDB server version for the right syntax to use near 'character()
2033 SELECT * from t1 where f2=f1' at line 1
2034 CREATE PROCEDURE check()
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 MariaDB server version for the right syntax to use near 'check()
2037 SELECT * from t1 where f2=f1' at line 1
2038 CREATE PROCEDURE collate()
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 MariaDB server version for the right syntax to use near 'collate()
2041 SELECT * from t1 where f2=f1' at line 1
2042 CREATE PROCEDURE column()
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 MariaDB server version for the right syntax to use near 'column()
2045 SELECT * from t1 where f2=f1' at line 1
2046 CREATE PROCEDURE condition()
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 MariaDB server version for the right syntax to use near 'condition()
2049 SELECT * from t1 where f2=f1' at line 1
2050 CREATE PROCEDURE constraint()
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 MariaDB server version for the right syntax to use near 'constraint()
2053 SELECT * from t1 where f2=f1' at line 1
2054 CREATE PROCEDURE continue()
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 MariaDB server version for the right syntax to use near 'continue()
2057 SELECT * from t1 where f2=f1' at line 1
2058 CREATE PROCEDURE convert()
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 MariaDB server version for the right syntax to use near 'convert()
2061 SELECT * from t1 where f2=f1' at line 1
2062 CREATE PROCEDURE create()
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 MariaDB server version for the right syntax to use near 'create()
2065 SELECT * from t1 where f2=f1' at line 1
2066 CREATE PROCEDURE cross()
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 MariaDB server version for the right syntax to use near 'cross()
2069 SELECT * from t1 where f2=f1' at line 1
2070 CREATE PROCEDURE current_date()
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 MariaDB server version for the right syntax to use near 'current_date()
2073 SELECT * from t1 where f2=f1' at line 1
2074 CREATE PROCEDURE current_time()
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 MariaDB server version for the right syntax to use near 'current_time()
2077 SELECT * from t1 where f2=f1' at line 1
2078 CREATE PROCEDURE current_timestamp()
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 MariaDB server version for the right syntax to use near 'current_timestamp()
2081 SELECT * from t1 where f2=f1' at line 1
2082 CREATE PROCEDURE current_user()
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 MariaDB server version for the right syntax to use near 'current_user()
2085 SELECT * from t1 where f2=f1' at line 1
2086 CREATE PROCEDURE cursor()
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 MariaDB server version for the right syntax to use near 'cursor()
2089 SELECT * from t1 where f2=f1' at line 1
2090 CREATE PROCEDURE database()
2091 SELECT 1;
2092 CALL database();
2093 1
2094 1
2095 DROP PROCEDURE database;
2096 CREATE PROCEDURE databases()
2097 SELECT * from t1 where f2=f1;
2098 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases()
2099 SELECT * from t1 where f2=f1' at line 1
2100 CREATE PROCEDURE day_hour()
2101 SELECT * from t1 where f2=f1;
2102 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_hour()
2103 SELECT * from t1 where f2=f1' at line 1
2104 CREATE PROCEDURE day_microsecond()
2105 SELECT * from t1 where f2=f1;
2106 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_microsecond()
2107 SELECT * from t1 where f2=f1' at line 1
2108 CREATE PROCEDURE day_minute()
2109 SELECT * from t1 where f2=f1;
2110 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_minute()
2111 SELECT * from t1 where f2=f1' at line 1
2112 CREATE PROCEDURE day_second()
2113 SELECT * from t1 where f2=f1;
2114 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_second()
2115 SELECT * from t1 where f2=f1' at line 1
2116 CREATE PROCEDURE dec()
2117 SELECT * from t1 where f2=f1;
2118 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dec()
2119 SELECT * from t1 where f2=f1' at line 1
2120 CREATE PROCEDURE decimal()
2121 SELECT * from t1 where f2=f1;
2122 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal()
2123 SELECT * from t1 where f2=f1' at line 1
2124 CREATE PROCEDURE declare()
2125 SELECT * from t1 where f2=f1;
2126 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare()
2127 SELECT * from t1 where f2=f1' at line 1
2128 CREATE PROCEDURE default()
2129 SELECT * from t1 where f2=f1;
2130 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'default()
2131 SELECT * from t1 where f2=f1' at line 1
2132 CREATE PROCEDURE delayed()
2133 SELECT * from t1 where f2=f1;
2134 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delayed()
2135 SELECT * from t1 where f2=f1' at line 1
2136 CREATE PROCEDURE delete()
2137 SELECT * from t1 where f2=f1;
2138 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delete()
2139 SELECT * from t1 where f2=f1' at line 1
2140 CREATE PROCEDURE desc()
2141 SELECT * from t1 where f2=f1;
2142 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc()
2143 SELECT * from t1 where f2=f1' at line 1
2144 CREATE PROCEDURE describe()
2145 SELECT * from t1 where f2=f1;
2146 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'describe()
2147 SELECT * from t1 where f2=f1' at line 1
2148 CREATE PROCEDURE deterministic()
2149 SELECT * from t1 where f2=f1;
2150 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'deterministic()
2151 SELECT * from t1 where f2=f1' at line 1
2152 CREATE PROCEDURE distinct()
2153 SELECT * from t1 where f2=f1;
2154 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct()
2155 SELECT * from t1 where f2=f1' at line 1
2156 CREATE PROCEDURE distinctrow()
2157 SELECT * from t1 where f2=f1;
2158 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinctrow()
2159 SELECT * from t1 where f2=f1' at line 1
2160 CREATE PROCEDURE div()
2161 SELECT * from t1 where f2=f1;
2162 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'div()
2163 SELECT * from t1 where f2=f1' at line 1
2164 CREATE PROCEDURE double()
2165 SELECT * from t1 where f2=f1;
2166 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double()
2167 SELECT * from t1 where f2=f1' at line 1
2168 CREATE PROCEDURE drop()
2169 SELECT * from t1 where f2=f1;
2170 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'drop()
2171 SELECT * from t1 where f2=f1' at line 1
2172 CREATE PROCEDURE dual()
2173 SELECT * from t1 where f2=f1;
2174 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dual()
2175 SELECT * from t1 where f2=f1' at line 1
2176 CREATE PROCEDURE each()
2177 SELECT * from t1 where f2=f1;
2178 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'each()
2179 SELECT * from t1 where f2=f1' at line 1
2180 CREATE PROCEDURE else()
2181 SELECT * from t1 where f2=f1;
2182 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else()
2183 SELECT * from t1 where f2=f1' at line 1
2184 CREATE PROCEDURE elseif()
2185 SELECT * from t1 where f2=f1;
2186 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif()
2187 SELECT * from t1 where f2=f1' at line 1
2188 CREATE PROCEDURE enclosed()
2189 SELECT * from t1 where f2=f1;
2190 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enclosed()
2191 SELECT * from t1 where f2=f1' at line 1
2192 CREATE PROCEDURE escaped()
2193 SELECT * from t1 where f2=f1;
2194 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'escaped()
2195 SELECT * from t1 where f2=f1' at line 1
2196 CREATE PROCEDURE exists()
2197 SELECT * from t1 where f2=f1;
2198 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exists()
2199 SELECT * from t1 where f2=f1' at line 1
2200 CREATE PROCEDURE exit()
2201 SELECT * from t1 where f2=f1;
2202 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exit()
2203 SELECT * from t1 where f2=f1' at line 1
2204 CREATE PROCEDURE explain()
2205 SELECT * from t1 where f2=f1;
2206 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'explain()
2207 SELECT * from t1 where f2=f1' at line 1
2208 CREATE PROCEDURE false()
2209 SELECT * from t1 where f2=f1;
2210 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'false()
2211 SELECT * from t1 where f2=f1' at line 1
2212 CREATE PROCEDURE fetch()
2213 SELECT * from t1 where f2=f1;
2214 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fetch()
2215 SELECT * from t1 where f2=f1' at line 1
2216 CREATE PROCEDURE fields()
2217 SELECT * from t1 where f2=f1;
2218 DROP PROCEDURE fields;
2219 CREATE PROCEDURE float()
2220 SELECT * from t1 where f2=f1;
2221 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float()
2222 SELECT * from t1 where f2=f1' at line 1
2223 CREATE PROCEDURE for()
2224 SELECT * from t1 where f2=f1;
2225 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'for()
2226 SELECT * from t1 where f2=f1' at line 1
2227 CREATE PROCEDURE force()
2228 SELECT * from t1 where f2=f1;
2229 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'force()
2230 SELECT * from t1 where f2=f1' at line 1
2231 CREATE PROCEDURE foreign()
2232 SELECT * from t1 where f2=f1;
2233 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'foreign()
2234 SELECT * from t1 where f2=f1' at line 1
2235 CREATE PROCEDURE from()
2236 SELECT * from t1 where f2=f1;
2237 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from()
2238 SELECT * from t1 where f2=f1' at line 1
2239 CREATE PROCEDURE fulltext()
2240 SELECT * from t1 where f2=f1;
2241 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fulltext()
2242 SELECT * from t1 where f2=f1' at line 1
2243 CREATE PROCEDURE grant()
2244 SELECT * from t1 where f2=f1;
2245 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'grant()
2246 SELECT * from t1 where f2=f1' at line 1
2247 CREATE PROCEDURE group()
2248 SELECT * from t1 where f2=f1;
2249 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group()
2250 SELECT * from t1 where f2=f1' at line 1
2251 CREATE PROCEDURE having()
2252 SELECT * from t1 where f2=f1;
2253 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'having()
2254 SELECT * from t1 where f2=f1' at line 1
2255 CREATE PROCEDURE high_priority()
2256 SELECT * from t1 where f2=f1;
2257 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'high_priority()
2258 SELECT * from t1 where f2=f1' at line 1
2259 CREATE PROCEDURE hour_microsecond()
2260 SELECT * from t1 where f2=f1;
2261 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_microsecond()
2262 SELECT * from t1 where f2=f1' at line 1
2263 CREATE PROCEDURE hour_minute()
2264 SELECT * from t1 where f2=f1;
2265 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_minute()
2266 SELECT * from t1 where f2=f1' at line 1
2267 CREATE PROCEDURE hour_second()
2268 SELECT * from t1 where f2=f1;
2269 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_second()
2270 SELECT * from t1 where f2=f1' at line 1
2271 CREATE PROCEDURE if()
2272 SELECT * from t1 where f2=f1;
2273 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '()
2274 SELECT * from t1 where f2=f1' at line 1
2275 CREATE PROCEDURE ignore()
2276 SELECT * from t1 where f2=f1;
2277 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ignore()
2278 SELECT * from t1 where f2=f1' at line 1
2279 CREATE PROCEDURE in()
2280 SELECT * from t1 where f2=f1;
2281 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'in()
2282 SELECT * from t1 where f2=f1' at line 1
2283 CREATE PROCEDURE index()
2284 SELECT * from t1 where f2=f1;
2285 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'index()
2286 SELECT * from t1 where f2=f1' at line 1
2287 CREATE PROCEDURE infile()
2288 SELECT * from t1 where f2=f1;
2289 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'infile()
2290 SELECT * from t1 where f2=f1' at line 1
2291 CREATE PROCEDURE inner()
2292 SELECT * from t1 where f2=f1;
2293 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inner()
2294 SELECT * from t1 where f2=f1' at line 1
2295 CREATE PROCEDURE inout()
2296 SELECT * from t1 where f2=f1;
2297 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inout()
2298 SELECT * from t1 where f2=f1' at line 1
2299 CREATE PROCEDURE insensitive()
2300 SELECT * from t1 where f2=f1;
2301 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insensitive()
2302 SELECT * from t1 where f2=f1' at line 1
2303 CREATE PROCEDURE insert()
2304 SELECT * from t1 where f2=f1;
2305 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insert()
2306 SELECT * from t1 where f2=f1' at line 1
2307 CREATE PROCEDURE int()
2308 SELECT * from t1 where f2=f1;
2309 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int()
2310 SELECT * from t1 where f2=f1' at line 1
2311 CREATE PROCEDURE int1()
2312 SELECT * from t1 where f2=f1;
2313 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1()
2314 SELECT * from t1 where f2=f1' at line 1
2315 CREATE PROCEDURE int2()
2316 SELECT * from t1 where f2=f1;
2317 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2()
2318 SELECT * from t1 where f2=f1' at line 1
2319 CREATE PROCEDURE int3()
2320 SELECT * from t1 where f2=f1;
2321 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3()
2322 SELECT * from t1 where f2=f1' at line 1
2323 CREATE PROCEDURE int4()
2324 SELECT * from t1 where f2=f1;
2325 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4()
2326 SELECT * from t1 where f2=f1' at line 1
2327 CREATE PROCEDURE int8()
2328 SELECT * from t1 where f2=f1;
2329 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8()
2330 SELECT * from t1 where f2=f1' at line 1
2331 CREATE PROCEDURE integer()
2332 SELECT * from t1 where f2=f1;
2333 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'integer()
2334 SELECT * from t1 where f2=f1' at line 1
2335 CREATE PROCEDURE interval()
2336 SELECT * from t1 where f2=f1;
2337 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'interval()
2338 SELECT * from t1 where f2=f1' at line 1
2339 CREATE PROCEDURE into()
2340 SELECT * from t1 where f2=f1;
2341 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'into()
2342 SELECT * from t1 where f2=f1' at line 1
2343 CREATE PROCEDURE is()
2344 SELECT * from t1 where f2=f1;
2345 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'is()
2346 SELECT * from t1 where f2=f1' at line 1
2347 CREATE PROCEDURE iterate()
2348 SELECT * from t1 where f2=f1;
2349 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate()
2350 SELECT * from t1 where f2=f1' at line 1
2351 CREATE PROCEDURE join()
2352 SELECT * from t1 where f2=f1;
2353 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join()
2354 SELECT * from t1 where f2=f1' at line 1
2355 CREATE PROCEDURE json_table()
2356 SELECT 1;
2357 CALL json_table();
2358 1
2359 1
2360 DROP PROCEDURE json_table;
2361 CREATE PROCEDURE key()
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 MariaDB server version for the right syntax to use near 'key()
2364 SELECT * from t1 where f2=f1' at line 1
2365 CREATE PROCEDURE keys()
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 MariaDB server version for the right syntax to use near 'keys()
2368 SELECT * from t1 where f2=f1' at line 1
2369 CREATE PROCEDURE kill()
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 MariaDB server version for the right syntax to use near 'kill()
2372 SELECT * from t1 where f2=f1' at line 1
2373 CREATE PROCEDURE leading()
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 MariaDB server version for the right syntax to use near 'leading()
2376 SELECT * from t1 where f2=f1' at line 1
2377 CREATE PROCEDURE leave()
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 MariaDB server version for the right syntax to use near 'leave()
2380 SELECT * from t1 where f2=f1' at line 1
2381 CREATE PROCEDURE left()
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 MariaDB server version for the right syntax to use near 'left()
2384 SELECT * from t1 where f2=f1' at line 1
2385 CREATE PROCEDURE like()
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 MariaDB server version for the right syntax to use near 'like()
2388 SELECT * from t1 where f2=f1' at line 1
2389 CREATE PROCEDURE limit()
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 MariaDB server version for the right syntax to use near 'limit()
2392 SELECT * from t1 where f2=f1' at line 1
2393 CREATE PROCEDURE linear()
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 MariaDB server version for the right syntax to use near 'linear()
2396 SELECT * from t1 where f2=f1' at line 1
2397 CREATE PROCEDURE lines()
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 MariaDB server version for the right syntax to use near 'lines()
2400 SELECT * from t1 where f2=f1' at line 1
2401 CREATE PROCEDURE load()
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 MariaDB server version for the right syntax to use near 'load()
2404 SELECT * from t1 where f2=f1' at line 1
2405 CREATE PROCEDURE localtime()
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 MariaDB server version for the right syntax to use near 'localtime()
2408 SELECT * from t1 where f2=f1' at line 1
2409 CREATE PROCEDURE localtimestamp()
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 MariaDB server version for the right syntax to use near 'localtimestamp()
2412 SELECT * from t1 where f2=f1' at line 1
2413 CREATE PROCEDURE lock()
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 MariaDB server version for the right syntax to use near 'lock()
2416 SELECT * from t1 where f2=f1' at line 1
2417 CREATE PROCEDURE long()
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 MariaDB server version for the right syntax to use near 'long()
2420 SELECT * from t1 where f2=f1' at line 1
2421 CREATE PROCEDURE longblob()
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 MariaDB server version for the right syntax to use near 'longblob()
2424 SELECT * from t1 where f2=f1' at line 1
2425 CREATE PROCEDURE longtext()
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 MariaDB server version for the right syntax to use near 'longtext()
2428 SELECT * from t1 where f2=f1' at line 1
2429 CREATE PROCEDURE loop()
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 MariaDB server version for the right syntax to use near 'loop()
2432 SELECT * from t1 where f2=f1' at line 1
2433 CREATE PROCEDURE low_priority()
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 MariaDB server version for the right syntax to use near 'low_priority()
2436 SELECT * from t1 where f2=f1' at line 1
2437 CREATE PROCEDURE match()
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 MariaDB server version for the right syntax to use near 'match()
2440 SELECT * from t1 where f2=f1' at line 1
2441 CREATE PROCEDURE mediumblob()
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 MariaDB server version for the right syntax to use near 'mediumblob()
2444 SELECT * from t1 where f2=f1' at line 1
2445 CREATE PROCEDURE mediumint()
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 MariaDB server version for the right syntax to use near 'mediumint()
2448 SELECT * from t1 where f2=f1' at line 1
2449 CREATE PROCEDURE mediumtext()
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 MariaDB server version for the right syntax to use near 'mediumtext()
2452 SELECT * from t1 where f2=f1' at line 1
2453 CREATE PROCEDURE middleint()
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 MariaDB server version for the right syntax to use near 'middleint()
2456 SELECT * from t1 where f2=f1' at line 1
2457 CREATE PROCEDURE minute_microsecond()
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 MariaDB server version for the right syntax to use near 'minute_microsecond()
2460 SELECT * from t1 where f2=f1' at line 1
2461 CREATE PROCEDURE minute_second()
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 MariaDB server version for the right syntax to use near 'minute_second()
2464 SELECT * from t1 where f2=f1' at line 1
2465 CREATE PROCEDURE mod()
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 MariaDB server version for the right syntax to use near 'mod()
2468 SELECT * from t1 where f2=f1' at line 1
2469 CREATE PROCEDURE modifies()
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 MariaDB server version for the right syntax to use near 'modifies()
2472 SELECT * from t1 where f2=f1' at line 1
2473 CREATE PROCEDURE natural()
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 MariaDB server version for the right syntax to use near 'natural()
2476 SELECT * from t1 where f2=f1' at line 1
2477 CREATE PROCEDURE nested()
2478 SELECT 1;
2479 CALL nested();
2480 1
2481 1
2482 DROP PROCEDURE nested;
2483 CREATE PROCEDURE not()
2484 SELECT * from t1 where f2=f1;
2485 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not()
2486 SELECT * from t1 where f2=f1' at line 1
2487 CREATE PROCEDURE no_write_to_binlog()
2488 SELECT * from t1 where f2=f1;
2489 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'no_write_to_binlog()
2490 SELECT * from t1 where f2=f1' at line 1
2491 CREATE PROCEDURE null()
2492 SELECT * from t1 where f2=f1;
2493 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'null()
2494 SELECT * from t1 where f2=f1' at line 1
2495 CREATE PROCEDURE numeric()
2496 SELECT * from t1 where f2=f1;
2497 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric()
2498 SELECT * from t1 where f2=f1' at line 1
2499 CREATE PROCEDURE on()
2500 SELECT * from t1 where f2=f1;
2501 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'on()
2502 SELECT * from t1 where f2=f1' at line 1
2503 CREATE PROCEDURE optimize()
2504 SELECT * from t1 where f2=f1;
2505 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optimize()
2506 SELECT * from t1 where f2=f1' at line 1
2507 CREATE PROCEDURE option()
2508 SELECT * from t1 where f2=f1;
2509 DROP PROCEDURE option;
2510 CREATE PROCEDURE optionally()
2511 SELECT * from t1 where f2=f1;
2512 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optionally()
2513 SELECT * from t1 where f2=f1' at line 1
2514 CREATE PROCEDURE or()
2515 SELECT * from t1 where f2=f1;
2516 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or()
2517 SELECT * from t1 where f2=f1' at line 1
2518 CREATE PROCEDURE order()
2519 SELECT * from t1 where f2=f1;
2520 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order()
2521 SELECT * from t1 where f2=f1' at line 1
2522 CREATE PROCEDURE ordinality()
2523 SELECT 1;
2524 CALL ordinality;
2525 1
2526 1
2527 DROP PROCEDURE ordinality;
2528 CREATE PROCEDURE out()
2529 SELECT * from t1 where f2=f1;
2530 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out()
2531 SELECT * from t1 where f2=f1' at line 1
2532 CREATE PROCEDURE outer()
2533 SELECT * from t1 where f2=f1;
2534 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outer()
2535 SELECT * from t1 where f2=f1' at line 1
2536 CREATE PROCEDURE outfile()
2537 SELECT * from t1 where f2=f1;
2538 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile()
2539 SELECT * from t1 where f2=f1' at line 1
2540 CREATE PROCEDURE path()
2541 SELECT 1;
2542 CALL path();
2543 1
2544 1
2545 DROP PROCEDURE path;
2546 CREATE PROCEDURE precision()
2547 SELECT * from t1 where f2=f1;
2548 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision()
2549 SELECT * from t1 where f2=f1' at line 1
2550 CREATE PROCEDURE primary()
2551 SELECT * from t1 where f2=f1;
2552 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'primary()
2553 SELECT * from t1 where f2=f1' at line 1
2554 CREATE PROCEDURE procedure()
2555 SELECT * from t1 where f2=f1;
2556 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure()
2557 SELECT * from t1 where f2=f1' at line 1
2558 CREATE PROCEDURE purge()
2559 SELECT * from t1 where f2=f1;
2560 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'purge()
2561 SELECT * from t1 where f2=f1' at line 1
2562 CREATE PROCEDURE range()
2563 SELECT * from t1 where f2=f1;
2564 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'range()
2565 SELECT * from t1 where f2=f1' at line 1
2566 CREATE PROCEDURE read()
2567 SELECT * from t1 where f2=f1;
2568 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read()
2569 SELECT * from t1 where f2=f1' at line 1
2570 CREATE PROCEDURE reads()
2571 SELECT * from t1 where f2=f1;
2572 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'reads()
2573 SELECT * from t1 where f2=f1' at line 1
2574 CREATE PROCEDURE real()
2575 SELECT * from t1 where f2=f1;
2576 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real()
2577 SELECT * from t1 where f2=f1' at line 1
2578 CREATE PROCEDURE references()
2579 SELECT * from t1 where f2=f1;
2580 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'references()
2581 SELECT * from t1 where f2=f1' at line 1
2582 CREATE PROCEDURE regexp()
2583 SELECT * from t1 where f2=f1;
2584 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp()
2585 SELECT * from t1 where f2=f1' at line 1
2586 CREATE PROCEDURE release()
2587 SELECT * from t1 where f2=f1;
2588 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'release()
2589 SELECT * from t1 where f2=f1' at line 1
2590 CREATE PROCEDURE rename()
2591 SELECT * from t1 where f2=f1;
2592 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rename()
2593 SELECT * from t1 where f2=f1' at line 1
2594 CREATE PROCEDURE repeat()
2595 SELECT * from t1 where f2=f1;
2596 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'repeat()
2597 SELECT * from t1 where f2=f1' at line 1
2598 CREATE PROCEDURE replace()
2599 SELECT * from t1 where f2=f1;
2600 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'replace()
2601 SELECT * from t1 where f2=f1' at line 1
2602 CREATE PROCEDURE require()
2603 SELECT * from t1 where f2=f1;
2604 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'require()
2605 SELECT * from t1 where f2=f1' at line 1
2606 CREATE PROCEDURE restrict()
2607 SELECT * from t1 where f2=f1;
2608 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'restrict()
2609 SELECT * from t1 where f2=f1' at line 1
2610 CREATE PROCEDURE return()
2611 SELECT * from t1 where f2=f1;
2612 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'return()
2613 SELECT * from t1 where f2=f1' at line 1
2614 CREATE PROCEDURE revoke()
2615 SELECT * from t1 where f2=f1;
2616 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'revoke()
2617 SELECT * from t1 where f2=f1' at line 1
2618 CREATE PROCEDURE right()
2619 SELECT * from t1 where f2=f1;
2620 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'right()
2621 SELECT * from t1 where f2=f1' at line 1
2622 CREATE PROCEDURE rlike()
2623 SELECT * from t1 where f2=f1;
2624 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike()
2625 SELECT * from t1 where f2=f1' at line 1
2626 CREATE PROCEDURE schema()
2627 SELECT 1;
2628 CALL schema();
2629 1
2630 1
2631 DROP PROCEDURE schema;
2632 CREATE PROCEDURE schemas()
2633 SELECT * from t1 where f2=f1;
2634 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas()
2635 SELECT * from t1 where f2=f1' at line 1
2636 CREATE PROCEDURE second_microsecond()
2637 SELECT * from t1 where f2=f1;
2638 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'second_microsecond()
2639 SELECT * from t1 where f2=f1' at line 1
2640 CREATE PROCEDURE select()
2641 SELECT * from t1 where f2=f1;
2642 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'select()
2643 SELECT * from t1 where f2=f1' at line 1
2644 CREATE PROCEDURE sensitive()
2645 SELECT * from t1 where f2=f1;
2646 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sensitive()
2647 SELECT * from t1 where f2=f1' at line 1
2648 CREATE PROCEDURE separator()
2649 SELECT * from t1 where f2=f1;
2650 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'separator()
2651 SELECT * from t1 where f2=f1' at line 1
2652 CREATE PROCEDURE set()
2653 SELECT * from t1 where f2=f1;
2654 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set()
2655 SELECT * from t1 where f2=f1' at line 1
2656 CREATE PROCEDURE show()
2657 SELECT * from t1 where f2=f1;
2658 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'show()
2659 SELECT * from t1 where f2=f1' at line 1
2660 CREATE PROCEDURE smallint()
2661 SELECT * from t1 where f2=f1;
2662 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint()
2663 SELECT * from t1 where f2=f1' at line 1
2664 CREATE PROCEDURE spatial()
2665 SELECT * from t1 where f2=f1;
2666 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'spatial()
2667 SELECT * from t1 where f2=f1' at line 1
2668 CREATE PROCEDURE specific()
2669 SELECT * from t1 where f2=f1;
2670 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'specific()
2671 SELECT * from t1 where f2=f1' at line 1
2672 CREATE PROCEDURE sql()
2673 SELECT * from t1 where f2=f1;
2674 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql()
2675 SELECT * from t1 where f2=f1' at line 1
2676 CREATE PROCEDURE sqlexception()
2677 SELECT * from t1 where f2=f1;
2678 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlexception()
2679 SELECT * from t1 where f2=f1' at line 1
2680 CREATE PROCEDURE sqlstate()
2681 SELECT * from t1 where f2=f1;
2682 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlstate()
2683 SELECT * from t1 where f2=f1' at line 1
2684 CREATE PROCEDURE sqlwarning()
2685 SELECT * from t1 where f2=f1;
2686 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlwarning()
2687 SELECT * from t1 where f2=f1' at line 1
2688 CREATE PROCEDURE sql_big_result()
2689 SELECT * from t1 where f2=f1;
2690 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_big_result()
2691 SELECT * from t1 where f2=f1' at line 1
2692 CREATE PROCEDURE sql_calc_found_rows()
2693 SELECT * from t1 where f2=f1;
2694 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_calc_found_rows()
2695 SELECT * from t1 where f2=f1' at line 1
2696 CREATE PROCEDURE sql_small_result()
2697 SELECT * from t1 where f2=f1;
2698 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_small_result()
2699 SELECT * from t1 where f2=f1' at line 1
2700 CREATE PROCEDURE ssl()
2701 SELECT * from t1 where f2=f1;
2702 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ssl()
2703 SELECT * from t1 where f2=f1' at line 1
2704 CREATE PROCEDURE starting()
2705 SELECT * from t1 where f2=f1;
2706 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'starting()
2707 SELECT * from t1 where f2=f1' at line 1
2708 CREATE PROCEDURE straight_join()
2709 SELECT * from t1 where f2=f1;
2710 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'straight_join()
2711 SELECT * from t1 where f2=f1' at line 1
2712 CREATE PROCEDURE table()
2713 SELECT * from t1 where f2=f1;
2714 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table()
2715 SELECT * from t1 where f2=f1' at line 1
2716 CREATE PROCEDURE terminated()
2717 SELECT * from t1 where f2=f1;
2718 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'terminated()
2719 SELECT * from t1 where f2=f1' at line 1
2720 CREATE PROCEDURE then()
2721 SELECT * from t1 where f2=f1;
2722 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then()
2723 SELECT * from t1 where f2=f1' at line 1
2724 CREATE PROCEDURE tinyblob()
2725 SELECT * from t1 where f2=f1;
2726 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob()
2727 SELECT * from t1 where f2=f1' at line 1
2728 CREATE PROCEDURE tinyint()
2729 SELECT * from t1 where f2=f1;
2730 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint()
2731 SELECT * from t1 where f2=f1' at line 1
2732 CREATE PROCEDURE tinytext()
2733 SELECT * from t1 where f2=f1;
2734 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext()
2735 SELECT * from t1 where f2=f1' at line 1
2736 CREATE PROCEDURE to()
2737 SELECT * from t1 where f2=f1;
2738 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to()
2739 SELECT * from t1 where f2=f1' at line 1
2740 CREATE PROCEDURE trailing()
2741 SELECT * from t1 where f2=f1;
2742 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trailing()
2743 SELECT * from t1 where f2=f1' at line 1
2744 CREATE PROCEDURE trigger()
2745 SELECT * from t1 where f2=f1;
2746 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trigger()
2747 SELECT * from t1 where f2=f1' at line 1
2748 CREATE PROCEDURE true()
2749 SELECT * from t1 where f2=f1;
2750 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'true()
2751 SELECT * from t1 where f2=f1' at line 1
2752 CREATE PROCEDURE undo()
2753 SELECT * from t1 where f2=f1;
2754 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo()
2755 SELECT * from t1 where f2=f1' at line 1
2756 CREATE PROCEDURE union()
2757 SELECT * from t1 where f2=f1;
2758 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'union()
2759 SELECT * from t1 where f2=f1' at line 1
2760 CREATE PROCEDURE unique()
2761 SELECT * from t1 where f2=f1;
2762 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unique()
2763 SELECT * from t1 where f2=f1' at line 1
2764 CREATE PROCEDURE unlock()
2765 SELECT * from t1 where f2=f1;
2766 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unlock()
2767 SELECT * from t1 where f2=f1' at line 1
2768 CREATE PROCEDURE unsigned()
2769 SELECT * from t1 where f2=f1;
2770 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unsigned()
2771 SELECT * from t1 where f2=f1' at line 1
2772 CREATE PROCEDURE update()
2773 SELECT * from t1 where f2=f1;
2774 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'update()
2775 SELECT * from t1 where f2=f1' at line 1
2776 CREATE PROCEDURE usage()
2777 SELECT * from t1 where f2=f1;
2778 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'usage()
2779 SELECT * from t1 where f2=f1' at line 1
2780 CREATE PROCEDURE use()
2781 SELECT * from t1 where f2=f1;
2782 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'use()
2783 SELECT * from t1 where f2=f1' at line 1
2784 CREATE PROCEDURE using()
2785 SELECT * from t1 where f2=f1;
2786 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'using()
2787 SELECT * from t1 where f2=f1' at line 1
2788 CREATE PROCEDURE utc_date()
2789 SELECT * from t1 where f2=f1;
2790 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_date()
2791 SELECT * from t1 where f2=f1' at line 1
2792 CREATE PROCEDURE utc_time()
2793 SELECT * from t1 where f2=f1;
2794 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time()
2795 SELECT * from t1 where f2=f1' at line 1
2796 CREATE PROCEDURE utc_timestamp()
2797 SELECT * from t1 where f2=f1;
2798 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_timestamp()
2799 SELECT * from t1 where f2=f1' at line 1
2800 CREATE PROCEDURE values()
2801 SELECT * from t1 where f2=f1;
2802 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'values()
2803 SELECT * from t1 where f2=f1' at line 1
2804 CREATE PROCEDURE varbinary()
2805 SELECT * from t1 where f2=f1;
2806 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varbinary()
2807 SELECT * from t1 where f2=f1' at line 1
2808 CREATE PROCEDURE varchar()
2809 SELECT * from t1 where f2=f1;
2810 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar()
2811 SELECT * from t1 where f2=f1' at line 1
2812 CREATE PROCEDURE varcharacter()
2813 SELECT * from t1 where f2=f1;
2814 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varcharacter()
2815 SELECT * from t1 where f2=f1' at line 1
2816 CREATE PROCEDURE varying()
2817 SELECT * from t1 where f2=f1;
2818 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varying()
2819 SELECT * from t1 where f2=f1' at line 1
2820 CREATE PROCEDURE when()
2821 SELECT * from t1 where f2=f1;
2822 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when()
2823 SELECT * from t1 where f2=f1' at line 1
2824 CREATE PROCEDURE where()
2825 SELECT * from t1 where f2=f1;
2826 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where()
2827 SELECT * from t1 where f2=f1' at line 1
2828 CREATE PROCEDURE while()
2829 SELECT * from t1 where f2=f1;
2830 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while()
2831 SELECT * from t1 where f2=f1' at line 1
2832 CREATE PROCEDURE with()
2833 SELECT * from t1 where f2=f1;
2834 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with()
2835 SELECT * from t1 where f2=f1' at line 1
2836 CREATE PROCEDURE write()
2837 SELECT * from t1 where f2=f1;
2838 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'write()
2839 SELECT * from t1 where f2=f1' at line 1
2840 CREATE PROCEDURE xor()
2841 SELECT * from t1 where f2=f1;
2842 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'xor()
2843 SELECT * from t1 where f2=f1' at line 1
2844 CREATE PROCEDURE year_month()
2845 SELECT * from t1 where f2=f1;
2846 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year_month()
2847 SELECT * from t1 where f2=f1' at line 1
2848 CREATE PROCEDURE zerofill()
2849 SELECT * from t1 where f2=f1;
2850 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zerofill()
2851 SELECT * from t1 where f2=f1' at line 1
2852
2853 Testcase 4.1.15:
2854 ----------------
2855 Ensure that any invalid function name is never accepted, and that an appropriate
2856 error message is returned when the name is rejected
2857 --------------------------------------------------------------------------------
2858 CREATE FUNCTION !_fn1(f1 char) returns char
2859 return f1;
2860 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '!_fn1(f1 char) returns char
2861 return f1' at line 1
2862 CREATE FUNCTION char(f1 char) returns char
2863 return f1;
2864 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char(f1 char) returns char
2865 return f1' at line 1
2866 CREATE FUNCTION char binary(f1 char binary) returns char binary
2867 return f1;
2868 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char binary(f1 char binary) returns char binary
2869 return f1' at line 1
2870 CREATE FUNCTION char ascii(f1 char ascii) returns char ascii
2871 return f1;
2872 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char ascii(f1 char ascii) returns char ascii
2873 return f1' at line 1
2874 CREATE FUNCTION char not null(f1 char not null) returns char not null
2875 return f1;
2876 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char not null(f1 char not null) returns char not null
2877 return f1' at line 1
2878 CREATE FUNCTION char binary not null(f1 char binary not null) returns char binary not null
2879 return f1;
2880 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char binary not null(f1 char binary not null) returns char binary not null
2881 re...' at line 1
2882 CREATE FUNCTION char ascii not null(f1 char ascii not null) returns char ascii not null
2883 return f1;
2884 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char ascii not null(f1 char ascii not null) returns char ascii not null
2885 retur...' at line 1
2886 CREATE FUNCTION tinytext(f1 tinytext) returns tinytext
2887 return f1;
2888 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext(f1 tinytext) returns tinytext
2889 return f1' at line 1
2890 CREATE FUNCTION text(f1 text) returns text
2891 return f1;
2892 DROP FUNCTION text;
2893 CREATE FUNCTION mediumtext(f1 mediumtext) returns mediumtext
2894 return f1;
2895 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext(f1 mediumtext) returns mediumtext
2896 return f1' at line 1
2897 CREATE FUNCTION longtext(f1 longtext) returns longtext
2898 return f1;
2899 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext(f1 longtext) returns longtext
2900 return f1' at line 1
2901 CREATE FUNCTION tinytext not null(f1 tinytext not null) returns tinytext not null
2902 return f1;
2903 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext not null(f1 tinytext not null) returns tinytext not null
2904 return f1' at line 1
2905 CREATE FUNCTION text not null(f1 text not null) returns text not null
2906 return f1;
2907 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null(f1 text not null) returns text not null
2908 return f1' at line 1
2909 CREATE FUNCTION mediumtext not null(f1 mediumtext not null) returns mediumtext not null
2910 return f1;
2911 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext not null(f1 mediumtext not null) returns mediumtext not null
2912 retur...' at line 1
2913 CREATE FUNCTION longtext not null(f1 longtext not null) returns longtext not null
2914 return f1;
2915 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext not null(f1 longtext not null) returns longtext not null
2916 return f1' at line 1
2917 CREATE FUNCTION tinyblob(f1 tinyblob) returns tinyblob
2918 return f1;
2919 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob(f1 tinyblob) returns tinyblob
2920 return f1' at line 1
2921 CREATE FUNCTION blob(f1 blob) returns blob
2922 return f1;
2923 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob(f1 blob) returns blob
2924 return f1' at line 1
2925 CREATE FUNCTION mediumblob(f1 mediumblob) returns mediumblob
2926 return f1;
2927 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob(f1 mediumblob) returns mediumblob
2928 return f1' at line 1
2929 CREATE FUNCTION longblob(f1 longblob) returns longblob
2930 return f1;
2931 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob(f1 longblob) returns longblob
2932 return f1' at line 1
2933 CREATE FUNCTION tinyblob not null(f1 tinyblob not null) returns tinyblob not null
2934 return f1;
2935 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob not null(f1 tinyblob not null) returns tinyblob not null
2936 return f1' at line 1
2937 CREATE FUNCTION blob not null(f1 blob not null) returns blob not null
2938 return f1;
2939 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob not null(f1 blob not null) returns blob not null
2940 return f1' at line 1
2941 CREATE FUNCTION mediumblob not null(f1 mediumblob not null) returns mediumblob not null
2942 return f1;
2943 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob not null(f1 mediumblob not null) returns mediumblob not null
2944 retur...' at line 1
2945 CREATE FUNCTION longblob not null(f1 longblob not null) returns longblob not null
2946 return f1;
2947 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob not null(f1 longblob not null) returns longblob not null
2948 return f1' at line 1
2949 CREATE FUNCTION binary(f1 binary) returns binary
2950 return f1;
2951 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary(f1 binary) returns binary
2952 return f1' at line 1
2953 CREATE FUNCTION binary not null(f1 binary not null) returns binary not null
2954 return f1;
2955 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary not null(f1 binary not null) returns binary not null
2956 return f1' at line 1
2957 CREATE FUNCTION tinyint(f1 tinyint) returns tinyint
2958 return f1;
2959 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint(f1 tinyint) returns tinyint
2960 return f1' at line 1
2961 CREATE FUNCTION tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
2962 return f1;
2963 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned
2964 return f1' at line 1
2965 CREATE FUNCTION tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
2966 return f1;
2967 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill
2968 return f1' at line 1
2969 CREATE FUNCTION tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
2970 return f1;
2971 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsig...' at line 1
2972 CREATE FUNCTION smallint(f1 smallint) returns smallint
2973 return f1;
2974 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint(f1 smallint) returns smallint
2975 return f1' at line 1
2976 CREATE FUNCTION smallint unsigned(f1 smallint unsigned) returns smallint unsigned
2977 return f1;
2978 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint unsigned(f1 smallint unsigned) returns smallint unsigned
2979 return f1' at line 1
2980 CREATE FUNCTION smallint zerofill(f1 smallint zerofill) returns smallint zerofill
2981 return f1;
2982 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint zerofill(f1 smallint zerofill) returns smallint zerofill
2983 return f1' at line 1
2984 CREATE FUNCTION smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsigned zerofill
2985 return f1;
2986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint un...' at line 1
2987 CREATE FUNCTION mediumint(f1 mediumint) returns mediumint
2988 return f1;
2989 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint(f1 mediumint) returns mediumint
2990 return f1' at line 1
2991 CREATE FUNCTION mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
2992 return f1;
2993 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned
2994 return f1' at line 1
2995 CREATE FUNCTION mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
2996 return f1;
2997 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill
2998 return f1' at line 1
2999 CREATE FUNCTION mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
3000 return f1;
3001 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint...' at line 1
3002 CREATE FUNCTION int(f1 int) returns int
3003 return f1;
3004 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int(f1 int) returns int
3005 return f1' at line 1
3006 CREATE FUNCTION int1(f1 int1) returns int1
3007 return f1;
3008 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1(f1 int1) returns int1
3009 return f1' at line 1
3010 CREATE FUNCTION int2(f1 int2) returns int2
3011 return f1;
3012 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2(f1 int2) returns int2
3013 return f1' at line 1
3014 CREATE FUNCTION int3(f1 int3) returns int3
3015 return f1;
3016 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3(f1 int3) returns int3
3017 return f1' at line 1
3018 CREATE FUNCTION int4(f1 int4) returns int4
3019 return f1;
3020 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4(f1 int4) returns int4
3021 return f1' at line 1
3022 CREATE FUNCTION int8(f1 int8) returns int8
3023 return f1;
3024 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8(f1 int8) returns int8
3025 return f1' at line 1
3026 CREATE FUNCTION int unsigned(f1 int unsigned) returns int unsigned
3027 return f1;
3028 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int unsigned(f1 int unsigned) returns int unsigned
3029 return f1' at line 1
3030 CREATE FUNCTION int zerofill(f1 int zerofill) returns int zerofill
3031 return f1;
3032 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int zerofill(f1 int zerofill) returns int zerofill
3033 return f1' at line 1
3034 CREATE FUNCTION int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill
3035 return f1;
3036 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill...' at line 1
3037 CREATE FUNCTION bigint(f1 bigint) returns bigint
3038 return f1;
3039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint(f1 bigint) returns bigint
3040 return f1' at line 1
3041 CREATE FUNCTION bigint unsigned(f1 bigint unsigned) returns bigint unsigned
3042 return f1;
3043 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned(f1 bigint unsigned) returns bigint unsigned
3044 return f1' at line 1
3045 CREATE FUNCTION bigint zerofill(f1 bigint zerofill) returns bigint zerofill
3046 return f1;
3047 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint zerofill(f1 bigint zerofill) returns bigint zerofill
3048 return f1' at line 1
3049 CREATE FUNCTION bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned zerofill
3050 return f1;
3051 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned...' at line 1
3052 CREATE FUNCTION decimal(f1 decimal) returns decimal
3053 return f1;
3054 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal(f1 decimal) returns decimal
3055 return f1' at line 1
3056 CREATE FUNCTION decimal unsigned(f1 decimal unsigned) returns decimal unsigned
3057 return f1;
3058 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal unsigned(f1 decimal unsigned) returns decimal unsigned
3059 return f1' at line 1
3060 CREATE FUNCTION decimal zerofill(f1 decimal zerofill) returns decimal zerofill
3061 return f1;
3062 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal zerofill(f1 decimal zerofill) returns decimal zerofill
3063 return f1' at line 1
3064 CREATE FUNCTION decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned zerofill
3065 return f1;
3066 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsig...' at line 1
3067 CREATE FUNCTION numeric(f1 numeric) returns numeric
3068 return f1;
3069 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric(f1 numeric) returns numeric
3070 return f1' at line 1
3071 CREATE FUNCTION numeric unsigned(f1 numeric unsigned) returns numeric unsigned
3072 return f1;
3073 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric unsigned(f1 numeric unsigned) returns numeric unsigned
3074 return f1' at line 1
3075 CREATE FUNCTION numeric zerofill(f1 numeric zerofill) returns numeric zerofill
3076 return f1;
3077 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric zerofill(f1 numeric zerofill) returns numeric zerofill
3078 return f1' at line 1
3079 CREATE FUNCTION numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned zerofill
3080 return f1;
3081 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsig...' at line 1
3082 CREATE FUNCTION real(f1 real) returns real
3083 return f1;
3084 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real(f1 real) returns real
3085 return f1' at line 1
3086 CREATE FUNCTION real unsigned(f1 real unsigned) returns real unsigned
3087 return f1;
3088 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real unsigned(f1 real unsigned) returns real unsigned
3089 return f1' at line 1
3090 CREATE FUNCTION real zerofill(f1 real zerofill) returns real zerofill
3091 return f1;
3092 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real zerofill(f1 real zerofill) returns real zerofill
3093 return f1' at line 1
3094 CREATE FUNCTION real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill
3095 return f1;
3096 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerof...' at line 1
3097 CREATE FUNCTION float(f1 float) returns float
3098 return f1;
3099 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(f1 float) returns float
3100 return f1' at line 1
3101 CREATE FUNCTION float unsigned(f1 float unsigned) returns float unsigned
3102 return f1;
3103 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float unsigned(f1 float unsigned) returns float unsigned
3104 return f1' at line 1
3105 CREATE FUNCTION float zerofill(f1 float zerofill) returns float zerofill
3106 return f1;
3107 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float zerofill(f1 float zerofill) returns float zerofill
3108 return f1' at line 1
3109 CREATE FUNCTION float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerofill
3110 return f1;
3111 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned ze...' at line 1
3112 CREATE FUNCTION date(f1 date) returns date
3113 return f1;
3114 DROP FUNCTION date;
3115 CREATE FUNCTION time(f1 time) returns time
3116 return f1;
3117 DROP FUNCTION time;
3118 CREATE FUNCTION datetime(f1 datetime) returns datetime
3119 return f1;
3120 DROP FUNCTION datetime;
3121 CREATE FUNCTION timestamp(f1 timestamp) returns timestamp
3122 return f1;
3123 DROP FUNCTION timestamp;
3124 CREATE FUNCTION year(f1 year) returns year
3125 return f1;
3126 DROP FUNCTION year;
3127 CREATE FUNCTION year(3)(f1 year(3)) returns year(3)
3128 return f1;
3129 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '3)(f1 year(3)) returns year(3)
3130 return f1' at line 1
3131 CREATE FUNCTION year(4)(f1 year(4)) returns year(4)
3132 return f1;
3133 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '4)(f1 year(4)) returns year(4)
3134 return f1' at line 1
3135 CREATE FUNCTION enum("1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
3136 return f1;
3137 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '"1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum")
3138 r...' at line 1
3139 CREATE FUNCTION set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
3140 return f1;
3141 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set")
3142 retur...' at line 1
3143 DROP FUNCTION IF EXISTS fn1;
3144 Warnings:
3145 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3146 CREATE FUNCTION fn1(f1 char ) returns char
3147 return f1;
3148 DROP FUNCTION IF EXISTS fn1;
3149 CREATE FUNCTION fn1(f1 char binary ) returns char binary
3150 return f1;
3151 DROP FUNCTION IF EXISTS fn1;
3152 CREATE FUNCTION fn1(f1 char ascii ) returns char ascii
3153 return f1;
3154 DROP FUNCTION IF EXISTS fn1;
3155 CREATE FUNCTION fn1(f1 char not null ) returns char not null
3156 return f1;
3157 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns char not null
3158 return f1' at line 1
3159 DROP FUNCTION IF EXISTS fn1;
3160 Warnings:
3161 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3162 CREATE FUNCTION fn1(f1 char binary not null ) returns char binary not null
3163 return f1;
3164 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns char binary not null
3165 return f1' at line 1
3166 DROP FUNCTION IF EXISTS fn1;
3167 Warnings:
3168 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3169 CREATE FUNCTION fn1(f1 char ascii not null ) returns char ascii not null
3170 return f1;
3171 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns char ascii not null
3172 return f1' 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 tinytext ) returns tinytext
3177 return f1;
3178 DROP FUNCTION IF EXISTS fn1;
3179 CREATE FUNCTION fn1(f1 text ) returns text
3180 return f1;
3181 DROP FUNCTION IF EXISTS fn1;
3182 CREATE FUNCTION fn1(f1 mediumtext ) returns mediumtext
3183 return f1;
3184 DROP FUNCTION IF EXISTS fn1;
3185 CREATE FUNCTION fn1(f1 longtext ) returns longtext
3186 return f1;
3187 DROP FUNCTION IF EXISTS fn1;
3188 CREATE FUNCTION fn1(f1 tinytext not null ) returns tinytext not null
3189 return f1;
3190 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns tinytext not null
3191 return f1' at line 1
3192 DROP FUNCTION IF EXISTS fn1;
3193 Warnings:
3194 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3195 CREATE FUNCTION fn1(f1 text not null ) returns text not null
3196 return f1;
3197 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns text not null
3198 return f1' at line 1
3199 DROP FUNCTION IF EXISTS fn1;
3200 Warnings:
3201 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3202 CREATE FUNCTION fn1(f1 mediumtext not null ) returns mediumtext not null
3203 return f1;
3204 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns mediumtext not null
3205 return f1' at line 1
3206 DROP FUNCTION IF EXISTS fn1;
3207 Warnings:
3208 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3209 CREATE FUNCTION fn1(f1 longtext not null ) returns longtext not null
3210 return f1;
3211 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns longtext not null
3212 return f1' at line 1
3213 DROP FUNCTION IF EXISTS fn1;
3214 Warnings:
3215 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3216 CREATE FUNCTION fn1(f1 tinyblob ) returns tinyblob
3217 return f1;
3218 DROP FUNCTION IF EXISTS fn1;
3219 CREATE FUNCTION fn1(f1 blob ) returns blob
3220 return f1;
3221 DROP FUNCTION IF EXISTS fn1;
3222 CREATE FUNCTION fn1(f1 mediumblob ) returns mediumblob
3223 return f1;
3224 DROP FUNCTION IF EXISTS fn1;
3225 CREATE FUNCTION fn1(f1 longblob ) returns longblob
3226 return f1;
3227 DROP FUNCTION IF EXISTS fn1;
3228 CREATE FUNCTION fn1(f1 tinyblob not null ) returns tinyblob not null
3229 return f1;
3230 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns tinyblob not null
3231 return f1' at line 1
3232 DROP FUNCTION IF EXISTS fn1;
3233 Warnings:
3234 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3235 CREATE FUNCTION fn1(f1 blob not null ) returns blob not null
3236 return f1;
3237 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns blob not null
3238 return f1' at line 1
3239 DROP FUNCTION IF EXISTS fn1;
3240 Warnings:
3241 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3242 CREATE FUNCTION fn1(f1 mediumblob not null ) returns mediumblob not null
3243 return f1;
3244 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns mediumblob not null
3245 return f1' at line 1
3246 DROP FUNCTION IF EXISTS fn1;
3247 Warnings:
3248 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3249 CREATE FUNCTION fn1(f1 longblob not null ) returns longblob not null
3250 return f1;
3251 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns longblob not null
3252 return f1' at line 1
3253 DROP FUNCTION IF EXISTS fn1;
3254 Warnings:
3255 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3256 CREATE FUNCTION fn1(f1 binary ) returns binary
3257 return f1;
3258 DROP FUNCTION IF EXISTS fn1;
3259 CREATE FUNCTION fn1(f1 binary not null ) returns binary not null
3260 return f1;
3261 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not null ) returns binary not null
3262 return f1' at line 1
3263 DROP FUNCTION IF EXISTS fn1;
3264 Warnings:
3265 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3266 CREATE FUNCTION fn1(f1 tinyint ) returns tinyint
3267 return f1;
3268 DROP FUNCTION IF EXISTS fn1;
3269 CREATE FUNCTION fn1(f1 tinyint unsigned ) returns tinyint unsigned
3270 return f1;
3271 DROP FUNCTION IF EXISTS fn1;
3272 CREATE FUNCTION fn1(f1 tinyint zerofill ) returns tinyint zerofill
3273 return f1;
3274 DROP FUNCTION IF EXISTS fn1;
3275 CREATE FUNCTION fn1(f1 tinyint unsigned zerofill ) returns tinyint unsigned zerofill
3276 return f1;
3277 DROP FUNCTION IF EXISTS fn1;
3278 CREATE FUNCTION fn1(f1 smallint ) returns smallint
3279 return f1;
3280 DROP FUNCTION IF EXISTS fn1;
3281 CREATE FUNCTION fn1(f1 smallint unsigned ) returns smallint unsigned
3282 return f1;
3283 DROP FUNCTION IF EXISTS fn1;
3284 CREATE FUNCTION fn1(f1 smallint zerofill ) returns smallint zerofill
3285 return f1;
3286 DROP FUNCTION IF EXISTS fn1;
3287 CREATE FUNCTION fn1(f1 smallint unsigned zerofill ) returns smallint unsigned zerofill
3288 return f1;
3289 DROP FUNCTION IF EXISTS fn1;
3290 CREATE FUNCTION fn1(f1 mediumint ) returns mediumint
3291 return f1;
3292 DROP FUNCTION IF EXISTS fn1;
3293 CREATE FUNCTION fn1(f1 mediumint unsigned ) returns mediumint unsigned
3294 return f1;
3295 DROP FUNCTION IF EXISTS fn1;
3296 CREATE FUNCTION fn1(f1 mediumint zerofill ) returns mediumint zerofill
3297 return f1;
3298 DROP FUNCTION IF EXISTS fn1;
3299 CREATE FUNCTION fn1(f1 mediumint unsigned zerofill ) returns mediumint unsigned zerofill
3300 return f1;
3301 DROP FUNCTION IF EXISTS fn1;
3302 CREATE FUNCTION fn1(f1 int ) returns int
3303 return f1;
3304 DROP FUNCTION IF EXISTS fn1;
3305 CREATE FUNCTION fn1(f1 int unsigned ) returns int unsigned
3306 return f1;
3307 DROP FUNCTION IF EXISTS fn1;
3308 CREATE FUNCTION fn1(f1 int1 unsigned ) returns int1 unsigned
3309 return f1;
3310 DROP FUNCTION IF EXISTS fn1;
3311 CREATE FUNCTION fn1(f1 int2 unsigned ) returns int2 unsigned
3312 return f1;
3313 DROP FUNCTION IF EXISTS fn1;
3314 CREATE FUNCTION fn1(f1 int3 unsigned ) returns int3 unsigned
3315 return f1;
3316 DROP FUNCTION IF EXISTS fn1;
3317 CREATE FUNCTION fn1(f1 int4 unsigned ) returns int4 unsigned
3318 return f1;
3319 DROP FUNCTION IF EXISTS fn1;
3320 CREATE FUNCTION fn1(f1 int8 unsigned ) returns int8 unsigned
3321 return f1;
3322 DROP FUNCTION IF EXISTS fn1;
3323 CREATE FUNCTION fn1(f1 int zerofill ) returns int zerofill
3324 return f1;
3325 DROP FUNCTION IF EXISTS fn1;
3326 CREATE FUNCTION fn1(f1 int unsigned zerofill ) returns int unsigned zerofill
3327 return f1;
3328 DROP FUNCTION IF EXISTS fn1;
3329 CREATE FUNCTION fn1(f1 bigint ) returns bigint
3330 return f1;
3331 DROP FUNCTION IF EXISTS fn1;
3332 CREATE FUNCTION fn1(f1 bigint unsigned ) returns bigint unsigned
3333 return f1;
3334 DROP FUNCTION IF EXISTS fn1;
3335 CREATE FUNCTION fn1(f1 bigint zerofill ) returns bigint zerofill
3336 return f1;
3337 DROP FUNCTION IF EXISTS fn1;
3338 CREATE FUNCTION fn1(f1 bigint unsigned zerofill ) returns bigint unsigned zerofill
3339 return f1;
3340 DROP FUNCTION IF EXISTS fn1;
3341 CREATE FUNCTION fn1(f1 decimal ) returns decimal
3342 return f1;
3343 DROP FUNCTION IF EXISTS fn1;
3344 CREATE FUNCTION fn1(f1 decimal unsigned ) returns decimal unsigned
3345 return f1;
3346 DROP FUNCTION IF EXISTS fn1;
3347 CREATE FUNCTION fn1(f1 decimal zerofill ) returns decimal zerofill
3348 return f1;
3349 DROP FUNCTION IF EXISTS fn1;
3350 CREATE FUNCTION fn1(f1 decimal unsigned zerofill ) returns decimal unsigned zerofill
3351 return f1;
3352 DROP FUNCTION IF EXISTS fn1;
3353 CREATE FUNCTION fn1(f1 numeric ) returns numeric
3354 return f1;
3355 DROP FUNCTION IF EXISTS fn1;
3356 CREATE FUNCTION fn1(f1 numeric unsigned ) returns numeric unsigned
3357 return f1;
3358 DROP FUNCTION IF EXISTS fn1;
3359 CREATE FUNCTION fn1(f1 numeric zerofill ) returns numeric zerofill
3360 return f1;
3361 DROP FUNCTION IF EXISTS fn1;
3362 CREATE FUNCTION fn1(f1 numeric unsigned zerofill ) returns numeric unsigned zerofill
3363 return f1;
3364 DROP FUNCTION IF EXISTS fn1;
3365 CREATE FUNCTION fn1(f1 real ) returns real
3366 return f1;
3367 DROP FUNCTION IF EXISTS fn1;
3368 CREATE FUNCTION fn1(f1 real unsigned ) returns real unsigned
3369 return f1;
3370 DROP FUNCTION IF EXISTS fn1;
3371 CREATE FUNCTION fn1(f1 real zerofill ) returns real zerofill
3372 return f1;
3373 DROP FUNCTION IF EXISTS fn1;
3374 CREATE FUNCTION fn1(f1 real unsigned zerofill ) returns real unsigned zerofill
3375 return f1;
3376 DROP FUNCTION IF EXISTS fn1;
3377 CREATE FUNCTION fn1(f1 float ) returns float
3378 return f1;
3379 DROP FUNCTION IF EXISTS fn1;
3380 CREATE FUNCTION fn1(f1 float unsigned ) returns float unsigned
3381 return f1;
3382 DROP FUNCTION IF EXISTS fn1;
3383 CREATE FUNCTION fn1(f1 float zerofill ) returns float zerofill
3384 return f1;
3385 DROP FUNCTION IF EXISTS fn1;
3386 CREATE FUNCTION fn1(f1 float unsigned zerofill ) returns float unsigned zerofill
3387 return f1;
3388 DROP FUNCTION IF EXISTS fn1;
3389 CREATE FUNCTION fn1(f1 date ) returns date
3390 return f1;
3391 DROP FUNCTION IF EXISTS fn1;
3392 CREATE FUNCTION fn1(f1 time ) returns time
3393 return f1;
3394 DROP FUNCTION IF EXISTS fn1;
3395 CREATE FUNCTION fn1(f1 datetime ) returns datetime
3396 return f1;
3397 DROP FUNCTION IF EXISTS fn1;
3398 CREATE FUNCTION fn1(f1 timestamp ) returns timestamp
3399 return f1;
3400 DROP FUNCTION IF EXISTS fn1;
3401 CREATE FUNCTION fn1(f1 year ) returns year
3402 return f1;
3403 DROP FUNCTION IF EXISTS fn1;
3404 CREATE FUNCTION fn1(f1 year(f1 3) ) returns year(3)
3405 return f1;
3406 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'f1 3) ) returns year(3)
3407 return f1' at line 1
3408 DROP FUNCTION IF EXISTS fn1;
3409 Warnings:
3410 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3411 CREATE FUNCTION fn1(f1 year(f1 4) ) returns year(4)
3412 return f1;
3413 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'f1 4) ) returns year(4)
3414 return f1' at line 1
3415 DROP FUNCTION IF EXISTS fn1;
3416 Warnings:
3417 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3418 CREATE FUNCTION fn1(f1 enum(f1 "1enum", "2enum") ) returns enum("1enum", "2enum")
3419 return f1;
3420 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'f1 "1enum", "2enum") ) returns enum("1enum", "2enum")
3421 return f1' at line 1
3422 DROP FUNCTION IF EXISTS fn1;
3423 Warnings:
3424 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3425 CREATE FUNCTION fn1(f1 set(f1 "1set", "2set") ) returns set("1set", "2set")
3426 return f1;
3427 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'f1 "1set", "2set") ) returns set("1set", "2set")
3428 return f1' at line 1
3429
3430 Testcase 4.1.16:
3431 ----------------
3432 Ensure that a reference to a non-existent stored procedure is rejected with an
3433 appropriate error message
3434 --------------------------------------------------------------------------------
3435 DROP PROCEDURE IF EXISTS sp16;
3436 Warnings:
3437 Note 1305 PROCEDURE db_storedproc.sp16 does not exist
3438 CALL sp16( 'xyz' );
3439 ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3440 CREATE DATABASE db1;
3441 USE db1;
3442 CREATE PROCEDURE sp16()
3443 BEGIN
3444 set @var1 = 1;
3445 SELECT @var1;
3446 END//
3447 CALL db_storedproc.sp16();
3448 ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist
3449 USE db_storedproc;
3450 DROP PROCEDURE db1.sp16;
3451 DROP DATABASE db1;
3452
3453 Testcase 4.1.17:
3454 ----------------
3455 Ensure that it is possible to drop, create and CALL/execute a procedure and a
3456 function with the same name, even in the same database
3457 --------------------------------------------------------------------------------
3458 USE db_storedproc;
3459 DROP FUNCTION IF EXISTS sp1;
3460 Warnings:
3461 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3462 DROP PROCEDURE IF EXISTS sp1;
3463 Warnings:
3464 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3465 CREATE PROCEDURE sp1 ()
3466 BEGIN
3467 declare x enum( 'db1', 'test' ) default 'test';
3468 SELECT x;
3469 END//
3470 CALL sp1();
3471 x
3472 test
3473 CREATE FUNCTION sp1 (y char) returns char return y;
3474 SELECT sp1( 'a' );
3475 sp1( 'a' )
3476 a
3477 DROP DATABASE IF EXISTS db1;
3478 Warnings:
3479 Note 1008 Can't drop database 'db1'; database doesn't exist
3480 CREATE DATABASE db1;
3481 USE db1;
3482 CALL db_storedproc.sp1( );
3483 x
3484 test
3485 SELECT db_storedproc.sp1( 'a' );
3486 db_storedproc.sp1( 'a' )
3487 a
3488 DROP FUNCTION db_storedproc.sp1;
3489 USE db_storedproc;
3490 SELECT sp1('a');
3491 ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3492 DROP PROCEDURE sp1;
3493 CALL sp1();
3494 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3495 SELECT sp1('a');
3496 ERROR 42000: FUNCTION db_storedproc.sp1 does not exist
3497 USE db_storedproc;
3498 DROP DATABASE db1;
3499
3500 Testcase 4.1.18:
3501 ----------------
3502 Ensure that it is possible to alter a procedure and
3503 a function with the same name, in the same database
3504 --------------------------------------------------------------------------------
3505 USE db_storedproc;
3506 DROP PROCEDURE IF EXISTS sp1;
3507 Warnings:
3508 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3509 DROP FUNCTION IF EXISTS sp1;
3510 Warnings:
3511 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3512 set @x=null;
3513 set @y=null;
3514 CREATE PROCEDURE sp1()
3515 BEGIN
3516 set @x= 1;
3517 SELECT @x;
3518 END//
3519 CREATE FUNCTION sp1 () returns int return 2.2;
3520 CALL db_storedproc.sp1();
3521 @x
3522 1
3523 SELECT db_storedproc.sp1();
3524 db_storedproc.sp1()
3525 2
3526 DROP DATABASE IF EXISTS db1;
3527 Warnings:
3528 Note 1008 Can't drop database 'db1'; database doesn't exist
3529 CREATE DATABASE db1;
3530 USE db1;
3531 alter procedure db_storedproc.sp1 sql security invoker;
3532 SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3533 name type security_type
3534 sp1 FUNCTION DEFINER
3535 sp1 PROCEDURE INVOKER
3536 alter function db_storedproc.sp1 sql security invoker;
3537 SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3538 name type security_type
3539 sp1 FUNCTION INVOKER
3540 sp1 PROCEDURE INVOKER
3541 CALL db_storedproc.sp1();
3542 @x
3543 1
3544 SELECT db_storedproc.sp1();
3545 db_storedproc.sp1()
3546 2
3547 USE db_storedproc;
3548 alter procedure sp1 sql security DEFINER;
3549 CALL db_storedproc.sp1();
3550 @x
3551 1
3552 SELECT db_storedproc.sp1();
3553 db_storedproc.sp1()
3554 2
3555 alter function sp1 sql security DEFINER;
3556 SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
3557 name type security_type
3558 sp1 FUNCTION DEFINER
3559 sp1 PROCEDURE DEFINER
3560 CALL db_storedproc.sp1();
3561 @x
3562 1
3563 SELECT db_storedproc.sp1();
3564 db_storedproc.sp1()
3565 2
3566 USE db_storedproc;
3567 DROP DATABASE db1;
3568 DROP PROCEDURE db_storedproc.sp1;
3569 DROP FUNCTION db_storedproc.sp1;
3570
3571 Testcase 4.1.19:
3572 ----------------
3573 verify altering procedure and function with the same name, does not affect
3574 properties of a procedure and a function with the same name in the different
3575 database.
3576 --------------------------------------------------------------------------------
3577 DROP DATABASE IF EXISTS db_storedproc_3122;
3578 CREATE DATABASE db_storedproc_3122;
3579 USE db_storedproc;
3580 SET @x = NULL;
3581 SET @y = NULL;
3582 DROP PROCEDURE IF EXISTS sp1;
3583 Warnings:
3584 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3585 DROP FUNCTION IF EXISTS sp1;
3586 Warnings:
3587 Note 1305 FUNCTION db_storedproc.sp1 does not exist
3588 DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
3589 Warnings:
3590 Note 1305 PROCEDURE db_storedproc_3122.sp1 does not exist
3591 DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
3592 Warnings:
3593 Note 1305 FUNCTION db_storedproc_3122.sp1 does not exist
3594 CREATE PROCEDURE sp1()
3595 BEGIN
3596 SET @x = 1;
3597 SELECT @x;
3598 END//
3599 CREATE FUNCTION db_storedproc_3122.sp1() RETURNS DOUBLE RETURN 2.2;
3600 CALL sp1();
3601 @x
3602 1
3603 SELECT db_storedproc_3122.sp1();
3604 db_storedproc_3122.sp1()
3605 2.2
3606 USE db_storedproc_3122;
3607 CREATE PROCEDURE sp1 ()
3608 BEGIN
3609 SET @x = 3;
3610 SELECT @x;
3611 END//
3612 CREATE FUNCTION db_storedproc.sp1() RETURNS DOUBLE RETURN 4.4;
3613 CALL sp1();
3614 @x
3615 3
3616 SELECT db_storedproc.sp1();
3617 db_storedproc.sp1()
3618 4.4
3619 ALTER PROCEDURE db_storedproc_3122.sp1 SQL SECURITY INVOKER;
3620 ALTER FUNCTION sp1 SQL SECURITY INVOKER;
3621 SELECT db, name, type, security_type FROM mysql.proc WHERE db LIKE 'db_storedproc%' AND specific_name='sp1';
3622 db name type security_type
3623 db_storedproc sp1 FUNCTION DEFINER
3624 db_storedproc sp1 PROCEDURE DEFINER
3625 db_storedproc_3122 sp1 FUNCTION INVOKER
3626 db_storedproc_3122 sp1 PROCEDURE INVOKER
3627 CALL db_storedproc.sp1();
3628 @x
3629 1
3630 SELECT db_storedproc.sp1();
3631 db_storedproc.sp1()
3632 4.4
3633 CALL db_storedproc_3122.sp1();
3634 @x
3635 3
3636 SELECT db_storedproc_3122.sp1();
3637 db_storedproc_3122.sp1()
3638 2.2
3639 USE db_storedproc;
3640 DROP DATABASE db_storedproc_3122;
3641 DROP FUNCTION db_storedproc.sp1;
3642 DROP PROCEDURE db_storedproc.sp1;
3643
3644 Testcase 4.1.20:
3645 ----------------
3646 Ensure that it is possible to alter the comment of a procedure
3647 and a function with the same name, even in the same database
3648 --------------------------------------------------------------------------------
3649 USE db_storedproc;
3650 set @x=null;
3651 DROP PROCEDURE IF EXISTS sp1;
3652 DROP FUNCTION IF EXISTS sp1;
3653 CREATE PROCEDURE sp1 () set @x= 1;
3654 CREATE FUNCTION sp1 () returns int return 2;
3655 DROP DATABASE IF EXISTS db_storedproc_3122;
3656 Warnings:
3657 Note 1008 Can't drop database 'db_storedproc_3122'; database doesn't exist
3658 CREATE DATABASE db_storedproc_3122;
3659 USE db_storedproc_3122;
3660 CREATE PROCEDURE sp1 () set @x= 3;
3661 CREATE FUNCTION sp1 () returns int return 4;
3662 alter procedure sp1 sql security invoker comment 'this is a procedure';
3663 alter function sp1 sql security invoker comment 'this is a function';
3664 alter procedure sp1 sql security DEFINER;
3665 alter function sp1 sql security DEFINER;
3666 show CREATE PROCEDURE sp1;
3667 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
3668 sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`()
3669 COMMENT 'this is a procedure'
3670 set @x= 3 latin1 <modified> <created>
3671 show CREATE FUNCTION sp1;
3672 Function sql_mode Create Function character_set_client collation_connection Database Collation
3673 sp1 CREATE DEFINER=`root`@`localhost` FUNCTION `sp1`() RETURNS int(11)
3674 COMMENT 'this is a function'
3675 return 4 latin1 <modified> <created>
3676 USE db_storedproc;
3677 DROP DATABASE db_storedproc_3122;
3678 DROP FUNCTION db_storedproc.sp1;
3679 DROP PROCEDURE db_storedproc.sp1;
3680
3681 Testcase 4.1.21:
3682 ----------------
3683 Ensure that it is not possible to create two procedures with same name
3684 in same database
3685 --------------------------------------------------------------------------------
3686 USE db_storedproc;
3687 set @x=null;
3688 set @y=null;
3689 DROP DATABASE IF EXISTS db1;
3690 CREATE DATABASE db1;
3691 DROP PROCEDURE IF EXISTS sp1;
3692 Warnings:
3693 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3694 CREATE PROCEDURE sp1 () set @x=1;
3695 CREATE PROCEDURE sp1 () set @x=2;
3696 ERROR 42000: PROCEDURE sp1 already exists
3697 CALL sp1();
3698 SELECT @x;
3699 @x
3700 1
3701 USE db1;
3702 CREATE PROCEDURE db_storedproc.sp1 () set @x=3;
3703 ERROR 42000: PROCEDURE sp1 already exists
3704 CALL db_storedproc.sp1();
3705 SELECT @x;
3706 @x
3707 1
3708 DROP PROCEDURE IF EXISTS db_storedproc.sp1;
3709 CREATE PROCEDURE db_storedproc.sp1 () set @x=1;
3710 CREATE PROCEDURE db_storedproc.sp1 () set @x=2;
3711 ERROR 42000: PROCEDURE sp1 already exists
3712 CALL db_storedproc.sp1();
3713 SELECT @x;
3714 @x
3715 1
3716 USE db_storedproc;
3717 DROP DATABASE db1;
3718 DROP PROCEDURE db_storedproc.sp1;
3719
3720 Testcase 4.1.22:
3721 ----------------
3722 Ensure that it is not possible to create two functions with same name in the
3723 same database
3724 --------------------------------------------------------------------------------
3725 USE db_storedproc;
3726 DROP DATABASE IF EXISTS db1;
3727 Warnings:
3728 Note 1008 Can't drop database 'db1'; database doesn't exist
3729 CREATE DATABASE db1;
3730 DROP FUNCTION IF EXISTS fn1;
3731 Warnings:
3732 Note 1305 FUNCTION db_storedproc.fn1 does not exist
3733 CREATE FUNCTION fn1 () returns int return 1;
3734 CREATE FUNCTION fn1 () returns int return 2;
3735 ERROR 42000: FUNCTION fn1 already exists
3736 SELECT fn1();
3737 fn1()
3738 1
3739 USE db1;
3740 CREATE FUNCTION db_storedproc.fn1 () returns int return 3;
3741 ERROR 42000: FUNCTION fn1 already exists
3742 SELECT db_storedproc.fn1();
3743 db_storedproc.fn1()
3744 1
3745 DROP FUNCTION IF EXISTS db_storedproc.fn1;
3746 CREATE FUNCTION db_storedproc.fn1 () returns int return 1;
3747 CREATE FUNCTION db_storedproc.fn1 () returns int return 2;
3748 ERROR 42000: FUNCTION fn1 already exists
3749 SELECT db_storedproc.fn1();
3750 db_storedproc.fn1()
3751 1
3752 USE db_storedproc;
3753 DROP DATABASE db1;
3754 DROP FUNCTION db_storedproc.fn1;
3755
3756 Testcase 4.1.23:
3757 ----------------
3758 Ensure that it is possible to create two or more procedures with the same name,
3759 providing each resides in different databases
3760 --------------------------------------------------------------------------------
3761 USE db_storedproc;
3762 set @x=null;
3763 set @y=null;
3764 DROP PROCEDURE IF EXISTS sp1;
3765 Warnings:
3766 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
3767 CREATE PROCEDURE sp1 () set @x= 1;
3768 DROP DATABASE IF EXISTS test3124;
3769 Warnings:
3770 Note 1008 Can't drop database 'test3124'; database doesn't exist
3771 CREATE DATABASE test3124;
3772 USE test3124;
3773 CREATE PROCEDURE sp1 () set @y= 2;
3774 CALL sp1();
3775 SELECT @x, @y;
3776 @x @y
3777 NULL 2
3778 USE db_storedproc;
3779 CALL sp1();
3780 SELECT @x, @y;
3781 @x @y
3782 1 2
3783 USE db_storedproc;
3784 DROP DATABASE test3124;
3785 DROP PROCEDURE db_storedproc.sp1;
3786
3787 Testcase 4.1.24:
3788 ----------------
3789 Ensure that it is possible to create two or more functions with the same name,
3790 providing each resides in different databases.
3791 --------------------------------------------------------------------------------
3792 USE db_storedproc;
3793 DROP FUNCTION IF EXISTS f1;
3794 Warnings:
3795 Note 1305 FUNCTION db_storedproc.f1 does not exist
3796 CREATE FUNCTION f1 () returns int return 1;
3797 DROP DATABASE IF EXISTS test3125;
3798 Warnings:
3799 Note 1008 Can't drop database 'test3125'; database doesn't exist
3800 CREATE DATABASE test3125;
3801 USE test3125;
3802 CREATE FUNCTION f1 () returns int return 2;
3803 SELECT f1();
3804 f1()
3805 2
3806 USE db_storedproc;
3807 SELECT f1();
3808 f1()
3809 1
3810 USE db_storedproc;
3811 DROP DATABASE test3125;
3812 DROP FUNCTION db_storedproc.f1;
3813
3814 Testcase 4.1.25:
3815 ----------------
3816 Ensure that any invalid function name is never accepted, and that an appropriate
3817 error message is returned when the name is rejected. (invalid func name)
3818 --------------------------------------------------------------------------------
3819 CREATE FUNCTION !_fn1( f1 char(20) ) returns int
3820 BEGIN
3821 SELECT * from t1 where f2 = f1;
3822 return 1;
3823 END//
3824 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '!_fn1( f1 char(20) ) returns int
3825 BEGIN
3826 SELECT * from t1 where f2 = f1;
3827 return...' at line 1
3828 CREATE FUNCTION fn1( f1 char(20) ) return int
3829 BEGIN
3830 SELECT * from t1 where f2 = f1;
3831 return 1;
3832 END//
3833 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'return int
3834 BEGIN
3835 SELECT * from t1 where f2 = f1;
3836 return 1;
3837 END' at line 1
3838 CREATE FUNCTION fn1() returns int
3839 return 'a';
3840 CREATE FUNCTION procedure() returns int
3841 return 1;
3842 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure() returns int
3843 return 1' at line 1
3844 CREATE FUNCTION fn1(a char) returns int lang sql return 1;
3845 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql return 1' at line 1
3846 CREATE FUNCTION fn1(a char) returns int deterministic( return 1);
3847 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '( return 1)' at line 1
3848 CREATE FUNCTION fn1(a char) returns int non deterministic return 1;
3849 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'deterministic return 1' at line 1
3850 CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1;
3851 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'refiner return 1' at line 1
3852 DROP FUNCTION IF EXISTS fn1;
3853
3854 Testcase 4.1.1:
3855 ---------------
3856 Ensure that all clauses that should be supported are supported.
3857 CREATE PROCEDURE
3858 --------------------------------------------------------------------------------
3859 USE db_storedproc;
3860 set @count = 0;
3861 DROP PROCEDURE IF EXISTS sp1;
3862 CREATE PROCEDURE sp1(cnt int(20))
3863 BEGIN
3864 SELECT count(*) into cnt from t2;
3865 set @count = cnt;
3866 END//
3867 CALL sp1( 10 );
3868 SELECT @count;
3869 @count
3870 10
3871 DROP PROCEDURE sp1;
3872
3873 Testcase 4.2.2:
3874 BEGINend
3875 --------------------------------------------------------------------------------
3876 DROP PROCEDURE IF EXISTS sp1;
3877 CREATE PROCEDURE sp1( cnt int(20) )
3878 BEGIN
3879 SELECT count(*) into cnt from t2;
3880 set @count = cnt;
3881 SELECT @count;
3882 END//
3883 CALL sp1( 10 );
3884 @count
3885 10
3886 DROP PROCEDURE IF EXISTS sp1;
3887 CREATE PROCEDURE sp1( cnt int(20) )
3888 SELECT count(*) into cnt from t2;
3889 set @count = cnt;
3890 SELECT @count;
3891 END//
3892 ERROR 42S22: Unknown column 'cnt' in 'SET'
3893 CALL sp1( 10 );
3894 DROP PROCEDURE sp1;
3895 CREATE PROCEDURE sp1( cnt int(20) )
3896 END
3897 SELECT count(*) into cnt from t2;
3898 set @count = cnt;
3899 SELECT @count;
3900 BEGIN//
3901 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END
3902 SELECT count(*) into cnt from t2;
3903 set @count = cnt;
3904 SELECT @count;
3905 BEGIN' at line 2
3906 CALL sp1( 10 );
3907 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
3908 DROP PROCEDURE IF EXISTS sp1;
3909 CREATE PROCEDURE sp1( cnt int(20) )
3910 BEGIN
3911 SELECT count(*) into cnt from t2;
3912 BEGIN
3913 BEGIN END;
3914 BEGIN
3915 END;
3916 set @count = cnt;
3917 SELECT @count;
3918 END//
3919 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 10
3920
3921 Testcase 4.2.4:
3922 ---------------
3923 Ensure that every BEGIN statement is coupled with a terminating END statement.
3924 (BEGIN with no END)
3925 --------------------------------------------------------------------------------
3926 DROP PROCEDURE IF EXISTS sp1;
3927 CREATE PROCEDURE sp1( )
3928 BEGIN
3929 declare x char;
3930 declare y char;
3931 SELECT f1, f2 into x, y from t2 limit 1;
3932 END//
3933
3934 Testcase ....:
3935 --------------
3936
3937 --------------------------------------------------------------------------------
3938 DROP PROCEDURE IF EXISTS sp1;
3939 CREATE PROCEDURE sp1()
3940 accessible:BEGIN
3941 SELECT @x;
3942 END//
3943 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accessible:BEGIN
3944 SELECT @x;
3945 END' at line 2
3946 DROP PROCEDURE IF EXISTS sp1;
3947 CREATE PROCEDURE sp1()
3948 add:BEGIN
3949 SELECT @x;
3950 END//
3951 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'add:BEGIN
3952 SELECT @x;
3953 END' at line 2
3954 DROP PROCEDURE IF EXISTS sp1;
3955 CREATE PROCEDURE sp1()
3956 all:BEGIN
3957 SELECT @x;
3958 END//
3959 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all:BEGIN
3960 SELECT @x;
3961 END' at line 2
3962 DROP PROCEDURE IF EXISTS sp1;
3963 CREATE PROCEDURE sp1()
3964 alter:BEGIN
3965 SELECT @x;
3966 END//
3967 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
3968 SELECT @x;
3969 END' at line 2
3970 DROP PROCEDURE IF EXISTS sp1;
3971 CREATE PROCEDURE sp1()
3972 analyze:BEGIN
3973 SELECT @x;
3974 END//
3975 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
3976 SELECT @x;
3977 END' at line 2
3978 DROP PROCEDURE IF EXISTS sp1;
3979 CREATE PROCEDURE sp1()
3980 and:BEGIN
3981 SELECT @x;
3982 END//
3983 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and:BEGIN
3984 SELECT @x;
3985 END' at line 2
3986 DROP PROCEDURE IF EXISTS sp1;
3987 CREATE PROCEDURE sp1()
3988 as:BEGIN
3989 SELECT @x;
3990 END//
3991 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as:BEGIN
3992 SELECT @x;
3993 END' at line 2
3994 DROP PROCEDURE IF EXISTS sp1;
3995 CREATE PROCEDURE sp1()
3996 asc:BEGIN
3997 SELECT @x;
3998 END//
3999 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc:BEGIN
4000 SELECT @x;
4001 END' at line 2
4002 DROP PROCEDURE IF EXISTS sp1;
4003 CREATE PROCEDURE sp1()
4004 asensitive:BEGIN
4005 SELECT @x;
4006 END//
4007 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asensitive:BEGIN
4008 SELECT @x;
4009 END' at line 2
4010 DROP PROCEDURE IF EXISTS sp1;
4011 CREATE PROCEDURE sp1()
4012 before:BEGIN
4013 SELECT @x;
4014 END//
4015 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'before:BEGIN
4016 SELECT @x;
4017 END' at line 2
4018 DROP PROCEDURE IF EXISTS sp1;
4019 CREATE PROCEDURE sp1()
4020 between:BEGIN
4021 SELECT @x;
4022 END//
4023 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'between:BEGIN
4024 SELECT @x;
4025 END' at line 2
4026 DROP PROCEDURE IF EXISTS sp1;
4027 CREATE PROCEDURE sp1()
4028 bigint:BEGIN
4029 SELECT @x;
4030 END//
4031 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint:BEGIN
4032 SELECT @x;
4033 END' at line 2
4034 DROP PROCEDURE IF EXISTS sp1;
4035 CREATE PROCEDURE sp1()
4036 binary:BEGIN
4037 SELECT @x;
4038 END//
4039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary:BEGIN
4040 SELECT @x;
4041 END' at line 2
4042 DROP PROCEDURE IF EXISTS sp1;
4043 CREATE PROCEDURE sp1()
4044 blob:BEGIN
4045 SELECT @x;
4046 END//
4047 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob:BEGIN
4048 SELECT @x;
4049 END' at line 2
4050 DROP PROCEDURE IF EXISTS sp1;
4051 CREATE PROCEDURE sp1()
4052 both:BEGIN
4053 SELECT @x;
4054 END//
4055 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'both:BEGIN
4056 SELECT @x;
4057 END' at line 2
4058 DROP PROCEDURE IF EXISTS sp1;
4059 CREATE PROCEDURE sp1()
4060 by:BEGIN
4061 SELECT @x;
4062 END//
4063 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'by:BEGIN
4064 SELECT @x;
4065 END' at line 2
4066 DROP PROCEDURE IF EXISTS sp1;
4067 CREATE PROCEDURE sp1()
4068 call:BEGIN
4069 SELECT @x;
4070 END//
4071 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4072 SELECT @x;
4073 END' at line 2
4074 DROP PROCEDURE IF EXISTS sp1;
4075 CREATE PROCEDURE sp1()
4076 cascade:BEGIN
4077 SELECT @x;
4078 END//
4079 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cascade:BEGIN
4080 SELECT @x;
4081 END' at line 2
4082 DROP PROCEDURE IF EXISTS sp1;
4083 CREATE PROCEDURE sp1()
4084 case:BEGIN
4085 SELECT @x;
4086 END//
4087 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4088 SELECT @x;
4089 END' at line 2
4090 DROP PROCEDURE IF EXISTS sp1;
4091 CREATE PROCEDURE sp1()
4092 change:BEGIN
4093 SELECT @x;
4094 END//
4095 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4096 SELECT @x;
4097 END' at line 2
4098 DROP PROCEDURE IF EXISTS sp1;
4099 CREATE PROCEDURE sp1()
4100 char:BEGIN
4101 SELECT @x;
4102 END//
4103 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char:BEGIN
4104 SELECT @x;
4105 END' at line 2
4106 DROP PROCEDURE IF EXISTS sp1;
4107 CREATE PROCEDURE sp1()
4108 character:BEGIN
4109 SELECT @x;
4110 END//
4111 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'character:BEGIN
4112 SELECT @x;
4113 END' at line 2
4114 DROP PROCEDURE IF EXISTS sp1;
4115 CREATE PROCEDURE sp1()
4116 check:BEGIN
4117 SELECT @x;
4118 END//
4119 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4120 SELECT @x;
4121 END' at line 2
4122 DROP PROCEDURE IF EXISTS sp1;
4123 CREATE PROCEDURE sp1()
4124 collate:BEGIN
4125 SELECT @x;
4126 END//
4127 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'collate:BEGIN
4128 SELECT @x;
4129 END' at line 2
4130 DROP PROCEDURE IF EXISTS sp1;
4131 CREATE PROCEDURE sp1()
4132 column:BEGIN
4133 SELECT @x;
4134 END//
4135 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'column:BEGIN
4136 SELECT @x;
4137 END' at line 2
4138 DROP PROCEDURE IF EXISTS sp1;
4139 CREATE PROCEDURE sp1()
4140 condition:BEGIN
4141 SELECT @x;
4142 END//
4143 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition:BEGIN
4144 SELECT @x;
4145 END' at line 2
4146 DROP PROCEDURE IF EXISTS sp1;
4147 CREATE PROCEDURE sp1()
4148 constraint:BEGIN
4149 SELECT @x;
4150 END//
4151 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'constraint:BEGIN
4152 SELECT @x;
4153 END' at line 2
4154 DROP PROCEDURE IF EXISTS sp1;
4155 CREATE PROCEDURE sp1()
4156 continue:BEGIN
4157 SELECT @x;
4158 END//
4159 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'continue:BEGIN
4160 SELECT @x;
4161 END' at line 2
4162 DROP PROCEDURE IF EXISTS sp1;
4163 CREATE PROCEDURE sp1()
4164 convert:BEGIN
4165 SELECT @x;
4166 END//
4167 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'convert:BEGIN
4168 SELECT @x;
4169 END' at line 2
4170 DROP PROCEDURE IF EXISTS sp1;
4171 CREATE PROCEDURE sp1()
4172 create:BEGIN
4173 SELECT @x;
4174 END//
4175 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4176 SELECT @x;
4177 END' at line 2
4178 DROP PROCEDURE IF EXISTS sp1;
4179 CREATE PROCEDURE sp1()
4180 cross:BEGIN
4181 SELECT @x;
4182 END//
4183 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cross:BEGIN
4184 SELECT @x;
4185 END' at line 2
4186 DROP PROCEDURE IF EXISTS sp1;
4187 CREATE PROCEDURE sp1()
4188 current_date:BEGIN
4189 SELECT @x;
4190 END//
4191 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_date:BEGIN
4192 SELECT @x;
4193 END' at line 2
4194 DROP PROCEDURE IF EXISTS sp1;
4195 CREATE PROCEDURE sp1()
4196 current_time:BEGIN
4197 SELECT @x;
4198 END//
4199 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_time:BEGIN
4200 SELECT @x;
4201 END' at line 2
4202 DROP PROCEDURE IF EXISTS sp1;
4203 CREATE PROCEDURE sp1()
4204 current_timestamp:BEGIN
4205 SELECT @x;
4206 END//
4207 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_timestamp:BEGIN
4208 SELECT @x;
4209 END' at line 2
4210 DROP PROCEDURE IF EXISTS sp1;
4211 CREATE PROCEDURE sp1()
4212 current_user:BEGIN
4213 SELECT @x;
4214 END//
4215 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user:BEGIN
4216 SELECT @x;
4217 END' at line 2
4218 DROP PROCEDURE IF EXISTS sp1;
4219 CREATE PROCEDURE sp1()
4220 cursor:BEGIN
4221 SELECT @x;
4222 END//
4223 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor:BEGIN
4224 SELECT @x;
4225 END' at line 2
4226 DROP PROCEDURE IF EXISTS sp1;
4227 CREATE PROCEDURE sp1()
4228 database:BEGIN
4229 SELECT @x;
4230 END//
4231 DROP PROCEDURE IF EXISTS sp1;
4232 CREATE PROCEDURE sp1()
4233 databases:BEGIN
4234 SELECT @x;
4235 END//
4236 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases:BEGIN
4237 SELECT @x;
4238 END' at line 2
4239 DROP PROCEDURE IF EXISTS sp1;
4240 CREATE PROCEDURE sp1()
4241 day_hour:BEGIN
4242 SELECT @x;
4243 END//
4244 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_hour:BEGIN
4245 SELECT @x;
4246 END' at line 2
4247 DROP PROCEDURE IF EXISTS sp1;
4248 CREATE PROCEDURE sp1()
4249 day_microsecond:BEGIN
4250 SELECT @x;
4251 END//
4252 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_microsecond:BEGIN
4253 SELECT @x;
4254 END' at line 2
4255 DROP PROCEDURE IF EXISTS sp1;
4256 CREATE PROCEDURE sp1()
4257 day_minute:BEGIN
4258 SELECT @x;
4259 END//
4260 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_minute:BEGIN
4261 SELECT @x;
4262 END' at line 2
4263 DROP PROCEDURE IF EXISTS sp1;
4264 CREATE PROCEDURE sp1()
4265 day_second:BEGIN
4266 SELECT @x;
4267 END//
4268 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_second:BEGIN
4269 SELECT @x;
4270 END' at line 2
4271 DROP PROCEDURE IF EXISTS sp1;
4272 CREATE PROCEDURE sp1()
4273 dec:BEGIN
4274 SELECT @x;
4275 END//
4276 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dec:BEGIN
4277 SELECT @x;
4278 END' at line 2
4279 DROP PROCEDURE IF EXISTS sp1;
4280 CREATE PROCEDURE sp1()
4281 decimal:BEGIN
4282 SELECT @x;
4283 END//
4284 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal:BEGIN
4285 SELECT @x;
4286 END' at line 2
4287 DROP PROCEDURE IF EXISTS sp1;
4288 CREATE PROCEDURE sp1()
4289 declare:BEGIN
4290 SELECT @x;
4291 END//
4292 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare:BEGIN
4293 SELECT @x;
4294 END' at line 2
4295 DROP PROCEDURE IF EXISTS sp1;
4296 CREATE PROCEDURE sp1()
4297 default:BEGIN
4298 SELECT @x;
4299 END//
4300 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'default:BEGIN
4301 SELECT @x;
4302 END' at line 2
4303 DROP PROCEDURE IF EXISTS sp1;
4304 CREATE PROCEDURE sp1()
4305 delayed:BEGIN
4306 SELECT @x;
4307 END//
4308 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delayed:BEGIN
4309 SELECT @x;
4310 END' at line 2
4311 DROP PROCEDURE IF EXISTS sp1;
4312 CREATE PROCEDURE sp1()
4313 delete:BEGIN
4314 SELECT @x;
4315 END//
4316 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4317 SELECT @x;
4318 END' at line 2
4319 DROP PROCEDURE IF EXISTS sp1;
4320 CREATE PROCEDURE sp1()
4321 desc:BEGIN
4322 SELECT @x;
4323 END//
4324 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4325 SELECT @x;
4326 END' at line 2
4327 DROP PROCEDURE IF EXISTS sp1;
4328 CREATE PROCEDURE sp1()
4329 describe:BEGIN
4330 SELECT @x;
4331 END//
4332 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4333 SELECT @x;
4334 END' at line 2
4335 DROP PROCEDURE IF EXISTS sp1;
4336 CREATE PROCEDURE sp1()
4337 deterministic:BEGIN
4338 SELECT @x;
4339 END//
4340 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4341 SELECT @x;
4342 END' at line 2
4343 DROP PROCEDURE IF EXISTS sp1;
4344 CREATE PROCEDURE sp1()
4345 distinct:BEGIN
4346 SELECT @x;
4347 END//
4348 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct:BEGIN
4349 SELECT @x;
4350 END' at line 2
4351 DROP PROCEDURE IF EXISTS sp1;
4352 CREATE PROCEDURE sp1()
4353 distinctrow:BEGIN
4354 SELECT @x;
4355 END//
4356 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinctrow:BEGIN
4357 SELECT @x;
4358 END' at line 2
4359 DROP PROCEDURE IF EXISTS sp1;
4360 CREATE PROCEDURE sp1()
4361 div:BEGIN
4362 SELECT @x;
4363 END//
4364 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'div:BEGIN
4365 SELECT @x;
4366 END' at line 2
4367 DROP PROCEDURE IF EXISTS sp1;
4368 CREATE PROCEDURE sp1()
4369 double:BEGIN
4370 SELECT @x;
4371 END//
4372 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double:BEGIN
4373 SELECT @x;
4374 END' at line 2
4375 DROP PROCEDURE IF EXISTS sp1;
4376 CREATE PROCEDURE sp1()
4377 drop:BEGIN
4378 SELECT @x;
4379 END//
4380 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4381 SELECT @x;
4382 END' at line 2
4383 DROP PROCEDURE IF EXISTS sp1;
4384 CREATE PROCEDURE sp1()
4385 dual:BEGIN
4386 SELECT @x;
4387 END//
4388 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dual:BEGIN
4389 SELECT @x;
4390 END' at line 2
4391 DROP PROCEDURE IF EXISTS sp1;
4392 CREATE PROCEDURE sp1()
4393 each:BEGIN
4394 SELECT @x;
4395 END//
4396 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'each:BEGIN
4397 SELECT @x;
4398 END' at line 2
4399 DROP PROCEDURE IF EXISTS sp1;
4400 CREATE PROCEDURE sp1()
4401 else:BEGIN
4402 SELECT @x;
4403 END//
4404 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else:BEGIN
4405 SELECT @x;
4406 END' at line 2
4407 DROP PROCEDURE IF EXISTS sp1;
4408 CREATE PROCEDURE sp1()
4409 elseif:BEGIN
4410 SELECT @x;
4411 END//
4412 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif:BEGIN
4413 SELECT @x;
4414 END' at line 2
4415 DROP PROCEDURE IF EXISTS sp1;
4416 CREATE PROCEDURE sp1()
4417 enclosed:BEGIN
4418 SELECT @x;
4419 END//
4420 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enclosed:BEGIN
4421 SELECT @x;
4422 END' at line 2
4423 DROP PROCEDURE IF EXISTS sp1;
4424 CREATE PROCEDURE sp1()
4425 escaped:BEGIN
4426 SELECT @x;
4427 END//
4428 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'escaped:BEGIN
4429 SELECT @x;
4430 END' at line 2
4431 DROP PROCEDURE IF EXISTS sp1;
4432 CREATE PROCEDURE sp1()
4433 exists:BEGIN
4434 SELECT @x;
4435 END//
4436 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exists:BEGIN
4437 SELECT @x;
4438 END' at line 2
4439 DROP PROCEDURE IF EXISTS sp1;
4440 CREATE PROCEDURE sp1()
4441 exit:BEGIN
4442 SELECT @x;
4443 END//
4444 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exit:BEGIN
4445 SELECT @x;
4446 END' at line 2
4447 DROP PROCEDURE IF EXISTS sp1;
4448 CREATE PROCEDURE sp1()
4449 explain:BEGIN
4450 SELECT @x;
4451 END//
4452 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4453 SELECT @x;
4454 END' at line 2
4455 DROP PROCEDURE IF EXISTS sp1;
4456 CREATE PROCEDURE sp1()
4457 false:BEGIN
4458 SELECT @x;
4459 END//
4460 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'false:BEGIN
4461 SELECT @x;
4462 END' at line 2
4463 DROP PROCEDURE IF EXISTS sp1;
4464 CREATE PROCEDURE sp1()
4465 fetch:BEGIN
4466 SELECT @x;
4467 END//
4468 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4469 SELECT @x;
4470 END' at line 2
4471 DROP PROCEDURE IF EXISTS sp1;
4472 CREATE PROCEDURE sp1()
4473 float:BEGIN
4474 SELECT @x;
4475 END//
4476 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float:BEGIN
4477 SELECT @x;
4478 END' at line 2
4479 DROP PROCEDURE IF EXISTS sp1;
4480 CREATE PROCEDURE sp1()
4481 float4:BEGIN
4482 SELECT @x;
4483 END//
4484 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float4:BEGIN
4485 SELECT @x;
4486 END' at line 2
4487 DROP PROCEDURE IF EXISTS sp1;
4488 CREATE PROCEDURE sp1()
4489 float8:BEGIN
4490 SELECT @x;
4491 END//
4492 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float8:BEGIN
4493 SELECT @x;
4494 END' at line 2
4495 DROP PROCEDURE IF EXISTS sp1;
4496 CREATE PROCEDURE sp1()
4497 for:BEGIN
4498 SELECT @x;
4499 END//
4500 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4501 SELECT @x;
4502 END' at line 2
4503 DROP PROCEDURE IF EXISTS sp1;
4504 CREATE PROCEDURE sp1()
4505 force:BEGIN
4506 SELECT @x;
4507 END//
4508 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'force:BEGIN
4509 SELECT @x;
4510 END' at line 2
4511 DROP PROCEDURE IF EXISTS sp1;
4512 CREATE PROCEDURE sp1()
4513 foreign:BEGIN
4514 SELECT @x;
4515 END//
4516 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'foreign:BEGIN
4517 SELECT @x;
4518 END' at line 2
4519 DROP PROCEDURE IF EXISTS sp1;
4520 CREATE PROCEDURE sp1()
4521 from:BEGIN
4522 SELECT @x;
4523 END//
4524 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from:BEGIN
4525 SELECT @x;
4526 END' at line 2
4527 DROP PROCEDURE IF EXISTS sp1;
4528 CREATE PROCEDURE sp1()
4529 fulltext:BEGIN
4530 SELECT @x;
4531 END//
4532 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fulltext:BEGIN
4533 SELECT @x;
4534 END' at line 2
4535 DROP PROCEDURE IF EXISTS sp1;
4536 CREATE PROCEDURE sp1()
4537 grant:BEGIN
4538 SELECT @x;
4539 END//
4540 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4541 SELECT @x;
4542 END' at line 2
4543 DROP PROCEDURE IF EXISTS sp1;
4544 CREATE PROCEDURE sp1()
4545 group:BEGIN
4546 SELECT @x;
4547 END//
4548 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group:BEGIN
4549 SELECT @x;
4550 END' at line 2
4551 DROP PROCEDURE IF EXISTS sp1;
4552 CREATE PROCEDURE sp1()
4553 having:BEGIN
4554 SELECT @x;
4555 END//
4556 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'having:BEGIN
4557 SELECT @x;
4558 END' at line 2
4559 DROP PROCEDURE IF EXISTS sp1;
4560 CREATE PROCEDURE sp1()
4561 high_priority:BEGIN
4562 SELECT @x;
4563 END//
4564 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'high_priority:BEGIN
4565 SELECT @x;
4566 END' at line 2
4567 DROP PROCEDURE IF EXISTS sp1;
4568 CREATE PROCEDURE sp1()
4569 hour_microsecond:BEGIN
4570 SELECT @x;
4571 END//
4572 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_microsecond:BEGIN
4573 SELECT @x;
4574 END' at line 2
4575 DROP PROCEDURE IF EXISTS sp1;
4576 CREATE PROCEDURE sp1()
4577 hour_minute:BEGIN
4578 SELECT @x;
4579 END//
4580 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_minute:BEGIN
4581 SELECT @x;
4582 END' at line 2
4583 DROP PROCEDURE IF EXISTS sp1;
4584 CREATE PROCEDURE sp1()
4585 hour_second:BEGIN
4586 SELECT @x;
4587 END//
4588 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_second:BEGIN
4589 SELECT @x;
4590 END' at line 2
4591 DROP PROCEDURE IF EXISTS sp1;
4592 CREATE PROCEDURE sp1()
4593 if:BEGIN
4594 SELECT @x;
4595 END//
4596 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4597 SELECT @x;
4598 END' at line 2
4599 DROP PROCEDURE IF EXISTS sp1;
4600 CREATE PROCEDURE sp1()
4601 ignore:BEGIN
4602 SELECT @x;
4603 END//
4604 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ignore:BEGIN
4605 SELECT @x;
4606 END' at line 2
4607 DROP PROCEDURE IF EXISTS sp1;
4608 CREATE PROCEDURE sp1()
4609 in:BEGIN
4610 SELECT @x;
4611 END//
4612 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'in:BEGIN
4613 SELECT @x;
4614 END' at line 2
4615 DROP PROCEDURE IF EXISTS sp1;
4616 CREATE PROCEDURE sp1()
4617 index:BEGIN
4618 SELECT @x;
4619 END//
4620 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'index:BEGIN
4621 SELECT @x;
4622 END' at line 2
4623 DROP PROCEDURE IF EXISTS sp1;
4624 CREATE PROCEDURE sp1()
4625 infile:BEGIN
4626 SELECT @x;
4627 END//
4628 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'infile:BEGIN
4629 SELECT @x;
4630 END' at line 2
4631 DROP PROCEDURE IF EXISTS sp1;
4632 CREATE PROCEDURE sp1()
4633 inner:BEGIN
4634 SELECT @x;
4635 END//
4636 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inner:BEGIN
4637 SELECT @x;
4638 END' at line 2
4639 DROP PROCEDURE IF EXISTS sp1;
4640 CREATE PROCEDURE sp1()
4641 inout:BEGIN
4642 SELECT @x;
4643 END//
4644 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inout:BEGIN
4645 SELECT @x;
4646 END' at line 2
4647 DROP PROCEDURE IF EXISTS sp1;
4648 CREATE PROCEDURE sp1()
4649 insensitive:BEGIN
4650 SELECT @x;
4651 END//
4652 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insensitive:BEGIN
4653 SELECT @x;
4654 END' at line 2
4655 DROP PROCEDURE IF EXISTS sp1;
4656 CREATE PROCEDURE sp1()
4657 insert:BEGIN
4658 SELECT @x;
4659 END//
4660 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4661 SELECT @x;
4662 END' at line 2
4663 DROP PROCEDURE IF EXISTS sp1;
4664 CREATE PROCEDURE sp1()
4665 int:BEGIN
4666 SELECT @x;
4667 END//
4668 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int:BEGIN
4669 SELECT @x;
4670 END' at line 2
4671 DROP PROCEDURE IF EXISTS sp1;
4672 CREATE PROCEDURE sp1()
4673 int1:BEGIN
4674 SELECT @x;
4675 END//
4676 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1:BEGIN
4677 SELECT @x;
4678 END' at line 2
4679 DROP PROCEDURE IF EXISTS sp1;
4680 CREATE PROCEDURE sp1()
4681 int2:BEGIN
4682 SELECT @x;
4683 END//
4684 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2:BEGIN
4685 SELECT @x;
4686 END' at line 2
4687 DROP PROCEDURE IF EXISTS sp1;
4688 CREATE PROCEDURE sp1()
4689 int3:BEGIN
4690 SELECT @x;
4691 END//
4692 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3:BEGIN
4693 SELECT @x;
4694 END' at line 2
4695 DROP PROCEDURE IF EXISTS sp1;
4696 CREATE PROCEDURE sp1()
4697 int4:BEGIN
4698 SELECT @x;
4699 END//
4700 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4:BEGIN
4701 SELECT @x;
4702 END' at line 2
4703 DROP PROCEDURE IF EXISTS sp1;
4704 CREATE PROCEDURE sp1()
4705 int8:BEGIN
4706 SELECT @x;
4707 END//
4708 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8:BEGIN
4709 SELECT @x;
4710 END' at line 2
4711 DROP PROCEDURE IF EXISTS sp1;
4712 CREATE PROCEDURE sp1()
4713 integer:BEGIN
4714 SELECT @x;
4715 END//
4716 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'integer:BEGIN
4717 SELECT @x;
4718 END' at line 2
4719 DROP PROCEDURE IF EXISTS sp1;
4720 CREATE PROCEDURE sp1()
4721 interval:BEGIN
4722 SELECT @x;
4723 END//
4724 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'interval:BEGIN
4725 SELECT @x;
4726 END' at line 2
4727 DROP PROCEDURE IF EXISTS sp1;
4728 CREATE PROCEDURE sp1()
4729 into:BEGIN
4730 SELECT @x;
4731 END//
4732 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'into:BEGIN
4733 SELECT @x;
4734 END' at line 2
4735 DROP PROCEDURE IF EXISTS sp1;
4736 CREATE PROCEDURE sp1()
4737 is:BEGIN
4738 SELECT @x;
4739 END//
4740 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'is:BEGIN
4741 SELECT @x;
4742 END' at line 2
4743 DROP PROCEDURE IF EXISTS sp1;
4744 CREATE PROCEDURE sp1()
4745 iterate:BEGIN
4746 SELECT @x;
4747 END//
4748 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4749 SELECT @x;
4750 END' at line 2
4751 DROP PROCEDURE IF EXISTS sp1;
4752 CREATE PROCEDURE sp1()
4753 join:BEGIN
4754 SELECT @x;
4755 END//
4756 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join:BEGIN
4757 SELECT @x;
4758 END' at line 2
4759 DROP PROCEDURE IF EXISTS sp1;
4760 CREATE PROCEDURE sp1()
4761 json_table:BEGIN
4762 SELECT @x;
4763 END//
4764 DROP PROCEDURE sp1;
4765 CREATE PROCEDURE sp1()
4766 key:BEGIN
4767 SELECT @x;
4768 END//
4769 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key:BEGIN
4770 SELECT @x;
4771 END' at line 2
4772 DROP PROCEDURE IF EXISTS sp1;
4773 CREATE PROCEDURE sp1()
4774 keys:BEGIN
4775 SELECT @x;
4776 END//
4777 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'keys:BEGIN
4778 SELECT @x;
4779 END' at line 2
4780 DROP PROCEDURE IF EXISTS sp1;
4781 CREATE PROCEDURE sp1()
4782 kill:BEGIN
4783 SELECT @x;
4784 END//
4785 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4786 SELECT @x;
4787 END' at line 2
4788 DROP PROCEDURE IF EXISTS sp1;
4789 CREATE PROCEDURE sp1()
4790 leading:BEGIN
4791 SELECT @x;
4792 END//
4793 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leading:BEGIN
4794 SELECT @x;
4795 END' at line 2
4796 DROP PROCEDURE IF EXISTS sp1;
4797 CREATE PROCEDURE sp1()
4798 leave:BEGIN
4799 SELECT @x;
4800 END//
4801 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4802 SELECT @x;
4803 END' at line 2
4804 DROP PROCEDURE IF EXISTS sp1;
4805 CREATE PROCEDURE sp1()
4806 left:BEGIN
4807 SELECT @x;
4808 END//
4809 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'left:BEGIN
4810 SELECT @x;
4811 END' at line 2
4812 DROP PROCEDURE IF EXISTS sp1;
4813 CREATE PROCEDURE sp1()
4814 like:BEGIN
4815 SELECT @x;
4816 END//
4817 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'like:BEGIN
4818 SELECT @x;
4819 END' at line 2
4820 DROP PROCEDURE IF EXISTS sp1;
4821 CREATE PROCEDURE sp1()
4822 limit:BEGIN
4823 SELECT @x;
4824 END//
4825 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit:BEGIN
4826 SELECT @x;
4827 END' at line 2
4828 DROP PROCEDURE IF EXISTS sp1;
4829 CREATE PROCEDURE sp1()
4830 linear:BEGIN
4831 SELECT @x;
4832 END//
4833 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'linear:BEGIN
4834 SELECT @x;
4835 END' at line 2
4836 DROP PROCEDURE IF EXISTS sp1;
4837 CREATE PROCEDURE sp1()
4838 lines:BEGIN
4839 SELECT @x;
4840 END//
4841 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lines:BEGIN
4842 SELECT @x;
4843 END' at line 2
4844 DROP PROCEDURE IF EXISTS sp1;
4845 CREATE PROCEDURE sp1()
4846 load:BEGIN
4847 SELECT @x;
4848 END//
4849 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4850 SELECT @x;
4851 END' at line 2
4852 DROP PROCEDURE IF EXISTS sp1;
4853 CREATE PROCEDURE sp1()
4854 localtime:BEGIN
4855 SELECT @x;
4856 END//
4857 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtime:BEGIN
4858 SELECT @x;
4859 END' at line 2
4860 DROP PROCEDURE IF EXISTS sp1;
4861 CREATE PROCEDURE sp1()
4862 localtimestamp:BEGIN
4863 SELECT @x;
4864 END//
4865 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtimestamp:BEGIN
4866 SELECT @x;
4867 END' at line 2
4868 DROP PROCEDURE IF EXISTS sp1;
4869 CREATE PROCEDURE sp1()
4870 lock:BEGIN
4871 SELECT @x;
4872 END//
4873 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4874 SELECT @x;
4875 END' at line 2
4876 DROP PROCEDURE IF EXISTS sp1;
4877 CREATE PROCEDURE sp1()
4878 long:BEGIN
4879 SELECT @x;
4880 END//
4881 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'long:BEGIN
4882 SELECT @x;
4883 END' at line 2
4884 DROP PROCEDURE IF EXISTS sp1;
4885 CREATE PROCEDURE sp1()
4886 longblob:BEGIN
4887 SELECT @x;
4888 END//
4889 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob:BEGIN
4890 SELECT @x;
4891 END' at line 2
4892 DROP PROCEDURE IF EXISTS sp1;
4893 CREATE PROCEDURE sp1()
4894 longtext:BEGIN
4895 SELECT @x;
4896 END//
4897 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext:BEGIN
4898 SELECT @x;
4899 END' at line 2
4900 DROP PROCEDURE IF EXISTS sp1;
4901 CREATE PROCEDURE sp1()
4902 loop:BEGIN
4903 SELECT @x;
4904 END//
4905 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4906 SELECT @x;
4907 END' at line 2
4908 DROP PROCEDURE IF EXISTS sp1;
4909 CREATE PROCEDURE sp1()
4910 low_priority:BEGIN
4911 SELECT @x;
4912 END//
4913 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'low_priority:BEGIN
4914 SELECT @x;
4915 END' at line 2
4916 DROP PROCEDURE IF EXISTS sp1;
4917 DROP PROCEDURE IF EXISTS sp1;
4918 CREATE PROCEDURE sp1()
4919 match:BEGIN
4920 SELECT @x;
4921 END//
4922 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'match:BEGIN
4923 SELECT @x;
4924 END' at line 2
4925 DROP PROCEDURE IF EXISTS sp1;
4926 CREATE PROCEDURE sp1()
4927 mediumblob:BEGIN
4928 SELECT @x;
4929 END//
4930 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob:BEGIN
4931 SELECT @x;
4932 END' at line 2
4933 DROP PROCEDURE IF EXISTS sp1;
4934 CREATE PROCEDURE sp1()
4935 mediumint:BEGIN
4936 SELECT @x;
4937 END//
4938 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint:BEGIN
4939 SELECT @x;
4940 END' at line 2
4941 DROP PROCEDURE IF EXISTS sp1;
4942 CREATE PROCEDURE sp1()
4943 mediumtext:BEGIN
4944 SELECT @x;
4945 END//
4946 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext:BEGIN
4947 SELECT @x;
4948 END' at line 2
4949 DROP PROCEDURE IF EXISTS sp1;
4950 CREATE PROCEDURE sp1()
4951 middleint:BEGIN
4952 SELECT @x;
4953 END//
4954 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'middleint:BEGIN
4955 SELECT @x;
4956 END' at line 2
4957 DROP PROCEDURE IF EXISTS sp1;
4958 CREATE PROCEDURE sp1()
4959 minute_microsecond:BEGIN
4960 SELECT @x;
4961 END//
4962 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_microsecond:BEGIN
4963 SELECT @x;
4964 END' at line 2
4965 DROP PROCEDURE IF EXISTS sp1;
4966 CREATE PROCEDURE sp1()
4967 minute_second:BEGIN
4968 SELECT @x;
4969 END//
4970 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_second:BEGIN
4971 SELECT @x;
4972 END' at line 2
4973 DROP PROCEDURE IF EXISTS sp1;
4974 CREATE PROCEDURE sp1()
4975 mod:BEGIN
4976 SELECT @x;
4977 END//
4978 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mod:BEGIN
4979 SELECT @x;
4980 END' at line 2
4981 DROP PROCEDURE IF EXISTS sp1;
4982 CREATE PROCEDURE sp1()
4983 modifies:BEGIN
4984 SELECT @x;
4985 END//
4986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
4987 SELECT @x;
4988 END' at line 2
4989 DROP PROCEDURE IF EXISTS sp1;
4990 CREATE PROCEDURE sp1()
4991 natural:BEGIN
4992 SELECT @x;
4993 END//
4994 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'natural:BEGIN
4995 SELECT @x;
4996 END' at line 2
4997 DROP PROCEDURE IF EXISTS sp1;
4998 CREATE PROCEDURE sp1()
4999 nested:BEGIN
5000 SELECT @x;
5001 END//
5002 DROP PROCEDURE sp1;
5003 CREATE PROCEDURE sp1()
5004 not:BEGIN
5005 SELECT @x;
5006 END//
5007 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5008 SELECT @x;
5009 END' at line 2
5010 DROP PROCEDURE IF EXISTS sp1;
5011 CREATE PROCEDURE sp1()
5012 no_write_to_binlog:BEGIN
5013 SELECT @x;
5014 END//
5015 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'no_write_to_binlog:BEGIN
5016 SELECT @x;
5017 END' at line 2
5018 DROP PROCEDURE IF EXISTS sp1;
5019 CREATE PROCEDURE sp1()
5020 null:BEGIN
5021 SELECT @x;
5022 END//
5023 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'null:BEGIN
5024 SELECT @x;
5025 END' at line 2
5026 DROP PROCEDURE IF EXISTS sp1;
5027 CREATE PROCEDURE sp1()
5028 numeric:BEGIN
5029 SELECT @x;
5030 END//
5031 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric:BEGIN
5032 SELECT @x;
5033 END' at line 2
5034 DROP PROCEDURE IF EXISTS sp1;
5035 CREATE PROCEDURE sp1()
5036 on:BEGIN
5037 SELECT @x;
5038 END//
5039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'on:BEGIN
5040 SELECT @x;
5041 END' at line 2
5042 DROP PROCEDURE IF EXISTS sp1;
5043 CREATE PROCEDURE sp1()
5044 optimize:BEGIN
5045 SELECT @x;
5046 END//
5047 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5048 SELECT @x;
5049 END' at line 2
5050 DROP PROCEDURE IF EXISTS sp1;
5051 CREATE PROCEDURE sp1()
5052 option:BEGIN
5053 SELECT @x;
5054 END//
5055 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'option:BEGIN
5056 SELECT @x;
5057 END' at line 2
5058 DROP PROCEDURE IF EXISTS sp1;
5059 CREATE PROCEDURE sp1()
5060 optionally:BEGIN
5061 SELECT @x;
5062 END//
5063 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optionally:BEGIN
5064 SELECT @x;
5065 END' at line 2
5066 DROP PROCEDURE IF EXISTS sp1;
5067 CREATE PROCEDURE sp1()
5068 or:BEGIN
5069 SELECT @x;
5070 END//
5071 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or:BEGIN
5072 SELECT @x;
5073 END' at line 2
5074 DROP PROCEDURE IF EXISTS sp1;
5075 CREATE PROCEDURE sp1()
5076 order:BEGIN
5077 SELECT @x;
5078 END//
5079 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order:BEGIN
5080 SELECT @x;
5081 END' at line 2
5082 DROP PROCEDURE IF EXISTS sp1;
5083 CREATE PROCEDURE sp1()
5084 ordinality:BEGIN
5085 SELECT @x;
5086 END//
5087 DROP PROCEDURE sp1;
5088 CREATE PROCEDURE sp1()
5089 out:BEGIN
5090 SELECT @x;
5091 END//
5092 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out:BEGIN
5093 SELECT @x;
5094 END' at line 2
5095 DROP PROCEDURE IF EXISTS sp1;
5096 CREATE PROCEDURE sp1()
5097 outer:BEGIN
5098 SELECT @x;
5099 END//
5100 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outer:BEGIN
5101 SELECT @x;
5102 END' at line 2
5103 DROP PROCEDURE IF EXISTS sp1;
5104 CREATE PROCEDURE sp1()
5105 outfile:BEGIN
5106 SELECT @x;
5107 END//
5108 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile:BEGIN
5109 SELECT @x;
5110 END' at line 2
5111 DROP PROCEDURE IF EXISTS sp1;
5112 CREATE PROCEDURE sp1()
5113 path:BEGIN
5114 SELECT @x;
5115 END//
5116 DROP PROCEDURE sp1;
5117 CREATE PROCEDURE sp1()
5118 precision:BEGIN
5119 SELECT @x;
5120 END//
5121 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision:BEGIN
5122 SELECT @x;
5123 END' at line 2
5124 DROP PROCEDURE IF EXISTS sp1;
5125 CREATE PROCEDURE sp1()
5126 primary:BEGIN
5127 SELECT @x;
5128 END//
5129 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'primary:BEGIN
5130 SELECT @x;
5131 END' at line 2
5132 DROP PROCEDURE IF EXISTS sp1;
5133 CREATE PROCEDURE sp1()
5134 procedure:BEGIN
5135 SELECT @x;
5136 END//
5137 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure:BEGIN
5138 SELECT @x;
5139 END' at line 2
5140 DROP PROCEDURE IF EXISTS sp1;
5141 CREATE PROCEDURE sp1()
5142 purge:BEGIN
5143 SELECT @x;
5144 END//
5145 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5146 SELECT @x;
5147 END' at line 2
5148 DROP PROCEDURE IF EXISTS sp1;
5149 CREATE PROCEDURE sp1()
5150 range:BEGIN
5151 SELECT @x;
5152 END//
5153 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'range:BEGIN
5154 SELECT @x;
5155 END' at line 2
5156 DROP PROCEDURE IF EXISTS sp1;
5157 CREATE PROCEDURE sp1()
5158 read:BEGIN
5159 SELECT @x;
5160 END//
5161 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read:BEGIN
5162 SELECT @x;
5163 END' at line 2
5164 DROP PROCEDURE IF EXISTS sp1;
5165 CREATE PROCEDURE sp1()
5166 reads:BEGIN
5167 SELECT @x;
5168 END//
5169 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5170 SELECT @x;
5171 END' at line 2
5172 DROP PROCEDURE IF EXISTS sp1;
5173 DROP PROCEDURE IF EXISTS sp1;
5174 CREATE PROCEDURE sp1()
5175 read_write:BEGIN
5176 SELECT @x;
5177 END//
5178 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read_write:BEGIN
5179 SELECT @x;
5180 END' at line 2
5181 DROP PROCEDURE IF EXISTS sp1;
5182 CREATE PROCEDURE sp1()
5183 real:BEGIN
5184 SELECT @x;
5185 END//
5186 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real:BEGIN
5187 SELECT @x;
5188 END' at line 2
5189 DROP PROCEDURE IF EXISTS sp1;
5190 CREATE PROCEDURE sp1()
5191 references:BEGIN
5192 SELECT @x;
5193 END//
5194 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'references:BEGIN
5195 SELECT @x;
5196 END' at line 2
5197 DROP PROCEDURE IF EXISTS sp1;
5198 CREATE PROCEDURE sp1()
5199 regexp:BEGIN
5200 SELECT @x;
5201 END//
5202 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp:BEGIN
5203 SELECT @x;
5204 END' at line 2
5205 DROP PROCEDURE IF EXISTS sp1;
5206 CREATE PROCEDURE sp1()
5207 release:BEGIN
5208 SELECT @x;
5209 END//
5210 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB 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 rename:BEGIN
5216 SELECT @x;
5217 END//
5218 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5219 SELECT @x;
5220 END' at line 2
5221 DROP PROCEDURE IF EXISTS sp1;
5222 CREATE PROCEDURE sp1()
5223 repeat:BEGIN
5224 SELECT @x;
5225 END//
5226 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5227 SELECT @x;
5228 END' at line 2
5229 DROP PROCEDURE IF EXISTS sp1;
5230 CREATE PROCEDURE sp1()
5231 replace:BEGIN
5232 SELECT @x;
5233 END//
5234 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5235 SELECT @x;
5236 END' at line 2
5237 DROP PROCEDURE IF EXISTS sp1;
5238 CREATE PROCEDURE sp1()
5239 require:BEGIN
5240 SELECT @x;
5241 END//
5242 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'require:BEGIN
5243 SELECT @x;
5244 END' at line 2
5245 DROP PROCEDURE IF EXISTS sp1;
5246 CREATE PROCEDURE sp1()
5247 restrict:BEGIN
5248 SELECT @x;
5249 END//
5250 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'restrict:BEGIN
5251 SELECT @x;
5252 END' at line 2
5253 DROP PROCEDURE IF EXISTS sp1;
5254 CREATE PROCEDURE sp1()
5255 return:BEGIN
5256 SELECT @x;
5257 END//
5258 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5259 SELECT @x;
5260 END' at line 2
5261 DROP PROCEDURE IF EXISTS sp1;
5262 CREATE PROCEDURE sp1()
5263 revoke:BEGIN
5264 SELECT @x;
5265 END//
5266 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5267 SELECT @x;
5268 END' at line 2
5269 DROP PROCEDURE IF EXISTS sp1;
5270 CREATE PROCEDURE sp1()
5271 right:BEGIN
5272 SELECT @x;
5273 END//
5274 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'right:BEGIN
5275 SELECT @x;
5276 END' at line 2
5277 DROP PROCEDURE IF EXISTS sp1;
5278 CREATE PROCEDURE sp1()
5279 rlike:BEGIN
5280 SELECT @x;
5281 END//
5282 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike:BEGIN
5283 SELECT @x;
5284 END' at line 2
5285 DROP PROCEDURE IF EXISTS sp1;
5286 CREATE PROCEDURE sp1()
5287 schema:BEGIN
5288 SELECT @x;
5289 END//
5290 DROP PROCEDURE IF EXISTS sp1;
5291 CREATE PROCEDURE sp1()
5292 schemas:BEGIN
5293 SELECT @x;
5294 END//
5295 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas:BEGIN
5296 SELECT @x;
5297 END' at line 2
5298 DROP PROCEDURE IF EXISTS sp1;
5299 CREATE PROCEDURE sp1()
5300 second_microsecond:BEGIN
5301 SELECT @x;
5302 END//
5303 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'second_microsecond:BEGIN
5304 SELECT @x;
5305 END' at line 2
5306 DROP PROCEDURE IF EXISTS sp1;
5307 CREATE PROCEDURE sp1()
5308 select:BEGIN
5309 SELECT @x;
5310 END//
5311 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5312 SELECT @x;
5313 END' at line 2
5314 DROP PROCEDURE IF EXISTS sp1;
5315 CREATE PROCEDURE sp1()
5316 sensitive:BEGIN
5317 SELECT @x;
5318 END//
5319 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sensitive:BEGIN
5320 SELECT @x;
5321 END' at line 2
5322 DROP PROCEDURE IF EXISTS sp1;
5323 CREATE PROCEDURE sp1()
5324 separator:BEGIN
5325 SELECT @x;
5326 END//
5327 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'separator:BEGIN
5328 SELECT @x;
5329 END' at line 2
5330 DROP PROCEDURE IF EXISTS sp1;
5331 CREATE PROCEDURE sp1()
5332 set:BEGIN
5333 SELECT @x;
5334 END//
5335 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5336 SELECT @x;
5337 END' at line 2
5338 DROP PROCEDURE IF EXISTS sp1;
5339 CREATE PROCEDURE sp1()
5340 show:BEGIN
5341 SELECT @x;
5342 END//
5343 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5344 SELECT @x;
5345 END' at line 2
5346 DROP PROCEDURE IF EXISTS sp1;
5347 CREATE PROCEDURE sp1()
5348 smallint:BEGIN
5349 SELECT @x;
5350 END//
5351 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint:BEGIN
5352 SELECT @x;
5353 END' at line 2
5354 DROP PROCEDURE IF EXISTS sp1;
5355 CREATE PROCEDURE sp1()
5356 spatial:BEGIN
5357 SELECT @x;
5358 END//
5359 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'spatial:BEGIN
5360 SELECT @x;
5361 END' at line 2
5362 DROP PROCEDURE IF EXISTS sp1;
5363 CREATE PROCEDURE sp1()
5364 specific:BEGIN
5365 SELECT @x;
5366 END//
5367 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'specific:BEGIN
5368 SELECT @x;
5369 END' at line 2
5370 DROP PROCEDURE IF EXISTS sp1;
5371 CREATE PROCEDURE sp1()
5372 sql:BEGIN
5373 SELECT @x;
5374 END//
5375 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5376 SELECT @x;
5377 END' at line 2
5378 DROP PROCEDURE IF EXISTS sp1;
5379 CREATE PROCEDURE sp1()
5380 sqlexception:BEGIN
5381 SELECT @x;
5382 END//
5383 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlexception:BEGIN
5384 SELECT @x;
5385 END' at line 2
5386 DROP PROCEDURE IF EXISTS sp1;
5387 CREATE PROCEDURE sp1()
5388 sqlstate:BEGIN
5389 SELECT @x;
5390 END//
5391 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlstate:BEGIN
5392 SELECT @x;
5393 END' at line 2
5394 DROP PROCEDURE IF EXISTS sp1;
5395 CREATE PROCEDURE sp1()
5396 sqlwarning:BEGIN
5397 SELECT @x;
5398 END//
5399 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlwarning:BEGIN
5400 SELECT @x;
5401 END' at line 2
5402 DROP PROCEDURE IF EXISTS sp1;
5403 CREATE PROCEDURE sp1()
5404 sql_big_result:BEGIN
5405 SELECT @x;
5406 END//
5407 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_big_result:BEGIN
5408 SELECT @x;
5409 END' at line 2
5410 DROP PROCEDURE IF EXISTS sp1;
5411 CREATE PROCEDURE sp1()
5412 sql_calc_found_rows:BEGIN
5413 SELECT @x;
5414 END//
5415 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_calc_found_rows:BEGIN
5416 SELECT @x;
5417 END' at line 2
5418 DROP PROCEDURE IF EXISTS sp1;
5419 CREATE PROCEDURE sp1()
5420 sql_small_result:BEGIN
5421 SELECT @x;
5422 END//
5423 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_small_result:BEGIN
5424 SELECT @x;
5425 END' at line 2
5426 DROP PROCEDURE IF EXISTS sp1;
5427 CREATE PROCEDURE sp1()
5428 ssl:BEGIN
5429 SELECT @x;
5430 END//
5431 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ssl:BEGIN
5432 SELECT @x;
5433 END' at line 2
5434 DROP PROCEDURE IF EXISTS sp1;
5435 CREATE PROCEDURE sp1()
5436 starting:BEGIN
5437 SELECT @x;
5438 END//
5439 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'starting:BEGIN
5440 SELECT @x;
5441 END' at line 2
5442 DROP PROCEDURE IF EXISTS sp1;
5443 CREATE PROCEDURE sp1()
5444 straight_join:BEGIN
5445 SELECT @x;
5446 END//
5447 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'straight_join:BEGIN
5448 SELECT @x;
5449 END' at line 2
5450 DROP PROCEDURE IF EXISTS sp1;
5451 CREATE PROCEDURE sp1()
5452 table:BEGIN
5453 SELECT @x;
5454 END//
5455 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table:BEGIN
5456 SELECT @x;
5457 END' at line 2
5458 DROP PROCEDURE IF EXISTS sp1;
5459 CREATE PROCEDURE sp1()
5460 terminated:BEGIN
5461 SELECT @x;
5462 END//
5463 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'terminated:BEGIN
5464 SELECT @x;
5465 END' at line 2
5466 DROP PROCEDURE IF EXISTS sp1;
5467 CREATE PROCEDURE sp1()
5468 then:BEGIN
5469 SELECT @x;
5470 END//
5471 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then:BEGIN
5472 SELECT @x;
5473 END' at line 2
5474 DROP PROCEDURE IF EXISTS sp1;
5475 CREATE PROCEDURE sp1()
5476 tinyblob:BEGIN
5477 SELECT @x;
5478 END//
5479 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob:BEGIN
5480 SELECT @x;
5481 END' at line 2
5482 DROP PROCEDURE IF EXISTS sp1;
5483 CREATE PROCEDURE sp1()
5484 tinyint:BEGIN
5485 SELECT @x;
5486 END//
5487 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint:BEGIN
5488 SELECT @x;
5489 END' at line 2
5490 DROP PROCEDURE IF EXISTS sp1;
5491 CREATE PROCEDURE sp1()
5492 tinytext:BEGIN
5493 SELECT @x;
5494 END//
5495 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext:BEGIN
5496 SELECT @x;
5497 END' at line 2
5498 DROP PROCEDURE IF EXISTS sp1;
5499 CREATE PROCEDURE sp1()
5500 to:BEGIN
5501 SELECT @x;
5502 END//
5503 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to:BEGIN
5504 SELECT @x;
5505 END' at line 2
5506 DROP PROCEDURE IF EXISTS sp1;
5507 CREATE PROCEDURE sp1()
5508 trailing:BEGIN
5509 SELECT @x;
5510 END//
5511 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trailing:BEGIN
5512 SELECT @x;
5513 END' at line 2
5514 DROP PROCEDURE IF EXISTS sp1;
5515 CREATE PROCEDURE sp1()
5516 trigger:BEGIN
5517 SELECT @x;
5518 END//
5519 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trigger:BEGIN
5520 SELECT @x;
5521 END' at line 2
5522 DROP PROCEDURE IF EXISTS sp1;
5523 CREATE PROCEDURE sp1()
5524 true:BEGIN
5525 SELECT @x;
5526 END//
5527 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'true:BEGIN
5528 SELECT @x;
5529 END' at line 2
5530 DROP PROCEDURE IF EXISTS sp1;
5531 CREATE PROCEDURE sp1()
5532 undo:BEGIN
5533 SELECT @x;
5534 END//
5535 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo:BEGIN
5536 SELECT @x;
5537 END' at line 2
5538 DROP PROCEDURE IF EXISTS sp1;
5539 CREATE PROCEDURE sp1()
5540 union:BEGIN
5541 SELECT @x;
5542 END//
5543 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'union:BEGIN
5544 SELECT @x;
5545 END' at line 2
5546 DROP PROCEDURE IF EXISTS sp1;
5547 CREATE PROCEDURE sp1()
5548 unique:BEGIN
5549 SELECT @x;
5550 END//
5551 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unique:BEGIN
5552 SELECT @x;
5553 END' at line 2
5554 DROP PROCEDURE IF EXISTS sp1;
5555 CREATE PROCEDURE sp1()
5556 unlock:BEGIN
5557 SELECT @x;
5558 END//
5559 ERROR 0A000: UNLOCK is not allowed in stored procedures
5560 DROP PROCEDURE IF EXISTS sp1;
5561 CREATE PROCEDURE sp1()
5562 unsigned:BEGIN
5563 SELECT @x;
5564 END//
5565 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unsigned:BEGIN
5566 SELECT @x;
5567 END' at line 2
5568 DROP PROCEDURE IF EXISTS sp1;
5569 CREATE PROCEDURE sp1()
5570 update:BEGIN
5571 SELECT @x;
5572 END//
5573 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5574 SELECT @x;
5575 END' at line 2
5576 DROP PROCEDURE IF EXISTS sp1;
5577 CREATE PROCEDURE sp1()
5578 usage:BEGIN
5579 SELECT @x;
5580 END//
5581 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'usage:BEGIN
5582 SELECT @x;
5583 END' at line 2
5584 DROP PROCEDURE IF EXISTS sp1;
5585 CREATE PROCEDURE sp1()
5586 use:BEGIN
5587 SELECT @x;
5588 END//
5589 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5590 SELECT @x;
5591 END' at line 2
5592 DROP PROCEDURE IF EXISTS sp1;
5593 CREATE PROCEDURE sp1()
5594 using:BEGIN
5595 SELECT @x;
5596 END//
5597 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'using:BEGIN
5598 SELECT @x;
5599 END' at line 2
5600 DROP PROCEDURE IF EXISTS sp1;
5601 CREATE PROCEDURE sp1()
5602 utc_date:BEGIN
5603 SELECT @x;
5604 END//
5605 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_date:BEGIN
5606 SELECT @x;
5607 END' at line 2
5608 DROP PROCEDURE IF EXISTS sp1;
5609 CREATE PROCEDURE sp1()
5610 utc_time:BEGIN
5611 SELECT @x;
5612 END//
5613 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time:BEGIN
5614 SELECT @x;
5615 END' at line 2
5616 DROP PROCEDURE IF EXISTS sp1;
5617 CREATE PROCEDURE sp1()
5618 utc_timestamp:BEGIN
5619 SELECT @x;
5620 END//
5621 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_timestamp:BEGIN
5622 SELECT @x;
5623 END' at line 2
5624 DROP PROCEDURE IF EXISTS sp1;
5625 CREATE PROCEDURE sp1()
5626 values:BEGIN
5627 SELECT @x;
5628 END//
5629 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5630 SELECT @x;
5631 END' at line 2
5632 DROP PROCEDURE IF EXISTS sp1;
5633 CREATE PROCEDURE sp1()
5634 varbinary:BEGIN
5635 SELECT @x;
5636 END//
5637 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varbinary:BEGIN
5638 SELECT @x;
5639 END' at line 2
5640 DROP PROCEDURE IF EXISTS sp1;
5641 CREATE PROCEDURE sp1()
5642 varchar:BEGIN
5643 SELECT @x;
5644 END//
5645 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar:BEGIN
5646 SELECT @x;
5647 END' at line 2
5648 DROP PROCEDURE IF EXISTS sp1;
5649 CREATE PROCEDURE sp1()
5650 varcharacter:BEGIN
5651 SELECT @x;
5652 END//
5653 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varcharacter:BEGIN
5654 SELECT @x;
5655 END' at line 2
5656 DROP PROCEDURE IF EXISTS sp1;
5657 CREATE PROCEDURE sp1()
5658 varying:BEGIN
5659 SELECT @x;
5660 END//
5661 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varying:BEGIN
5662 SELECT @x;
5663 END' at line 2
5664 DROP PROCEDURE IF EXISTS sp1;
5665 CREATE PROCEDURE sp1()
5666 when:BEGIN
5667 SELECT @x;
5668 END//
5669 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when:BEGIN
5670 SELECT @x;
5671 END' at line 2
5672 DROP PROCEDURE IF EXISTS sp1;
5673 CREATE PROCEDURE sp1()
5674 where:BEGIN
5675 SELECT @x;
5676 END//
5677 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where:BEGIN
5678 SELECT @x;
5679 END' at line 2
5680 DROP PROCEDURE IF EXISTS sp1;
5681 CREATE PROCEDURE sp1()
5682 while:BEGIN
5683 SELECT @x;
5684 END//
5685 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5686 SELECT @x;
5687 END' at line 2
5688 DROP PROCEDURE IF EXISTS sp1;
5689 CREATE PROCEDURE sp1()
5690 with:BEGIN
5691 SELECT @x;
5692 END//
5693 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ':BEGIN
5694 SELECT @x;
5695 END' at line 2
5696 DROP PROCEDURE IF EXISTS sp1;
5697 CREATE PROCEDURE sp1()
5698 write:BEGIN
5699 SELECT @x;
5700 END//
5701 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'write:BEGIN
5702 SELECT @x;
5703 END' at line 2
5704 DROP PROCEDURE IF EXISTS sp1;
5705 CREATE PROCEDURE sp1()
5706 xor:BEGIN
5707 SELECT @x;
5708 END//
5709 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'xor:BEGIN
5710 SELECT @x;
5711 END' at line 2
5712 DROP PROCEDURE IF EXISTS sp1;
5713 CREATE PROCEDURE sp1()
5714 year_month:BEGIN
5715 SELECT @x;
5716 END//
5717 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year_month:BEGIN
5718 SELECT @x;
5719 END' at line 2
5720 DROP PROCEDURE IF EXISTS sp1;
5721 CREATE PROCEDURE sp1()
5722 zerofill:BEGIN
5723 SELECT @x;
5724 END//
5725 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zerofill:BEGIN
5726 SELECT @x;
5727 END' at line 2
5728
5729 Testcase 4.2.6:
5730 ---------------
5731 Ensure that the labels for multiple BEGIN an END work properly
5732 --------------------------------------------------------------------------------
5733 DROP PROCEDURE IF EXISTS sp1;
5734 CREATE PROCEDURE sp1( )
5735 begin_label: BEGIN
5736 declare x char;
5737 declare y char;
5738 set x = '1';
5739 set y = '2';
5740 label1: BEGIN
5741 declare x char;
5742 declare y char;
5743 SELECT f1, f2 into x, y from t2 limit 1;
5744 END label1;
5745 set @v1 = x;
5746 set @v2 = y;
5747 SELECT @v1, @v2;
5748 END begin_label//
5749 CALL sp1();
5750 @v1 @v2
5751 1 2
5752 Warnings:
5753 Warning 1265 Data truncated for column 'x' at row 1
5754 Warning 1265 Data truncated for column 'y' at row 1
5755 DROP PROCEDURE sp1;
5756
5757 Testcase 4.2.7:
5758 ---------------
5759 Ensure that the labels enclosing each BEGIN/END compound statement must match.
5760 --------------------------------------------------------------------------------
5761 DROP PROCEDURE IF EXISTS sp1;
5762 CREATE PROCEDURE sp1( )
5763 begin1_label: BEGIN
5764 declare x char;
5765 declare y char;
5766 SELECT lf1, f1 into x, y from t2 limit 1;
5767 begin2_label: BEGIN
5768 declare x char;
5769 declare y char;
5770 SELECT f1, f2 into x, y from t2 limit 1;
5771 END begin2_changed;
5772 END begin1_changed//
5773 ERROR 42000: End-label begin2_changed without match
5774
5775 Testcase 4.2.8:
5776 ---------------
5777 Ensure that it is possible to put a beginning label at the start of a
5778 BEGIN/END compound statement without also requiring an ending label
5779 at the END of the same statement.
5780 --------------------------------------------------------------------------------
5781 DROP PROCEDURE IF EXISTS sp1;
5782 CREATE PROCEDURE sp1( )
5783 begin_label: BEGIN
5784 declare x char;
5785 declare y char;
5786 SELECT f1, f2 into x, y from t2 limit 1;
5787 END//
5788 CALL sp1();
5789 Warnings:
5790 Warning 1265 Data truncated for column 'x' at row 1
5791 Warning 1265 Data truncated for column 'y' at row 1
5792 DROP PROCEDURE sp1;
5793
5794 Testcase 4.2.9:
5795 ---------------
5796 Ensure that it is not possible to put an ending label at the END of
5797 a BEGIN/END compound statement without also requiring a matching
5798 beginning label at the start of the same statement
5799 --------------------------------------------------------------------------------
5800 DROP PROCEDURE IF EXISTS sp1;
5801 CREATE PROCEDURE sp1( )
5802 BEGIN
5803 declare x char;
5804 declare y char;
5805 SELECT f1, f2 into x, y from t2 limit 1;
5806 END begin_label//
5807 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'begin_label' at line 6
5808
5809 Testcase 4.2.10:
5810 ----------------
5811 Ensure that every beginning label must END with a colon(:)
5812 --------------------------------------------------------------------------------
5813 DROP PROCEDURE IF EXISTS sp1;
5814 CREATE PROCEDURE sp1( )
5815 begin_label BEGIN
5816 declare x char;
5817 declare y char;
5818 SELECT f1, f2 into x, y from t2 limit 1;
5819 END begin_label//
5820 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'BEGIN
5821 declare x char;
5822 declare y char;
5823 SELECT f1, f2 into x, y from t2 limit 1...' at line 2
5824
5825 Testcase 4.2.11:
5826 ----------------
5827 Ensure that every beginning label with the same scope must be unique. (same label names)
5828 --------------------------------------------------------------------------------
5829 DROP PROCEDURE IF EXISTS sp6;
5830 CREATE PROCEDURE sp6( )
5831 begin_samelabel: BEGIN
5832 declare x char;
5833 declare y char;
5834 SELECT f1, f2 into x, y from t2 limit 1;
5835 begin_samelabel: BEGIN
5836 declare x char;
5837 declare y char;
5838 SELECT f1, f2 into x, y from t2 limit 1;
5839 END begin_samelabel;
5840 begin_samelabel: BEGIN
5841 declare x char;
5842 declare y char;
5843 SELECT f1, f2 into x, y from t2 limit 1;
5844 END begin_samelabel;
5845 END begin_samelabel//
5846 ERROR 42000: Redefining label begin_samelabel
5847
5848 Testcase 4.2.12:
5849 ----------------
5850 Ensure that the variables, cursors, conditions, and handlers declared for
5851 a stored procedure (with the declare statement) may only be properly defined
5852 --------------------------------------------------------------------------------
5853 DROP PROCEDURE IF EXISTS sp6;
5854 CREATE PROCEDURE sp6( )
5855 BEGIN
5856 declare x char default 'a';
5857 declare y integer default 1;
5858 declare z float default 1.1;
5859 declare a enum("value1", "value2") default 'value1';
5860 declare b decimal(255, 255) default 1.2e+12;
5861 declare c mediumtext default 'mediumtext';
5862 declare d datetime default '2005-02-02 12:12:12';
5863 declare e char default 'b';
5864 declare cur1 cursor for SELECT f1 from db_storedproc.t2;
5865 declare continue handler for sqlstate '02000' set @x2 = 1;
5866 open cur1;
5867 fetch cur1 into e;
5868 SELECT x, y, z, a, b, c, d, e;
5869 close cur1;
5870 END//
5871 ERROR 42000: Too big scale specified for 'b'. Maximum is 38
5872 CALL sp6();
5873 ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
5874 DROP PROCEDURE IF EXISTS sp6;
5875 CREATE PROCEDURE sp6( )
5876 BEGIN
5877 declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
5878 SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
5879 END//
5880 CALL sp6();
5881 x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
5882 0
5883 DROP PROCEDURE sp6;
5884
5885 Testcase 4.2.13:
5886 ----------------
5887 Ensure that the variables declared for a stored procedure (with the declare
5888 statement) may only be defined in the correct order.
5889 --------------------------------------------------------------------------------
5890 DROP PROCEDURE IF EXISTS sp6;
5891 CREATE PROCEDURE sp6( )
5892 BEGIN
5893 declare x default '0' char;
5894 SELECT x;
5895 END//
5896 ERROR HY000: Unknown data type: 'default'
5897 DROP PROCEDURE IF EXISTS sp6;
5898 CREATE PROCEDURE sp6( )
5899 BEGIN
5900 declare x char, integer default '0';
5901 SELECT x;
5902 END//
5903 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' integer default '0';
5904 SELECT x;
5905 END' at line 3
5906 DROP PROCEDURE IF EXISTS sp6;
5907 CREATE PROCEDURE sp6( )
5908 BEGIN
5909 declare x1, x2 char, integer default '0', 1;
5910 SELECT x;
5911 END//
5912 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ' integer default '0', 1;
5913 SELECT x;
5914 END' at line 3
5915 DROP PROCEDURE IF EXISTS sp6;
5916 CREATE PROCEDURE sp1( )
5917 BEGIN
5918 declare char x;
5919 declare char y;
5920 SELECT f1, f2 into x, y from t2 limit 1;
5921 END//
5922 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char x;
5923 declare char y;
5924 SELECT f1, f2 into x, y from t2 limit 1;
5925 END' at line 3
5926 DROP PROCEDURE IF EXISTS sp6;
5927 CREATE PROCEDURE sp1( )
5928 BEGIN
5929 declare char x, y1 integer default 0;
5930 declare char y;
5931 SELECT f1, f2 into x, y from t2 limit 1;
5932 END//
5933 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char x, y1 integer default 0;
5934 declare char y;
5935 SELECT f1, f2 into x, y from t2...' at line 3
5936 DROP PROCEDURE IF EXISTS sp6;
5937 CREATE PROCEDURE sp6( )
5938 BEGIN
5939 declare x default 'a' char;
5940 END//
5941 ERROR HY000: Unknown data type: 'default'
5942 DROP PROCEDURE IF EXISTS sp6;
5943 CREATE PROCEDURE sp6( )
5944 BEGIN
5945 declare condition notable for sqlstate '42s22';
5946 END//
5947 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition notable for sqlstate '42s22';
5948 END' at line 3
5949 DROP PROCEDURE IF EXISTS sp6;
5950 CREATE PROCEDURE sp6( )
5951 BEGIN
5952 declare condition for notable sqlstate '42s22';
5953 END//
5954 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for notable sqlstate '42s22';
5955 END' at line 3
5956 DROP PROCEDURE IF EXISTS sp6;
5957 CREATE PROCEDURE sp6( )
5958 BEGIN
5959 declare condition for sqlstate notable '42s22';
5960 END//
5961 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for sqlstate notable '42s22';
5962 END' at line 3
5963 DROP PROCEDURE IF EXISTS sp6;
5964 CREATE PROCEDURE sp6( )
5965 BEGIN
5966 declare condition for sqlstate '42s22' notable;
5967 END//
5968 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for sqlstate '42s22' notable;
5969 END' at line 3
5970 DROP PROCEDURE IF EXISTS sp6;
5971 CREATE PROCEDURE sp6( )
5972 BEGIN
5973 declare cursor cur1 for SELECT f1 from db_storedproc.t2;
5974 END//
5975 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2;
5976 END' at line 3
5977 DROP PROCEDURE IF EXISTS sp6;
5978 CREATE PROCEDURE sp6( )
5979 BEGIN
5980 declare cursor for cur1 SELECT f1 from db_storedproc.t2;
5981 END//
5982 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2;
5983 END' at line 3
5984 DROP PROCEDURE IF EXISTS sp6;
5985 CREATE PROCEDURE sp6( )
5986 BEGIN
5987 declare cursor for SELECT cur1 f1 from db_storedproc.t2;
5988 END//
5989 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2;
5990 END' at line 3
5991 DROP PROCEDURE IF EXISTS sp6;
5992 CREATE PROCEDURE sp6( )
5993 BEGIN
5994 declare handler continue for sqlstate '02000' set @x2 = 1;
5995 END//
5996 ERROR HY000: Unknown data type: 'continue'
5997 DROP PROCEDURE IF EXISTS sp6;
5998 CREATE PROCEDURE sp6( )
5999 BEGIN
6000 declare handler exit for sqlstate '02000' set @x2 = 1;
6001 END//
6002 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1;
6003 END' at line 3
6004 DROP PROCEDURE IF EXISTS sp6;
6005 CREATE PROCEDURE sp6( )
6006 BEGIN
6007 declare handler undo for sqlstate '02000' set @x2 = 1;
6008 END//
6009 ERROR HY000: Unknown data type: 'undo'
6010 DROP PROCEDURE IF EXISTS sp1;
6011 CREATE PROCEDURE sp1( )
6012 BEGIN
6013 declare char x;
6014 SELECT f1 into x from tb1 limit 9998, 1;
6015 END//
6016 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char x;
6017 SELECT f1 into x from tb1 limit 9998, 1;
6018 END' at line 3
6019 DROP PROCEDURE IF EXISTS sp1;
6020 CREATE PROCEDURE sp1( )
6021 BEGIN
6022 declare char binary x;
6023 SELECT f2 into x from tb1 limit 9998, 1;
6024 END//
6025 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char binary x;
6026 SELECT f2 into x from tb1 limit 9998, 1;
6027 END' at line 3
6028 DROP PROCEDURE IF EXISTS sp1;
6029 CREATE PROCEDURE sp1( )
6030 BEGIN
6031 declare char ascii x;
6032 SELECT f3 into x from tb1 limit 9998, 1;
6033 END//
6034 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char ascii x;
6035 SELECT f3 into x from tb1 limit 9998, 1;
6036 END' at line 3
6037 DROP PROCEDURE IF EXISTS sp1;
6038 CREATE PROCEDURE sp1( )
6039 BEGIN
6040 declare tinytext x;
6041 SELECT f4 into x from tb1 limit 9998, 1;
6042 END//
6043 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext x;
6044 SELECT f4 into x from tb1 limit 9998, 1;
6045 END' at line 3
6046 DROP PROCEDURE IF EXISTS sp1;
6047 CREATE PROCEDURE sp1( )
6048 BEGIN
6049 declare x;
6050 SELECT f5 text into x from tb1 limit 9998, 1;
6051 END//
6052 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';
6053 SELECT f5 text into x from tb1 limit 9998, 1;
6054 END' at line 3
6055 DROP PROCEDURE IF EXISTS sp1;
6056 CREATE PROCEDURE sp1( )
6057 BEGIN
6058 declare mediumtext x;
6059 SELECT f6 into x from tb1 limit 9998, 1;
6060 END//
6061 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext x;
6062 SELECT f6 into x from tb1 limit 9998, 1;
6063 END' at line 3
6064 DROP PROCEDURE IF EXISTS sp1;
6065 CREATE PROCEDURE sp1( )
6066 BEGIN
6067 declare longtext x;
6068 SELECT f7 into x from tb1 limit 9998, 1;
6069 END//
6070 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext x;
6071 SELECT f7 into x from tb1 limit 9998, 1;
6072 END' at line 3
6073 DROP PROCEDURE IF EXISTS sp1;
6074 CREATE PROCEDURE sp1( )
6075 BEGIN
6076 declare tinyblob x;
6077 SELECT f8 into x from tb1 limit 9998, 1;
6078 END//
6079 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob x;
6080 SELECT f8 into x from tb1 limit 9998, 1;
6081 END' at line 3
6082 DROP PROCEDURE IF EXISTS sp1;
6083 CREATE PROCEDURE sp1( )
6084 BEGIN
6085 declare blob x;
6086 SELECT f9 into x from tb1 limit 9998, 1;
6087 END//
6088 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob x;
6089 SELECT f9 into x from tb1 limit 9998, 1;
6090 END' at line 3
6091 DROP PROCEDURE IF EXISTS sp1;
6092 CREATE PROCEDURE sp1( )
6093 BEGIN
6094 declare mediumblob x;
6095 SELECT f10 into x from tb1 limit 9998, 1;
6096 END//
6097 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob x;
6098 SELECT f10 into x from tb1 limit 9998, 1;
6099 END' at line 3
6100 DROP PROCEDURE IF EXISTS sp1;
6101 CREATE PROCEDURE sp1( )
6102 BEGIN
6103 declare longblob x;
6104 SELECT f11 into x from tb1 limit 9998, 1;
6105 END//
6106 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob x;
6107 SELECT f11 into x from tb1 limit 9998, 1;
6108 END' at line 3
6109 DROP PROCEDURE IF EXISTS sp1;
6110 CREATE PROCEDURE sp1( )
6111 BEGIN
6112 declare binary x;
6113 SELECT f12 into x from tb1 limit 9998, 1;
6114 END//
6115 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary x;
6116 SELECT f12 into x from tb1 limit 9998, 1;
6117 END' at line 3
6118 DROP PROCEDURE IF EXISTS sp1;
6119 CREATE PROCEDURE sp1( )
6120 BEGIN
6121 declare tinyint x;
6122 SELECT f13 into x from tb1 limit 9998, 1;
6123 END//
6124 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint x;
6125 SELECT f13 into x from tb1 limit 9998, 1;
6126 END' at line 3
6127 DROP PROCEDURE IF EXISTS sp1;
6128 CREATE PROCEDURE sp1( )
6129 BEGIN
6130 declare tinyint unsigned x;
6131 SELECT f14 into x from tb1 limit 9998, 1;
6132 END//
6133 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint unsigned x;
6134 SELECT f14 into x from tb1 limit 9998, 1;
6135 END' at line 3
6136 DROP PROCEDURE IF EXISTS sp1;
6137 CREATE PROCEDURE sp1( )
6138 BEGIN
6139 declare tinyint zerofill x;
6140 SELECT f15 into x from tb1 limit 9998, 1;
6141 END//
6142 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint zerofill x;
6143 SELECT f15 into x from tb1 limit 9998, 1;
6144 END' at line 3
6145 DROP PROCEDURE IF EXISTS sp1;
6146 CREATE PROCEDURE sp1( )
6147 BEGIN
6148 declare tinyint unsigned zerofill x;
6149 SELECT f16 into x from tb1 limit 9998, 1;
6150 END//
6151 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint unsigned zerofill x;
6152 SELECT f16 into x from tb1 limit 9998, 1;
6153 END' at line 3
6154 DROP PROCEDURE IF EXISTS sp1;
6155 CREATE PROCEDURE sp1( )
6156 BEGIN
6157 declare smallint x;
6158 SELECT f17 into x from tb1 limit 9998, 1;
6159 END//
6160 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint x;
6161 SELECT f17 into x from tb1 limit 9998, 1;
6162 END' at line 3
6163 DROP PROCEDURE IF EXISTS sp1;
6164 CREATE PROCEDURE sp1( )
6165 BEGIN
6166 declare smallint unsigned x;
6167 SELECT f18 into x from tb1 limit 9998, 1;
6168 END//
6169 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint unsigned x;
6170 SELECT f18 into x from tb1 limit 9998, 1;
6171 END' at line 3
6172 DROP PROCEDURE IF EXISTS sp1;
6173 CREATE PROCEDURE sp1( )
6174 BEGIN
6175 declare smallint zerofill x;
6176 SELECT f19 into x from tb1 limit 9998, 1;
6177 END//
6178 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint zerofill x;
6179 SELECT f19 into x from tb1 limit 9998, 1;
6180 END' at line 3
6181 DROP PROCEDURE IF EXISTS sp1;
6182 CREATE PROCEDURE sp1( )
6183 BEGIN
6184 declare smallint unsigned zerofill x;
6185 SELECT f20 into x from tb1 limit 9998, 1;
6186 END//
6187 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint unsigned zerofill x;
6188 SELECT f20 into x from tb1 limit 9998, 1;
6189 END' at line 3
6190 DROP PROCEDURE IF EXISTS sp1;
6191 CREATE PROCEDURE sp1( )
6192 BEGIN
6193 declare mediumint x;
6194 SELECT f21 into x from tb1 limit 9998, 1;
6195 END//
6196 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint x;
6197 SELECT f21 into x from tb1 limit 9998, 1;
6198 END' at line 3
6199 DROP PROCEDURE IF EXISTS sp1;
6200 CREATE PROCEDURE sp1( )
6201 BEGIN
6202 declare mediumint unsigned x;
6203 SELECT f22 into x from tb1 limit 9998, 1;
6204 END//
6205 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint unsigned x;
6206 SELECT f22 into x from tb1 limit 9998, 1;
6207 END' at line 3
6208 DROP PROCEDURE IF EXISTS sp1;
6209 CREATE PROCEDURE sp1( )
6210 BEGIN
6211 declare mediumint zerofill x;
6212 SELECT f23 into x from tb1 limit 9998, 1;
6213 END//
6214 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint zerofill x;
6215 SELECT f23 into x from tb1 limit 9998, 1;
6216 END' at line 3
6217 DROP PROCEDURE IF EXISTS sp1;
6218 CREATE PROCEDURE sp1( )
6219 BEGIN
6220 declare mediumint unsigned zerofill x;
6221 SELECT f24 into x from tb1 limit 9998, 1;
6222 END//
6223 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint unsigned zerofill x;
6224 SELECT f24 into x from tb1 limit 9998, 1;
6225 END' at line 3
6226 DROP PROCEDURE IF EXISTS sp1;
6227 CREATE PROCEDURE sp1( )
6228 BEGIN
6229 declare int x;
6230 SELECT f25 into x from tb1 limit 9998, 1;
6231 END//
6232 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int x;
6233 SELECT f25 into x from tb1 limit 9998, 1;
6234 END' at line 3
6235 DROP PROCEDURE IF EXISTS sp1;
6236 CREATE PROCEDURE sp1( )
6237 BEGIN
6238 declare int unsigned x;
6239 SELECT f26 into x from tb1 limit 9998, 1;
6240 END//
6241 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int unsigned x;
6242 SELECT f26 into x from tb1 limit 9998, 1;
6243 END' at line 3
6244 DROP PROCEDURE IF EXISTS sp1;
6245 CREATE PROCEDURE sp1( )
6246 BEGIN
6247 declare int zerofill x;
6248 SELECT f27 into x from tb1 limit 9998, 1;
6249 END//
6250 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int zerofill x;
6251 SELECT f27 into x from tb1 limit 9998, 1;
6252 END' at line 3
6253 DROP PROCEDURE IF EXISTS sp1;
6254 CREATE PROCEDURE sp1( )
6255 BEGIN
6256 declare int unsigned zerofill x;
6257 SELECT f28 into x from tb1 limit 9998, 1;
6258 END//
6259 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int unsigned zerofill x;
6260 SELECT f28 into x from tb1 limit 9998, 1;
6261 END' at line 3
6262 DROP PROCEDURE IF EXISTS sp1;
6263 CREATE PROCEDURE sp1( )
6264 BEGIN
6265 declare bigint x;
6266 SELECT f29 into x from tb1 limit 9998, 1;
6267 END//
6268 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint x;
6269 SELECT f29 into x from tb1 limit 9998, 1;
6270 END' at line 3
6271 DROP PROCEDURE IF EXISTS sp1;
6272 CREATE PROCEDURE sp1( )
6273 BEGIN
6274 declare bigint unsigned x;
6275 elect f30 into x from tb1 limit 9998, 1;
6276 END//
6277 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned x;
6278 elect f30 into x from tb1 limit 9998, 1;
6279 END' at line 3
6280 DROP PROCEDURE IF EXISTS sp1;
6281 CREATE PROCEDURE sp1( )
6282 BEGIN
6283 declare bigint zerofill x;
6284 SELECT f31 into x from tb1 limit 9998, 1;
6285 END//
6286 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint zerofill x;
6287 SELECT f31 into x from tb1 limit 9998, 1;
6288 END' at line 3
6289 DROP PROCEDURE IF EXISTS sp1;
6290 CREATE PROCEDURE sp1( )
6291 BEGIN
6292 declare bigint unsigned zerofill x;
6293 SELECT f32 into x from tb1 limit 9998, 1;
6294 END//
6295 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint unsigned zerofill x;
6296 SELECT f32 into x from tb1 limit 9998, 1;
6297 END' at line 3
6298 DROP PROCEDURE IF EXISTS sp1;
6299 CREATE PROCEDURE sp1( )
6300 BEGIN
6301 declare decimal x;
6302 SELECT f33 into x from tb1 limit 9998, 1;
6303 END//
6304 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal x;
6305 SELECT f33 into x from tb1 limit 9998, 1;
6306 END' at line 3
6307 DROP PROCEDURE IF EXISTS sp1;
6308 CREATE PROCEDURE sp1( )
6309 BEGIN
6310 declare decimal unsigned x;
6311 SELECT f34 into x from tb1 limit 9998, 1;
6312 END//
6313 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal unsigned x;
6314 SELECT f34 into x from tb1 limit 9998, 1;
6315 END' at line 3
6316 DROP PROCEDURE IF EXISTS sp1;
6317 CREATE PROCEDURE sp1( )
6318 BEGIN
6319 declare decimal zerofill x;
6320 SELECT f35 into x from tb1 limit 9998, 1;
6321 END//
6322 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal zerofill x;
6323 SELECT f35 into x from tb1 limit 9998, 1;
6324 END' at line 3
6325 DROP PROCEDURE IF EXISTS sp1;
6326 CREATE PROCEDURE sp1( )
6327 BEGIN
6328 declare decimal unsigned zerofill not null x;
6329 SELECT f36 into x from tb1 limit 9998, 1;
6330 END//
6331 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal unsigned zerofill not null x;
6332 SELECT f36 into x from tb1 limit 9998,...' at line 3
6333 DROP PROCEDURE IF EXISTS sp1;
6334 CREATE PROCEDURE sp1( )
6335 BEGIN
6336 declare decimal (0) not null x;
6337 SELECT f37 into x from tb1 limit 9998, 1;
6338 END//
6339 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (0) not null x;
6340 SELECT f37 into x from tb1 limit 9998, 1;
6341 END' at line 3
6342 DROP PROCEDURE IF EXISTS sp1;
6343 CREATE PROCEDURE sp1( )
6344 BEGIN
6345 declare decimal (64) not null x;
6346 SELECT f38 into x from tb1 limit 9998, 1;
6347 END//
6348 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (64) not null x;
6349 SELECT f38 into x from tb1 limit 9998, 1;
6350 END' at line 3
6351 DROP PROCEDURE IF EXISTS sp1;
6352 CREATE PROCEDURE sp1( )
6353 BEGIN
6354 declare decimal (0) unsigned not null x;
6355 SELECT f39 into x from tb1 limit 9998, 1;
6356 END//
6357 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (0) unsigned not null x;
6358 SELECT f39 into x from tb1 limit 9998, 1;
6359 END' at line 3
6360 DROP PROCEDURE IF EXISTS sp1;
6361 CREATE PROCEDURE sp1( )
6362 BEGIN
6363 declare decimal (64) unsigned not null x;
6364 SELECT f40 into x from tb1 limit 9998, 1;
6365 END//
6366 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (64) unsigned not null x;
6367 SELECT f40 into x from tb1 limit 9998, 1;
6368 END' at line 3
6369 DROP PROCEDURE IF EXISTS sp1;
6370 CREATE PROCEDURE sp1( )
6371 BEGIN
6372 declare decimal (0) zerofill not null x;
6373 SELECT f41 into x from tb1 limit 9998, 1;
6374 END//
6375 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (0) zerofill not null x;
6376 SELECT f41 into x from tb1 limit 9998, 1;
6377 END' at line 3
6378 DROP PROCEDURE IF EXISTS sp1;
6379 CREATE PROCEDURE sp1( )
6380 BEGIN
6381 declare decimal (64) zerofill not null x;
6382 SELECT f42 into x from tb1 limit 9998, 1;
6383 END//
6384 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (64) zerofill not null x;
6385 SELECT f42 into x from tb1 limit 9998, 1;
6386 END' at line 3
6387 DROP PROCEDURE IF EXISTS sp1;
6388 CREATE PROCEDURE sp1( )
6389 BEGIN
6390 declare decimal (0) unsigned zerofill not null x;
6391 SELECT f43 into x from tb1 limit 9998, 1;
6392 END//
6393 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x;
6394 SELECT f43 into x from tb1 limit 9...' at line 3
6395 DROP PROCEDURE IF EXISTS sp1;
6396 CREATE PROCEDURE sp1( )
6397 BEGIN
6398 declare decimal (64) unsigned zerofill not null x;
6399 SELECT f44 into x from tb1 limit 9998, 1;
6400 END//
6401 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x;
6402 SELECT f44 into x from tb1 limit ...' at line 3
6403 DROP PROCEDURE IF EXISTS sp1;
6404 CREATE PROCEDURE sp1( )
6405 BEGIN
6406 declare decimal (00) not null x;
6407 SELECT f45 into x from tb1 limit 9998, 1;
6408 END//
6409 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (00) not null x;
6410 SELECT f45 into x from tb1 limit 9998, 1;
6411 END' at line 3
6412 DROP PROCEDURE IF EXISTS sp1;
6413 CREATE PROCEDURE sp1( )
6414 BEGIN
6415 declare decimal (63, 30) not null x;
6416 SELECT f46 into x from tb1 limit 9998, 1;
6417 END//
6418 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (63, 30) not null x;
6419 SELECT f46 into x from tb1 limit 9998, 1;
6420 END' at line 3
6421 DROP PROCEDURE IF EXISTS sp1;
6422 CREATE PROCEDURE sp1( )
6423 BEGIN
6424 declare decimal (00) unsigned not null x;
6425 SELECT f47 into x from tb1 limit 9998, 1;
6426 END//
6427 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (00) unsigned not null x;
6428 SELECT f47 into x from tb1 limit 9998, 1;
6429 END' at line 3
6430 DROP PROCEDURE IF EXISTS sp1;
6431 CREATE PROCEDURE sp1( )
6432 BEGIN
6433 declare decimal (63, 30) unsigned not null x;
6434 SELECT f48 into x from tb1 limit 9998, 1;
6435 END//
6436 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (63, 30) unsigned not null x;
6437 SELECT f48 into x from tb1 limit 9998,...' at line 3
6438 DROP PROCEDURE IF EXISTS sp1;
6439 CREATE PROCEDURE sp1( )
6440 BEGIN
6441 declare decimal (00) zerofill not null x;
6442 SELECT f49 into x from tb1 limit 9998, 1;
6443 END//
6444 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (00) zerofill not null x;
6445 SELECT f49 into x from tb1 limit 9998, 1;
6446 END' at line 3
6447 DROP PROCEDURE IF EXISTS sp1;
6448 CREATE PROCEDURE sp1( )
6449 BEGIN
6450 declare decimal (63, 30) zerofill not null x;
6451 SELECT f50 into x from tb1 limit 9998, 1;
6452 END//
6453 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (63, 30) zerofill not null x;
6454 SELECT f50 into x from tb1 limit 9998,...' at line 3
6455 DROP PROCEDURE IF EXISTS sp1;
6456 CREATE PROCEDURE sp1( )
6457 BEGIN
6458 declare decimal (00) unsigned zerofill not null x;
6459 SELECT f51 into x from tb1 limit 9998, 1;
6460 END//
6461 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
6462 SELECT f51 into x from tb1 limit ...' at line 3
6463 DROP PROCEDURE IF EXISTS sp1;
6464 CREATE PROCEDURE sp1( )
6465 BEGIN
6466 declare decimal (63, 30) unsigned zerofill not null x;
6467 SELECT f52 into x from tb1 limit 9998, 1;
6468 END//
6469 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x;
6470 SELECT f52 into x from tb1 li...' at line 3
6471 DROP PROCEDURE IF EXISTS sp1;
6472 CREATE PROCEDURE sp1( )
6473 BEGIN
6474 declare numeric not null x;
6475 SELECT f53 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 MariaDB server version for the right syntax to use near 'numeric not null x;
6478 SELECT f53 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 numeric unsigned not null x;
6484 SELECT f54 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 MariaDB server version for the right syntax to use near 'numeric unsigned not null x;
6487 SELECT f54 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 numeric zerofill not null x;
6493 SELECT f55 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 MariaDB server version for the right syntax to use near 'numeric zerofill not null x;
6496 SELECT f55 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 numeric unsigned zerofill not null x;
6502 SELECT f56 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 MariaDB server version for the right syntax to use near 'numeric unsigned zerofill not null x;
6505 SELECT f56 into x from tb1 limit 9998,...' at line 3
6506 DROP PROCEDURE IF EXISTS sp1;
6507 CREATE PROCEDURE sp1( )
6508 BEGIN
6509 declare numeric (0) not null x;
6510 SELECT f57 into x from tb1 limit 9998, 1;
6511 END//
6512 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (0) not null x;
6513 SELECT f57 into x from tb1 limit 9998, 1;
6514 END' at line 3
6515 DROP PROCEDURE IF EXISTS sp1;
6516 CREATE PROCEDURE sp1( )
6517 BEGIN
6518 declare numeric (64) not nul x;
6519 SELECT f58 into x from tb1 limit 9998, 1;
6520 END//
6521 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (64) not nul x;
6522 SELECT f58 into x from tb1 limit 9998, 1;
6523 END' at line 3
6524 DROP PROCEDURE IF EXISTS sp1;
6525 CREATE PROCEDURE sp1( )
6526 BEGIN
6527 declare numeric (0) unsigned x;
6528 SELECT f59 into x from tb2 limit 9998, 1;
6529 END//
6530 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (0) unsigned x;
6531 SELECT f59 into x from tb2 limit 9998, 1;
6532 END' at line 3
6533 DROP PROCEDURE IF EXISTS sp1;
6534 CREATE PROCEDURE sp1( )
6535 BEGIN
6536 declare numeric (64) unsigned x;
6537 SELECT f60 into x from tb2 limit 9998, 1;
6538 END//
6539 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (64) unsigned x;
6540 SELECT f60 into x from tb2 limit 9998, 1;
6541 END' at line 3
6542 DROP PROCEDURE IF EXISTS sp1;
6543 CREATE PROCEDURE sp1( )
6544 BEGIN
6545 declare numeric (0) zerofill x;
6546 SELECT f61 into x from tb2 limit 9998, 1;
6547 END//
6548 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (0) zerofill x;
6549 SELECT f61 into x from tb2 limit 9998, 1;
6550 END' at line 3
6551 DROP PROCEDURE IF EXISTS sp1;
6552 CREATE PROCEDURE sp1( )
6553 BEGIN
6554 declare numeric (64) zerofill x;
6555 SELECT f62 into x from tb2 limit 9998, 1;
6556 END//
6557 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (64) zerofill x;
6558 SELECT f62 into x from tb2 limit 9998, 1;
6559 END' at line 3
6560 DROP PROCEDURE IF EXISTS sp1;
6561 CREATE PROCEDURE sp1( )
6562 BEGIN
6563 declare numeric (0) unsigned zerofill x;
6564 SELECT f63 into x from tb2 limit 9998, 1;
6565 END//
6566 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (0) unsigned zerofill x;
6567 SELECT f63 into x from tb2 limit 9998, 1;
6568 END' at line 3
6569 DROP PROCEDURE IF EXISTS sp1;
6570 CREATE PROCEDURE sp1( )
6571 BEGIN
6572 declare numeric (64) unsigned zerofill x;
6573 SELECT f64 into x from tb2 limit 9998, 1;
6574 END//
6575 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (64) unsigned zerofill x;
6576 SELECT f64 into x from tb2 limit 9998, 1;
6577 END' at line 3
6578 DROP PROCEDURE IF EXISTS sp1;
6579 CREATE PROCEDURE sp1( )
6580 BEGIN
6581 declare numeric (00) x;
6582 SELECT f65 into x from tb2 limit 9998, 1;
6583 END//
6584 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (00) x;
6585 SELECT f65 into x from tb2 limit 9998, 1;
6586 END' at line 3
6587 DROP PROCEDURE IF EXISTS sp1;
6588 CREATE PROCEDURE sp1( )
6589 BEGIN
6590 declare numeric (63, 30) x;
6591 SELECT f66 into x from tb2 limit 9998, 1;
6592 END//
6593 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (63, 30) x;
6594 SELECT f66 into x from tb2 limit 9998, 1;
6595 END' at line 3
6596 DROP PROCEDURE IF EXISTS sp1;
6597 CREATE PROCEDURE sp1( )
6598 BEGIN
6599 declare numeric (00) unsigned x;
6600 SELECT f67 into x from tb2 limit 9998, 1;
6601 END//
6602 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (00) unsigned x;
6603 SELECT f67 into x from tb2 limit 9998, 1;
6604 END' at line 3
6605 DROP PROCEDURE IF EXISTS sp1;
6606 CREATE PROCEDURE sp1( )
6607 BEGIN
6608 declare numeric (63, 30) unsigned x;
6609 SELECT f68 into x from tb2 limit 9998, 1;
6610 END//
6611 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (63, 30) unsigned x;
6612 SELECT f68 into x from tb2 limit 9998, 1;
6613 END' at line 3
6614 DROP PROCEDURE IF EXISTS sp1;
6615 CREATE PROCEDURE sp1( )
6616 BEGIN
6617 declare numeric (00) zerofill x;
6618 SELECT f69 into x from tb2 limit 9998, 1;
6619 END//
6620 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (00) zerofill x;
6621 SELECT f69 into x from tb2 limit 9998, 1;
6622 END' at line 3
6623 DROP PROCEDURE IF EXISTS sp1;
6624 CREATE PROCEDURE sp1( )
6625 BEGIN
6626 declare numeric (63, 30) zerofill x;
6627 SELECT f70 into x from tb2 limit 9998, 1;
6628 END//
6629 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (63, 30) zerofill x;
6630 SELECT f70 into x from tb2 limit 9998, 1;
6631 END' at line 3
6632 DROP PROCEDURE IF EXISTS sp1;
6633 CREATE PROCEDURE sp1( )
6634 BEGIN
6635 declare numeric (00) unsigned zerofill x;
6636 SELECT f71 into x from tb2 limit 9998, 1;
6637 END//
6638 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (00) unsigned zerofill x;
6639 SELECT f71 into x from tb2 limit 9998, 1;
6640 END' at line 3
6641 DROP PROCEDURE IF EXISTS sp1;
6642 CREATE PROCEDURE sp1( )
6643 BEGIN
6644 declare numeric (63, 30) unsigned zerofill x;
6645 SELECT f72 into x from tb2 limit 9998, 1;
6646 END//
6647 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x;
6648 SELECT f72 into x from tb2 limit 9998,...' at line 3
6649 DROP PROCEDURE IF EXISTS sp1;
6650 CREATE PROCEDURE sp1( )
6651 BEGIN
6652 declare real x;
6653 SELECT f73 into x from tb2 limit 9998, 1;
6654 END//
6655 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real x;
6656 SELECT f73 into x from tb2 limit 9998, 1;
6657 END' at line 3
6658 DROP PROCEDURE IF EXISTS sp1;
6659 CREATE PROCEDURE sp1( )
6660 BEGIN
6661 declare real unsigned x;
6662 SELECT f74 into x from tb2 limit 9998, 1;
6663 END//
6664 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real unsigned x;
6665 SELECT f74 into x from tb2 limit 9998, 1;
6666 END' at line 3
6667 DROP PROCEDURE IF EXISTS sp1;
6668 CREATE PROCEDURE sp1( )
6669 BEGIN
6670 declare real zerofill x;
6671 SELECT f75 into x from tb2 limit 9998, 1;
6672 END//
6673 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real zerofill x;
6674 SELECT f75 into x from tb2 limit 9998, 1;
6675 END' at line 3
6676 DROP PROCEDURE IF EXISTS sp1;
6677 CREATE PROCEDURE sp1( )
6678 BEGIN
6679 declare real unsigned zerofill x;
6680 SELECT f76 into x from tb2 limit 9998, 1;
6681 END//
6682 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real unsigned zerofill x;
6683 SELECT f76 into x from tb2 limit 9998, 1;
6684 END' at line 3
6685 DROP PROCEDURE IF EXISTS sp1;
6686 CREATE PROCEDURE sp1( )
6687 BEGIN
6688 declare double x;
6689 SELECT f77 into x from tb2 limit 9998, 1;
6690 END//
6691 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double x;
6692 SELECT f77 into x from tb2 limit 9998, 1;
6693 END' at line 3
6694 DROP PROCEDURE IF EXISTS sp1;
6695 CREATE PROCEDURE sp1( )
6696 BEGIN
6697 declare double unsigned x;
6698 SELECT f78 into x from tb2 limit 9998, 1;
6699 END//
6700 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double unsigned x;
6701 SELECT f78 into x from tb2 limit 9998, 1;
6702 END' at line 3
6703 DROP PROCEDURE IF EXISTS sp1;
6704 CREATE PROCEDURE sp1( )
6705 BEGIN
6706 declare double zerofill x;
6707 SELECT f79 into x from tb2 limit 9998, 1;
6708 END//
6709 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double zerofill x;
6710 SELECT f79 into x from tb2 limit 9998, 1;
6711 END' at line 3
6712 DROP PROCEDURE IF EXISTS sp1;
6713 CREATE PROCEDURE sp1( )
6714 BEGIN
6715 declare double unsigned zerofill x;
6716 SELECT f80 into x from tb2 limit 9998, 1;
6717 END//
6718 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double unsigned zerofill x;
6719 SELECT f80 into x from tb2 limit 9998, 1;
6720 END' at line 3
6721 DROP PROCEDURE IF EXISTS sp1;
6722 CREATE PROCEDURE sp1( )
6723 BEGIN
6724 declare float not null x;
6725 SELECT f81 into x from tb2 limit 9998, 1;
6726 END//
6727 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float not null x;
6728 SELECT f81 into x from tb2 limit 9998, 1;
6729 END' at line 3
6730 DROP PROCEDURE IF EXISTS sp1;
6731 CREATE PROCEDURE sp1( )
6732 BEGIN
6733 declare float unsigned not null x;
6734 SELECT f82 into x from tb2 limit 9998, 1;
6735 END//
6736 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float unsigned not null x;
6737 SELECT f82 into x from tb2 limit 9998, 1;
6738 END' at line 3
6739 DROP PROCEDURE IF EXISTS sp1;
6740 CREATE PROCEDURE sp1( )
6741 BEGIN
6742 declare float zerofill not null x;
6743 SELECT f83 into x from tb2 limit 9998, 1;
6744 END//
6745 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float zerofill not null x;
6746 SELECT f83 into x from tb2 limit 9998, 1;
6747 END' at line 3
6748 DROP PROCEDURE IF EXISTS sp1;
6749 CREATE PROCEDURE sp1( )
6750 BEGIN
6751 declare float unsigned zerofill not null x;
6752 SELECT f84 into x from tb2 limit 9998, 1;
6753 END//
6754 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float unsigned zerofill not null x;
6755 SELECT f84 into x from tb2 limit 9998, 1...' at line 3
6756 DROP PROCEDURE IF EXISTS sp1;
6757 CREATE PROCEDURE sp1( )
6758 BEGIN
6759 declare float(0) not null x;
6760 SELECT f85 into x from tb2 limit 9998, 1;
6761 END//
6762 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(0) not null x;
6763 SELECT f85 into x from tb2 limit 9998, 1;
6764 END' at line 3
6765 DROP PROCEDURE IF EXISTS sp1;
6766 CREATE PROCEDURE sp1( )
6767 BEGIN
6768 declare float(23) not null x;
6769 SELECT f86 into x from tb2 limit 9998, 1;
6770 END//
6771 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(23) not null x;
6772 SELECT f86 into x from tb2 limit 9998, 1;
6773 END' at line 3
6774 DROP PROCEDURE IF EXISTS sp1;
6775 CREATE PROCEDURE sp1( )
6776 BEGIN
6777 declare float(0) unsigned not null x;
6778 SELECT f87 into x from tb2 limit 9998, 1;
6779 END//
6780 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(0) unsigned not null x;
6781 SELECT f87 into x from tb2 limit 9998, 1;
6782 END' at line 3
6783 DROP PROCEDURE IF EXISTS sp1;
6784 CREATE PROCEDURE sp1( )
6785 BEGIN
6786 declare float(23) unsigned not null x;
6787 SELECT f88 into x from tb2 limit 9998, 1;
6788 END//
6789 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(23) unsigned not null x;
6790 SELECT f88 into x from tb2 limit 9998, 1;
6791 END' at line 3
6792 DROP PROCEDURE IF EXISTS sp1;
6793 CREATE PROCEDURE sp1( )
6794 BEGIN
6795 declare float(0) zerofill not null x;
6796 SELECT f89 into x from tb2 limit 9998, 1;
6797 END//
6798 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(0) zerofill not null x;
6799 SELECT f89 into x from tb2 limit 9998, 1;
6800 END' at line 3
6801 DROP PROCEDURE IF EXISTS sp1;
6802 CREATE PROCEDURE sp1( )
6803 BEGIN
6804 declare float(23) zerofill not null x;
6805 SELECT f90 into x from tb2 limit 9998, 1;
6806 END//
6807 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(23) zerofill not null x;
6808 SELECT f90 into x from tb2 limit 9998, 1;
6809 END' at line 3
6810 DROP PROCEDURE IF EXISTS sp1;
6811 CREATE PROCEDURE sp1( )
6812 BEGIN
6813 declare float(0) unsigned zerofill not null x;
6814 SELECT f91 into x from tb2 limit 9998, 1;
6815 END//
6816 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(0) unsigned zerofill not null x;
6817 SELECT f91 into x from tb2 limit 9998...' at line 3
6818 DROP PROCEDURE IF EXISTS sp1;
6819 CREATE PROCEDURE sp1( )
6820 BEGIN
6821 declare float(23) unsigned zerofill not null x;
6822 SELECT f92 into x from tb2 limit 9998, 1;
6823 END//
6824 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(23) unsigned zerofill not null x;
6825 SELECT f92 into x from tb2 limit 999...' at line 3
6826 DROP PROCEDURE IF EXISTS sp1;
6827 CREATE PROCEDURE sp1( )
6828 BEGIN
6829 declare float(24) not null x;
6830 SELECT f93 into x from tb2 limit 9998, 1;
6831 END//
6832 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(24) not null x;
6833 SELECT f93 into x from tb2 limit 9998, 1;
6834 END' at line 3
6835 DROP PROCEDURE IF EXISTS sp1;
6836 CREATE PROCEDURE sp1( )
6837 BEGIN
6838 declare float(53) not null x;
6839 SELECT f94 into x from tb2 limit 9998, 1;
6840 END//
6841 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(53) not null x;
6842 SELECT f94 into x from tb2 limit 9998, 1;
6843 END' at line 3
6844 DROP PROCEDURE IF EXISTS sp1;
6845 CREATE PROCEDURE sp1( )
6846 BEGIN
6847 declare float(24) unsigned not null x;
6848 SELECT f95 into x from tb2 limit 9998, 1;
6849 END//
6850 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(24) unsigned not null x;
6851 SELECT f95 into x from tb2 limit 9998, 1;
6852 END' at line 3
6853 DROP PROCEDURE IF EXISTS sp1;
6854 CREATE PROCEDURE sp1( )
6855 BEGIN
6856 declare float(53) unsigned not null x;
6857 SELECT f96 into x from tb2 limit 9998, 1;
6858 END//
6859 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(53) unsigned not null x;
6860 SELECT f96 into x from tb2 limit 9998, 1;
6861 END' at line 3
6862 DROP PROCEDURE IF EXISTS sp1;
6863 CREATE PROCEDURE sp1( )
6864 BEGIN
6865 declare float(24) zerofill not null x;
6866 SELECT f97 into x from tb2 limit 9998, 1;
6867 END//
6868 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(24) zerofill not null x;
6869 SELECT f97 into x from tb2 limit 9998, 1;
6870 END' at line 3
6871 DROP PROCEDURE IF EXISTS sp1;
6872 CREATE PROCEDURE sp1( )
6873 BEGIN
6874 declare float(53) zerofill not null x;
6875 SELECT f98 into x from tb2 limit 9998, 1;
6876 END//
6877 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(53) zerofill not null x;
6878 SELECT f98 into x from tb2 limit 9998, 1;
6879 END' at line 3
6880 DROP PROCEDURE IF EXISTS sp1;
6881 CREATE PROCEDURE sp1( )
6882 BEGIN
6883 declare float(24) unsigned zerofill not null x;
6884 SELECT f99 into x from tb2 limit 9998, 1;
6885 END//
6886 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
6887 SELECT f99 into x from tb2 limit 999...' at line 3
6888 DROP PROCEDURE IF EXISTS sp1;
6889 CREATE PROCEDURE sp1( )
6890 BEGIN
6891 declare float(53) unsigned zerofill not null x;
6892 SELECT f100 into x from tb2 limit 9998, 1;
6893 END//
6894 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float(53) unsigned zerofill not null x;
6895 SELECT f100 into x from tb2 limit 99...' at line 3
6896 DROP PROCEDURE IF EXISTS sp1;
6897 CREATE PROCEDURE sp1( )
6898 BEGIN
6899 declare date not null x;
6900 SELECT f101 into x from tb2 limit 9998, 1;
6901 END//
6902 ERROR HY000: Unknown data type: 'not'
6903 DROP PROCEDURE IF EXISTS sp1;
6904 CREATE PROCEDURE sp1( )
6905 BEGIN
6906 declare time not null x;
6907 SELECT f102 into x from tb2 limit 9998, 1;
6908 END//
6909 ERROR HY000: Unknown data type: 'not'
6910 DROP PROCEDURE IF EXISTS sp1;
6911 CREATE PROCEDURE sp1( )
6912 BEGIN
6913 declare datetime not null x;
6914 SELECT f103 into x from tb2 limit 9998, 1;
6915 END//
6916 ERROR HY000: Unknown data type: 'not'
6917 DROP PROCEDURE IF EXISTS sp1;
6918 CREATE PROCEDURE sp1( )
6919 BEGIN
6920 declare timestamp not null x;
6921 SELECT f104 into x from tb2 limit 9998, 1;
6922 END//
6923 ERROR HY000: Unknown data type: 'not'
6924 DROP PROCEDURE IF EXISTS sp1;
6925 CREATE PROCEDURE sp1( )
6926 BEGIN
6927 declare year not null x;
6928 SELECT f105 into x from tb2 limit 9998, 1;
6929 END//
6930 ERROR HY000: Unknown data type: 'not'
6931 DROP PROCEDURE IF EXISTS sp1;
6932 CREATE PROCEDURE sp1( )
6933 BEGIN
6934 declare year(3) not null x;
6935 SELECT f106 into x from tb2 limit 9998, 1;
6936 END//
6937 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(3) not null x;
6938 SELECT f106 into x from tb2 limit 9998, 1;
6939 END' at line 3
6940 DROP PROCEDURE IF EXISTS sp1;
6941 CREATE PROCEDURE sp1( )
6942 BEGIN
6943 declare year(4) not null x;
6944 SELECT f107 into x from tb2 limit 9998, 1;
6945 END//
6946 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '(4) not null x;
6947 SELECT f107 into x from tb2 limit 9998, 1;
6948 END' at line 3
6949 DROP PROCEDURE IF EXISTS sp1;
6950 CREATE PROCEDURE sp1( )
6951 BEGIN
6952 declare enum("1enum", "2enum") not null x;
6953 SELECT f108 into x from tb2 limit 9998, 1;
6954 END//
6955 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '("1enum", "2enum") not null x;
6956 SELECT f108 into x from tb2 limit 9998, 1;
6957 END' at line 3
6958 DROP PROCEDURE IF EXISTS sp1;
6959 CREATE PROCEDURE sp1( )
6960 BEGIN
6961 declare set("1set", "2set") not nul x;
6962 SELECT f109 into x from tb2 limit 9998, 1;
6963 END//
6964 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set("1set", "2set") not nul x;
6965 SELECT f109 into x from tb2 limit 9998, 1;
6966 END' at line 3
6967
6968 Testcase 4.2.14:
6969 ----------------
6970 Ensure that the handlers declared for a stored procedure (with the declare
6971 statement) may only be defined in the correct order
6972 --------------------------------------------------------------------------------
6973 DROP PROCEDURE IF EXISTS sp1;
6974 CREATE PROCEDURE sp1()
6975 BEGIN
6976 declare continue handler for sqlstate '23000' set @x2 = 1;
6977 declare x char;
6978 END//
6979 ERROR 42000: Variable or condition declaration after cursor or handler declaration
6980 DROP PROCEDURE IF EXISTS sp6;
6981 CREATE PROCEDURE sp6( )
6982 BEGIN
6983 declare cursor1 cursor for SELECT f1 from tb1;
6984 declare x char;
6985 END//
6986 ERROR 42000: Variable or condition declaration after cursor or handler declaration
6987 DROP PROCEDURE IF EXISTS sp6;
6988 CREATE PROCEDURE sp6( )
6989 BEGIN
6990 declare cursor1 cursor for SELECT f1 from tb1;
6991 declare sqlcondition condition for sqlstate '02000';
6992 END//
6993 ERROR 42000: Variable or condition declaration after cursor or handler declaration
6994 DROP PROCEDURE IF EXISTS sp6;
6995 CREATE PROCEDURE sp6( )
6996 BEGIN
6997 declare sqlcondition condition for sqlstate '02000';
6998 declare continue handler for sqlcondition set @x=1;
6999 declare cursor1 cursor for SELECT f1 from tb1;
7000 END//
7001 ERROR 42000: Cursor declaration after handler declaration
7002
7003 Testcase 4.2.15:
7004 ----------------
7005 Ensure that the declare statement can declare multiple variables both separately
7006 and all at once from a variable list. (multiple declaration)
7007 --------------------------------------------------------------------------------
7008 DROP PROCEDURE IF EXISTS sp1;
7009 CREATE PROCEDURE sp1()
7010 BEGIN
7011 DECLARE x1 CHAR(100) DEFAULT 'outer';
7012 BEGIN
7013 DECLARE x1 CHAR(100) DEFAULT x1;
7014 END;
7015 END//
7016 CALL sp1();
7017 DROP PROCEDURE IF EXISTS sp1;
7018 CREATE PROCEDURE sp1( )
7019 BEGIN
7020 declare x, y, z char default null;
7021 SELECT x, y, z;
7022 END//
7023 CALL sp1();
7024 x y z
7025 NULL NULL NULL
7026 DROP PROCEDURE IF EXISTS sp1;
7027 CREATE PROCEDURE sp1( )
7028 BEGIN
7029 declare x, y, z char ascii default null;
7030 SELECT x, y, z;
7031 END//
7032 CALL sp1();
7033 x y z
7034 NULL NULL NULL
7035 DROP PROCEDURE IF EXISTS sp1;
7036 CREATE PROCEDURE sp1( )
7037 BEGIN
7038 declare x, y, z tinytext default null;
7039 SELECT x, y, z;
7040 END//
7041 CALL sp1();
7042 x y z
7043 NULL NULL NULL
7044 DROP PROCEDURE IF EXISTS sp1;
7045 CREATE PROCEDURE sp1( )
7046 BEGIN
7047 declare x, y, z text default null;
7048 SELECT x, y, z;
7049 END//
7050 CALL sp1();
7051 x y z
7052 NULL NULL NULL
7053 DROP PROCEDURE IF EXISTS sp1;
7054 CREATE PROCEDURE sp1( )
7055 BEGIN
7056 declare x, y, z mediumtext default null;
7057 SELECT x, y, z;
7058 END//
7059 CALL sp1();
7060 x y z
7061 NULL NULL NULL
7062 DROP PROCEDURE IF EXISTS sp1;
7063 CREATE PROCEDURE sp1( )
7064 BEGIN
7065 declare x, y, z longtext default null;
7066 SELECT x, y, z;
7067 END//
7068 CALL sp1();
7069 x y z
7070 NULL NULL NULL
7071 DROP PROCEDURE IF EXISTS sp1;
7072 CREATE PROCEDURE sp1( )
7073 BEGIN
7074 declare x, y, z tinyblob default null;
7075 SELECT x, y, z;
7076 END//
7077 CALL sp1();
7078 x y z
7079 NULL NULL NULL
7080 DROP PROCEDURE IF EXISTS sp1;
7081 CREATE PROCEDURE sp1( )
7082 BEGIN
7083 declare x, y, z blob default null;
7084 SELECT x, y, z;
7085 END//
7086 CALL sp1();
7087 x y z
7088 NULL NULL NULL
7089 DROP PROCEDURE IF EXISTS sp1;
7090 CREATE PROCEDURE sp1( )
7091 BEGIN
7092 declare x, y, z mediumblob default null;
7093 SELECT x, y, z;
7094 END//
7095 CALL sp1();
7096 x y z
7097 NULL NULL NULL
7098 DROP PROCEDURE IF EXISTS sp1;
7099 CREATE PROCEDURE sp1( )
7100 BEGIN
7101 declare x, y, z longblob default null;
7102 SELECT x, y, z;
7103 END//
7104 CALL sp1();
7105 x y z
7106 NULL NULL NULL
7107 DROP PROCEDURE IF EXISTS sp1;
7108 CREATE PROCEDURE sp1( )
7109 BEGIN
7110 declare x, y, z binary default null;
7111 SELECT x, y, z;
7112 END//
7113 CALL sp1();
7114 x y z
7115 NULL NULL NULL
7116 DROP PROCEDURE IF EXISTS sp1;
7117 CREATE PROCEDURE sp1( )
7118 BEGIN
7119 declare x, y, z tinyint default -126;
7120 SELECT x, y, z;
7121 END//
7122 CALL sp1();
7123 x y z
7124 -126 -126 -126
7125 DROP PROCEDURE IF EXISTS sp1;
7126 CREATE PROCEDURE sp1( )
7127 BEGIN
7128 declare x, y, z tinyint unsigned default 253;
7129 SELECT x, y, z;
7130 END//
7131 CALL sp1();
7132 x y z
7133 253 253 253
7134 DROP PROCEDURE IF EXISTS sp1;
7135 CREATE PROCEDURE sp1( )
7136 BEGIN
7137 declare x, y, z tinyint zerofill default -1;
7138 SELECT x, y, z;
7139 END//
7140 CALL sp1();
7141 x y z
7142 000 000 000
7143 Warnings:
7144 Warning 1264 Out of range value for column 'x' at row 0
7145 DROP PROCEDURE IF EXISTS sp1;
7146 CREATE PROCEDURE sp1( )
7147 BEGIN
7148 declare x, y, z tinyint unsigned zerofill default 1;
7149 SELECT x, y, z;
7150 END//
7151 CALL sp1();
7152 x y z
7153 001 001 001
7154 DROP PROCEDURE IF EXISTS sp1;
7155 CREATE PROCEDURE sp1( )
7156 BEGIN
7157 declare x, y, z smallint default -32768;
7158 SELECT x, y, z;
7159 END//
7160 CALL sp1();
7161 x y z
7162 -32768 -32768 -32768
7163 DROP PROCEDURE IF EXISTS sp1;
7164 CREATE PROCEDURE sp1( )
7165 BEGIN
7166 declare x, y, z smallint unsigned default 65535;
7167 SELECT x, y, z;
7168 END//
7169 CALL sp1();
7170 x y z
7171 65535 65535 65535
7172 DROP PROCEDURE IF EXISTS sp1;
7173 CREATE PROCEDURE sp1( )
7174 BEGIN
7175 declare x, y, z smallint zerofill default -1;
7176 SELECT x, y, z;
7177 END//
7178 CALL sp1();
7179 x y z
7180 00000 00000 00000
7181 Warnings:
7182 Warning 1264 Out of range value for column 'x' at row 0
7183 DROP PROCEDURE IF EXISTS sp1;
7184 CREATE PROCEDURE sp1( )
7185 BEGIN
7186 declare x, y, z smallint unsigned zerofill default 1;
7187 SELECT x, y, z;
7188 END//
7189 CALL sp1();
7190 x y z
7191 00001 00001 00001
7192 DROP PROCEDURE IF EXISTS sp1;
7193 CREATE PROCEDURE sp1( )
7194 BEGIN
7195 declare x, y, z mediumint default -8388608;
7196 SELECT x, y, z;
7197 END//
7198 CALL sp1();
7199 x y z
7200 -8388608 -8388608 -8388608
7201 DROP PROCEDURE IF EXISTS sp1;
7202 CREATE PROCEDURE sp1( )
7203 BEGIN
7204 declare x, y, z mediumint unsigned default 16777215;
7205 SELECT x, y, z;
7206 END//
7207 CALL sp1();
7208 x y z
7209 16777215 16777215 16777215
7210 DROP PROCEDURE IF EXISTS sp1;
7211 CREATE PROCEDURE sp1( )
7212 BEGIN
7213 declare x, y, z mediumint zerofill default -1;
7214 SELECT x, y, z;
7215 END//
7216 CALL sp1();
7217 x y z
7218 00000000 00000000 00000000
7219 Warnings:
7220 Warning 1264 Out of range value for column 'x' at row 0
7221 DROP PROCEDURE IF EXISTS sp1;
7222 CREATE PROCEDURE sp1( )
7223 BEGIN
7224 declare x, y, z mediumint unsigned zerofill default 1;
7225 SELECT x, y, z;
7226 END//
7227 CALL sp1();
7228 x y z
7229 00000001 00000001 00000001
7230 DROP PROCEDURE IF EXISTS sp1;
7231 CREATE PROCEDURE sp1( )
7232 BEGIN
7233 declare x, y, z int default -2147483648;
7234 SELECT x, y, z;
7235 END//
7236 CALL sp1();
7237 x y z
7238 -2147483648 -2147483648 -2147483648
7239 DROP PROCEDURE IF EXISTS sp1;
7240 CREATE PROCEDURE sp1( )
7241 BEGIN
7242 declare x, y, z int unsigned default 4294967295;
7243 SELECT x, y, z;
7244 END//
7245 CALL sp1();
7246 x y z
7247 4294967295 4294967295 4294967295
7248 DROP PROCEDURE IF EXISTS sp1;
7249 CREATE PROCEDURE sp1( )
7250 BEGIN
7251 declare x, y, z int zerofill default -1;
7252 SELECT x, y, z;
7253 END//
7254 CALL sp1();
7255 x y z
7256 0000000000 0000000000 0000000000
7257 Warnings:
7258 Warning 1264 Out of range value for column 'x' at row 0
7259 DROP PROCEDURE IF EXISTS sp1;
7260 CREATE PROCEDURE sp1( )
7261 BEGIN
7262 declare x, y, z int unsigned zerofill default 1;
7263 SELECT x, y, z;
7264 END//
7265 CALL sp1();
7266 x y z
7267 0000000001 0000000001 0000000001
7268 DROP PROCEDURE IF EXISTS sp1;
7269 CREATE PROCEDURE sp1( )
7270 BEGIN
7271 declare x, y, z bigint default -9223372036854775808;
7272 SELECT x, y, z;
7273 END//
7274 CALL sp1();
7275 x y z
7276 -9223372036854775808 -9223372036854775808 -9223372036854775808
7277 DROP PROCEDURE IF EXISTS sp1;
7278 CREATE PROCEDURE sp1( )
7279 BEGIN
7280 declare x, y, z bigint unsigned default 18446744073709551615;
7281 SELECT x, y, z;
7282 END//
7283 CALL sp1();
7284 x y z
7285 18446744073709551615 18446744073709551615 18446744073709551615
7286 DROP PROCEDURE IF EXISTS sp1;
7287 CREATE PROCEDURE sp1( )
7288 BEGIN
7289 declare x, y, z bigint zerofill default -1;
7290 SELECT x, y, z;
7291 END//
7292 CALL sp1();
7293 x y z
7294 00000000000000000000 00000000000000000000 00000000000000000000
7295 Warnings:
7296 Warning 1264 Out of range value for column 'x' at row 0
7297 DROP PROCEDURE IF EXISTS sp1;
7298 CREATE PROCEDURE sp1( )
7299 BEGIN
7300 declare x, y, z bigint unsigned zerofill default 1;
7301 SELECT x, y, z;
7302 END//
7303 CALL sp1();
7304 x y z
7305 00000000000000000001 00000000000000000001 00000000000000000001
7306 DROP PROCEDURE IF EXISTS sp1;
7307 CREATE PROCEDURE sp1( )
7308 BEGIN
7309 declare x, y, z decimal default -34028234660123456789012345678901234567;
7310 SELECT x, y, z;
7311 END//
7312 CALL sp1();
7313 x y z
7314 -9999999999 -9999999999 -9999999999
7315 Warnings:
7316 Warning 1264 Out of range value for column 'x' at row 0
7317 DROP PROCEDURE IF EXISTS sp1;
7318 CREATE PROCEDURE sp1( )
7319 BEGIN
7320 declare x, y, z decimal unsigned default 1.175494351e-38;
7321 SELECT x, y, z;
7322 END//
7323 CALL sp1();
7324 x y z
7325 0 0 0
7326 Warnings:
7327 Note 1265 Data truncated for column 'x' at row 0
7328 DROP PROCEDURE IF EXISTS sp1;
7329 CREATE PROCEDURE sp1( )
7330 BEGIN
7331 declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
7332 SELECT x, y, z;
7333 END//
7334 CALL sp1();
7335 x y z
7336 0000000000 0000000000 0000000000
7337 Warnings:
7338 Warning 1264 Out of range value for column 'x' at row 0
7339 DROP PROCEDURE IF EXISTS sp1;
7340 CREATE PROCEDURE sp1( )
7341 BEGIN
7342 declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
7343 SELECT x, y, z;
7344 END//
7345 CALL sp1();
7346 x y z
7347 0000000000 0000000000 0000000000
7348 Warnings:
7349 Note 1265 Data truncated for column 'x' at row 0
7350 DROP PROCEDURE IF EXISTS sp1;
7351 CREATE PROCEDURE sp1( )
7352 BEGIN
7353 declare x, y, z numeric default 1.175494351e-38;
7354 SELECT x, y, z;
7355 END//
7356 CALL sp1();
7357 x y z
7358 0 0 0
7359 Warnings:
7360 Note 1265 Data truncated for column 'x' at row 0
7361 DROP PROCEDURE IF EXISTS sp1;
7362 CREATE PROCEDURE sp1( )
7363 BEGIN
7364 declare x, y, z numeric unsigned default 1.175494351e-38;
7365 SELECT x, y, z;
7366 END//
7367 CALL sp1();
7368 x y z
7369 0 0 0
7370 Warnings:
7371 Note 1265 Data truncated for column 'x' at row 0
7372 DROP PROCEDURE IF EXISTS sp1;
7373 CREATE PROCEDURE sp1( )
7374 BEGIN
7375 declare x, y, z numeric zerofill default 1.175494351e-38;
7376 SELECT x, y, z;
7377 END//
7378 CALL sp1();
7379 x y z
7380 0000000000 0000000000 0000000000
7381 Warnings:
7382 Note 1265 Data truncated for column 'x' at row 0
7383 DROP PROCEDURE IF EXISTS sp1;
7384 CREATE PROCEDURE sp1( )
7385 BEGIN
7386 declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
7387 SELECT x, y, z;
7388 END//
7389 CALL sp1();
7390 x y z
7391 0000000000 0000000000 0000000000
7392 Warnings:
7393 Note 1265 Data truncated for column 'x' at row 0
7394 DROP PROCEDURE IF EXISTS sp1;
7395 CREATE PROCEDURE sp1( )
7396 BEGIN
7397 declare x, y, z real default 1.175494351e-38;
7398 SELECT x, y, z;
7399 END//
7400 CALL sp1();
7401 x y z
7402 1.175494351e-38 1.175494351e-38 1.175494351e-38
7403 DROP PROCEDURE IF EXISTS sp1;
7404 CREATE PROCEDURE sp1( )
7405 BEGIN
7406 declare x, y, z real unsigned default 1.175494351e-38;
7407 SELECT x, y, z;
7408 END//
7409 CALL sp1();
7410 x y z
7411 1.175494351e-38 1.175494351e-38 1.175494351e-38
7412 DROP PROCEDURE IF EXISTS sp1;
7413 CREATE PROCEDURE sp1( )
7414 BEGIN
7415 declare x, y, z real zerofill default 1.175494351e-38;
7416 SELECT x, y, z;
7417 END//
7418 CALL sp1();
7419 x y z
7420 00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7421 DROP PROCEDURE IF EXISTS sp1;
7422 CREATE PROCEDURE sp1( )
7423 BEGIN
7424 declare x, y, z real unsigned zerofill default 1.175494351e-38;
7425 SELECT x, y, z;
7426 END//
7427 CALL sp1();
7428 x y z
7429 00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
7430 DROP PROCEDURE IF EXISTS sp1;
7431 CREATE PROCEDURE sp1( )
7432 BEGIN
7433 declare x, y, z float default 1.175494351e-38;
7434 SELECT x, y, z;
7435 END//
7436 CALL sp1();
7437 x y z
7438 1.17549e-38 1.17549e-38 1.17549e-38
7439 DROP PROCEDURE IF EXISTS sp1;
7440 CREATE PROCEDURE sp1( )
7441 BEGIN
7442 declare x, y, z float unsigned default 1.175494351e-38;
7443 SELECT x, y, z;
7444 END//
7445 CALL sp1();
7446 x y z
7447 1.17549e-38 1.17549e-38 1.17549e-38
7448 DROP PROCEDURE IF EXISTS sp1;
7449 CREATE PROCEDURE sp1( )
7450 BEGIN
7451 declare x, y, z float zerofill default 1.175494351e-38;
7452 SELECT x, y, z;
7453 END//
7454 CALL sp1();
7455 x y z
7456 01.17549e-38 01.17549e-38 01.17549e-38
7457 DROP PROCEDURE IF EXISTS sp1;
7458 CREATE PROCEDURE sp1( )
7459 BEGIN
7460 declare x, y, z float unsigned zerofill default 1.175494351e-38;
7461 SELECT x, y, z;
7462 END//
7463 CALL sp1();
7464 x y z
7465 01.17549e-38 01.17549e-38 01.17549e-38
7466 DROP PROCEDURE IF EXISTS sp1;
7467 CREATE PROCEDURE sp1( )
7468 BEGIN
7469 declare x, y, z date default '2005-02-02';
7470 SELECT x, y, z;
7471 END//
7472 CALL sp1();
7473 x y z
7474 2005-02-02 2005-02-02 2005-02-02
7475 DROP PROCEDURE IF EXISTS sp1;
7476 CREATE PROCEDURE sp1( )
7477 BEGIN
7478 declare x, y, z time default '12:20:12';
7479 SELECT x, y, z;
7480 END//
7481 CALL sp1();
7482 x y z
7483 12:20:12 12:20:12 12:20:12
7484 DROP PROCEDURE IF EXISTS sp1;
7485 CREATE PROCEDURE sp1( )
7486 BEGIN
7487 declare x, y, z datetime default '2005-02-02 12:20:12';
7488 SELECT x, y, z;
7489 END//
7490 CALL sp1();
7491 x y z
7492 2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7493 DROP PROCEDURE IF EXISTS sp1;
7494 CREATE PROCEDURE sp1( )
7495 BEGIN
7496 declare x, y, z timestamp default '20050202122012';
7497 SELECT x, y, z;
7498 END//
7499 CALL sp1();
7500 x y z
7501 2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
7502 DROP PROCEDURE IF EXISTS sp1;
7503 CREATE PROCEDURE sp1( )
7504 BEGIN
7505 declare x, y, z year default 2005;
7506 SELECT x, y, z;
7507 END//
7508 CALL sp1();
7509 x y z
7510 2005 2005 2005
7511 DROP PROCEDURE IF EXISTS sp1;
7512 CREATE PROCEDURE sp1( )
7513 BEGIN
7514 declare x, y, z year(3) default 2005;
7515 SELECT x, y, z;
7516 END//
7517 Warnings:
7518 Warning 1287 'YEAR(3)' is deprecated and will be removed in a future release. Please use 'YEAR(4)' instead
7519 CALL sp1();
7520 x y z
7521 2005 2005 2005
7522 Warnings:
7523 Warning 1287 'YEAR(3)' is deprecated and will be removed in a future release. Please use 'YEAR(4)' instead
7524 DROP PROCEDURE IF EXISTS sp1;
7525 CREATE PROCEDURE sp1( )
7526 BEGIN
7527 declare x, y, z year(4) default 2005;
7528 SELECT x, y, z;
7529 END//
7530 CALL sp1();
7531 x y z
7532 2005 2005 2005
7533 DROP PROCEDURE IF EXISTS sp1;
7534 CREATE PROCEDURE sp1( )
7535 BEGIN
7536 declare x, y, z enum("1enum", "2enum") default "2enum";
7537 SELECT x, y, z;
7538 END//
7539 CALL sp1();
7540 x y z
7541 2enum 2enum 2enum
7542 DROP PROCEDURE IF EXISTS sp1;
7543 CREATE PROCEDURE sp1( )
7544 BEGIN
7545 declare x, y, z set("1set", "2set") default "2set";
7546 SELECT x, y, z;
7547 END//
7548 CALL sp1();
7549 x y z
7550 2set 2set 2set
7551 DROP PROCEDURE sp1;
7552
7553 Testcase 4.2.16:
7554 ----------------
7555 Ensure that the declare statement can declare multiple variables both separately
7556 and all at once from a variable list. (multiple declaration).
7557 --------------------------------------------------------------------------------
7558 DROP PROCEDURE IF EXISTS sp6;
7559 CREATE PROCEDURE sp6( )
7560 BEGIN
7561 declare a, b char default '2';
7562 declare c, d float default 1.3;
7563 declare e, f text default 'text';
7564 declare g, h enum("value1", "value2" ) default 'value1';
7565 declare i, j datetime default '2005-02-02 12:12:12';
7566 declare k, l blob default 'blob';
7567 SELECT a, b, c, d, e, f, g, h, k, l;
7568 END//
7569 CALL sp6();
7570 a b c d e f g h k l
7571 2 2 1.3 1.3 text text value1 value1 blob blob
7572 DROP PROCEDURE sp6;
7573
7574 Testcase 4.2.17:
7575 ----------------
7576 Ensure that the invalid variable declarations are rejected, with an appropriate
7577 error message.
7578 --------------------------------------------------------------------------------
7579 DROP PROCEDURE IF EXISTS sp1;
7580 CREATE PROCEDURE sp1( )
7581 BEGIN
7582 declare @x char;
7583 SELECT f2 into x from t2 limit 1;
7584 END//
7585 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@x char;
7586 SELECT f2 into x from t2 limit 1;
7587 END' at line 3
7588 DROP PROCEDURE IF EXISTS sp1;
7589 CREATE PROCEDURE sp1()
7590 BEGIN
7591 declare accessible char;
7592 END//
7593 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accessible char;
7594 END' at line 3
7595 DROP PROCEDURE IF EXISTS sp1;
7596 CREATE PROCEDURE sp1()
7597 BEGIN
7598 declare add char;
7599 END//
7600 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'add char;
7601 END' at line 3
7602 DROP PROCEDURE IF EXISTS sp1;
7603 CREATE PROCEDURE sp1()
7604 BEGIN
7605 declare all char;
7606 END//
7607 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all char;
7608 END' at line 3
7609 DROP PROCEDURE IF EXISTS sp1;
7610 CREATE PROCEDURE sp1()
7611 BEGIN
7612 declare alter char;
7613 END//
7614 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'alter char;
7615 END' at line 3
7616 DROP PROCEDURE IF EXISTS sp1;
7617 CREATE PROCEDURE sp1()
7618 BEGIN
7619 declare analyze char;
7620 END//
7621 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'analyze char;
7622 END' at line 3
7623 DROP PROCEDURE IF EXISTS sp1;
7624 CREATE PROCEDURE sp1()
7625 BEGIN
7626 declare and char;
7627 END//
7628 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and char;
7629 END' at line 3
7630 DROP PROCEDURE IF EXISTS sp1;
7631 CREATE PROCEDURE sp1()
7632 BEGIN
7633 declare as char;
7634 END//
7635 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as char;
7636 END' at line 3
7637 DROP PROCEDURE IF EXISTS sp1;
7638 CREATE PROCEDURE sp1()
7639 BEGIN
7640 declare asc char;
7641 END//
7642 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc char;
7643 END' at line 3
7644 DROP PROCEDURE IF EXISTS sp1;
7645 CREATE PROCEDURE sp1()
7646 BEGIN
7647 declare asensitive char;
7648 END//
7649 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asensitive char;
7650 END' at line 3
7651 DROP PROCEDURE IF EXISTS sp1;
7652 CREATE PROCEDURE sp1()
7653 BEGIN
7654 declare before char;
7655 END//
7656 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'before char;
7657 END' at line 3
7658 DROP PROCEDURE IF EXISTS sp1;
7659 CREATE PROCEDURE sp1()
7660 BEGIN
7661 declare between char;
7662 END//
7663 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'between char;
7664 END' at line 3
7665 DROP PROCEDURE IF EXISTS sp1;
7666 CREATE PROCEDURE sp1()
7667 BEGIN
7668 declare bigint char;
7669 END//
7670 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint char;
7671 END' at line 3
7672 DROP PROCEDURE IF EXISTS sp1;
7673 CREATE PROCEDURE sp1()
7674 BEGIN
7675 declare binary char;
7676 END//
7677 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary char;
7678 END' at line 3
7679 DROP PROCEDURE IF EXISTS sp1;
7680 CREATE PROCEDURE sp1()
7681 BEGIN
7682 declare blob char;
7683 END//
7684 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob char;
7685 END' at line 3
7686 DROP PROCEDURE IF EXISTS sp1;
7687 CREATE PROCEDURE sp1()
7688 BEGIN
7689 declare both char;
7690 END//
7691 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'both char;
7692 END' at line 3
7693 DROP PROCEDURE IF EXISTS sp1;
7694 CREATE PROCEDURE sp1()
7695 BEGIN
7696 declare by char;
7697 END//
7698 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'by char;
7699 END' at line 3
7700 DROP PROCEDURE IF EXISTS sp1;
7701 CREATE PROCEDURE sp1()
7702 BEGIN
7703 declare call char;
7704 END//
7705 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'call char;
7706 END' at line 3
7707 DROP PROCEDURE IF EXISTS sp1;
7708 CREATE PROCEDURE sp1()
7709 BEGIN
7710 declare cascade char;
7711 END//
7712 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cascade char;
7713 END' at line 3
7714 DROP PROCEDURE IF EXISTS sp1;
7715 CREATE PROCEDURE sp1()
7716 BEGIN
7717 declare case char;
7718 END//
7719 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'case char;
7720 END' at line 3
7721 DROP PROCEDURE IF EXISTS sp1;
7722 CREATE PROCEDURE sp1()
7723 BEGIN
7724 declare change char;
7725 END//
7726 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'change char;
7727 END' at line 3
7728 DROP PROCEDURE IF EXISTS sp1;
7729 CREATE PROCEDURE sp1()
7730 BEGIN
7731 declare char char;
7732 END//
7733 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char char;
7734 END' at line 3
7735 DROP PROCEDURE IF EXISTS sp1;
7736 CREATE PROCEDURE sp1()
7737 BEGIN
7738 declare character char;
7739 END//
7740 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'character char;
7741 END' at line 3
7742 DROP PROCEDURE IF EXISTS sp1;
7743 CREATE PROCEDURE sp1()
7744 BEGIN
7745 declare check char;
7746 END//
7747 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'check char;
7748 END' at line 3
7749 DROP PROCEDURE IF EXISTS sp1;
7750 CREATE PROCEDURE sp1()
7751 BEGIN
7752 declare collate char;
7753 END//
7754 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'collate char;
7755 END' at line 3
7756 DROP PROCEDURE IF EXISTS sp1;
7757 CREATE PROCEDURE sp1()
7758 BEGIN
7759 declare column char;
7760 END//
7761 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'column char;
7762 END' at line 3
7763 DROP PROCEDURE IF EXISTS sp1;
7764 CREATE PROCEDURE sp1()
7765 BEGIN
7766 declare condition char;
7767 END//
7768 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition char;
7769 END' at line 3
7770 DROP PROCEDURE IF EXISTS sp1;
7771 CREATE PROCEDURE sp1()
7772 BEGIN
7773 declare constraint char;
7774 END//
7775 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'constraint char;
7776 END' at line 3
7777 DROP PROCEDURE IF EXISTS sp1;
7778 CREATE PROCEDURE sp1()
7779 BEGIN
7780 declare continue char;
7781 END//
7782 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char;
7783 END' at line 3
7784 DROP PROCEDURE IF EXISTS sp1;
7785 CREATE PROCEDURE sp1()
7786 BEGIN
7787 declare convert char;
7788 END//
7789 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'convert char;
7790 END' at line 3
7791 DROP PROCEDURE IF EXISTS sp1;
7792 CREATE PROCEDURE sp1()
7793 BEGIN
7794 declare create char;
7795 END//
7796 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'create char;
7797 END' at line 3
7798 DROP PROCEDURE IF EXISTS sp1;
7799 CREATE PROCEDURE sp1()
7800 BEGIN
7801 declare cross char;
7802 END//
7803 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cross char;
7804 END' at line 3
7805 DROP PROCEDURE IF EXISTS sp1;
7806 CREATE PROCEDURE sp1()
7807 BEGIN
7808 declare current_date char;
7809 END//
7810 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_date char;
7811 END' at line 3
7812 DROP PROCEDURE IF EXISTS sp1;
7813 CREATE PROCEDURE sp1()
7814 BEGIN
7815 declare current_time char;
7816 END//
7817 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_time char;
7818 END' at line 3
7819 DROP PROCEDURE IF EXISTS sp1;
7820 CREATE PROCEDURE sp1()
7821 BEGIN
7822 declare current_timestamp char;
7823 END//
7824 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_timestamp char;
7825 END' at line 3
7826 DROP PROCEDURE IF EXISTS sp1;
7827 CREATE PROCEDURE sp1()
7828 BEGIN
7829 declare current_user char;
7830 END//
7831 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user char;
7832 END' at line 3
7833 DROP PROCEDURE IF EXISTS sp1;
7834 CREATE PROCEDURE sp1()
7835 BEGIN
7836 declare cursor char;
7837 END//
7838 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor char;
7839 END' at line 3
7840 DROP PROCEDURE IF EXISTS sp1;
7841 CREATE PROCEDURE sp1()
7842 BEGIN
7843 declare database char;
7844 END//
7845 DROP PROCEDURE IF EXISTS sp1;
7846 CREATE PROCEDURE sp1()
7847 BEGIN
7848 declare databases char;
7849 END//
7850 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases char;
7851 END' at line 3
7852 DROP PROCEDURE IF EXISTS sp1;
7853 CREATE PROCEDURE sp1()
7854 BEGIN
7855 declare day_hour char;
7856 END//
7857 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_hour char;
7858 END' at line 3
7859 DROP PROCEDURE IF EXISTS sp1;
7860 CREATE PROCEDURE sp1()
7861 BEGIN
7862 declare day_microsecond char;
7863 END//
7864 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_microsecond char;
7865 END' at line 3
7866 DROP PROCEDURE IF EXISTS sp1;
7867 CREATE PROCEDURE sp1()
7868 BEGIN
7869 declare day_minute char;
7870 END//
7871 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_minute char;
7872 END' at line 3
7873 DROP PROCEDURE IF EXISTS sp1;
7874 CREATE PROCEDURE sp1()
7875 BEGIN
7876 declare day_second char;
7877 END//
7878 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_second char;
7879 END' at line 3
7880 DROP PROCEDURE IF EXISTS sp1;
7881 CREATE PROCEDURE sp1()
7882 BEGIN
7883 declare dec char;
7884 END//
7885 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dec char;
7886 END' at line 3
7887 DROP PROCEDURE IF EXISTS sp1;
7888 CREATE PROCEDURE sp1()
7889 BEGIN
7890 declare decimal char;
7891 END//
7892 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal char;
7893 END' at line 3
7894 DROP PROCEDURE IF EXISTS sp1;
7895 CREATE PROCEDURE sp1()
7896 BEGIN
7897 declare declare char;
7898 END//
7899 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare char;
7900 END' at line 3
7901 DROP PROCEDURE IF EXISTS sp1;
7902 CREATE PROCEDURE sp1()
7903 BEGIN
7904 declare default char;
7905 END//
7906 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'default char;
7907 END' at line 3
7908 DROP PROCEDURE IF EXISTS sp1;
7909 CREATE PROCEDURE sp1()
7910 BEGIN
7911 declare delayed char;
7912 END//
7913 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delayed char;
7914 END' at line 3
7915 DROP PROCEDURE IF EXISTS sp1;
7916 CREATE PROCEDURE sp1()
7917 BEGIN
7918 declare delete char;
7919 END//
7920 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delete char;
7921 END' at line 3
7922 DROP PROCEDURE IF EXISTS sp1;
7923 CREATE PROCEDURE sp1()
7924 BEGIN
7925 declare desc char;
7926 END//
7927 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc char;
7928 END' at line 3
7929 DROP PROCEDURE IF EXISTS sp1;
7930 CREATE PROCEDURE sp1()
7931 BEGIN
7932 declare describe char;
7933 END//
7934 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'describe char;
7935 END' at line 3
7936 DROP PROCEDURE IF EXISTS sp1;
7937 CREATE PROCEDURE sp1()
7938 BEGIN
7939 declare deterministic char;
7940 END//
7941 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'deterministic char;
7942 END' at line 3
7943 DROP PROCEDURE IF EXISTS sp1;
7944 CREATE PROCEDURE sp1()
7945 BEGIN
7946 declare distinct char;
7947 END//
7948 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct char;
7949 END' at line 3
7950 DROP PROCEDURE IF EXISTS sp1;
7951 CREATE PROCEDURE sp1()
7952 BEGIN
7953 declare distinctrow char;
7954 END//
7955 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinctrow char;
7956 END' at line 3
7957 DROP PROCEDURE IF EXISTS sp1;
7958 CREATE PROCEDURE sp1()
7959 BEGIN
7960 declare div char;
7961 END//
7962 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'div char;
7963 END' at line 3
7964 DROP PROCEDURE IF EXISTS sp1;
7965 CREATE PROCEDURE sp1()
7966 BEGIN
7967 declare double char;
7968 END//
7969 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double char;
7970 END' at line 3
7971 DROP PROCEDURE IF EXISTS sp1;
7972 CREATE PROCEDURE sp1()
7973 BEGIN
7974 declare drop char;
7975 END//
7976 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'drop char;
7977 END' at line 3
7978 DROP PROCEDURE IF EXISTS sp1;
7979 CREATE PROCEDURE sp1()
7980 BEGIN
7981 declare dual char;
7982 END//
7983 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dual char;
7984 END' at line 3
7985 DROP PROCEDURE IF EXISTS sp1;
7986 CREATE PROCEDURE sp1()
7987 BEGIN
7988 declare each char;
7989 END//
7990 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'each char;
7991 END' at line 3
7992 DROP PROCEDURE IF EXISTS sp1;
7993 CREATE PROCEDURE sp1()
7994 BEGIN
7995 declare else char;
7996 END//
7997 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else char;
7998 END' at line 3
7999 DROP PROCEDURE IF EXISTS sp1;
8000 CREATE PROCEDURE sp1()
8001 BEGIN
8002 declare elseif char;
8003 END//
8004 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif char;
8005 END' at line 3
8006 DROP PROCEDURE IF EXISTS sp1;
8007 CREATE PROCEDURE sp1()
8008 BEGIN
8009 declare enclosed char;
8010 END//
8011 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enclosed char;
8012 END' at line 3
8013 DROP PROCEDURE IF EXISTS sp1;
8014 CREATE PROCEDURE sp1()
8015 BEGIN
8016 declare escaped char;
8017 END//
8018 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'escaped char;
8019 END' at line 3
8020 DROP PROCEDURE IF EXISTS sp1;
8021 CREATE PROCEDURE sp1()
8022 BEGIN
8023 declare exists char;
8024 END//
8025 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exists char;
8026 END' at line 3
8027 DROP PROCEDURE IF EXISTS sp1;
8028 CREATE PROCEDURE sp1()
8029 BEGIN
8030 declare exit char;
8031 END//
8032 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char;
8033 END' at line 3
8034 DROP PROCEDURE IF EXISTS sp1;
8035 CREATE PROCEDURE sp1()
8036 BEGIN
8037 declare explain char;
8038 END//
8039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'explain char;
8040 END' at line 3
8041 DROP PROCEDURE IF EXISTS sp1;
8042 CREATE PROCEDURE sp1()
8043 BEGIN
8044 declare false char;
8045 END//
8046 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'false char;
8047 END' at line 3
8048 DROP PROCEDURE IF EXISTS sp1;
8049 CREATE PROCEDURE sp1()
8050 BEGIN
8051 declare fetch char;
8052 END//
8053 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fetch char;
8054 END' at line 3
8055 DROP PROCEDURE IF EXISTS sp1;
8056 CREATE PROCEDURE sp1()
8057 BEGIN
8058 declare float char;
8059 END//
8060 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float char;
8061 END' at line 3
8062 DROP PROCEDURE IF EXISTS sp1;
8063 CREATE PROCEDURE sp1()
8064 BEGIN
8065 declare float4 char;
8066 END//
8067 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float4 char;
8068 END' at line 3
8069 DROP PROCEDURE IF EXISTS sp1;
8070 CREATE PROCEDURE sp1()
8071 BEGIN
8072 declare float8 char;
8073 END//
8074 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float8 char;
8075 END' at line 3
8076 DROP PROCEDURE IF EXISTS sp1;
8077 CREATE PROCEDURE sp1()
8078 BEGIN
8079 declare for char;
8080 END//
8081 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'for char;
8082 END' at line 3
8083 DROP PROCEDURE IF EXISTS sp1;
8084 CREATE PROCEDURE sp1()
8085 BEGIN
8086 declare force char;
8087 END//
8088 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'force char;
8089 END' at line 3
8090 DROP PROCEDURE IF EXISTS sp1;
8091 CREATE PROCEDURE sp1()
8092 BEGIN
8093 declare foreign char;
8094 END//
8095 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'foreign char;
8096 END' at line 3
8097 DROP PROCEDURE IF EXISTS sp1;
8098 CREATE PROCEDURE sp1()
8099 BEGIN
8100 declare from char;
8101 END//
8102 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from char;
8103 END' at line 3
8104 DROP PROCEDURE IF EXISTS sp1;
8105 CREATE PROCEDURE sp1()
8106 BEGIN
8107 declare fulltext char;
8108 END//
8109 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fulltext char;
8110 END' at line 3
8111 DROP PROCEDURE IF EXISTS sp1;
8112 CREATE PROCEDURE sp1()
8113 BEGIN
8114 declare grant char;
8115 END//
8116 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'grant char;
8117 END' at line 3
8118 DROP PROCEDURE IF EXISTS sp1;
8119 CREATE PROCEDURE sp1()
8120 BEGIN
8121 declare group char;
8122 END//
8123 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group char;
8124 END' at line 3
8125 DROP PROCEDURE IF EXISTS sp1;
8126 CREATE PROCEDURE sp1()
8127 BEGIN
8128 declare having char;
8129 END//
8130 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'having char;
8131 END' at line 3
8132 DROP PROCEDURE IF EXISTS sp1;
8133 CREATE PROCEDURE sp1()
8134 BEGIN
8135 declare high_priority char;
8136 END//
8137 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'high_priority char;
8138 END' at line 3
8139 DROP PROCEDURE IF EXISTS sp1;
8140 CREATE PROCEDURE sp1()
8141 BEGIN
8142 declare hour_microsecond char;
8143 END//
8144 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_microsecond char;
8145 END' at line 3
8146 DROP PROCEDURE IF EXISTS sp1;
8147 CREATE PROCEDURE sp1()
8148 BEGIN
8149 declare hour_minute char;
8150 END//
8151 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_minute char;
8152 END' at line 3
8153 DROP PROCEDURE IF EXISTS sp1;
8154 CREATE PROCEDURE sp1()
8155 BEGIN
8156 declare hour_second char;
8157 END//
8158 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_second char;
8159 END' at line 3
8160 DROP PROCEDURE IF EXISTS sp1;
8161 CREATE PROCEDURE sp1()
8162 BEGIN
8163 declare if char;
8164 END//
8165 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'if char;
8166 END' at line 3
8167 DROP PROCEDURE IF EXISTS sp1;
8168 CREATE PROCEDURE sp1()
8169 BEGIN
8170 declare ignore char;
8171 END//
8172 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ignore char;
8173 END' at line 3
8174 DROP PROCEDURE IF EXISTS sp1;
8175 CREATE PROCEDURE sp1()
8176 BEGIN
8177 declare in char;
8178 END//
8179 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'in char;
8180 END' at line 3
8181 DROP PROCEDURE IF EXISTS sp1;
8182 CREATE PROCEDURE sp1()
8183 BEGIN
8184 declare index char;
8185 END//
8186 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'index char;
8187 END' at line 3
8188 DROP PROCEDURE IF EXISTS sp1;
8189 CREATE PROCEDURE sp1()
8190 BEGIN
8191 declare infile char;
8192 END//
8193 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'infile char;
8194 END' at line 3
8195 DROP PROCEDURE IF EXISTS sp1;
8196 CREATE PROCEDURE sp1()
8197 BEGIN
8198 declare inner char;
8199 END//
8200 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inner char;
8201 END' at line 3
8202 DROP PROCEDURE IF EXISTS sp1;
8203 CREATE PROCEDURE sp1()
8204 BEGIN
8205 declare inout char;
8206 END//
8207 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inout char;
8208 END' at line 3
8209 DROP PROCEDURE IF EXISTS sp1;
8210 CREATE PROCEDURE sp1()
8211 BEGIN
8212 declare insensitive char;
8213 END//
8214 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insensitive char;
8215 END' at line 3
8216 DROP PROCEDURE IF EXISTS sp1;
8217 CREATE PROCEDURE sp1()
8218 BEGIN
8219 declare insert char;
8220 END//
8221 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insert char;
8222 END' at line 3
8223 DROP PROCEDURE IF EXISTS sp1;
8224 CREATE PROCEDURE sp1()
8225 BEGIN
8226 declare int char;
8227 END//
8228 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int char;
8229 END' at line 3
8230 DROP PROCEDURE IF EXISTS sp1;
8231 CREATE PROCEDURE sp1()
8232 BEGIN
8233 declare int1 char;
8234 END//
8235 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1 char;
8236 END' at line 3
8237 DROP PROCEDURE IF EXISTS sp1;
8238 CREATE PROCEDURE sp1()
8239 BEGIN
8240 declare int2 char;
8241 END//
8242 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2 char;
8243 END' at line 3
8244 DROP PROCEDURE IF EXISTS sp1;
8245 CREATE PROCEDURE sp1()
8246 BEGIN
8247 declare int3 char;
8248 END//
8249 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3 char;
8250 END' at line 3
8251 DROP PROCEDURE IF EXISTS sp1;
8252 CREATE PROCEDURE sp1()
8253 BEGIN
8254 declare int4 char;
8255 END//
8256 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4 char;
8257 END' at line 3
8258 DROP PROCEDURE IF EXISTS sp1;
8259 CREATE PROCEDURE sp1()
8260 BEGIN
8261 declare int8 char;
8262 END//
8263 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8 char;
8264 END' at line 3
8265 DROP PROCEDURE IF EXISTS sp1;
8266 CREATE PROCEDURE sp1()
8267 BEGIN
8268 declare integer char;
8269 END//
8270 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'integer char;
8271 END' at line 3
8272 DROP PROCEDURE IF EXISTS sp1;
8273 CREATE PROCEDURE sp1()
8274 BEGIN
8275 declare interval char;
8276 END//
8277 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'interval char;
8278 END' at line 3
8279 DROP PROCEDURE IF EXISTS sp1;
8280 CREATE PROCEDURE sp1()
8281 BEGIN
8282 declare into char;
8283 END//
8284 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'into char;
8285 END' at line 3
8286 DROP PROCEDURE IF EXISTS sp1;
8287 CREATE PROCEDURE sp1()
8288 BEGIN
8289 declare is char;
8290 END//
8291 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'is char;
8292 END' at line 3
8293 DROP PROCEDURE IF EXISTS sp1;
8294 CREATE PROCEDURE sp1()
8295 BEGIN
8296 declare iterate char;
8297 END//
8298 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate char;
8299 END' at line 3
8300 DROP PROCEDURE IF EXISTS sp1;
8301 CREATE PROCEDURE sp1()
8302 BEGIN
8303 declare join char;
8304 END//
8305 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join char;
8306 END' at line 3
8307 DROP PROCEDURE IF EXISTS sp1;
8308 CREATE PROCEDURE sp1()
8309 BEGIN
8310 declare json_table char;
8311 END//
8312 DROP PROCEDURE sp1;
8313 CREATE PROCEDURE sp1()
8314 BEGIN
8315 declare key char;
8316 END//
8317 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key char;
8318 END' at line 3
8319 DROP PROCEDURE IF EXISTS sp1;
8320 CREATE PROCEDURE sp1()
8321 BEGIN
8322 declare keys char;
8323 END//
8324 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'keys char;
8325 END' at line 3
8326 DROP PROCEDURE IF EXISTS sp1;
8327 CREATE PROCEDURE sp1()
8328 BEGIN
8329 declare kill char;
8330 END//
8331 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'kill char;
8332 END' at line 3
8333 DROP PROCEDURE IF EXISTS sp1;
8334 CREATE PROCEDURE sp1()
8335 BEGIN
8336 declare leading char;
8337 END//
8338 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leading char;
8339 END' at line 3
8340 DROP PROCEDURE IF EXISTS sp1;
8341 CREATE PROCEDURE sp1()
8342 BEGIN
8343 declare leave char;
8344 END//
8345 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leave char;
8346 END' at line 3
8347 DROP PROCEDURE IF EXISTS sp1;
8348 CREATE PROCEDURE sp1()
8349 BEGIN
8350 declare left char;
8351 END//
8352 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'left char;
8353 END' at line 3
8354 DROP PROCEDURE IF EXISTS sp1;
8355 CREATE PROCEDURE sp1()
8356 BEGIN
8357 declare like char;
8358 END//
8359 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'like char;
8360 END' at line 3
8361 DROP PROCEDURE IF EXISTS sp1;
8362 CREATE PROCEDURE sp1()
8363 BEGIN
8364 declare limit char;
8365 END//
8366 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit char;
8367 END' at line 3
8368 DROP PROCEDURE IF EXISTS sp1;
8369 CREATE PROCEDURE sp1()
8370 BEGIN
8371 declare linear char;
8372 END//
8373 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'linear char;
8374 END' at line 3
8375 DROP PROCEDURE IF EXISTS sp1;
8376 CREATE PROCEDURE sp1()
8377 BEGIN
8378 declare lines char;
8379 END//
8380 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lines char;
8381 END' at line 3
8382 DROP PROCEDURE IF EXISTS sp1;
8383 CREATE PROCEDURE sp1()
8384 BEGIN
8385 declare load char;
8386 END//
8387 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'load char;
8388 END' at line 3
8389 DROP PROCEDURE IF EXISTS sp1;
8390 CREATE PROCEDURE sp1()
8391 BEGIN
8392 declare localtime char;
8393 END//
8394 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtime char;
8395 END' at line 3
8396 DROP PROCEDURE IF EXISTS sp1;
8397 CREATE PROCEDURE sp1()
8398 BEGIN
8399 declare localtimestamp char;
8400 END//
8401 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtimestamp char;
8402 END' at line 3
8403 DROP PROCEDURE IF EXISTS sp1;
8404 CREATE PROCEDURE sp1()
8405 BEGIN
8406 declare lock char;
8407 END//
8408 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lock char;
8409 END' at line 3
8410 DROP PROCEDURE IF EXISTS sp1;
8411 CREATE PROCEDURE sp1()
8412 BEGIN
8413 declare long char;
8414 END//
8415 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'long char;
8416 END' at line 3
8417 DROP PROCEDURE IF EXISTS sp1;
8418 CREATE PROCEDURE sp1()
8419 BEGIN
8420 declare longblob char;
8421 END//
8422 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob char;
8423 END' at line 3
8424 DROP PROCEDURE IF EXISTS sp1;
8425 CREATE PROCEDURE sp1()
8426 BEGIN
8427 declare longtext char;
8428 END//
8429 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext char;
8430 END' at line 3
8431 DROP PROCEDURE IF EXISTS sp1;
8432 CREATE PROCEDURE sp1()
8433 BEGIN
8434 declare loop char;
8435 END//
8436 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'loop char;
8437 END' at line 3
8438 DROP PROCEDURE IF EXISTS sp1;
8439 CREATE PROCEDURE sp1()
8440 BEGIN
8441 declare low_priority char;
8442 END//
8443 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'low_priority char;
8444 END' at line 3
8445 DROP PROCEDURE IF EXISTS sp1;
8446 DROP PROCEDURE IF EXISTS sp1;
8447 CREATE PROCEDURE sp1()
8448 BEGIN
8449 declare match char;
8450 END//
8451 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'match char;
8452 END' at line 3
8453 DROP PROCEDURE IF EXISTS sp1;
8454 CREATE PROCEDURE sp1()
8455 BEGIN
8456 declare mediumblob char;
8457 END//
8458 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob char;
8459 END' at line 3
8460 DROP PROCEDURE IF EXISTS sp1;
8461 CREATE PROCEDURE sp1()
8462 BEGIN
8463 declare mediumint char;
8464 END//
8465 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint char;
8466 END' at line 3
8467 DROP PROCEDURE IF EXISTS sp1;
8468 CREATE PROCEDURE sp1()
8469 BEGIN
8470 declare mediumtext char;
8471 END//
8472 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext char;
8473 END' at line 3
8474 DROP PROCEDURE IF EXISTS sp1;
8475 CREATE PROCEDURE sp1()
8476 BEGIN
8477 declare middleint char;
8478 END//
8479 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'middleint char;
8480 END' at line 3
8481 DROP PROCEDURE IF EXISTS sp1;
8482 CREATE PROCEDURE sp1()
8483 BEGIN
8484 declare minute_microsecond char;
8485 END//
8486 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_microsecond char;
8487 END' at line 3
8488 DROP PROCEDURE IF EXISTS sp1;
8489 CREATE PROCEDURE sp1()
8490 BEGIN
8491 declare minute_second char;
8492 END//
8493 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_second char;
8494 END' at line 3
8495 DROP PROCEDURE IF EXISTS sp1;
8496 CREATE PROCEDURE sp1()
8497 BEGIN
8498 declare mod char;
8499 END//
8500 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mod char;
8501 END' at line 3
8502 DROP PROCEDURE IF EXISTS sp1;
8503 CREATE PROCEDURE sp1()
8504 BEGIN
8505 declare modifies char;
8506 END//
8507 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'modifies char;
8508 END' at line 3
8509 DROP PROCEDURE IF EXISTS sp1;
8510 CREATE PROCEDURE sp1()
8511 BEGIN
8512 declare natural char;
8513 END//
8514 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'natural char;
8515 END' at line 3
8516 DROP PROCEDURE IF EXISTS sp1;
8517 CREATE PROCEDURE sp1()
8518 BEGIN
8519 declare nested char;
8520 END//
8521 DROP PROCEDURE sp1;
8522 CREATE PROCEDURE sp1()
8523 BEGIN
8524 declare not char;
8525 END//
8526 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not char;
8527 END' at line 3
8528 DROP PROCEDURE IF EXISTS sp1;
8529 CREATE PROCEDURE sp1()
8530 BEGIN
8531 declare no_write_to_binlog char;
8532 END//
8533 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'no_write_to_binlog char;
8534 END' at line 3
8535 DROP PROCEDURE IF EXISTS sp1;
8536 CREATE PROCEDURE sp1()
8537 BEGIN
8538 declare null char;
8539 END//
8540 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'null char;
8541 END' at line 3
8542 DROP PROCEDURE IF EXISTS sp1;
8543 CREATE PROCEDURE sp1()
8544 BEGIN
8545 declare numeric char;
8546 END//
8547 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric char;
8548 END' at line 3
8549 DROP PROCEDURE IF EXISTS sp1;
8550 CREATE PROCEDURE sp1()
8551 BEGIN
8552 declare on char;
8553 END//
8554 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'on char;
8555 END' at line 3
8556 DROP PROCEDURE IF EXISTS sp1;
8557 CREATE PROCEDURE sp1()
8558 BEGIN
8559 declare optimize char;
8560 END//
8561 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optimize char;
8562 END' at line 3
8563 DROP PROCEDURE IF EXISTS sp1;
8564 CREATE PROCEDURE sp1()
8565 BEGIN
8566 declare option char;
8567 END//
8568 DROP PROCEDURE IF EXISTS sp1;
8569 CREATE PROCEDURE sp1()
8570 BEGIN
8571 declare optionally char;
8572 END//
8573 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optionally char;
8574 END' at line 3
8575 DROP PROCEDURE IF EXISTS sp1;
8576 CREATE PROCEDURE sp1()
8577 BEGIN
8578 declare or char;
8579 END//
8580 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or char;
8581 END' at line 3
8582 DROP PROCEDURE IF EXISTS sp1;
8583 CREATE PROCEDURE sp1()
8584 BEGIN
8585 declare order char;
8586 END//
8587 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order char;
8588 END' at line 3
8589 DROP PROCEDURE IF EXISTS sp1;
8590 CREATE PROCEDURE sp1()
8591 BEGIN
8592 declare ordinality char;
8593 END//
8594 DROP PROCEDURE sp1;
8595 CREATE PROCEDURE sp1()
8596 BEGIN
8597 declare out char;
8598 END//
8599 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out char;
8600 END' at line 3
8601 DROP PROCEDURE IF EXISTS sp1;
8602 CREATE PROCEDURE sp1()
8603 BEGIN
8604 declare outer char;
8605 END//
8606 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outer char;
8607 END' at line 3
8608 DROP PROCEDURE IF EXISTS sp1;
8609 CREATE PROCEDURE sp1()
8610 BEGIN
8611 declare outfile char;
8612 END//
8613 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile char;
8614 END' at line 3
8615 DROP PROCEDURE IF EXISTS sp1;
8616 CREATE PROCEDURE sp1()
8617 BEGIN
8618 declare path char;
8619 END//
8620 DROP PROCEDURE sp1;
8621 CREATE PROCEDURE sp1()
8622 BEGIN
8623 declare precision char;
8624 END//
8625 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision char;
8626 END' at line 3
8627 DROP PROCEDURE IF EXISTS sp1;
8628 CREATE PROCEDURE sp1()
8629 BEGIN
8630 declare primary char;
8631 END//
8632 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'primary char;
8633 END' at line 3
8634 DROP PROCEDURE IF EXISTS sp1;
8635 CREATE PROCEDURE sp1()
8636 BEGIN
8637 declare procedure char;
8638 END//
8639 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure char;
8640 END' at line 3
8641 DROP PROCEDURE IF EXISTS sp1;
8642 CREATE PROCEDURE sp1()
8643 BEGIN
8644 declare purge char;
8645 END//
8646 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'purge char;
8647 END' at line 3
8648 DROP PROCEDURE IF EXISTS sp1;
8649 CREATE PROCEDURE sp1()
8650 BEGIN
8651 declare range char;
8652 END//
8653 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'range char;
8654 END' at line 3
8655 DROP PROCEDURE IF EXISTS sp1;
8656 CREATE PROCEDURE sp1()
8657 BEGIN
8658 declare read char;
8659 END//
8660 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read char;
8661 END' at line 3
8662 DROP PROCEDURE IF EXISTS sp1;
8663 CREATE PROCEDURE sp1()
8664 BEGIN
8665 declare reads char;
8666 END//
8667 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'reads char;
8668 END' at line 3
8669 DROP PROCEDURE IF EXISTS sp1;
8670 CREATE PROCEDURE sp1()
8671 BEGIN
8672 declare read_only char;
8673 END//
8674 DROP PROCEDURE IF EXISTS sp1;
8675 CREATE PROCEDURE sp1()
8676 BEGIN
8677 declare read_write char;
8678 END//
8679 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read_write char;
8680 END' at line 3
8681 DROP PROCEDURE IF EXISTS sp1;
8682 CREATE PROCEDURE sp1()
8683 BEGIN
8684 declare real char;
8685 END//
8686 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real char;
8687 END' at line 3
8688 DROP PROCEDURE IF EXISTS sp1;
8689 CREATE PROCEDURE sp1()
8690 BEGIN
8691 declare references char;
8692 END//
8693 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'references char;
8694 END' at line 3
8695 DROP PROCEDURE IF EXISTS sp1;
8696 CREATE PROCEDURE sp1()
8697 BEGIN
8698 declare regexp char;
8699 END//
8700 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp char;
8701 END' at line 3
8702 DROP PROCEDURE IF EXISTS sp1;
8703 CREATE PROCEDURE sp1()
8704 BEGIN
8705 declare release char;
8706 END//
8707 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'release char;
8708 END' at line 3
8709 DROP PROCEDURE IF EXISTS sp1;
8710 CREATE PROCEDURE sp1()
8711 BEGIN
8712 declare rename char;
8713 END//
8714 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rename char;
8715 END' at line 3
8716 DROP PROCEDURE IF EXISTS sp1;
8717 CREATE PROCEDURE sp1()
8718 BEGIN
8719 declare repeat char;
8720 END//
8721 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'repeat char;
8722 END' at line 3
8723 DROP PROCEDURE IF EXISTS sp1;
8724 CREATE PROCEDURE sp1()
8725 BEGIN
8726 declare replace char;
8727 END//
8728 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'replace char;
8729 END' at line 3
8730 DROP PROCEDURE IF EXISTS sp1;
8731 Warnings:
8732 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8733 CREATE PROCEDURE sp1()
8734 BEGIN
8735 declare require char;
8736 END//
8737 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'require char;
8738 END' at line 3
8739 DROP PROCEDURE IF EXISTS sp1;
8740 Warnings:
8741 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8742 CREATE PROCEDURE sp1()
8743 BEGIN
8744 declare restrict char;
8745 END//
8746 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'restrict char;
8747 END' at line 3
8748 DROP PROCEDURE IF EXISTS sp1;
8749 Warnings:
8750 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8751 CREATE PROCEDURE sp1()
8752 BEGIN
8753 declare return char;
8754 END//
8755 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'return char;
8756 END' at line 3
8757 DROP PROCEDURE IF EXISTS sp1;
8758 Warnings:
8759 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8760 CREATE PROCEDURE sp1()
8761 BEGIN
8762 declare revoke char;
8763 END//
8764 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'revoke char;
8765 END' at line 3
8766 DROP PROCEDURE IF EXISTS sp1;
8767 Warnings:
8768 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8769 CREATE PROCEDURE sp1()
8770 BEGIN
8771 declare right char;
8772 END//
8773 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'right char;
8774 END' at line 3
8775 DROP PROCEDURE IF EXISTS sp1;
8776 Warnings:
8777 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8778 CREATE PROCEDURE sp1()
8779 BEGIN
8780 declare rlike char;
8781 END//
8782 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike char;
8783 END' at line 3
8784 DROP PROCEDURE IF EXISTS sp1;
8785 Warnings:
8786 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8787 CREATE PROCEDURE sp1()
8788 BEGIN
8789 declare schema char;
8790 END//
8791 DROP PROCEDURE IF EXISTS sp1;
8792 CREATE PROCEDURE sp1()
8793 BEGIN
8794 declare schemas char;
8795 END//
8796 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas char;
8797 END' at line 3
8798 DROP PROCEDURE IF EXISTS sp1;
8799 Warnings:
8800 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8801 CREATE PROCEDURE sp1()
8802 BEGIN
8803 declare second_microsecond char;
8804 END//
8805 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'second_microsecond char;
8806 END' at line 3
8807 DROP PROCEDURE IF EXISTS sp1;
8808 Warnings:
8809 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8810 CREATE PROCEDURE sp1()
8811 BEGIN
8812 declare SELECT char;
8813 END//
8814 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SELECT char;
8815 END' at line 3
8816 DROP PROCEDURE IF EXISTS sp1;
8817 Warnings:
8818 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8819 CREATE PROCEDURE sp1()
8820 BEGIN
8821 declare sensitive char;
8822 END//
8823 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sensitive char;
8824 END' at line 3
8825 DROP PROCEDURE IF EXISTS sp1;
8826 Warnings:
8827 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8828 CREATE PROCEDURE sp1()
8829 BEGIN
8830 declare separator char;
8831 END//
8832 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'separator char;
8833 END' at line 3
8834 DROP PROCEDURE IF EXISTS sp1;
8835 Warnings:
8836 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8837 CREATE PROCEDURE sp1()
8838 BEGIN
8839 declare set char;
8840 END//
8841 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set char;
8842 END' at line 3
8843 DROP PROCEDURE IF EXISTS sp1;
8844 Warnings:
8845 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8846 CREATE PROCEDURE sp1()
8847 BEGIN
8848 declare show char;
8849 END//
8850 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'show char;
8851 END' at line 3
8852 DROP PROCEDURE IF EXISTS sp1;
8853 Warnings:
8854 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8855 CREATE PROCEDURE sp1()
8856 BEGIN
8857 declare smallint char;
8858 END//
8859 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint char;
8860 END' at line 3
8861 DROP PROCEDURE IF EXISTS sp1;
8862 Warnings:
8863 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8864 CREATE PROCEDURE sp1()
8865 BEGIN
8866 declare spatial char;
8867 END//
8868 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'spatial char;
8869 END' at line 3
8870 DROP PROCEDURE IF EXISTS sp1;
8871 Warnings:
8872 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8873 CREATE PROCEDURE sp1()
8874 BEGIN
8875 declare specific char;
8876 END//
8877 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'specific char;
8878 END' at line 3
8879 DROP PROCEDURE IF EXISTS sp1;
8880 Warnings:
8881 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8882 CREATE PROCEDURE sp1()
8883 BEGIN
8884 declare sql char;
8885 END//
8886 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql char;
8887 END' at line 3
8888 DROP PROCEDURE IF EXISTS sp1;
8889 Warnings:
8890 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8891 CREATE PROCEDURE sp1()
8892 BEGIN
8893 declare sqlexception char;
8894 END//
8895 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlexception char;
8896 END' at line 3
8897 DROP PROCEDURE IF EXISTS sp1;
8898 Warnings:
8899 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8900 CREATE PROCEDURE sp1()
8901 BEGIN
8902 declare sqlstate char;
8903 END//
8904 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlstate char;
8905 END' at line 3
8906 DROP PROCEDURE IF EXISTS sp1;
8907 Warnings:
8908 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8909 CREATE PROCEDURE sp1()
8910 BEGIN
8911 declare sqlwarning char;
8912 END//
8913 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlwarning char;
8914 END' at line 3
8915 DROP PROCEDURE IF EXISTS sp1;
8916 Warnings:
8917 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8918 CREATE PROCEDURE sp1()
8919 BEGIN
8920 declare sql_big_result char;
8921 END//
8922 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_big_result char;
8923 END' at line 3
8924 DROP PROCEDURE IF EXISTS sp1;
8925 Warnings:
8926 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8927 CREATE PROCEDURE sp1()
8928 BEGIN
8929 declare sql_calc_found_rows char;
8930 END//
8931 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_calc_found_rows char;
8932 END' at line 3
8933 DROP PROCEDURE IF EXISTS sp1;
8934 Warnings:
8935 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8936 CREATE PROCEDURE sp1()
8937 BEGIN
8938 declare sql_small_result char;
8939 END//
8940 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_small_result char;
8941 END' at line 3
8942 DROP PROCEDURE IF EXISTS sp1;
8943 Warnings:
8944 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8945 CREATE PROCEDURE sp1()
8946 BEGIN
8947 declare ssl char;
8948 END//
8949 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ssl char;
8950 END' at line 3
8951 DROP PROCEDURE IF EXISTS sp1;
8952 Warnings:
8953 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8954 CREATE PROCEDURE sp1()
8955 BEGIN
8956 declare starting char;
8957 END//
8958 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'starting char;
8959 END' at line 3
8960 DROP PROCEDURE IF EXISTS sp1;
8961 Warnings:
8962 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8963 CREATE PROCEDURE sp1()
8964 BEGIN
8965 declare straight_join char;
8966 END//
8967 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'straight_join char;
8968 END' at line 3
8969 DROP PROCEDURE IF EXISTS sp1;
8970 Warnings:
8971 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8972 CREATE PROCEDURE sp1()
8973 BEGIN
8974 declare table char;
8975 END//
8976 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table char;
8977 END' at line 3
8978 DROP PROCEDURE IF EXISTS sp1;
8979 Warnings:
8980 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8981 CREATE PROCEDURE sp1()
8982 BEGIN
8983 declare terminated char;
8984 END//
8985 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'terminated char;
8986 END' at line 3
8987 DROP PROCEDURE IF EXISTS sp1;
8988 Warnings:
8989 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8990 CREATE PROCEDURE sp1()
8991 BEGIN
8992 declare then char;
8993 END//
8994 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then char;
8995 END' at line 3
8996 DROP PROCEDURE IF EXISTS sp1;
8997 Warnings:
8998 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
8999 CREATE PROCEDURE sp1()
9000 BEGIN
9001 declare tinyblob char;
9002 END//
9003 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob 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 tinyint char;
9011 END//
9012 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint 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 tinytext char;
9020 END//
9021 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext 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 to char;
9029 END//
9030 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to 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 trailing char;
9038 END//
9039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trailing 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 trigger char;
9047 END//
9048 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trigger 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 true char;
9056 END//
9057 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'true 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 undo char;
9065 END//
9066 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo 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 union char;
9074 END//
9075 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'union 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 unique char;
9083 END//
9084 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unique 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 unlock char;
9092 END//
9093 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unlock 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 unsigned char;
9101 END//
9102 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unsigned 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 update char;
9110 END//
9111 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'update 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 usage char;
9119 END//
9120 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'usage 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 use char;
9128 END//
9129 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'use 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 using char;
9137 END//
9138 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'using 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 utc_date char;
9146 END//
9147 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_date 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 utc_time char;
9155 END//
9156 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time 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 utc_timestamp char;
9164 END//
9165 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_timestamp 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 values char;
9173 END//
9174 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'values 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 varbinary char;
9182 END//
9183 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varbinary 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 varchar char;
9191 END//
9192 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar 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 varcharacter char;
9200 END//
9201 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varcharacter 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 varying char;
9209 END//
9210 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varying 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 when char;
9218 END//
9219 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when 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 where char;
9227 END//
9228 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where 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 while char;
9236 END//
9237 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while 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 with char;
9245 END//
9246 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with 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 write char;
9254 END//
9255 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'write 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 xor char;
9263 END//
9264 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'xor 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 year_month char;
9272 END//
9273 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year_month 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 zerofill char;
9281 END//
9282 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zerofill char;
9283 END' at line 3
9284
9285 Testcase :
9286 ----------
9287 Ensure that every possible type of condition may be declared for a stored procedure
9288 ( covered in more detail in handlers section.)
9289 --------------------------------------------------------------------------------
9290 DROP PROCEDURE IF EXISTS sp1;
9291 Warnings:
9292 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9293 CREATE PROCEDURE sp1()
9294 BEGIN
9295 declare cond1 condition for sqlstate 'HY000';
9296 declare cond2 condition for sqlstate '23000';
9297 declare cond3 condition for sqlstate 'HY001';
9298 declare cond4 condition for sqlstate '08004';
9299 declare cond5 condition for sqlstate '08S01';
9300 declare cond6 condition for sqlstate '42000';
9301 declare cond7 condition for sqlstate '28000';
9302 declare cond8 condition for sqlstate '3D000';
9303 declare cond9 condition for sqlstate '42S01';
9304 declare cond10 condition for sqlstate '42S02';
9305 declare cond11 condition for sqlstate '42S22';
9306 declare cond12 condition for sqlstate '21S01';
9307 declare cond13 condition for sqlstate '42S21';
9308 declare cond14 condition for sqlstate '42S12';
9309 declare cond15 condition for sqlstate '22004';
9310 declare cond16 condition for sqlstate '25000';
9311 declare cond17 condition for sqlstate '40001';
9312 declare cond18 condition for sqlstate '21000';
9313 declare cond19 condition for sqlstate '01000';
9314 declare cond20 condition for sqlstate '22003';
9315 declare cond21 condition for sqlstate '22007';
9316 declare cond22 condition for sqlstate '0A000';
9317 declare cond23 condition for sqlstate '70100';
9318 declare cond24 condition for sqlstate '2F005';
9319 declare cond25 condition for sqlstate '24000';
9320 declare cond26 condition for sqlstate '02000';
9321 declare continue handler for cond2 set @x2 = 1;
9322 declare continue handler for cond1 set @x2 = 1;
9323 declare continue handler for cond3 set @x2 = 1;
9324 declare continue handler for cond4 set @x2 = 1;
9325 declare continue handler for cond5 set @x2 = 1;
9326 declare continue handler for cond7 set @x2 = 1;
9327 declare continue handler for cond6 set @x2 = 1;
9328 declare continue handler for cond8 set @x2 = 1;
9329 declare continue handler for cond9 set @x2 = 1;
9330 declare continue handler for cond10 set @x2 = 1;
9331 declare continue handler for cond11 set @x2 = 1;
9332 declare continue handler for cond12 set @x2 = 1;
9333 declare continue handler for cond13 set @x2 = 1;
9334 declare continue handler for cond14 set @x2 = 1;
9335 declare continue handler for cond15 set @x2 = 1;
9336 declare continue handler for cond16 set @x2 = 1;
9337 declare continue handler for cond17 set @x2 = 1;
9338 declare continue handler for cond18 set @x2 = 1;
9339 declare continue handler for cond19 set @x2 = 1;
9340 declare continue handler for cond20 set @x2 = 1;
9341 declare continue handler for cond21 set @x2 = 1;
9342 declare continue handler for cond22 set @x2 = 1;
9343 declare continue handler for cond23 set @x2 = 1;
9344 declare continue handler for cond24 set @x2 = 1;
9345 declare continue handler for cond25 set @x2 = 1;
9346 declare continue handler for cond26 set @x2 = 1;
9347 set @x = 1;
9348 insert into t2 values (1);
9349 set @x = 2;
9350 insert into t2 values (1);
9351 set @x = 3;
9352 END//
9353 CALL sp1();
9354 DROP PROCEDURE sp1;
9355 DROP PROCEDURE IF EXISTS sp1;
9356 Warnings:
9357 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9358 CREATE PROCEDURE sp1( )
9359 BEGIN
9360 declare @x char;
9361 END//
9362 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '@x char;
9363 END' at line 3
9364 DROP PROCEDURE IF EXISTS sp1;
9365 Warnings:
9366 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9367 CREATE PROCEDURE sp1( )
9368 BEGIN
9369 declare x char1;
9370 END//
9371 ERROR HY000: Unknown data type: 'char1'
9372 DROP PROCEDURE IF EXISTS sp1;
9373 Warnings:
9374 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9375 CREATE PROCEDURE sp1( )
9376 BEGIN
9377 declare accessible condition for sqlstate '02000';
9378 declare exit handler for add set @var2 = 1;
9379 END//
9380 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accessible condition for sqlstate '02000';
9381 declare exit handler for add set @...' at line 3
9382 DROP PROCEDURE IF EXISTS sp1;
9383 Warnings:
9384 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9385 CREATE PROCEDURE sp1( )
9386 BEGIN
9387 declare add condition for sqlstate '02000';
9388 declare exit handler for add set @var2 = 1;
9389 END//
9390 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'add condition for sqlstate '02000';
9391 declare exit handler for add set @var2 = ...' 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 all condition for sqlstate '02000';
9398 declare exit handler for all set @var2 = 1;
9399 END//
9400 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all condition for sqlstate '02000';
9401 declare exit handler for all set @var2 = ...' at line 3
9402 DROP PROCEDURE IF EXISTS sp1;
9403 Warnings:
9404 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9405 CREATE PROCEDURE sp1( )
9406 BEGIN
9407 declare alter condition for sqlstate '02000';
9408 declare exit handler for alter set @var2 = 1;
9409 END//
9410 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'alter condition for sqlstate '02000';
9411 declare exit handler for alter set @var...' at line 3
9412 DROP PROCEDURE IF EXISTS sp1;
9413 Warnings:
9414 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9415 CREATE PROCEDURE sp1( )
9416 BEGIN
9417 declare analyze condition for sqlstate '02000';
9418 declare exit handler for analyze set @var2 = 1;
9419 END//
9420 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'analyze condition for sqlstate '02000';
9421 declare exit handler for analyze set ...' at line 3
9422 DROP PROCEDURE IF EXISTS sp1;
9423 Warnings:
9424 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9425 CREATE PROCEDURE sp1( )
9426 BEGIN
9427 declare and condition for sqlstate '02000';
9428 declare exit handler for and set @var2 = 1;
9429 END//
9430 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and condition for sqlstate '02000';
9431 declare exit handler for and set @var2 = ...' at line 3
9432 DROP PROCEDURE IF EXISTS sp1;
9433 Warnings:
9434 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9435 CREATE PROCEDURE sp1( )
9436 BEGIN
9437 declare as condition for sqlstate '02000';
9438 declare exit handler for as set @var2 = 1;
9439 END//
9440 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as condition for sqlstate '02000';
9441 declare exit handler for as set @var2 = 1;...' at line 3
9442 DROP PROCEDURE IF EXISTS sp1;
9443 Warnings:
9444 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9445 CREATE PROCEDURE sp1( )
9446 BEGIN
9447 declare asc condition for sqlstate '02000';
9448 declare exit handler for asc set @var2 = 1;
9449 END//
9450 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc condition for sqlstate '02000';
9451 declare exit handler for asc set @var2 = ...' at line 3
9452 DROP PROCEDURE IF EXISTS sp1;
9453 Warnings:
9454 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9455 CREATE PROCEDURE sp1( )
9456 BEGIN
9457 declare asensitive condition for sqlstate '02000';
9458 declare exit handler for asensitive set @var2 = 1;
9459 END//
9460 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asensitive condition for sqlstate '02000';
9461 declare exit handler for asensitiv...' at line 3
9462 DROP PROCEDURE IF EXISTS sp1;
9463 Warnings:
9464 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9465 CREATE PROCEDURE sp1( )
9466 BEGIN
9467 declare before condition for sqlstate '02000';
9468 declare exit handler for before set @var2 = 1;
9469 END//
9470 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'before condition for sqlstate '02000';
9471 declare exit handler for before set @v...' at line 3
9472 DROP PROCEDURE IF EXISTS sp1;
9473 Warnings:
9474 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9475 CREATE PROCEDURE sp1( )
9476 BEGIN
9477 declare between condition for sqlstate '02000';
9478 declare exit handler for between set @var2 = 1;
9479 END//
9480 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'between condition for sqlstate '02000';
9481 declare exit handler for between set ...' 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 bigint condition for sqlstate '02000';
9488 declare exit handler for bigint set @var2 = 1;
9489 END//
9490 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint condition for sqlstate '02000';
9491 declare exit handler for bigint set @v...' at line 3
9492 DROP PROCEDURE IF EXISTS sp1;
9493 Warnings:
9494 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9495 CREATE PROCEDURE sp1( )
9496 BEGIN
9497 declare binary condition for sqlstate '02000';
9498 declare exit handler for binary set @var2 = 1;
9499 END//
9500 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary condition for sqlstate '02000';
9501 declare exit handler for binary set @v...' at line 3
9502 DROP PROCEDURE IF EXISTS sp1;
9503 Warnings:
9504 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9505 CREATE PROCEDURE sp1( )
9506 BEGIN
9507 declare blob condition for sqlstate '02000';
9508 declare exit handler for blob set @var2 = 1;
9509 END//
9510 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob condition for sqlstate '02000';
9511 declare exit handler for blob set @var2 ...' at line 3
9512 DROP PROCEDURE IF EXISTS sp1;
9513 Warnings:
9514 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9515 CREATE PROCEDURE sp1( )
9516 BEGIN
9517 declare both condition for sqlstate '02000';
9518 declare exit handler for both set @var2 = 1;
9519 END//
9520 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'both condition for sqlstate '02000';
9521 declare exit handler for both set @var2 ...' at line 3
9522 DROP PROCEDURE IF EXISTS sp1;
9523 Warnings:
9524 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9525 CREATE PROCEDURE sp1( )
9526 BEGIN
9527 declare by condition for sqlstate '02000';
9528 declare exit handler for by set @var2 = 1;
9529 END//
9530 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'by condition for sqlstate '02000';
9531 declare exit handler for by set @var2 = 1;...' at line 3
9532 DROP PROCEDURE IF EXISTS sp1;
9533 Warnings:
9534 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9535 CREATE PROCEDURE sp1( )
9536 BEGIN
9537 declare call condition for sqlstate '02000';
9538 declare exit handler for CALL set @var2 = 1;
9539 END//
9540 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'call condition for sqlstate '02000';
9541 declare exit handler for CALL set @var2 ...' at line 3
9542 DROP PROCEDURE IF EXISTS sp1;
9543 Warnings:
9544 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9545 CREATE PROCEDURE sp1( )
9546 BEGIN
9547 declare cascade condition for sqlstate '02000';
9548 declare exit handler for cascade set @var2 = 1;
9549 END//
9550 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cascade condition for sqlstate '02000';
9551 declare exit handler for cascade set ...' at line 3
9552 DROP PROCEDURE IF EXISTS sp1;
9553 Warnings:
9554 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9555 CREATE PROCEDURE sp1( )
9556 BEGIN
9557 declare case condition for sqlstate '02000';
9558 declare exit handler for case set @var2 = 1;
9559 END//
9560 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'case condition for sqlstate '02000';
9561 declare exit handler for case set @var2 ...' at line 3
9562 DROP PROCEDURE IF EXISTS sp1;
9563 Warnings:
9564 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9565 CREATE PROCEDURE sp1( )
9566 BEGIN
9567 declare change condition for sqlstate '02000';
9568 declare exit handler for change set @var2 = 1;
9569 END//
9570 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'change condition for sqlstate '02000';
9571 declare exit handler for change set @v...' at line 3
9572 DROP PROCEDURE IF EXISTS sp1;
9573 Warnings:
9574 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9575 CREATE PROCEDURE sp1( )
9576 BEGIN
9577 declare char condition for sqlstate '02000';
9578 declare exit handler for char set @var2 = 1;
9579 END//
9580 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char condition for sqlstate '02000';
9581 declare exit handler for char set @var2 ...' at line 3
9582 DROP PROCEDURE IF EXISTS sp1;
9583 Warnings:
9584 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9585 CREATE PROCEDURE sp1( )
9586 BEGIN
9587 declare character condition for sqlstate '02000';
9588 declare exit handler for character set @var2 = 1;
9589 END//
9590 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'character condition for sqlstate '02000';
9591 declare exit handler for character ...' at line 3
9592 DROP PROCEDURE IF EXISTS sp1;
9593 Warnings:
9594 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9595 CREATE PROCEDURE sp1( )
9596 BEGIN
9597 declare check condition for sqlstate '02000';
9598 declare exit handler for check set @var2 = 1;
9599 END//
9600 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'check condition for sqlstate '02000';
9601 declare exit handler for check set @var...' at line 3
9602 DROP PROCEDURE IF EXISTS sp1;
9603 Warnings:
9604 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9605 CREATE PROCEDURE sp1( )
9606 BEGIN
9607 declare collate condition for sqlstate '02000';
9608 declare exit handler for collate set @var2 = 1;
9609 END//
9610 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'collate condition for sqlstate '02000';
9611 declare exit handler for collate set ...' at line 3
9612 DROP PROCEDURE IF EXISTS sp1;
9613 Warnings:
9614 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9615 CREATE PROCEDURE sp1( )
9616 BEGIN
9617 declare column condition for sqlstate '02000';
9618 declare exit handler for column set @var2 = 1;
9619 END//
9620 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'column condition for sqlstate '02000';
9621 declare exit handler for column set @v...' at line 3
9622 DROP PROCEDURE IF EXISTS sp1;
9623 Warnings:
9624 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9625 CREATE PROCEDURE sp1( )
9626 BEGIN
9627 declare condition condition for sqlstate '02000';
9628 declare exit handler for condition set @var2 = 1;
9629 END//
9630 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition condition for sqlstate '02000';
9631 declare exit handler for condition ...' at line 3
9632 DROP PROCEDURE IF EXISTS sp1;
9633 Warnings:
9634 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9635 CREATE PROCEDURE sp1( )
9636 BEGIN
9637 declare connection condition for sqlstate '02000';
9638 declare exit handler for connection set @var2 = 1;
9639 END//
9640 DROP PROCEDURE IF EXISTS sp1;
9641 CREATE PROCEDURE sp1( )
9642 BEGIN
9643 declare constraint condition for sqlstate '02000';
9644 declare exit handler for constraint set @var2 = 1;
9645 END//
9646 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'constraint condition for sqlstate '02000';
9647 declare exit handler for constrain...' at line 3
9648 DROP PROCEDURE IF EXISTS sp1;
9649 Warnings:
9650 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9651 CREATE PROCEDURE sp1( )
9652 BEGIN
9653 declare continue condition for sqlstate '02000';
9654 declare exit handler for continue set @var2 = 1;
9655 END//
9656 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for sqlstate '02000';
9657 declare exit handler for continue set @var2 =...' at line 3
9658 DROP PROCEDURE IF EXISTS sp1;
9659 Warnings:
9660 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9661 CREATE PROCEDURE sp1( )
9662 BEGIN
9663 declare convert condition for sqlstate '02000';
9664 declare exit handler for convert set @var2 = 1;
9665 END//
9666 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'convert condition for sqlstate '02000';
9667 declare exit handler for convert set ...' at line 3
9668 DROP PROCEDURE IF EXISTS sp1;
9669 Warnings:
9670 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9671 CREATE PROCEDURE sp1( )
9672 BEGIN
9673 declare create condition for sqlstate '02000';
9674 declare exit handler for create set @var2 = 1;
9675 END//
9676 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'create condition for sqlstate '02000';
9677 declare exit handler for create set @v...' at line 3
9678 DROP PROCEDURE IF EXISTS sp1;
9679 Warnings:
9680 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9681 CREATE PROCEDURE sp1( )
9682 BEGIN
9683 declare cross condition for sqlstate '02000';
9684 declare exit handler for cross set @var2 = 1;
9685 END//
9686 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cross condition for sqlstate '02000';
9687 declare exit handler for cross set @var...' 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 current_date condition for sqlstate '02000';
9694 declare exit handler for current_date set @var2 = 1;
9695 END//
9696 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_date condition for sqlstate '02000';
9697 declare exit handler for current...' 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 current_time condition for sqlstate '02000';
9704 declare exit handler for current_time set @var2 = 1;
9705 END//
9706 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_time condition for sqlstate '02000';
9707 declare exit handler for current...' 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 current_timestamp condition for sqlstate '02000';
9714 declare exit handler for current_timestamp set @var2 = 1;
9715 END//
9716 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
9717 declare exit handler for cu...' at line 3
9718 DROP PROCEDURE IF EXISTS sp1;
9719 Warnings:
9720 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9721 CREATE PROCEDURE sp1( )
9722 BEGIN
9723 declare current_user condition for sqlstate '02000';
9724 declare exit handler for current_user set @var2 = 1;
9725 END//
9726 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user condition for sqlstate '02000';
9727 declare exit handler for current...' at line 3
9728 DROP PROCEDURE IF EXISTS sp1;
9729 Warnings:
9730 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9731 CREATE PROCEDURE sp1( )
9732 BEGIN
9733 declare cursor condition for sqlstate '02000';
9734 declare exit handler for cursor set @var2 = 1;
9735 END//
9736 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor condition for sqlstate '02000';
9737 declare exit handler for cursor set @v...' at line 3
9738 DROP PROCEDURE IF EXISTS sp1;
9739 Warnings:
9740 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9741 CREATE PROCEDURE sp1( )
9742 BEGIN
9743 declare database condition for sqlstate '02000';
9744 declare exit handler for database set @var2 = 1;
9745 END//
9746 DROP PROCEDURE IF EXISTS sp1;
9747 CREATE PROCEDURE sp1( )
9748 BEGIN
9749 declare databases condition for sqlstate '02000';
9750 declare exit handler for databases set @var2 = 1;
9751 END//
9752 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases condition for sqlstate '02000';
9753 declare exit handler for databases ...' at line 3
9754 DROP PROCEDURE IF EXISTS sp1;
9755 Warnings:
9756 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9757 CREATE PROCEDURE sp1( )
9758 BEGIN
9759 declare day_hour condition for sqlstate '02000';
9760 declare exit handler for day_hour set @var2 = 1;
9761 END//
9762 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_hour condition for sqlstate '02000';
9763 declare exit handler for day_hour se...' at line 3
9764 DROP PROCEDURE IF EXISTS sp1;
9765 Warnings:
9766 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9767 CREATE PROCEDURE sp1( )
9768 BEGIN
9769 declare day_microsecond condition for sqlstate '02000';
9770 declare exit handler for day_microsecond set @var2 = 1;
9771 END//
9772 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000';
9773 declare exit handler for day_...' at line 3
9774 DROP PROCEDURE IF EXISTS sp1;
9775 Warnings:
9776 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9777 CREATE PROCEDURE sp1( )
9778 BEGIN
9779 declare day_minute condition for sqlstate '02000';
9780 declare exit handler for day_minute set @var2 = 1;
9781 END//
9782 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_minute condition for sqlstate '02000';
9783 declare exit handler for day_minut...' at line 3
9784 DROP PROCEDURE IF EXISTS sp1;
9785 Warnings:
9786 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9787 CREATE PROCEDURE sp1( )
9788 BEGIN
9789 declare day_second condition for sqlstate '02000';
9790 declare exit handler for day_second set @var2 = 1;
9791 END//
9792 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_second condition for sqlstate '02000';
9793 declare exit handler for day_secon...' at line 3
9794 DROP PROCEDURE IF EXISTS sp1;
9795 Warnings:
9796 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9797 CREATE PROCEDURE sp1( )
9798 BEGIN
9799 declare dec condition for sqlstate '02000';
9800 declare exit handler for dec set @var2 = 1;
9801 END//
9802 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dec condition for sqlstate '02000';
9803 declare exit handler for dec set @var2 = ...' at line 3
9804 DROP PROCEDURE IF EXISTS sp1;
9805 Warnings:
9806 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9807 CREATE PROCEDURE sp1( )
9808 BEGIN
9809 declare decimal condition for sqlstate '02000';
9810 declare exit handler for decimal set @var2 = 1;
9811 END//
9812 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal condition for sqlstate '02000';
9813 declare exit handler for decimal set ...' at line 3
9814 DROP PROCEDURE IF EXISTS sp1;
9815 Warnings:
9816 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9817 CREATE PROCEDURE sp1( )
9818 BEGIN
9819 declare declare condition for sqlstate '02000';
9820 declare exit handler for declare set @var2 = 1;
9821 END//
9822 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare condition for sqlstate '02000';
9823 declare exit handler for declare set ...' at line 3
9824 DROP PROCEDURE IF EXISTS sp1;
9825 Warnings:
9826 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9827 CREATE PROCEDURE sp1( )
9828 BEGIN
9829 declare default condition for sqlstate '02000';
9830 declare exit handler for default set @var2 = 1;
9831 END//
9832 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'default condition for sqlstate '02000';
9833 declare exit handler for default set ...' at line 3
9834 DROP PROCEDURE IF EXISTS sp1;
9835 Warnings:
9836 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9837 CREATE PROCEDURE sp1( )
9838 BEGIN
9839 declare delayed condition for sqlstate '02000';
9840 declare exit handler for delayed set @var2 = 1;
9841 END//
9842 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delayed condition for sqlstate '02000';
9843 declare exit handler for delayed set ...' at line 3
9844 DROP PROCEDURE IF EXISTS sp1;
9845 Warnings:
9846 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9847 CREATE PROCEDURE sp1( )
9848 BEGIN
9849 declare delete condition for sqlstate '02000';
9850 declare exit handler for delete set @var2 = 1;
9851 END//
9852 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delete condition for sqlstate '02000';
9853 declare exit handler for delete set @v...' at line 3
9854 DROP PROCEDURE IF EXISTS sp1;
9855 Warnings:
9856 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9857 CREATE PROCEDURE sp1( )
9858 BEGIN
9859 declare desc condition for sqlstate '02000';
9860 declare exit handler for desc set @var2 = 1;
9861 END//
9862 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc condition for sqlstate '02000';
9863 declare exit handler for desc set @var2 ...' at line 3
9864 DROP PROCEDURE IF EXISTS sp1;
9865 Warnings:
9866 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9867 CREATE PROCEDURE sp1( )
9868 BEGIN
9869 declare describe condition for sqlstate '02000';
9870 declare exit handler for describe set @var2 = 1;
9871 END//
9872 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'describe condition for sqlstate '02000';
9873 declare exit handler for describe se...' at line 3
9874 DROP PROCEDURE IF EXISTS sp1;
9875 Warnings:
9876 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9877 CREATE PROCEDURE sp1( )
9878 BEGIN
9879 declare deterministic condition for sqlstate '02000';
9880 declare exit handler for deterministic set @var2 = 1;
9881 END//
9882 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'deterministic condition for sqlstate '02000';
9883 declare exit handler for determ...' at line 3
9884 DROP PROCEDURE IF EXISTS sp1;
9885 Warnings:
9886 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9887 CREATE PROCEDURE sp1( )
9888 BEGIN
9889 declare distinct condition for sqlstate '02000';
9890 declare exit handler for distinct set @var2 = 1;
9891 END//
9892 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct condition for sqlstate '02000';
9893 declare exit handler for distinct se...' at line 3
9894 DROP PROCEDURE IF EXISTS sp1;
9895 Warnings:
9896 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9897 CREATE PROCEDURE sp1( )
9898 BEGIN
9899 declare distinctrow condition for sqlstate '02000';
9900 declare exit handler for distinctrow set @var2 = 1;
9901 END//
9902 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinctrow condition for sqlstate '02000';
9903 declare exit handler for distinct...' at line 3
9904 DROP PROCEDURE IF EXISTS sp1;
9905 Warnings:
9906 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9907 CREATE PROCEDURE sp1( )
9908 BEGIN
9909 declare div condition for sqlstate '02000';
9910 declare exit handler for div set @var2 = 1;
9911 END//
9912 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'div condition for sqlstate '02000';
9913 declare exit handler for div set @var2 = ...' at line 3
9914 DROP PROCEDURE IF EXISTS sp1;
9915 Warnings:
9916 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9917 CREATE PROCEDURE sp1( )
9918 BEGIN
9919 declare double condition for sqlstate '02000';
9920 declare exit handler for double set @var2 = 1;
9921 END//
9922 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double condition for sqlstate '02000';
9923 declare exit handler for double set @v...' at line 3
9924 DROP PROCEDURE IF EXISTS sp1;
9925 Warnings:
9926 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9927 CREATE PROCEDURE sp1( )
9928 BEGIN
9929 declare drop condition for sqlstate '02000';
9930 declare exit handler for drop set @var2 = 1;
9931 END//
9932 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'drop condition for sqlstate '02000';
9933 declare exit handler for drop set @var2 ...' at line 3
9934 DROP PROCEDURE IF EXISTS sp1;
9935 Warnings:
9936 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9937 CREATE PROCEDURE sp1( )
9938 BEGIN
9939 declare dual condition for sqlstate '02000';
9940 declare exit handler for dual set @var2 = 1;
9941 END//
9942 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dual condition for sqlstate '02000';
9943 declare exit handler for dual set @var2 ...' at line 3
9944 DROP PROCEDURE IF EXISTS sp1;
9945 Warnings:
9946 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9947 CREATE PROCEDURE sp1( )
9948 BEGIN
9949 declare each condition for sqlstate '02000';
9950 declare exit handler for each set @var2 = 1;
9951 END//
9952 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'each condition for sqlstate '02000';
9953 declare exit handler for each set @var2 ...' at line 3
9954 DROP PROCEDURE IF EXISTS sp1;
9955 Warnings:
9956 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9957 CREATE PROCEDURE sp1( )
9958 BEGIN
9959 declare else condition for sqlstate '02000';
9960 declare exit handler for else set @var2 = 1;
9961 END//
9962 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else condition for sqlstate '02000';
9963 declare exit handler for else set @var2 ...' at line 3
9964 DROP PROCEDURE IF EXISTS sp1;
9965 Warnings:
9966 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9967 CREATE PROCEDURE sp1( )
9968 BEGIN
9969 declare elseif condition for sqlstate '02000';
9970 declare exit handler for elseif set @var2 = 1;
9971 END//
9972 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif condition for sqlstate '02000';
9973 declare exit handler for elseif set @v...' at line 3
9974 DROP PROCEDURE IF EXISTS sp1;
9975 Warnings:
9976 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9977 CREATE PROCEDURE sp1( )
9978 BEGIN
9979 declare enclosed condition for sqlstate '02000';
9980 declare exit handler for enclosed set @var2 = 1;
9981 END//
9982 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enclosed condition for sqlstate '02000';
9983 declare exit handler for enclosed se...' at line 3
9984 DROP PROCEDURE IF EXISTS sp1;
9985 Warnings:
9986 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9987 CREATE PROCEDURE sp1( )
9988 BEGIN
9989 declare escaped condition for sqlstate '02000';
9990 declare exit handler for escaped set @var2 = 1;
9991 END//
9992 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'escaped condition for sqlstate '02000';
9993 declare exit handler for escaped set ...' at line 3
9994 DROP PROCEDURE IF EXISTS sp1;
9995 Warnings:
9996 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
9997 CREATE PROCEDURE sp1( )
9998 BEGIN
9999 declare exists condition for sqlstate '02000';
10000 declare exit handler for exists set @var2 = 1;
10001 END//
10002 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exists condition for sqlstate '02000';
10003 declare exit handler for exists set @v...' at line 3
10004 DROP PROCEDURE IF EXISTS sp1;
10005 Warnings:
10006 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10007 CREATE PROCEDURE sp1( )
10008 BEGIN
10009 declare exit condition for sqlstate '02000';
10010 declare exit handler for exit set @var2 = 1;
10011 END//
10012 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition for sqlstate '02000';
10013 declare exit handler for exit set @var2 = 1;
10014 END' at line 3
10015 DROP PROCEDURE IF EXISTS sp1;
10016 Warnings:
10017 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10018 CREATE PROCEDURE sp1( )
10019 BEGIN
10020 declare explain condition for sqlstate '02000';
10021 declare exit handler for explain set @var2 = 1;
10022 END//
10023 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'explain condition for sqlstate '02000';
10024 declare exit handler for explain set ...' at line 3
10025 DROP PROCEDURE IF EXISTS sp1;
10026 Warnings:
10027 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10028 CREATE PROCEDURE sp1( )
10029 BEGIN
10030 declare false condition for sqlstate '02000';
10031 declare exit handler for false set @var2 = 1;
10032 END//
10033 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'false condition for sqlstate '02000';
10034 declare exit handler for false set @var...' at line 3
10035 DROP PROCEDURE IF EXISTS sp1;
10036 Warnings:
10037 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10038 CREATE PROCEDURE sp1( )
10039 BEGIN
10040 declare fetch condition for sqlstate '02000';
10041 declare exit handler for fetch set @var2 = 1;
10042 END//
10043 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fetch condition for sqlstate '02000';
10044 declare exit handler for fetch set @var...' at line 3
10045 DROP PROCEDURE IF EXISTS sp1;
10046 Warnings:
10047 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10048 CREATE PROCEDURE sp1( )
10049 BEGIN
10050 declare float condition for sqlstate '02000';
10051 declare exit handler for float set @var2 = 1;
10052 END//
10053 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float condition for sqlstate '02000';
10054 declare exit handler for float set @var...' at line 3
10055 DROP PROCEDURE IF EXISTS sp1;
10056 Warnings:
10057 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10058 CREATE PROCEDURE sp1( )
10059 BEGIN
10060 declare float4 condition for sqlstate '02000';
10061 declare exit handler for add set @var2 = 1;
10062 END//
10063 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float4 condition for sqlstate '02000';
10064 declare exit handler for add set @var2...' at line 3
10065 DROP PROCEDURE IF EXISTS sp1;
10066 Warnings:
10067 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10068 CREATE PROCEDURE sp1( )
10069 BEGIN
10070 declare float8 condition for sqlstate '02000';
10071 declare exit handler for add set @var2 = 1;
10072 END//
10073 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float8 condition for sqlstate '02000';
10074 declare exit handler for add set @var2...' at line 3
10075 DROP PROCEDURE IF EXISTS sp1;
10076 Warnings:
10077 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10078 CREATE PROCEDURE sp1( )
10079 BEGIN
10080 declare for condition for sqlstate '02000';
10081 declare exit handler for for set @var2 = 1;
10082 END//
10083 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'for condition for sqlstate '02000';
10084 declare exit handler for for set @var2 = ...' at line 3
10085 DROP PROCEDURE IF EXISTS sp1;
10086 Warnings:
10087 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10088 CREATE PROCEDURE sp1( )
10089 BEGIN
10090 declare force condition for sqlstate '02000';
10091 declare exit handler for force set @var2 = 1;
10092 END//
10093 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'force condition for sqlstate '02000';
10094 declare exit handler for force set @var...' at line 3
10095 DROP PROCEDURE IF EXISTS sp1;
10096 Warnings:
10097 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10098 CREATE PROCEDURE sp1( )
10099 BEGIN
10100 declare foreign condition for sqlstate '02000';
10101 declare exit handler for foreign set @var2 = 1;
10102 END//
10103 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'foreign condition for sqlstate '02000';
10104 declare exit handler for foreign set ...' at line 3
10105 DROP PROCEDURE IF EXISTS sp1;
10106 Warnings:
10107 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10108 CREATE PROCEDURE sp1( )
10109 BEGIN
10110 declare from condition for sqlstate '02000';
10111 declare exit handler for from set @var2 = 1;
10112 END//
10113 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from condition for sqlstate '02000';
10114 declare exit handler for from set @var2 ...' at line 3
10115 DROP PROCEDURE IF EXISTS sp1;
10116 Warnings:
10117 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10118 CREATE PROCEDURE sp1( )
10119 BEGIN
10120 declare fulltext condition for sqlstate '02000';
10121 declare exit handler for fulltext set @var2 = 1;
10122 END//
10123 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fulltext condition for sqlstate '02000';
10124 declare exit handler for fulltext se...' at line 3
10125 DROP PROCEDURE IF EXISTS sp1;
10126 Warnings:
10127 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10128 CREATE PROCEDURE sp1( )
10129 BEGIN
10130 declare grant condition for sqlstate '02000';
10131 declare exit handler for grant set @var2 = 1;
10132 END//
10133 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'grant condition for sqlstate '02000';
10134 declare exit handler for grant set @var...' at line 3
10135 DROP PROCEDURE IF EXISTS sp1;
10136 Warnings:
10137 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10138 CREATE PROCEDURE sp1( )
10139 BEGIN
10140 declare group condition for sqlstate '02000';
10141 declare exit handler for group set @var2 = 1;
10142 END//
10143 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group condition for sqlstate '02000';
10144 declare exit handler for group set @var...' at line 3
10145 DROP PROCEDURE IF EXISTS sp1;
10146 Warnings:
10147 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10148 CREATE PROCEDURE sp1( )
10149 BEGIN
10150 declare having condition for sqlstate '02000';
10151 declare exit handler for having set @var2 = 1;
10152 END//
10153 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'having condition for sqlstate '02000';
10154 declare exit handler for having set @v...' at line 3
10155 DROP PROCEDURE IF EXISTS sp1;
10156 Warnings:
10157 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10158 CREATE PROCEDURE sp1( )
10159 BEGIN
10160 declare high_priority condition for sqlstate '02000';
10161 declare exit handler for high_priority set @var2 = 1;
10162 END//
10163 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'high_priority condition for sqlstate '02000';
10164 declare exit handler for high_p...' at line 3
10165 DROP PROCEDURE IF EXISTS sp1;
10166 Warnings:
10167 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10168 CREATE PROCEDURE sp1( )
10169 BEGIN
10170 declare hour_microsecond condition for sqlstate '02000';
10171 declare exit handler for hour_microsecond set @var2 = 1;
10172 END//
10173 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000';
10174 declare exit handler for hou...' at line 3
10175 DROP PROCEDURE IF EXISTS sp1;
10176 Warnings:
10177 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10178 CREATE PROCEDURE sp1( )
10179 BEGIN
10180 declare hour_minute condition for sqlstate '02000';
10181 declare exit handler for hour_minute set @var2 = 1;
10182 END//
10183 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_minute condition for sqlstate '02000';
10184 declare exit handler for hour_min...' at line 3
10185 DROP PROCEDURE IF EXISTS sp1;
10186 Warnings:
10187 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10188 CREATE PROCEDURE sp1( )
10189 BEGIN
10190 declare hour_second condition for sqlstate '02000';
10191 declare exit handler for hour_second set @var2 = 1;
10192 END//
10193 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_second condition for sqlstate '02000';
10194 declare exit handler for hour_sec...' at line 3
10195 DROP PROCEDURE IF EXISTS sp1;
10196 Warnings:
10197 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10198 CREATE PROCEDURE sp1( )
10199 BEGIN
10200 declare if condition for sqlstate '02000';
10201 declare exit handler for if set @var2 = 1;
10202 END//
10203 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'if condition for sqlstate '02000';
10204 declare exit handler for if set @var2 = 1;...' at line 3
10205 DROP PROCEDURE IF EXISTS sp1;
10206 Warnings:
10207 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10208 CREATE PROCEDURE sp1( )
10209 BEGIN
10210 declare ignore condition for sqlstate '02000';
10211 declare exit handler for ignore set @var2 = 1;
10212 END//
10213 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ignore condition for sqlstate '02000';
10214 declare exit handler for ignore set @v...' at line 3
10215 DROP PROCEDURE IF EXISTS sp1;
10216 Warnings:
10217 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10218 CREATE PROCEDURE sp1( )
10219 BEGIN
10220 declare in condition for sqlstate '02000';
10221 declare exit handler for in set @var2 = 1;
10222 END//
10223 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'in condition for sqlstate '02000';
10224 declare exit handler for in set @var2 = 1;...' at line 3
10225 DROP PROCEDURE IF EXISTS sp1;
10226 Warnings:
10227 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10228 CREATE PROCEDURE sp1( )
10229 BEGIN
10230 declare index condition for sqlstate '02000';
10231 declare exit handler for index set @var2 = 1;
10232 END//
10233 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'index condition for sqlstate '02000';
10234 declare exit handler for index set @var...' at line 3
10235 DROP PROCEDURE IF EXISTS sp1;
10236 Warnings:
10237 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10238 CREATE PROCEDURE sp1( )
10239 BEGIN
10240 declare infile condition for sqlstate '02000';
10241 declare exit handler for infile set @var2 = 1;
10242 END//
10243 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'infile condition for sqlstate '02000';
10244 declare exit handler for infile set @v...' at line 3
10245 DROP PROCEDURE IF EXISTS sp1;
10246 Warnings:
10247 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10248 CREATE PROCEDURE sp1( )
10249 BEGIN
10250 declare inner condition for sqlstate '02000';
10251 declare exit handler for inner set @var2 = 1;
10252 END//
10253 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inner condition for sqlstate '02000';
10254 declare exit handler for inner set @var...' at line 3
10255 DROP PROCEDURE IF EXISTS sp1;
10256 Warnings:
10257 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10258 CREATE PROCEDURE sp1( )
10259 BEGIN
10260 declare inout condition for sqlstate '02000';
10261 declare exit handler for inout set @var2 = 1;
10262 END//
10263 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inout condition for sqlstate '02000';
10264 declare exit handler for inout set @var...' at line 3
10265 DROP PROCEDURE IF EXISTS sp1;
10266 Warnings:
10267 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10268 CREATE PROCEDURE sp1( )
10269 BEGIN
10270 declare insensitive condition for sqlstate '02000';
10271 declare exit handler for insensitive set @var2 = 1;
10272 END//
10273 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insensitive condition for sqlstate '02000';
10274 declare exit handler for insensit...' at line 3
10275 DROP PROCEDURE IF EXISTS sp1;
10276 Warnings:
10277 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10278 CREATE PROCEDURE sp1( )
10279 BEGIN
10280 declare insert condition for sqlstate '02000';
10281 declare exit handler for insert set @var2 = 1;
10282 END//
10283 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insert condition for sqlstate '02000';
10284 declare exit handler for insert set @v...' at line 3
10285 DROP PROCEDURE IF EXISTS sp1;
10286 Warnings:
10287 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10288 CREATE PROCEDURE sp1( )
10289 BEGIN
10290 declare int condition for sqlstate '02000';
10291 declare exit handler for int set @var2 = 1;
10292 END//
10293 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int condition for sqlstate '02000';
10294 declare exit handler for int set @var2 = ...' at line 3
10295 DROP PROCEDURE IF EXISTS sp1;
10296 Warnings:
10297 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10298 CREATE PROCEDURE sp1( )
10299 BEGIN
10300 declare int1 condition for sqlstate '02000';
10301 declare exit handler for int set @var2 = 1;
10302 END//
10303 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1 condition for sqlstate '02000';
10304 declare exit handler for int set @var2 =...' at line 3
10305 DROP PROCEDURE IF EXISTS sp1;
10306 Warnings:
10307 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10308 CREATE PROCEDURE sp1( )
10309 BEGIN
10310 declare int2 condition for sqlstate '02000';
10311 declare exit handler for int set @var2 = 1;
10312 END//
10313 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2 condition for sqlstate '02000';
10314 declare exit handler for int set @var2 =...' at line 3
10315 DROP PROCEDURE IF EXISTS sp1;
10316 Warnings:
10317 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10318 CREATE PROCEDURE sp1( )
10319 BEGIN
10320 declare int3 condition for sqlstate '02000';
10321 declare exit handler for int set @var2 = 1;
10322 END//
10323 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3 condition for sqlstate '02000';
10324 declare exit handler for int set @var2 =...' at line 3
10325 DROP PROCEDURE IF EXISTS sp1;
10326 Warnings:
10327 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10328 CREATE PROCEDURE sp1( )
10329 BEGIN
10330 declare int4 condition for sqlstate '02000';
10331 declare exit handler for int set @var2 = 1;
10332 END//
10333 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4 condition for sqlstate '02000';
10334 declare exit handler for int set @var2 =...' at line 3
10335 DROP PROCEDURE IF EXISTS sp1;
10336 Warnings:
10337 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10338 CREATE PROCEDURE sp1( )
10339 BEGIN
10340 declare int8 condition for sqlstate '02000';
10341 declare exit handler for int set @var2 = 1;
10342 END//
10343 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8 condition for sqlstate '02000';
10344 declare exit handler for int set @var2 =...' at line 3
10345 DROP PROCEDURE IF EXISTS sp1;
10346 Warnings:
10347 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10348 CREATE PROCEDURE sp1( )
10349 BEGIN
10350 declare integer condition for sqlstate '02000';
10351 declare exit handler for integer set @var2 = 1;
10352 END//
10353 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'integer condition for sqlstate '02000';
10354 declare exit handler for integer set ...' at line 3
10355 DROP PROCEDURE IF EXISTS sp1;
10356 Warnings:
10357 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10358 CREATE PROCEDURE sp1( )
10359 BEGIN
10360 declare interval condition for sqlstate '02000';
10361 declare exit handler for interval set @var2 = 1;
10362 END//
10363 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'interval condition for sqlstate '02000';
10364 declare exit handler for interval se...' at line 3
10365 DROP PROCEDURE IF EXISTS sp1;
10366 Warnings:
10367 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10368 CREATE PROCEDURE sp1( )
10369 BEGIN
10370 declare into condition for sqlstate '02000';
10371 declare exit handler for into set @var2 = 1;
10372 END//
10373 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'into condition for sqlstate '02000';
10374 declare exit handler for into set @var2 ...' at line 3
10375 DROP PROCEDURE IF EXISTS sp1;
10376 Warnings:
10377 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10378 CREATE PROCEDURE sp1( )
10379 BEGIN
10380 declare is condition for sqlstate '02000';
10381 declare exit handler for is set @var2 = 1;
10382 END//
10383 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'is condition for sqlstate '02000';
10384 declare exit handler for is set @var2 = 1;...' at line 3
10385 DROP PROCEDURE IF EXISTS sp1;
10386 Warnings:
10387 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10388 CREATE PROCEDURE sp1( )
10389 BEGIN
10390 declare iterate condition for sqlstate '02000';
10391 declare exit handler for iterate set @var2 = 1;
10392 END//
10393 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate condition for sqlstate '02000';
10394 declare exit handler for iterate set ...' at line 3
10395 DROP PROCEDURE IF EXISTS sp1;
10396 Warnings:
10397 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10398 CREATE PROCEDURE sp1( )
10399 BEGIN
10400 declare join condition for sqlstate '02000';
10401 declare exit handler for join set @var2 = 1;
10402 END//
10403 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join condition for sqlstate '02000';
10404 declare exit handler for join set @var2 ...' at line 3
10405 DROP PROCEDURE IF EXISTS sp1;
10406 Warnings:
10407 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10408 CREATE PROCEDURE sp1( )
10409 BEGIN
10410 declare json_table condition for sqlstate '02000';
10411 declare exit handler for json_table set @var2 = 1;
10412 END//
10413 DROP PROCEDURE sp1;
10414 CREATE PROCEDURE sp1( )
10415 BEGIN
10416 declare key condition for sqlstate '02000';
10417 declare exit handler for key set @var2 = 1;
10418 END//
10419 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key condition for sqlstate '02000';
10420 declare exit handler for key set @var2 = ...' at line 3
10421 DROP PROCEDURE IF EXISTS sp1;
10422 Warnings:
10423 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10424 CREATE PROCEDURE sp1( )
10425 BEGIN
10426 declare keys condition for sqlstate '02000';
10427 declare exit handler for keys set @var2 = 1;
10428 END//
10429 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'keys condition for sqlstate '02000';
10430 declare exit handler for keys set @var2 ...' at line 3
10431 DROP PROCEDURE IF EXISTS sp1;
10432 Warnings:
10433 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10434 CREATE PROCEDURE sp1( )
10435 BEGIN
10436 declare kill condition for sqlstate '02000';
10437 declare exit handler for kill set @var2 = 1;
10438 END//
10439 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'kill condition for sqlstate '02000';
10440 declare exit handler for kill set @var2 ...' at line 3
10441 DROP PROCEDURE IF EXISTS sp1;
10442 Warnings:
10443 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10444 CREATE PROCEDURE sp1( )
10445 BEGIN
10446 declare leading condition for sqlstate '02000';
10447 declare exit handler for leading set @var2 = 1;
10448 END//
10449 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leading condition for sqlstate '02000';
10450 declare exit handler for leading set ...' at line 3
10451 DROP PROCEDURE IF EXISTS sp1;
10452 Warnings:
10453 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10454 CREATE PROCEDURE sp1( )
10455 BEGIN
10456 declare leave condition for sqlstate '02000';
10457 declare exit handler for leave set @var2 = 1;
10458 END//
10459 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leave condition for sqlstate '02000';
10460 declare exit handler for leave set @var...' at line 3
10461 DROP PROCEDURE IF EXISTS sp1;
10462 Warnings:
10463 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10464 CREATE PROCEDURE sp1( )
10465 BEGIN
10466 declare left condition for sqlstate '02000';
10467 declare exit handler for left set @var2 = 1;
10468 END//
10469 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'left condition for sqlstate '02000';
10470 declare exit handler for left set @var2 ...' at line 3
10471 DROP PROCEDURE IF EXISTS sp1;
10472 Warnings:
10473 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10474 CREATE PROCEDURE sp1( )
10475 BEGIN
10476 declare like condition for sqlstate '02000';
10477 declare exit handler for like set @var2 = 1;
10478 END//
10479 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'like condition for sqlstate '02000';
10480 declare exit handler for like set @var2 ...' at line 3
10481 DROP PROCEDURE IF EXISTS sp1;
10482 Warnings:
10483 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10484 CREATE PROCEDURE sp1( )
10485 BEGIN
10486 declare limit condition for sqlstate '02000';
10487 declare exit handler for limit set @var2 = 1;
10488 END//
10489 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit condition for sqlstate '02000';
10490 declare exit handler for limit set @var...' at line 3
10491 DROP PROCEDURE IF EXISTS sp1;
10492 Warnings:
10493 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10494 CREATE PROCEDURE sp1( )
10495 BEGIN
10496 declare linear condition for sqlstate '02000';
10497 declare exit handler for int set @var2 = 1;
10498 END//
10499 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'linear condition for sqlstate '02000';
10500 declare exit handler for int set @var2...' at line 3
10501 DROP PROCEDURE IF EXISTS sp1;
10502 Warnings:
10503 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10504 CREATE PROCEDURE sp1( )
10505 BEGIN
10506 declare lines condition for sqlstate '02000';
10507 declare exit handler for lines set @var2 = 1;
10508 END//
10509 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lines condition for sqlstate '02000';
10510 declare exit handler for lines set @var...' at line 3
10511 DROP PROCEDURE IF EXISTS sp1;
10512 Warnings:
10513 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10514 CREATE PROCEDURE sp1( )
10515 BEGIN
10516 declare load condition for sqlstate '02000';
10517 declare exit handler for load set @var2 = 1;
10518 END//
10519 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'load condition for sqlstate '02000';
10520 declare exit handler for load set @var2 ...' at line 3
10521 DROP PROCEDURE IF EXISTS sp1;
10522 Warnings:
10523 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10524 CREATE PROCEDURE sp1( )
10525 BEGIN
10526 declare localtime condition for sqlstate '02000';
10527 declare exit handler for localtime set @var2 = 1;
10528 END//
10529 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtime condition for sqlstate '02000';
10530 declare exit handler for localtime ...' at line 3
10531 DROP PROCEDURE IF EXISTS sp1;
10532 Warnings:
10533 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10534 CREATE PROCEDURE sp1( )
10535 BEGIN
10536 declare localtimestamp condition for sqlstate '02000';
10537 declare exit handler for localtimestamp set @var2 = 1;
10538 END//
10539 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000';
10540 declare exit handler for local...' at line 3
10541 DROP PROCEDURE IF EXISTS sp1;
10542 Warnings:
10543 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10544 CREATE PROCEDURE sp1( )
10545 BEGIN
10546 declare lock condition for sqlstate '02000';
10547 declare exit handler for lock set @var2 = 1;
10548 END//
10549 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lock condition for sqlstate '02000';
10550 declare exit handler for lock set @var2 ...' at line 3
10551 DROP PROCEDURE IF EXISTS sp1;
10552 Warnings:
10553 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10554 CREATE PROCEDURE sp1( )
10555 BEGIN
10556 declare long condition for sqlstate '02000';
10557 declare exit handler for long set @var2 = 1;
10558 END//
10559 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'long condition for sqlstate '02000';
10560 declare exit handler for long set @var2 ...' at line 3
10561 DROP PROCEDURE IF EXISTS sp1;
10562 Warnings:
10563 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10564 CREATE PROCEDURE sp1( )
10565 BEGIN
10566 declare longblob condition for sqlstate '02000';
10567 declare exit handler for longblob set @var2 = 1;
10568 END//
10569 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob condition for sqlstate '02000';
10570 declare exit handler for longblob se...' at line 3
10571 DROP PROCEDURE IF EXISTS sp1;
10572 Warnings:
10573 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10574 CREATE PROCEDURE sp1( )
10575 BEGIN
10576 declare longtext condition for sqlstate '02000';
10577 declare exit handler for longtext set @var2 = 1;
10578 END//
10579 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext condition for sqlstate '02000';
10580 declare exit handler for longtext se...' at line 3
10581 DROP PROCEDURE IF EXISTS sp1;
10582 Warnings:
10583 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10584 CREATE PROCEDURE sp1( )
10585 BEGIN
10586 declare loop condition for sqlstate '02000';
10587 declare exit handler for loop set @var2 = 1;
10588 END//
10589 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'loop condition for sqlstate '02000';
10590 declare exit handler for loop set @var2 ...' at line 3
10591 DROP PROCEDURE IF EXISTS sp1;
10592 Warnings:
10593 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10594 CREATE PROCEDURE sp1( )
10595 BEGIN
10596 declare low_priority condition for sqlstate '02000';
10597 declare exit handler for low_priority set @var2 = 1;
10598 END//
10599 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'low_priority condition for sqlstate '02000';
10600 declare exit handler for low_pri...' at line 3
10601 DROP PROCEDURE IF EXISTS sp1;
10602 Warnings:
10603 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10604 CREATE PROCEDURE sp1( )
10605 BEGIN
10606 declare match condition for sqlstate '02000';
10607 declare exit handler for match set @var2 = 1;
10608 END//
10609 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'match condition for sqlstate '02000';
10610 declare exit handler for match set @var...' at line 3
10611 DROP PROCEDURE IF EXISTS sp1;
10612 Warnings:
10613 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10614 CREATE PROCEDURE sp1( )
10615 BEGIN
10616 declare mediumblob condition for sqlstate '02000';
10617 declare exit handler for mediumblob set @var2 = 1;
10618 END//
10619 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob condition for sqlstate '02000';
10620 declare exit handler for mediumblo...' at line 3
10621 DROP PROCEDURE IF EXISTS sp1;
10622 Warnings:
10623 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10624 CREATE PROCEDURE sp1( )
10625 BEGIN
10626 declare mediumint condition for sqlstate '02000';
10627 declare exit handler for mediumint set @var2 = 1;
10628 END//
10629 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint condition for sqlstate '02000';
10630 declare exit handler for mediumint ...' at line 3
10631 DROP PROCEDURE IF EXISTS sp1;
10632 Warnings:
10633 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10634 CREATE PROCEDURE sp1( )
10635 BEGIN
10636 declare mediumtext condition for sqlstate '02000';
10637 declare exit handler for mediumtext set @var2 = 1;
10638 END//
10639 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext condition for sqlstate '02000';
10640 declare exit handler for mediumtex...' at line 3
10641 DROP PROCEDURE IF EXISTS sp1;
10642 Warnings:
10643 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10644 CREATE PROCEDURE sp1( )
10645 BEGIN
10646 declare middleint condition for sqlstate '02000';
10647 declare exit handler for middleint set @var2 = 1;
10648 END//
10649 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'middleint condition for sqlstate '02000';
10650 declare exit handler for middleint ...' at line 3
10651 DROP PROCEDURE IF EXISTS sp1;
10652 Warnings:
10653 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10654 CREATE PROCEDURE sp1( )
10655 BEGIN
10656 declare minute_microsecond condition for sqlstate '02000';
10657 declare exit handler for minute_microsecond set @var2 = 1;
10658 END//
10659 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
10660 declare exit handler for m...' at line 3
10661 DROP PROCEDURE IF EXISTS sp1;
10662 Warnings:
10663 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10664 CREATE PROCEDURE sp1( )
10665 BEGIN
10666 declare minute_second condition for sqlstate '02000';
10667 declare exit handler for minute_second set @var2 = 1;
10668 END//
10669 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_second condition for sqlstate '02000';
10670 declare exit handler for minute...' at line 3
10671 DROP PROCEDURE IF EXISTS sp1;
10672 Warnings:
10673 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10674 CREATE PROCEDURE sp1( )
10675 BEGIN
10676 declare mod condition for sqlstate '02000';
10677 declare exit handler for mod set @var2 = 1;
10678 END//
10679 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mod condition for sqlstate '02000';
10680 declare exit handler for mod set @var2 = ...' at line 3
10681 DROP PROCEDURE IF EXISTS sp1;
10682 Warnings:
10683 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10684 CREATE PROCEDURE sp1( )
10685 BEGIN
10686 declare modifies condition for sqlstate '02000';
10687 declare exit handler for modifies set @var2 = 1;
10688 END//
10689 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'modifies condition for sqlstate '02000';
10690 declare exit handler for modifies se...' at line 3
10691 DROP PROCEDURE IF EXISTS sp1;
10692 Warnings:
10693 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10694 CREATE PROCEDURE sp1( )
10695 BEGIN
10696 declare natural condition for sqlstate '02000';
10697 declare exit handler for natural set @var2 = 1;
10698 END//
10699 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'natural condition for sqlstate '02000';
10700 declare exit handler for natural set ...' at line 3
10701 DROP PROCEDURE IF EXISTS sp1;
10702 Warnings:
10703 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10704 CREATE PROCEDURE sp1( )
10705 BEGIN
10706 declare nested condition for sqlstate '02000';
10707 declare exit handler for nested set @var2 = 1;
10708 END//
10709 DROP PROCEDURE sp1;
10710 CREATE PROCEDURE sp1( )
10711 BEGIN
10712 declare not condition for sqlstate '02000';
10713 declare exit handler for not set @var2 = 1;
10714 END//
10715 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not condition for sqlstate '02000';
10716 declare exit handler for not set @var2 = ...' 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 no_write_to_binlog condition for sqlstate '02000';
10723 declare exit handler for no_write_to_binlog set @var2 = 1;
10724 END//
10725 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000';
10726 declare exit handler for n...' 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 null condition for sqlstate '02000';
10733 declare exit handler for null set @var2 = 1;
10734 END//
10735 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'null condition for sqlstate '02000';
10736 declare exit handler for null set @var2 ...' 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 numeric condition for sqlstate '02000';
10743 declare exit handler for numeric set @var2 = 1;
10744 END//
10745 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric condition for sqlstate '02000';
10746 declare exit handler for numeric set ...' 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 on condition for sqlstate '02000';
10753 declare exit handler for on set @var2 = 1;
10754 END//
10755 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'on condition for sqlstate '02000';
10756 declare exit handler for on set @var2 = 1;...' 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 optimize condition for sqlstate '02000';
10763 declare exit handler for optimize set @var2 = 1;
10764 END//
10765 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optimize condition for sqlstate '02000';
10766 declare exit handler for optimize se...' 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 option condition for sqlstate '02000';
10773 declare exit handler for option set @var2 = 1;
10774 END//
10775 DROP PROCEDURE IF EXISTS sp1;
10776 CREATE PROCEDURE sp1( )
10777 BEGIN
10778 declare optionally condition for sqlstate '02000';
10779 declare exit handler for optionally set @var2 = 1;
10780 END//
10781 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optionally condition for sqlstate '02000';
10782 declare exit handler for optionall...' at line 3
10783 DROP PROCEDURE IF EXISTS sp1;
10784 Warnings:
10785 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10786 CREATE PROCEDURE sp1( )
10787 BEGIN
10788 declare or condition for sqlstate '02000';
10789 declare exit handler for or set @var2 = 1;
10790 END//
10791 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or condition for sqlstate '02000';
10792 declare exit handler for or set @var2 = 1;...' at line 3
10793 DROP PROCEDURE IF EXISTS sp1;
10794 Warnings:
10795 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10796 CREATE PROCEDURE sp1( )
10797 BEGIN
10798 declare order condition for sqlstate '02000';
10799 declare exit handler for order set @var2 = 1;
10800 END//
10801 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order condition for sqlstate '02000';
10802 declare exit handler for order set @var...' at line 3
10803 DROP PROCEDURE IF EXISTS sp1;
10804 Warnings:
10805 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10806 CREATE PROCEDURE sp1( )
10807 BEGIN
10808 declare ordinality condition for sqlstate '02000';
10809 declare exit handler for ordinality set @var2 = 1;
10810 END//
10811 DROP PROCEDURE sp1;
10812 CREATE PROCEDURE sp1( )
10813 BEGIN
10814 declare out condition for sqlstate '02000';
10815 declare exit handler for out set @var2 = 1;
10816 END//
10817 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out condition for sqlstate '02000';
10818 declare exit handler for out set @var2 = ...' at line 3
10819 DROP PROCEDURE IF EXISTS sp1;
10820 Warnings:
10821 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10822 CREATE PROCEDURE sp1( )
10823 BEGIN
10824 declare outer condition for sqlstate '02000';
10825 declare exit handler for outer set @var2 = 1;
10826 END//
10827 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outer condition for sqlstate '02000';
10828 declare exit handler for outer set @var...' at line 3
10829 DROP PROCEDURE IF EXISTS sp1;
10830 Warnings:
10831 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10832 CREATE PROCEDURE sp1( )
10833 BEGIN
10834 declare outfile condition for sqlstate '02000';
10835 declare exit handler for outfile set @var2 = 1;
10836 END//
10837 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile condition for sqlstate '02000';
10838 declare exit handler for outfile set ...' at line 3
10839 DROP PROCEDURE IF EXISTS sp1;
10840 Warnings:
10841 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10842 CREATE PROCEDURE sp1( )
10843 BEGIN
10844 declare path condition for sqlstate '02000';
10845 declare exit handler for path set @var2 = 1;
10846 END//
10847 DROP PROCEDURE sp1;
10848 CREATE PROCEDURE sp1( )
10849 BEGIN
10850 declare precision condition for sqlstate '02000';
10851 declare exit handler for precision set @var2 = 1;
10852 END//
10853 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision condition for sqlstate '02000';
10854 declare exit handler for precision ...' at line 3
10855 DROP PROCEDURE IF EXISTS sp1;
10856 Warnings:
10857 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10858 CREATE PROCEDURE sp1( )
10859 BEGIN
10860 declare primary condition for sqlstate '02000';
10861 declare exit handler for primary set @var2 = 1;
10862 END//
10863 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'primary condition for sqlstate '02000';
10864 declare exit handler for primary set ...' at line 3
10865 DROP PROCEDURE IF EXISTS sp1;
10866 Warnings:
10867 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10868 CREATE PROCEDURE sp1( )
10869 BEGIN
10870 declare procedure condition for sqlstate '02000';
10871 declare exit handler for procedure set @var2 = 1;
10872 END//
10873 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure condition for sqlstate '02000';
10874 declare exit handler for procedure ...' at line 3
10875 DROP PROCEDURE IF EXISTS sp1;
10876 Warnings:
10877 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10878 CREATE PROCEDURE sp1( )
10879 BEGIN
10880 declare purge condition for sqlstate '02000';
10881 declare exit handler for purge set @var2 = 1;
10882 END//
10883 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'purge condition for sqlstate '02000';
10884 declare exit handler for purge set @var...' at line 3
10885 DROP PROCEDURE IF EXISTS sp1;
10886 Warnings:
10887 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10888 CREATE PROCEDURE sp1( )
10889 BEGIN
10890 declare range condition for sqlstate '02000';
10891 declare exit handler for int set @var2 = 1;
10892 END//
10893 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'range condition for sqlstate '02000';
10894 declare exit handler for int set @var2 ...' at line 3
10895 DROP PROCEDURE IF EXISTS sp1;
10896 Warnings:
10897 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10898 CREATE PROCEDURE sp1( )
10899 BEGIN
10900 declare read condition for sqlstate '02000';
10901 declare exit handler for read set @var2 = 1;
10902 END//
10903 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read condition for sqlstate '02000';
10904 declare exit handler for read set @var2 ...' at line 3
10905 DROP PROCEDURE IF EXISTS sp1;
10906 Warnings:
10907 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10908 CREATE PROCEDURE sp1( )
10909 BEGIN
10910 declare reads condition for sqlstate '02000';
10911 declare exit handler for reads set @var2 = 1;
10912 END//
10913 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'reads condition for sqlstate '02000';
10914 declare exit handler for reads set @var...' at line 3
10915 DROP PROCEDURE IF EXISTS sp1;
10916 Warnings:
10917 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10918 CREATE PROCEDURE sp1( )
10919 BEGIN
10920 declare read_only condition for sqlstate '02000';
10921 declare exit handler for int set @var2 = 1;
10922 END//
10923 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int set @var2 = 1;
10924 END' at line 4
10925 DROP PROCEDURE IF EXISTS sp1;
10926 Warnings:
10927 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10928 CREATE PROCEDURE sp1( )
10929 BEGIN
10930 declare read_write condition for sqlstate '02000';
10931 declare exit handler for int set @var2 = 1;
10932 END//
10933 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read_write condition for sqlstate '02000';
10934 declare exit handler for int set @...' at line 3
10935 DROP PROCEDURE IF EXISTS sp1;
10936 Warnings:
10937 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10938 CREATE PROCEDURE sp1( )
10939 BEGIN
10940 declare real condition for sqlstate '02000';
10941 declare exit handler for real set @var2 = 1;
10942 END//
10943 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real condition for sqlstate '02000';
10944 declare exit handler for real set @var2 ...' at line 3
10945 DROP PROCEDURE IF EXISTS sp1;
10946 Warnings:
10947 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10948 CREATE PROCEDURE sp1( )
10949 BEGIN
10950 declare references condition for sqlstate '02000';
10951 declare exit handler for references set @var2 = 1;
10952 END//
10953 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'references condition for sqlstate '02000';
10954 declare exit handler for reference...' at line 3
10955 DROP PROCEDURE IF EXISTS sp1;
10956 Warnings:
10957 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10958 CREATE PROCEDURE sp1( )
10959 BEGIN
10960 declare regexp condition for sqlstate '02000';
10961 declare exit handler for regexp set @var2 = 1;
10962 END//
10963 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp condition for sqlstate '02000';
10964 declare exit handler for regexp set @v...' at line 3
10965 DROP PROCEDURE IF EXISTS sp1;
10966 Warnings:
10967 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10968 CREATE PROCEDURE sp1( )
10969 BEGIN
10970 declare release condition for sqlstate '02000';
10971 declare exit handler for int set @var2 = 1;
10972 END//
10973 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'release condition for sqlstate '02000';
10974 declare exit handler for int set @var...' at line 3
10975 DROP PROCEDURE IF EXISTS sp1;
10976 Warnings:
10977 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10978 CREATE PROCEDURE sp1( )
10979 BEGIN
10980 declare rename condition for sqlstate '02000';
10981 declare exit handler for rename set @var2 = 1;
10982 END//
10983 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rename condition for sqlstate '02000';
10984 declare exit handler for rename set @v...' at line 3
10985 DROP PROCEDURE IF EXISTS sp1;
10986 Warnings:
10987 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10988 CREATE PROCEDURE sp1( )
10989 BEGIN
10990 declare repeat condition for sqlstate '02000';
10991 declare exit handler for repeat set @var2 = 1;
10992 END//
10993 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'repeat condition for sqlstate '02000';
10994 declare exit handler for repeat set @v...' at line 3
10995 DROP PROCEDURE IF EXISTS sp1;
10996 Warnings:
10997 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
10998 CREATE PROCEDURE sp1( )
10999 BEGIN
11000 declare replace condition for sqlstate '02000';
11001 declare exit handler for replace set @var2 = 1;
11002 END//
11003 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'replace condition for sqlstate '02000';
11004 declare exit handler for replace set ...' at line 3
11005 DROP PROCEDURE IF EXISTS sp1;
11006 Warnings:
11007 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11008 CREATE PROCEDURE sp1( )
11009 BEGIN
11010 declare require condition for sqlstate '02000';
11011 declare exit handler for require set @var2 = 1;
11012 END//
11013 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'require condition for sqlstate '02000';
11014 declare exit handler for require set ...' at line 3
11015 DROP PROCEDURE IF EXISTS sp1;
11016 Warnings:
11017 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11018 CREATE PROCEDURE sp1( )
11019 BEGIN
11020 declare restrict condition for sqlstate '02000';
11021 declare exit handler for restrict set @var2 = 1;
11022 END//
11023 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'restrict condition for sqlstate '02000';
11024 declare exit handler for restrict se...' at line 3
11025 DROP PROCEDURE IF EXISTS sp1;
11026 Warnings:
11027 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11028 CREATE PROCEDURE sp1( )
11029 BEGIN
11030 declare return condition for sqlstate '02000';
11031 declare exit handler for return set @var2 = 1;
11032 END//
11033 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'return condition for sqlstate '02000';
11034 declare exit handler for return set @v...' at line 3
11035 DROP PROCEDURE IF EXISTS sp1;
11036 Warnings:
11037 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11038 CREATE PROCEDURE sp1( )
11039 BEGIN
11040 declare revoke condition for sqlstate '02000';
11041 declare exit handler for revoke set @var2 = 1;
11042 END//
11043 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'revoke condition for sqlstate '02000';
11044 declare exit handler for revoke set @v...' at line 3
11045 DROP PROCEDURE IF EXISTS sp1;
11046 Warnings:
11047 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11048 CREATE PROCEDURE sp1( )
11049 BEGIN
11050 declare right condition for sqlstate '02000';
11051 declare exit handler for right set @var2 = 1;
11052 END//
11053 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'right condition for sqlstate '02000';
11054 declare exit handler for right set @var...' at line 3
11055 DROP PROCEDURE IF EXISTS sp1;
11056 Warnings:
11057 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11058 CREATE PROCEDURE sp1( )
11059 BEGIN
11060 declare rlike condition for sqlstate '02000';
11061 declare exit handler for rlike set @var2 = 1;
11062 END//
11063 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike condition for sqlstate '02000';
11064 declare exit handler for rlike set @var...' at line 3
11065 DROP PROCEDURE IF EXISTS sp1;
11066 Warnings:
11067 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11068 CREATE PROCEDURE sp1( )
11069 BEGIN
11070 declare schema condition for sqlstate '02000';
11071 declare exit handler for schema set @var2 = 1;
11072 END//
11073 DROP PROCEDURE IF EXISTS sp1;
11074 CREATE PROCEDURE sp1( )
11075 BEGIN
11076 declare schemas condition for sqlstate '02000';
11077 declare exit handler for schemas set @var2 = 1;
11078 END//
11079 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas condition for sqlstate '02000';
11080 declare exit handler for schemas set ...' at line 3
11081 DROP PROCEDURE IF EXISTS sp1;
11082 Warnings:
11083 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11084 CREATE PROCEDURE sp1( )
11085 BEGIN
11086 declare second_microsecond condition for sqlstate '02000';
11087 declare exit handler for second_microsecond set @var2 = 1;
11088 END//
11089 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000';
11090 declare exit handler for s...' at line 3
11091 DROP PROCEDURE IF EXISTS sp1;
11092 Warnings:
11093 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11094 CREATE PROCEDURE sp1( )
11095 BEGIN
11096 declare select condition for sqlstate '02000';
11097 declare exit handler for SELECT set @var2 = 1;
11098 END//
11099 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'select condition for sqlstate '02000';
11100 declare exit handler for SELECT set @v...' 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 sensitive condition for sqlstate '02000';
11107 declare exit handler for sensitive set @var2 = 1;
11108 END//
11109 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sensitive condition for sqlstate '02000';
11110 declare exit handler for sensitive ...' 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 separator condition for sqlstate '02000';
11117 declare exit handler for separator set @var2 = 1;
11118 END//
11119 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'separator condition for sqlstate '02000';
11120 declare exit handler for separator ...' at line 3
11121 DROP PROCEDURE IF EXISTS sp1;
11122 Warnings:
11123 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11124 CREATE PROCEDURE sp1( )
11125 BEGIN
11126 declare set condition for sqlstate '02000';
11127 declare exit handler for set set @var2 = 1;
11128 END//
11129 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set condition for sqlstate '02000';
11130 declare exit handler for set set @var2 = ...' at line 3
11131 DROP PROCEDURE IF EXISTS sp1;
11132 Warnings:
11133 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11134 CREATE PROCEDURE sp1( )
11135 BEGIN
11136 declare show condition for sqlstate '02000';
11137 declare exit handler for show set @var2 = 1;
11138 END//
11139 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'show condition for sqlstate '02000';
11140 declare exit handler for show set @var2 ...' at line 3
11141 DROP PROCEDURE IF EXISTS sp1;
11142 Warnings:
11143 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11144 CREATE PROCEDURE sp1( )
11145 BEGIN
11146 declare smallint condition for sqlstate '02000';
11147 declare exit handler for smallint set @var2 = 1;
11148 END//
11149 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint condition for sqlstate '02000';
11150 declare exit handler for smallint se...' at line 3
11151 DROP PROCEDURE IF EXISTS sp1;
11152 Warnings:
11153 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11154 CREATE PROCEDURE sp1( )
11155 BEGIN
11156 declare spatial condition for sqlstate '02000';
11157 declare exit handler for spatial set @var2 = 1;
11158 END//
11159 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'spatial condition for sqlstate '02000';
11160 declare exit handler for spatial set ...' at line 3
11161 DROP PROCEDURE IF EXISTS sp1;
11162 Warnings:
11163 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11164 CREATE PROCEDURE sp1( )
11165 BEGIN
11166 declare specific condition for sqlstate '02000';
11167 declare exit handler for specific set @var2 = 1;
11168 END//
11169 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'specific condition for sqlstate '02000';
11170 declare exit handler for specific se...' at line 3
11171 DROP PROCEDURE IF EXISTS sp1;
11172 Warnings:
11173 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11174 CREATE PROCEDURE sp1( )
11175 BEGIN
11176 declare sql condition for sqlstate '02000';
11177 declare exit handler for sql set @var2 = 1;
11178 END//
11179 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql condition for sqlstate '02000';
11180 declare exit handler for sql set @var2 = ...' at line 3
11181 DROP PROCEDURE IF EXISTS sp1;
11182 Warnings:
11183 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11184 CREATE PROCEDURE sp1( )
11185 BEGIN
11186 declare sqlexception condition for sqlstate '02000';
11187 declare exit handler for sqlexception set @var2 = 1;
11188 END//
11189 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlexception condition for sqlstate '02000';
11190 declare exit handler for sqlexce...' at line 3
11191 DROP PROCEDURE IF EXISTS sp1;
11192 Warnings:
11193 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11194 CREATE PROCEDURE sp1( )
11195 BEGIN
11196 declare sqlstate condition for sqlstate '02000';
11197 declare exit handler for sqlstate set @var2 = 1;
11198 END//
11199 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlstate condition for sqlstate '02000';
11200 declare exit handler for sqlstate se...' at line 3
11201 DROP PROCEDURE IF EXISTS sp1;
11202 Warnings:
11203 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11204 CREATE PROCEDURE sp1( )
11205 BEGIN
11206 declare sqlwarning condition for sqlstate '02000';
11207 declare exit handler for sqlwarning set @var2 = 1;
11208 END//
11209 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000';
11210 declare exit handler for sqlwarnin...' at line 3
11211 DROP PROCEDURE IF EXISTS sp1;
11212 Warnings:
11213 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11214 CREATE PROCEDURE sp1( )
11215 BEGIN
11216 declare sql_big_result condition for sqlstate '02000';
11217 declare exit handler for sql_big_result set @var2 = 1;
11218 END//
11219 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000';
11220 declare exit handler for sql_b...' at line 3
11221 DROP PROCEDURE IF EXISTS sp1;
11222 Warnings:
11223 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11224 CREATE PROCEDURE sp1( )
11225 BEGIN
11226 declare sql_calc_found_rows condition for sqlstate '02000';
11227 declare exit handler for sql_calc_found_rows set @var2 = 1;
11228 END//
11229 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
11230 declare exit handler for ...' at line 3
11231 DROP PROCEDURE IF EXISTS sp1;
11232 Warnings:
11233 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11234 CREATE PROCEDURE sp1( )
11235 BEGIN
11236 declare sql_small_result condition for sqlstate '02000';
11237 declare exit handler for sql_small_result set @var2 = 1;
11238 END//
11239 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000';
11240 declare exit handler for sql...' at line 3
11241 DROP PROCEDURE IF EXISTS sp1;
11242 Warnings:
11243 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11244 CREATE PROCEDURE sp1( )
11245 BEGIN
11246 declare ssl condition for sqlstate '02000';
11247 declare exit handler for ssl set @var2 = 1;
11248 END//
11249 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ssl condition for sqlstate '02000';
11250 declare exit handler for ssl set @var2 = ...' at line 3
11251 DROP PROCEDURE IF EXISTS sp1;
11252 Warnings:
11253 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11254 CREATE PROCEDURE sp1( )
11255 BEGIN
11256 declare starting condition for sqlstate '02000';
11257 declare exit handler for starting set @var2 = 1;
11258 END//
11259 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'starting condition for sqlstate '02000';
11260 declare exit handler for starting se...' at line 3
11261 DROP PROCEDURE IF EXISTS sp1;
11262 Warnings:
11263 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11264 CREATE PROCEDURE sp1( )
11265 BEGIN
11266 declare straight_join condition for sqlstate '02000';
11267 declare exit handler for straight_join set @var2 = 1;
11268 END//
11269 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'straight_join condition for sqlstate '02000';
11270 declare exit handler for straig...' at line 3
11271 DROP PROCEDURE IF EXISTS sp1;
11272 Warnings:
11273 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11274 CREATE PROCEDURE sp1( )
11275 BEGIN
11276 declare table condition for sqlstate '02000';
11277 declare exit handler for table set @var2 = 1;
11278 END//
11279 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table condition for sqlstate '02000';
11280 declare exit handler for table set @var...' at line 3
11281 DROP PROCEDURE IF EXISTS sp1;
11282 Warnings:
11283 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11284 CREATE PROCEDURE sp1( )
11285 BEGIN
11286 declare terminated condition for sqlstate '02000';
11287 declare exit handler for terminated set @var2 = 1;
11288 END//
11289 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'terminated condition for sqlstate '02000';
11290 declare exit handler for terminate...' at line 3
11291 DROP PROCEDURE IF EXISTS sp1;
11292 Warnings:
11293 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11294 CREATE PROCEDURE sp1( )
11295 BEGIN
11296 declare then condition for sqlstate '02000';
11297 declare exit handler for then set @var2 = 1;
11298 END//
11299 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then condition for sqlstate '02000';
11300 declare exit handler for then set @var2 ...' at line 3
11301 DROP PROCEDURE IF EXISTS sp1;
11302 Warnings:
11303 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11304 CREATE PROCEDURE sp1( )
11305 BEGIN
11306 declare tinyblob condition for sqlstate '02000';
11307 declare exit handler for tinyblob set @var2 = 1;
11308 END//
11309 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
11310 declare exit handler for tinyblob se...' at line 3
11311 DROP PROCEDURE IF EXISTS sp1;
11312 Warnings:
11313 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11314 CREATE PROCEDURE sp1( )
11315 BEGIN
11316 declare tinyint condition for sqlstate '02000';
11317 declare exit handler for tinyint set @var2 = 1;
11318 END//
11319 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint condition for sqlstate '02000';
11320 declare exit handler for tinyint set ...' at line 3
11321 DROP PROCEDURE IF EXISTS sp1;
11322 Warnings:
11323 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11324 CREATE PROCEDURE sp1( )
11325 BEGIN
11326 declare tinytext condition for sqlstate '02000';
11327 declare exit handler for tinytext set @var2 = 1;
11328 END//
11329 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext condition for sqlstate '02000';
11330 declare exit handler for tinytext se...' at line 3
11331 DROP PROCEDURE IF EXISTS sp1;
11332 Warnings:
11333 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11334 CREATE PROCEDURE sp1( )
11335 BEGIN
11336 declare to condition for sqlstate '02000';
11337 declare exit handler for to set @var2 = 1;
11338 END//
11339 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to condition for sqlstate '02000';
11340 declare exit handler for to set @var2 = 1;...' at line 3
11341 DROP PROCEDURE IF EXISTS sp1;
11342 Warnings:
11343 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11344 CREATE PROCEDURE sp1( )
11345 BEGIN
11346 declare trailing condition for sqlstate '02000';
11347 declare exit handler for trailing set @var2 = 1;
11348 END//
11349 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trailing condition for sqlstate '02000';
11350 declare exit handler for trailing se...' at line 3
11351 DROP PROCEDURE IF EXISTS sp1;
11352 Warnings:
11353 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11354 CREATE PROCEDURE sp1( )
11355 BEGIN
11356 declare trigger condition for sqlstate '02000';
11357 declare exit handler for trigger set @var2 = 1;
11358 END//
11359 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trigger condition for sqlstate '02000';
11360 declare exit handler for trigger set ...' at line 3
11361 DROP PROCEDURE IF EXISTS sp1;
11362 Warnings:
11363 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11364 CREATE PROCEDURE sp1( )
11365 BEGIN
11366 declare true condition for sqlstate '02000';
11367 declare exit handler for true set @var2 = 1;
11368 END//
11369 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'true condition for sqlstate '02000';
11370 declare exit handler for true set @var2 ...' at line 3
11371 DROP PROCEDURE IF EXISTS sp1;
11372 Warnings:
11373 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11374 CREATE PROCEDURE sp1( )
11375 BEGIN
11376 declare undo condition for sqlstate '02000';
11377 declare exit handler for undo set @var2 = 1;
11378 END//
11379 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo condition for sqlstate '02000';
11380 declare exit handler for undo set @var2 ...' at line 3
11381 DROP PROCEDURE IF EXISTS sp1;
11382 Warnings:
11383 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11384 CREATE PROCEDURE sp1( )
11385 BEGIN
11386 declare union condition for sqlstate '02000';
11387 declare exit handler for union set @var2 = 1;
11388 END//
11389 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'union condition for sqlstate '02000';
11390 declare exit handler for union set @var...' at line 3
11391 DROP PROCEDURE IF EXISTS sp1;
11392 Warnings:
11393 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11394 CREATE PROCEDURE sp1( )
11395 BEGIN
11396 declare unique condition for sqlstate '02000';
11397 declare exit handler for unique set @var2 = 1;
11398 END//
11399 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unique condition for sqlstate '02000';
11400 declare exit handler for unique set @v...' at line 3
11401 DROP PROCEDURE IF EXISTS sp1;
11402 Warnings:
11403 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11404 CREATE PROCEDURE sp1( )
11405 BEGIN
11406 declare unlock condition for sqlstate '02000';
11407 declare exit handler for unlock set @var2 = 1;
11408 END//
11409 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unlock condition for sqlstate '02000';
11410 declare exit handler for unlock set @v...' at line 3
11411 DROP PROCEDURE IF EXISTS sp1;
11412 Warnings:
11413 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11414 CREATE PROCEDURE sp1( )
11415 BEGIN
11416 declare unsigned condition for sqlstate '02000';
11417 declare exit handler for unsigned set @var2 = 1;
11418 END//
11419 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unsigned condition for sqlstate '02000';
11420 declare exit handler for unsigned se...' at line 3
11421 DROP PROCEDURE IF EXISTS sp1;
11422 Warnings:
11423 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11424 CREATE PROCEDURE sp1( )
11425 BEGIN
11426 declare update condition for sqlstate '02000';
11427 declare exit handler for update set @var2 = 1;
11428 END//
11429 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'update condition for sqlstate '02000';
11430 declare exit handler for update set @v...' at line 3
11431 DROP PROCEDURE IF EXISTS sp1;
11432 Warnings:
11433 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11434 CREATE PROCEDURE sp1( )
11435 BEGIN
11436 declare usage condition for sqlstate '02000';
11437 declare exit handler for usage set @var2 = 1;
11438 END//
11439 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'usage condition for sqlstate '02000';
11440 declare exit handler for usage set @var...' at line 3
11441 DROP PROCEDURE IF EXISTS sp1;
11442 Warnings:
11443 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11444 CREATE PROCEDURE sp1( )
11445 BEGIN
11446 declare use condition for sqlstate '02000';
11447 declare exit handler for USE set @var2 = 1;
11448 END//
11449 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'use condition for sqlstate '02000';
11450 declare exit handler for USE set @var2 = ...' at line 3
11451 DROP PROCEDURE IF EXISTS sp1;
11452 Warnings:
11453 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11454 CREATE PROCEDURE sp1( )
11455 BEGIN
11456 declare using condition for sqlstate '02000';
11457 declare exit handler for using set @var2 = 1;
11458 END//
11459 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'using condition for sqlstate '02000';
11460 declare exit handler for using set @var...' at line 3
11461 DROP PROCEDURE IF EXISTS sp1;
11462 Warnings:
11463 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11464 CREATE PROCEDURE sp1( )
11465 BEGIN
11466 declare utc_date condition for sqlstate '02000';
11467 declare exit handler for utc_date set @var2 = 1;
11468 END//
11469 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
11470 declare exit handler for utc_date se...' at line 3
11471 DROP PROCEDURE IF EXISTS sp1;
11472 Warnings:
11473 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11474 CREATE PROCEDURE sp1( )
11475 BEGIN
11476 declare utc_time condition for sqlstate '02000';
11477 declare exit handler for utc_time set @var2 = 1;
11478 END//
11479 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time condition for sqlstate '02000';
11480 declare exit handler for utc_time se...' at line 3
11481 DROP PROCEDURE IF EXISTS sp1;
11482 Warnings:
11483 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11484 CREATE PROCEDURE sp1( )
11485 BEGIN
11486 declare utc_timestamp condition for sqlstate '02000';
11487 declare exit handler for utc_timestamp set @var2 = 1;
11488 END//
11489 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000';
11490 declare exit handler for utc_ti...' at line 3
11491 DROP PROCEDURE IF EXISTS sp1;
11492 Warnings:
11493 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11494 CREATE PROCEDURE sp1( )
11495 BEGIN
11496 declare values condition for sqlstate '02000';
11497 declare exit handler for values set @var2 = 1;
11498 END//
11499 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'values condition for sqlstate '02000';
11500 declare exit handler for values set @v...' at line 3
11501 DROP PROCEDURE IF EXISTS sp1;
11502 Warnings:
11503 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11504 CREATE PROCEDURE sp1( )
11505 BEGIN
11506 declare varbinary condition for sqlstate '02000';
11507 declare exit handler for varbinary set @var2 = 1;
11508 END//
11509 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varbinary condition for sqlstate '02000';
11510 declare exit handler for varbinary ...' at line 3
11511 DROP PROCEDURE IF EXISTS sp1;
11512 Warnings:
11513 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11514 CREATE PROCEDURE sp1( )
11515 BEGIN
11516 declare varchar condition for sqlstate '02000';
11517 declare exit handler for varchar set @var2 = 1;
11518 END//
11519 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar condition for sqlstate '02000';
11520 declare exit handler for varchar set ...' at line 3
11521 DROP PROCEDURE IF EXISTS sp1;
11522 Warnings:
11523 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11524 CREATE PROCEDURE sp1( )
11525 BEGIN
11526 declare varcharacter condition for sqlstate '02000';
11527 declare exit handler for varcharacter set @var2 = 1;
11528 END//
11529 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varcharacter condition for sqlstate '02000';
11530 declare exit handler for varchar...' at line 3
11531 DROP PROCEDURE IF EXISTS sp1;
11532 Warnings:
11533 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11534 CREATE PROCEDURE sp1( )
11535 BEGIN
11536 declare varying condition for sqlstate '02000';
11537 declare exit handler for varying set @var2 = 1;
11538 END//
11539 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varying condition for sqlstate '02000';
11540 declare exit handler for varying set ...' at line 3
11541 DROP PROCEDURE IF EXISTS sp1;
11542 Warnings:
11543 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11544 CREATE PROCEDURE sp1( )
11545 BEGIN
11546 declare when condition for sqlstate '02000';
11547 declare exit handler for when set @var2 = 1;
11548 END//
11549 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when condition for sqlstate '02000';
11550 declare exit handler for when set @var2 ...' at line 3
11551 DROP PROCEDURE IF EXISTS sp1;
11552 Warnings:
11553 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11554 CREATE PROCEDURE sp1( )
11555 BEGIN
11556 declare where condition for sqlstate '02000';
11557 declare exit handler for where set @var2 = 1;
11558 END//
11559 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where condition for sqlstate '02000';
11560 declare exit handler for where set @var...' at line 3
11561 DROP PROCEDURE IF EXISTS sp1;
11562 Warnings:
11563 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11564 CREATE PROCEDURE sp1( )
11565 BEGIN
11566 declare while condition for sqlstate '02000';
11567 declare exit handler for while set @var2 = 1;
11568 END//
11569 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while condition for sqlstate '02000';
11570 declare exit handler for while set @var...' at line 3
11571 DROP PROCEDURE IF EXISTS sp1;
11572 Warnings:
11573 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11574 CREATE PROCEDURE sp1( )
11575 BEGIN
11576 declare with condition for sqlstate '02000';
11577 declare exit handler for with set @var2 = 1;
11578 END//
11579 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with condition for sqlstate '02000';
11580 declare exit handler for with set @var2 ...' at line 3
11581 DROP PROCEDURE IF EXISTS sp1;
11582 Warnings:
11583 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11584 CREATE PROCEDURE sp1( )
11585 BEGIN
11586 declare write condition for sqlstate '02000';
11587 declare exit handler for write set @var2 = 1;
11588 END//
11589 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'write condition for sqlstate '02000';
11590 declare exit handler for write set @var...' at line 3
11591 DROP PROCEDURE IF EXISTS sp1;
11592 Warnings:
11593 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11594 CREATE PROCEDURE sp1( )
11595 BEGIN
11596 declare xor condition for sqlstate '02000';
11597 declare exit handler for xor set @var2 = 1;
11598 END//
11599 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'xor condition for sqlstate '02000';
11600 declare exit handler for xor set @var2 = ...' at line 3
11601 DROP PROCEDURE IF EXISTS sp1;
11602 Warnings:
11603 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11604 CREATE PROCEDURE sp1( )
11605 BEGIN
11606 declare year_month condition for sqlstate '02000';
11607 declare exit handler for year_month set @var2 = 1;
11608 END//
11609 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year_month condition for sqlstate '02000';
11610 declare exit handler for year_mont...' at line 3
11611 DROP PROCEDURE IF EXISTS sp1;
11612 Warnings:
11613 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11614 CREATE PROCEDURE sp1( )
11615 BEGIN
11616 declare zerofill condition for sqlstate '02000';
11617 declare exit handler for zerofill set @var2 = 1;
11618 END//
11619 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zerofill condition for sqlstate '02000';
11620 declare exit handler for zerofill se...' at line 3
11621
11622 Testcase :
11623 ----------
11624 Ensure that every possible type of handler may be declared for
11625 a stored procedure (continue- handler_type ).
11626 --------------------------------------------------------------------------------
11627 DROP PROCEDURE IF EXISTS sp1;
11628 Warnings:
11629 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11630 CREATE PROCEDURE sp1()
11631 BEGIN
11632 declare continue handler for sqlstate '23000' set @x2 = 1;
11633 set @x = 1;
11634 insert into t2(f1) values (1);
11635 set @x = 2;
11636 insert into t2(f1) values (1);
11637 set @x = 3;
11638 END//
11639 CALL sp1();
11640 DROP PROCEDURE sp1;
11641 DROP PROCEDURE IF EXISTS handler1;
11642 Warnings:
11643 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11644 CREATE PROCEDURE handler1()
11645 BEGIN
11646 declare undo handler for sqlstate '23000' set @x2 = 1;
11647 set @x = 1;
11648 insert into t values (1);
11649 set @x = 2;
11650 insert into t values (1);
11651 set @x = 3;
11652 END//
11653 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
11654 set @x = 1;
11655 insert into t valu...' at line 3
11656 DROP PROCEDURE IF EXISTS handler1;
11657 Warnings:
11658 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11659 CREATE PROCEDURE handler1()
11660 BEGIN
11661 declare continueinv handler for sqlstate '2300' set @x2 = 1;
11662 set @x = 1;
11663 insert into t values (1);
11664 set @x = 2;
11665 insert into t values (1);
11666 set @x = 3;
11667 END//
11668 ERROR HY000: Unknown data type: 'handler'
11669 DROP PROCEDURE IF EXISTS handler1;
11670 Warnings:
11671 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11672 CREATE PROCEDURE handler1()
11673 BEGIN
11674 declare undoinv handler for sqlstate '2300' set @x2 = 1;
11675 set @x = 1;
11676 insert into t values (1);
11677 set @x = 2;
11678 insert into t values (1);
11679 set @x = 3;
11680 END//
11681 ERROR HY000: Unknown data type: 'handler'
11682 DROP PROCEDURE IF EXISTS handler1;
11683 Warnings:
11684 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
11685 CREATE PROCEDURE handler1 ()
11686 BEGIN
11687 declare exitinv handler for sqlstate '2300' set @x2 = 1;
11688 set @x = 1;
11689 insert into t values (1);
11690 set @x = 2;
11691 insert into t values (1);
11692 set @x = 3;
11693 END//
11694 ERROR HY000: Unknown data type: 'handler'
11695 DROP PROCEDURE IF EXISTS sp1;
11696 Warnings:
11697 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11698 CREATE PROCEDURE sp1( )
11699 BEGIN
11700 declare accessible handler for sqlstate '02000' set @var2 = 1;
11701 END//
11702 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1;
11703 END' at line 3
11704 DROP PROCEDURE IF EXISTS sp1;
11705 Warnings:
11706 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11707 CREATE PROCEDURE sp1( )
11708 BEGIN
11709 declare add handler for sqlstate '02000' set @var2 = 1;
11710 END//
11711 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1;
11712 END' at line 3
11713 DROP PROCEDURE IF EXISTS sp1;
11714 Warnings:
11715 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11716 CREATE PROCEDURE sp1( )
11717 BEGIN
11718 declare all handler for sqlstate '02000' set @var2 = 1;
11719 END//
11720 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1;
11721 END' at line 3
11722 DROP PROCEDURE IF EXISTS sp1;
11723 Warnings:
11724 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11725 CREATE PROCEDURE sp1( )
11726 BEGIN
11727 declare alter handler for sqlstate '02000' set @var2 = 1;
11728 END//
11729 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1;
11730 END' at line 3
11731 DROP PROCEDURE IF EXISTS sp1;
11732 Warnings:
11733 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11734 CREATE PROCEDURE sp1( )
11735 BEGIN
11736 declare analyze handler for sqlstate '02000' set @var2 = 1;
11737 END//
11738 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1;
11739 END' at line 3
11740 DROP PROCEDURE IF EXISTS sp1;
11741 Warnings:
11742 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11743 CREATE PROCEDURE sp1( )
11744 BEGIN
11745 declare and handler for sqlstate '02000' set @var2 = 1;
11746 END//
11747 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1;
11748 END' at line 3
11749 DROP PROCEDURE IF EXISTS sp1;
11750 Warnings:
11751 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11752 CREATE PROCEDURE sp1( )
11753 BEGIN
11754 declare as handler for sqlstate '02000' set @var2 = 1;
11755 END//
11756 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1;
11757 END' at line 3
11758 DROP PROCEDURE IF EXISTS sp1;
11759 Warnings:
11760 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11761 CREATE PROCEDURE sp1( )
11762 BEGIN
11763 declare asc handler for sqlstate '02000' set @var2 = 1;
11764 END//
11765 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1;
11766 END' 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 asensitive handler for sqlstate '02000' set @var2 = 1;
11773 END//
11774 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1;
11775 END' at line 3
11776 DROP PROCEDURE IF EXISTS sp1;
11777 Warnings:
11778 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11779 CREATE PROCEDURE sp1( )
11780 BEGIN
11781 declare before handler for sqlstate '02000' set @var2 = 1;
11782 END//
11783 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1;
11784 END' at line 3
11785 DROP PROCEDURE IF EXISTS sp1;
11786 Warnings:
11787 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11788 CREATE PROCEDURE sp1( )
11789 BEGIN
11790 declare between handler for sqlstate '02000' set @var2 = 1;
11791 END//
11792 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1;
11793 END' at line 3
11794 DROP PROCEDURE IF EXISTS sp1;
11795 Warnings:
11796 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11797 CREATE PROCEDURE sp1( )
11798 BEGIN
11799 declare bigint handler for sqlstate '02000' set @var2 = 1;
11800 END//
11801 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1;
11802 END' at line 3
11803 DROP PROCEDURE IF EXISTS sp1;
11804 Warnings:
11805 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11806 CREATE PROCEDURE sp1( )
11807 BEGIN
11808 declare binary handler for sqlstate '02000' set @var2 = 1;
11809 END//
11810 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1;
11811 END' at line 3
11812 DROP PROCEDURE IF EXISTS sp1;
11813 Warnings:
11814 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11815 CREATE PROCEDURE sp1( )
11816 BEGIN
11817 declare blob handler for sqlstate '02000' set @var2 = 1;
11818 END//
11819 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1;
11820 END' at line 3
11821 DROP PROCEDURE IF EXISTS sp1;
11822 Warnings:
11823 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11824 CREATE PROCEDURE sp1( )
11825 BEGIN
11826 declare both handler for sqlstate '02000' set @var2 = 1;
11827 END//
11828 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1;
11829 END' at line 3
11830 DROP PROCEDURE IF EXISTS sp1;
11831 Warnings:
11832 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11833 CREATE PROCEDURE sp1( )
11834 BEGIN
11835 declare by handler for sqlstate '02000' set @var2 = 1;
11836 END//
11837 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1;
11838 END' at line 3
11839 DROP PROCEDURE IF EXISTS sp1;
11840 Warnings:
11841 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11842 CREATE PROCEDURE sp1( )
11843 BEGIN
11844 declare call handler for sqlstate '02000' set @var2 = 1;
11845 END//
11846 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'call handler for sqlstate '02000' set @var2 = 1;
11847 END' at line 3
11848 DROP PROCEDURE IF EXISTS sp1;
11849 Warnings:
11850 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11851 CREATE PROCEDURE sp1( )
11852 BEGIN
11853 declare cascade handler for sqlstate '02000' set @var2 = 1;
11854 END//
11855 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1;
11856 END' 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 case handler for sqlstate '02000' set @var2 = 1;
11863 END//
11864 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1;
11865 END' at line 3
11866 DROP PROCEDURE IF EXISTS sp1;
11867 Warnings:
11868 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11869 CREATE PROCEDURE sp1( )
11870 BEGIN
11871 declare change handler for sqlstate '02000' set @var2 = 1;
11872 END//
11873 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1;
11874 END' at line 3
11875 DROP PROCEDURE IF EXISTS sp1;
11876 Warnings:
11877 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11878 CREATE PROCEDURE sp1( )
11879 BEGIN
11880 declare char handler for sqlstate '02000' set @var2 = 1;
11881 END//
11882 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1;
11883 END' at line 3
11884 DROP PROCEDURE IF EXISTS sp1;
11885 Warnings:
11886 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11887 CREATE PROCEDURE sp1( )
11888 BEGIN
11889 declare character handler for sqlstate '02000' set @var2 = 1;
11890 END//
11891 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1;
11892 END' at line 3
11893 DROP PROCEDURE IF EXISTS sp1;
11894 Warnings:
11895 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11896 CREATE PROCEDURE sp1( )
11897 BEGIN
11898 declare check handler for sqlstate '02000' set @var2 = 1;
11899 END//
11900 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1;
11901 END' at line 3
11902 DROP PROCEDURE IF EXISTS sp1;
11903 Warnings:
11904 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11905 CREATE PROCEDURE sp1( )
11906 BEGIN
11907 declare collate handler for sqlstate '02000' set @var2 = 1;
11908 END//
11909 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1;
11910 END' at line 3
11911 DROP PROCEDURE IF EXISTS sp1;
11912 Warnings:
11913 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11914 CREATE PROCEDURE sp1( )
11915 BEGIN
11916 declare column handler for sqlstate '02000' set @var2 = 1;
11917 END//
11918 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1;
11919 END' at line 3
11920 DROP PROCEDURE IF EXISTS sp1;
11921 Warnings:
11922 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11923 CREATE PROCEDURE sp1( )
11924 BEGIN
11925 declare condition handler for sqlstate '02000' set @var2 = 1;
11926 END//
11927 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1;
11928 END' at line 3
11929 DROP PROCEDURE IF EXISTS sp1;
11930 Warnings:
11931 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11932 CREATE PROCEDURE sp1( )
11933 BEGIN
11934 declare constraint handler for sqlstate '02000' set @var2 = 1;
11935 END//
11936 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1;
11937 END' at line 3
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 '02000' set @var2 = 1;
11944 END//
11945 DROP PROCEDURE IF EXISTS sp1;
11946 CREATE PROCEDURE sp1( )
11947 BEGIN
11948 declare convert handler for sqlstate '02000' set @var2 = 1;
11949 END//
11950 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1;
11951 END' at line 3
11952 DROP PROCEDURE IF EXISTS sp1;
11953 Warnings:
11954 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11955 CREATE PROCEDURE sp1( )
11956 BEGIN
11957 declare create handler for sqlstate '02000' set @var2 = 1;
11958 END//
11959 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1;
11960 END' at line 3
11961 DROP PROCEDURE IF EXISTS sp1;
11962 Warnings:
11963 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11964 CREATE PROCEDURE sp1( )
11965 BEGIN
11966 declare cross handler for sqlstate '02000' set @var2 = 1;
11967 END//
11968 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1;
11969 END' at line 3
11970 DROP PROCEDURE IF EXISTS sp1;
11971 Warnings:
11972 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11973 CREATE PROCEDURE sp1( )
11974 BEGIN
11975 declare current_date handler for sqlstate '02000' set @var2 = 1;
11976 END//
11977 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1;
11978 END' at line 3
11979 DROP PROCEDURE IF EXISTS sp1;
11980 Warnings:
11981 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11982 CREATE PROCEDURE sp1( )
11983 BEGIN
11984 declare current_time handler for sqlstate '02000' set @var2 = 1;
11985 END//
11986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1;
11987 END' at line 3
11988 DROP PROCEDURE IF EXISTS sp1;
11989 Warnings:
11990 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
11991 CREATE PROCEDURE sp1( )
11992 BEGIN
11993 declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
11994 END//
11995 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
11996 END' at line 3
11997 DROP PROCEDURE IF EXISTS sp1;
11998 Warnings:
11999 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12000 CREATE PROCEDURE sp1( )
12001 BEGIN
12002 declare current_user handler for sqlstate '02000' set @var2 = 1;
12003 END//
12004 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1;
12005 END' at line 3
12006 DROP PROCEDURE IF EXISTS sp1;
12007 Warnings:
12008 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12009 CREATE PROCEDURE sp1( )
12010 BEGIN
12011 declare cursor handler for sqlstate '02000' set @var2 = 1;
12012 END//
12013 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1;
12014 END' 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 database handler for sqlstate '02000' set @var2 = 1;
12021 END//
12022 ERROR HY000: Unknown data type: 'handler'
12023 DROP PROCEDURE IF EXISTS sp1;
12024 Warnings:
12025 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12026 CREATE PROCEDURE sp1( )
12027 BEGIN
12028 declare databases handler for sqlstate '02000' set @var2 = 1;
12029 END//
12030 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1;
12031 END' at line 3
12032 DROP PROCEDURE IF EXISTS sp1;
12033 Warnings:
12034 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12035 CREATE PROCEDURE sp1( )
12036 BEGIN
12037 declare day_hour handler for sqlstate '02000' set @var2 = 1;
12038 END//
12039 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1;
12040 END' at line 3
12041 DROP PROCEDURE IF EXISTS sp1;
12042 Warnings:
12043 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12044 CREATE PROCEDURE sp1( )
12045 BEGIN
12046 declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
12047 END//
12048 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
12049 END' at line 3
12050 DROP PROCEDURE IF EXISTS sp1;
12051 Warnings:
12052 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12053 CREATE PROCEDURE sp1( )
12054 BEGIN
12055 declare day_minute handler for sqlstate '02000' set @var2 = 1;
12056 END//
12057 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1;
12058 END' at line 3
12059 DROP PROCEDURE IF EXISTS sp1;
12060 Warnings:
12061 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12062 CREATE PROCEDURE sp1( )
12063 BEGIN
12064 declare day_second handler for sqlstate '02000' set @var2 = 1;
12065 END//
12066 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1;
12067 END' at line 3
12068 DROP PROCEDURE IF EXISTS sp1;
12069 Warnings:
12070 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12071 CREATE PROCEDURE sp1( )
12072 BEGIN
12073 declare dec handler for sqlstate '02000' set @var2 = 1;
12074 END//
12075 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1;
12076 END' at line 3
12077 DROP PROCEDURE IF EXISTS sp1;
12078 Warnings:
12079 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12080 CREATE PROCEDURE sp1( )
12081 BEGIN
12082 declare decimal handler for sqlstate '02000' set @var2 = 1;
12083 END//
12084 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1;
12085 END' at line 3
12086 DROP PROCEDURE IF EXISTS sp1;
12087 Warnings:
12088 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12089 CREATE PROCEDURE sp1( )
12090 BEGIN
12091 declare declare handler for sqlstate '02000' set @var2 = 1;
12092 END//
12093 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1;
12094 END' at line 3
12095 DROP PROCEDURE IF EXISTS sp1;
12096 Warnings:
12097 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12098 CREATE PROCEDURE sp1( )
12099 BEGIN
12100 declare default handler for sqlstate '02000' set @var2 = 1;
12101 END//
12102 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1;
12103 END' at line 3
12104 DROP PROCEDURE IF EXISTS sp1;
12105 Warnings:
12106 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12107 CREATE PROCEDURE sp1( )
12108 BEGIN
12109 declare delayed handler for sqlstate '02000' set @var2 = 1;
12110 END//
12111 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1;
12112 END' at line 3
12113 DROP PROCEDURE IF EXISTS sp1;
12114 Warnings:
12115 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12116 CREATE PROCEDURE sp1( )
12117 BEGIN
12118 declare delete handler for sqlstate '02000' set @var2 = 1;
12119 END//
12120 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1;
12121 END' at line 3
12122 DROP PROCEDURE IF EXISTS sp1;
12123 Warnings:
12124 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12125 CREATE PROCEDURE sp1( )
12126 BEGIN
12127 declare desc handler for sqlstate '02000' set @var2 = 1;
12128 END//
12129 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1;
12130 END' at line 3
12131 DROP PROCEDURE IF EXISTS sp1;
12132 Warnings:
12133 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12134 CREATE PROCEDURE sp1( )
12135 BEGIN
12136 declare describe handler for sqlstate '02000' set @var2 = 1;
12137 END//
12138 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1;
12139 END' at line 3
12140 DROP PROCEDURE IF EXISTS sp1;
12141 Warnings:
12142 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12143 CREATE PROCEDURE sp1( )
12144 BEGIN
12145 declare deterministic handler for sqlstate '02000' set @var2 = 1;
12146 END//
12147 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1;
12148 END' at line 3
12149 DROP PROCEDURE IF EXISTS sp1;
12150 Warnings:
12151 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12152 CREATE PROCEDURE sp1( )
12153 BEGIN
12154 declare distinct handler for sqlstate '02000' set @var2 = 1;
12155 END//
12156 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1;
12157 END' at line 3
12158 DROP PROCEDURE IF EXISTS sp1;
12159 Warnings:
12160 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12161 CREATE PROCEDURE sp1( )
12162 BEGIN
12163 declare distinctrow handler for sqlstate '02000' set @var2 = 1;
12164 END//
12165 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1;
12166 END' at line 3
12167 DROP PROCEDURE IF EXISTS sp1;
12168 Warnings:
12169 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12170 CREATE PROCEDURE sp1( )
12171 BEGIN
12172 declare div handler for sqlstate '02000' set @var2 = 1;
12173 END//
12174 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1;
12175 END' at line 3
12176 DROP PROCEDURE IF EXISTS sp1;
12177 Warnings:
12178 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12179 CREATE PROCEDURE sp1( )
12180 BEGIN
12181 declare double handler for sqlstate '02000' set @var2 = 1;
12182 END//
12183 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1;
12184 END' at line 3
12185 DROP PROCEDURE IF EXISTS sp1;
12186 Warnings:
12187 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12188 CREATE PROCEDURE sp1( )
12189 BEGIN
12190 declare drop handler for sqlstate '02000' set @var2 = 1;
12191 END//
12192 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1;
12193 END' at line 3
12194 DROP PROCEDURE IF EXISTS sp1;
12195 Warnings:
12196 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12197 CREATE PROCEDURE sp1( )
12198 BEGIN
12199 declare dual handler for sqlstate '02000' set @var2 = 1;
12200 END//
12201 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1;
12202 END' at line 3
12203 DROP PROCEDURE IF EXISTS sp1;
12204 Warnings:
12205 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12206 CREATE PROCEDURE sp1( )
12207 BEGIN
12208 declare each handler for sqlstate '02000' set @var2 = 1;
12209 END//
12210 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1;
12211 END' at line 3
12212 DROP PROCEDURE IF EXISTS sp1;
12213 Warnings:
12214 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12215 CREATE PROCEDURE sp1( )
12216 BEGIN
12217 declare else handler for sqlstate '02000' set @var2 = 1;
12218 END//
12219 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1;
12220 END' at line 3
12221 DROP PROCEDURE IF EXISTS sp1;
12222 Warnings:
12223 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12224 CREATE PROCEDURE sp1( )
12225 BEGIN
12226 declare elseif handler for sqlstate '02000' set @var2 = 1;
12227 END//
12228 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1;
12229 END' at line 3
12230 DROP PROCEDURE IF EXISTS sp1;
12231 Warnings:
12232 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12233 CREATE PROCEDURE sp1( )
12234 BEGIN
12235 declare enclosed handler for sqlstate '02000' set @var2 = 1;
12236 END//
12237 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1;
12238 END' at line 3
12239 DROP PROCEDURE IF EXISTS sp1;
12240 Warnings:
12241 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12242 CREATE PROCEDURE sp1( )
12243 BEGIN
12244 declare escaped handler for sqlstate '02000' set @var2 = 1;
12245 END//
12246 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1;
12247 END' at line 3
12248 DROP PROCEDURE IF EXISTS sp1;
12249 Warnings:
12250 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12251 CREATE PROCEDURE sp1( )
12252 BEGIN
12253 declare exists handler for sqlstate '02000' set @var2 = 1;
12254 END//
12255 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1;
12256 END' at line 3
12257 DROP PROCEDURE IF EXISTS sp1;
12258 Warnings:
12259 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12260 CREATE PROCEDURE sp1( )
12261 BEGIN
12262 declare exit handler for sqlstate '02000' set @var2 = 1;
12263 END//
12264 DROP PROCEDURE IF EXISTS sp1;
12265 CREATE PROCEDURE sp1( )
12266 BEGIN
12267 declare explain handler for sqlstate '02000' set @var2 = 1;
12268 END//
12269 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1;
12270 END' at line 3
12271 DROP PROCEDURE IF EXISTS sp1;
12272 Warnings:
12273 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12274 CREATE PROCEDURE sp1( )
12275 BEGIN
12276 declare false handler for sqlstate '02000' set @var2 = 1;
12277 END//
12278 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1;
12279 END' at line 3
12280 DROP PROCEDURE IF EXISTS sp1;
12281 Warnings:
12282 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12283 CREATE PROCEDURE sp1( )
12284 BEGIN
12285 declare fetch handler for sqlstate '02000' set @var2 = 1;
12286 END//
12287 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1;
12288 END' at line 3
12289 DROP PROCEDURE IF EXISTS sp1;
12290 Warnings:
12291 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12292 CREATE PROCEDURE sp1( )
12293 BEGIN
12294 declare float handler for sqlstate '02000' set @var2 = 1;
12295 END//
12296 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1;
12297 END' at line 3
12298 DROP PROCEDURE IF EXISTS sp1;
12299 Warnings:
12300 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12301 CREATE PROCEDURE sp1( )
12302 BEGIN
12303 declare float4 handler for sqlstate '02000' set @var2 = 1;
12304 END//
12305 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float4 handler for sqlstate '02000' set @var2 = 1;
12306 END' at line 3
12307 DROP PROCEDURE IF EXISTS sp1;
12308 Warnings:
12309 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12310 CREATE PROCEDURE sp1( )
12311 BEGIN
12312 declare float8 handler for sqlstate '02000' set @var2 = 1;
12313 END//
12314 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'float8 handler for sqlstate '02000' set @var2 = 1;
12315 END' at line 3
12316 DROP PROCEDURE IF EXISTS sp1;
12317 Warnings:
12318 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12319 CREATE PROCEDURE sp1( )
12320 BEGIN
12321 declare for handler for sqlstate '02000' set @var2 = 1;
12322 END//
12323 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1;
12324 END' at line 3
12325 DROP PROCEDURE IF EXISTS sp1;
12326 Warnings:
12327 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12328 CREATE PROCEDURE sp1( )
12329 BEGIN
12330 declare force handler for sqlstate '02000' set @var2 = 1;
12331 END//
12332 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1;
12333 END' at line 3
12334 DROP PROCEDURE IF EXISTS sp1;
12335 Warnings:
12336 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12337 CREATE PROCEDURE sp1( )
12338 BEGIN
12339 declare foreign handler for sqlstate '02000' set @var2 = 1;
12340 END//
12341 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1;
12342 END' at line 3
12343 DROP PROCEDURE IF EXISTS sp1;
12344 Warnings:
12345 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12346 CREATE PROCEDURE sp1( )
12347 BEGIN
12348 declare from handler for sqlstate '02000' set @var2 = 1;
12349 END//
12350 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1;
12351 END' at line 3
12352 DROP PROCEDURE IF EXISTS sp1;
12353 Warnings:
12354 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12355 CREATE PROCEDURE sp1( )
12356 BEGIN
12357 declare fulltext handler for sqlstate '02000' set @var2 = 1;
12358 END//
12359 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1;
12360 END' at line 3
12361 DROP PROCEDURE IF EXISTS sp1;
12362 Warnings:
12363 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12364 CREATE PROCEDURE sp1( )
12365 BEGIN
12366 declare grant handler for sqlstate '02000' set @var2 = 1;
12367 END//
12368 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1;
12369 END' at line 3
12370 DROP PROCEDURE IF EXISTS sp1;
12371 Warnings:
12372 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12373 CREATE PROCEDURE sp1( )
12374 BEGIN
12375 declare group handler for sqlstate '02000' set @var2 = 1;
12376 END//
12377 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1;
12378 END' at line 3
12379 DROP PROCEDURE IF EXISTS sp1;
12380 Warnings:
12381 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12382 CREATE PROCEDURE sp1( )
12383 BEGIN
12384 declare having handler for sqlstate '02000' set @var2 = 1;
12385 END//
12386 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1;
12387 END' at line 3
12388 DROP PROCEDURE IF EXISTS sp1;
12389 Warnings:
12390 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12391 CREATE PROCEDURE sp1( )
12392 BEGIN
12393 declare high_priority handler for sqlstate '02000' set @var2 = 1;
12394 END//
12395 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1;
12396 END' at line 3
12397 DROP PROCEDURE IF EXISTS sp1;
12398 Warnings:
12399 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12400 CREATE PROCEDURE sp1( )
12401 BEGIN
12402 declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
12403 END//
12404 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1;
12405 END' at line 3
12406 DROP PROCEDURE IF EXISTS sp1;
12407 Warnings:
12408 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12409 CREATE PROCEDURE sp1( )
12410 BEGIN
12411 declare hour_minute handler for sqlstate '02000' set @var2 = 1;
12412 END//
12413 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1;
12414 END' at line 3
12415 DROP PROCEDURE IF EXISTS sp1;
12416 Warnings:
12417 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12418 CREATE PROCEDURE sp1( )
12419 BEGIN
12420 declare hour_second handler for sqlstate '02000' set @var2 = 1;
12421 END//
12422 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1;
12423 END' at line 3
12424 DROP PROCEDURE IF EXISTS sp1;
12425 Warnings:
12426 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12427 CREATE PROCEDURE sp1( )
12428 BEGIN
12429 declare if handler for sqlstate '02000' set @var2 = 1;
12430 END//
12431 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1;
12432 END' at line 3
12433 DROP PROCEDURE IF EXISTS sp1;
12434 Warnings:
12435 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12436 CREATE PROCEDURE sp1( )
12437 BEGIN
12438 declare ignore handler for sqlstate '02000' set @var2 = 1;
12439 END//
12440 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1;
12441 END' at line 3
12442 DROP PROCEDURE IF EXISTS sp1;
12443 Warnings:
12444 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12445 CREATE PROCEDURE sp1( )
12446 BEGIN
12447 declare in handler for sqlstate '02000' set @var2 = 1;
12448 END//
12449 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1;
12450 END' at line 3
12451 DROP PROCEDURE IF EXISTS sp1;
12452 Warnings:
12453 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12454 CREATE PROCEDURE sp1( )
12455 BEGIN
12456 declare index handler for sqlstate '02000' set @var2 = 1;
12457 END//
12458 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1;
12459 END' at line 3
12460 DROP PROCEDURE IF EXISTS sp1;
12461 Warnings:
12462 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12463 CREATE PROCEDURE sp1( )
12464 BEGIN
12465 declare infile handler for sqlstate '02000' set @var2 = 1;
12466 END//
12467 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1;
12468 END' at line 3
12469 DROP PROCEDURE IF EXISTS sp1;
12470 Warnings:
12471 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12472 CREATE PROCEDURE sp1( )
12473 BEGIN
12474 declare inner handler for sqlstate '02000' set @var2 = 1;
12475 END//
12476 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1;
12477 END' at line 3
12478 DROP PROCEDURE IF EXISTS sp1;
12479 Warnings:
12480 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12481 CREATE PROCEDURE sp1( )
12482 BEGIN
12483 declare inout handler for sqlstate '02000' set @var2 = 1;
12484 END//
12485 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1;
12486 END' at line 3
12487 DROP PROCEDURE IF EXISTS sp1;
12488 Warnings:
12489 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12490 CREATE PROCEDURE sp1( )
12491 BEGIN
12492 declare insensitive handler for sqlstate '02000' set @var2 = 1;
12493 END//
12494 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1;
12495 END' at line 3
12496 DROP PROCEDURE IF EXISTS sp1;
12497 Warnings:
12498 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12499 CREATE PROCEDURE sp1( )
12500 BEGIN
12501 declare insert handler for sqlstate '02000' set @var2 = 1;
12502 END//
12503 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1;
12504 END' at line 3
12505 DROP PROCEDURE IF EXISTS sp1;
12506 Warnings:
12507 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12508 CREATE PROCEDURE sp1( )
12509 BEGIN
12510 declare int handler for sqlstate '02000' set @var2 = 1;
12511 END//
12512 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1;
12513 END' at line 3
12514 DROP PROCEDURE IF EXISTS sp1;
12515 Warnings:
12516 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12517 CREATE PROCEDURE sp1( )
12518 BEGIN
12519 declare int1 handler for sqlstate '02000' set @var2 = 1;
12520 END//
12521 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int1 handler for sqlstate '02000' set @var2 = 1;
12522 END' at line 3
12523 DROP PROCEDURE IF EXISTS sp1;
12524 Warnings:
12525 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12526 CREATE PROCEDURE sp1( )
12527 BEGIN
12528 declare int2 handler for sqlstate '02000' set @var2 = 1;
12529 END//
12530 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int2 handler for sqlstate '02000' set @var2 = 1;
12531 END' at line 3
12532 DROP PROCEDURE IF EXISTS sp1;
12533 Warnings:
12534 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12535 CREATE PROCEDURE sp1( )
12536 BEGIN
12537 declare int3 handler for sqlstate '02000' set @var2 = 1;
12538 END//
12539 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int3 handler for sqlstate '02000' set @var2 = 1;
12540 END' at line 3
12541 DROP PROCEDURE IF EXISTS sp1;
12542 Warnings:
12543 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12544 CREATE PROCEDURE sp1( )
12545 BEGIN
12546 declare int4 handler for sqlstate '02000' set @var2 = 1;
12547 END//
12548 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int4 handler for sqlstate '02000' set @var2 = 1;
12549 END' at line 3
12550 DROP PROCEDURE IF EXISTS sp1;
12551 Warnings:
12552 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12553 CREATE PROCEDURE sp1( )
12554 BEGIN
12555 declare int8 handler for sqlstate '02000' set @var2 = 1;
12556 END//
12557 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'int8 handler for sqlstate '02000' set @var2 = 1;
12558 END' at line 3
12559 DROP PROCEDURE IF EXISTS sp1;
12560 Warnings:
12561 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12562 CREATE PROCEDURE sp1( )
12563 BEGIN
12564 declare integer handler for sqlstate '02000' set @var2 = 1;
12565 END//
12566 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1;
12567 END' at line 3
12568 DROP PROCEDURE IF EXISTS sp1;
12569 Warnings:
12570 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12571 CREATE PROCEDURE sp1( )
12572 BEGIN
12573 declare interval handler for sqlstate '02000' set @var2 = 1;
12574 END//
12575 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1;
12576 END' at line 3
12577 DROP PROCEDURE IF EXISTS sp1;
12578 Warnings:
12579 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12580 CREATE PROCEDURE sp1( )
12581 BEGIN
12582 declare into handler for sqlstate '02000' set @var2 = 1;
12583 END//
12584 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1;
12585 END' at line 3
12586 DROP PROCEDURE IF EXISTS sp1;
12587 Warnings:
12588 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12589 CREATE PROCEDURE sp1( )
12590 BEGIN
12591 declare is handler for sqlstate '02000' set @var2 = 1;
12592 END//
12593 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1;
12594 END' at line 3
12595 DROP PROCEDURE IF EXISTS sp1;
12596 Warnings:
12597 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12598 CREATE PROCEDURE sp1( )
12599 BEGIN
12600 declare iterate handler for sqlstate '02000' set @var2 = 1;
12601 END//
12602 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1;
12603 END' at line 3
12604 DROP PROCEDURE IF EXISTS sp1;
12605 Warnings:
12606 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12607 CREATE PROCEDURE sp1( )
12608 BEGIN
12609 declare join handler for sqlstate '02000' set @var2 = 1;
12610 END//
12611 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1;
12612 END' at line 3
12613 DROP PROCEDURE IF EXISTS sp1;
12614 Warnings:
12615 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12616 CREATE PROCEDURE sp1( )
12617 BEGIN
12618 declare json_table handler for sqlstate '02000' set @var2 = 1;
12619 END//
12620 ERROR HY000: Unknown data type: 'handler'
12621 CREATE PROCEDURE sp1( )
12622 BEGIN
12623 declare key handler for sqlstate '02000' set @var2 = 1;
12624 END//
12625 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
12626 END' at line 3
12627 DROP PROCEDURE IF EXISTS sp1;
12628 Warnings:
12629 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12630 CREATE PROCEDURE sp1( )
12631 BEGIN
12632 declare keys handler for sqlstate '02000' set @var2 = 1;
12633 END//
12634 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1;
12635 END' at line 3
12636 DROP PROCEDURE IF EXISTS sp1;
12637 Warnings:
12638 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12639 CREATE PROCEDURE sp1( )
12640 BEGIN
12641 declare kill handler for sqlstate '02000' set @var2 = 1;
12642 END//
12643 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1;
12644 END' at line 3
12645 DROP PROCEDURE IF EXISTS sp1;
12646 Warnings:
12647 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12648 CREATE PROCEDURE sp1( )
12649 BEGIN
12650 declare leading handler for sqlstate '02000' set @var2 = 1;
12651 END//
12652 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1;
12653 END' at line 3
12654 DROP PROCEDURE IF EXISTS sp1;
12655 Warnings:
12656 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12657 CREATE PROCEDURE sp1( )
12658 BEGIN
12659 declare leave handler for sqlstate '02000' set @var2 = 1;
12660 END//
12661 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1;
12662 END' at line 3
12663 DROP PROCEDURE IF EXISTS sp1;
12664 Warnings:
12665 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12666 CREATE PROCEDURE sp1( )
12667 BEGIN
12668 declare left handler for sqlstate '02000' set @var2 = 1;
12669 END//
12670 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1;
12671 END' at line 3
12672 DROP PROCEDURE IF EXISTS sp1;
12673 Warnings:
12674 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12675 CREATE PROCEDURE sp1( )
12676 BEGIN
12677 declare like handler for sqlstate '02000' set @var2 = 1;
12678 END//
12679 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1;
12680 END' at line 3
12681 DROP PROCEDURE IF EXISTS sp1;
12682 Warnings:
12683 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12684 CREATE PROCEDURE sp1( )
12685 BEGIN
12686 declare limit handler for sqlstate '02000' set @var2 = 1;
12687 END//
12688 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1;
12689 END' at line 3
12690 DROP PROCEDURE IF EXISTS sp1;
12691 Warnings:
12692 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12693 CREATE PROCEDURE sp1( )
12694 BEGIN
12695 declare linear handler for sqlstate '02000' set @var2 = 1;
12696 END//
12697 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'linear handler for sqlstate '02000' set @var2 = 1;
12698 END' at line 3
12699 DROP PROCEDURE IF EXISTS sp1;
12700 Warnings:
12701 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12702 CREATE PROCEDURE sp1( )
12703 BEGIN
12704 declare lines handler for sqlstate '02000' set @var2 = 1;
12705 END//
12706 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1;
12707 END' at line 3
12708 DROP PROCEDURE IF EXISTS sp1;
12709 Warnings:
12710 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12711 CREATE PROCEDURE sp1( )
12712 BEGIN
12713 declare load handler for sqlstate '02000' set @var2 = 1;
12714 END//
12715 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1;
12716 END' at line 3
12717 DROP PROCEDURE IF EXISTS sp1;
12718 Warnings:
12719 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12720 CREATE PROCEDURE sp1( )
12721 BEGIN
12722 declare localtime handler for sqlstate '02000' set @var2 = 1;
12723 END//
12724 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1;
12725 END' at line 3
12726 DROP PROCEDURE IF EXISTS sp1;
12727 Warnings:
12728 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12729 CREATE PROCEDURE sp1( )
12730 BEGIN
12731 declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
12732 END//
12733 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1;
12734 END' at line 3
12735 DROP PROCEDURE IF EXISTS sp1;
12736 Warnings:
12737 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12738 CREATE PROCEDURE sp1( )
12739 BEGIN
12740 declare lock handler for sqlstate '02000' set @var2 = 1;
12741 END//
12742 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1;
12743 END' at line 3
12744 DROP PROCEDURE IF EXISTS sp1;
12745 Warnings:
12746 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12747 CREATE PROCEDURE sp1( )
12748 BEGIN
12749 declare long handler for sqlstate '02000' set @var2 = 1;
12750 END//
12751 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1;
12752 END' at line 3
12753 DROP PROCEDURE IF EXISTS sp1;
12754 Warnings:
12755 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12756 CREATE PROCEDURE sp1( )
12757 BEGIN
12758 declare longblob handler for sqlstate '02000' set @var2 = 1;
12759 END//
12760 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1;
12761 END' at line 3
12762 DROP PROCEDURE IF EXISTS sp1;
12763 Warnings:
12764 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12765 CREATE PROCEDURE sp1( )
12766 BEGIN
12767 declare longtext handler for sqlstate '02000' set @var2 = 1;
12768 END//
12769 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'longtext handler for sqlstate '02000' set @var2 = 1;
12770 END' at line 3
12771 DROP PROCEDURE IF EXISTS sp1;
12772 Warnings:
12773 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12774 CREATE PROCEDURE sp1( )
12775 BEGIN
12776 declare loop handler for sqlstate '02000' set @var2 = 1;
12777 END//
12778 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'loop handler for sqlstate '02000' set @var2 = 1;
12779 END' at line 3
12780 DROP PROCEDURE IF EXISTS sp1;
12781 Warnings:
12782 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12783 CREATE PROCEDURE sp1( )
12784 BEGIN
12785 declare low_priority handler for sqlstate '02000' set @var2 = 1;
12786 END//
12787 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'low_priority handler for sqlstate '02000' set @var2 = 1;
12788 END' at line 3
12789 DROP PROCEDURE IF EXISTS sp1;
12790 Warnings:
12791 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12792 CREATE PROCEDURE sp1( )
12793 BEGIN
12794 declare match handler for sqlstate '02000' set @var2 = 1;
12795 END//
12796 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'match handler for sqlstate '02000' set @var2 = 1;
12797 END' at line 3
12798 DROP PROCEDURE IF EXISTS sp1;
12799 Warnings:
12800 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12801 CREATE PROCEDURE sp1( )
12802 BEGIN
12803 declare mediumblob handler for sqlstate '02000' set @var2 = 1;
12804 END//
12805 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumblob handler for sqlstate '02000' set @var2 = 1;
12806 END' at line 3
12807 DROP PROCEDURE IF EXISTS sp1;
12808 Warnings:
12809 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12810 CREATE PROCEDURE sp1( )
12811 BEGIN
12812 declare mediumint handler for sqlstate '02000' set @var2 = 1;
12813 END//
12814 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumint handler for sqlstate '02000' set @var2 = 1;
12815 END' at line 3
12816 DROP PROCEDURE IF EXISTS sp1;
12817 Warnings:
12818 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12819 CREATE PROCEDURE sp1( )
12820 BEGIN
12821 declare mediumtext handler for sqlstate '02000' set @var2 = 1;
12822 END//
12823 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mediumtext handler for sqlstate '02000' set @var2 = 1;
12824 END' at line 3
12825 DROP PROCEDURE IF EXISTS sp1;
12826 Warnings:
12827 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12828 CREATE PROCEDURE sp1( )
12829 BEGIN
12830 declare middleint handler for sqlstate '02000' set @var2 = 1;
12831 END//
12832 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'middleint handler for sqlstate '02000' set @var2 = 1;
12833 END' at line 3
12834 DROP PROCEDURE IF EXISTS sp1;
12835 Warnings:
12836 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12837 CREATE PROCEDURE sp1( )
12838 BEGIN
12839 declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
12840 END//
12841 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_microsecond handler for sqlstate '02000' set @var2 = 1;
12842 END' at line 3
12843 DROP PROCEDURE IF EXISTS sp1;
12844 Warnings:
12845 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12846 CREATE PROCEDURE sp1( )
12847 BEGIN
12848 declare minute_second handler for sqlstate '02000' set @var2 = 1;
12849 END//
12850 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'minute_second handler for sqlstate '02000' set @var2 = 1;
12851 END' at line 3
12852 DROP PROCEDURE IF EXISTS sp1;
12853 Warnings:
12854 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12855 CREATE PROCEDURE sp1( )
12856 BEGIN
12857 declare mod handler for sqlstate '02000' set @var2 = 1;
12858 END//
12859 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mod handler for sqlstate '02000' set @var2 = 1;
12860 END' at line 3
12861 DROP PROCEDURE IF EXISTS sp1;
12862 Warnings:
12863 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12864 CREATE PROCEDURE sp1( )
12865 BEGIN
12866 declare modifies handler for sqlstate '02000' set @var2 = 1;
12867 END//
12868 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'modifies handler for sqlstate '02000' set @var2 = 1;
12869 END' at line 3
12870 DROP PROCEDURE IF EXISTS sp1;
12871 Warnings:
12872 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12873 CREATE PROCEDURE sp1( )
12874 BEGIN
12875 declare natural handler for sqlstate '02000' set @var2 = 1;
12876 END//
12877 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'natural handler for sqlstate '02000' set @var2 = 1;
12878 END' at line 3
12879 DROP PROCEDURE IF EXISTS sp1;
12880 Warnings:
12881 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12882 CREATE PROCEDURE sp1( )
12883 BEGIN
12884 declare nested handler for sqlstate '02000' set @var2 = 1;
12885 END//
12886 ERROR HY000: Unknown data type: 'handler'
12887 CREATE PROCEDURE sp1( )
12888 BEGIN
12889 declare not handler for sqlstate '02000' set @var2 = 1;
12890 END//
12891 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
12892 END' at line 3
12893 DROP PROCEDURE IF EXISTS sp1;
12894 Warnings:
12895 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12896 CREATE PROCEDURE sp1( )
12897 BEGIN
12898 declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
12899 END//
12900 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
12901 END' at line 3
12902 DROP PROCEDURE IF EXISTS sp1;
12903 Warnings:
12904 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12905 CREATE PROCEDURE sp1( )
12906 BEGIN
12907 declare null handler for sqlstate '02000' set @var2 = 1;
12908 END//
12909 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'null handler for sqlstate '02000' set @var2 = 1;
12910 END' at line 3
12911 DROP PROCEDURE IF EXISTS sp1;
12912 Warnings:
12913 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12914 CREATE PROCEDURE sp1( )
12915 BEGIN
12916 declare numeric handler for sqlstate '02000' set @var2 = 1;
12917 END//
12918 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'numeric handler for sqlstate '02000' set @var2 = 1;
12919 END' at line 3
12920 DROP PROCEDURE IF EXISTS sp1;
12921 Warnings:
12922 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12923 CREATE PROCEDURE sp1( )
12924 BEGIN
12925 declare on handler for sqlstate '02000' set @var2 = 1;
12926 END//
12927 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'on handler for sqlstate '02000' set @var2 = 1;
12928 END' at line 3
12929 DROP PROCEDURE IF EXISTS sp1;
12930 Warnings:
12931 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12932 CREATE PROCEDURE sp1( )
12933 BEGIN
12934 declare optimize handler for sqlstate '02000' set @var2 = 1;
12935 END//
12936 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optimize handler for sqlstate '02000' set @var2 = 1;
12937 END' at line 3
12938 DROP PROCEDURE IF EXISTS sp1;
12939 Warnings:
12940 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12941 CREATE PROCEDURE sp1( )
12942 BEGIN
12943 declare option handler for sqlstate '02000' set @var2 = 1;
12944 END//
12945 ERROR HY000: Unknown data type: 'handler'
12946 DROP PROCEDURE IF EXISTS sp1;
12947 Warnings:
12948 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12949 CREATE PROCEDURE sp1( )
12950 BEGIN
12951 declare optionally handler for sqlstate '02000' set @var2 = 1;
12952 END//
12953 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'optionally handler for sqlstate '02000' set @var2 = 1;
12954 END' at line 3
12955 DROP PROCEDURE IF EXISTS sp1;
12956 Warnings:
12957 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12958 CREATE PROCEDURE sp1( )
12959 BEGIN
12960 declare or handler for sqlstate '02000' set @var2 = 1;
12961 END//
12962 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'or handler for sqlstate '02000' set @var2 = 1;
12963 END' at line 3
12964 DROP PROCEDURE IF EXISTS sp1;
12965 Warnings:
12966 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12967 CREATE PROCEDURE sp1( )
12968 BEGIN
12969 declare order handler for sqlstate '02000' set @var2 = 1;
12970 END//
12971 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'order handler for sqlstate '02000' set @var2 = 1;
12972 END' at line 3
12973 DROP PROCEDURE IF EXISTS sp1;
12974 Warnings:
12975 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12976 CREATE PROCEDURE sp1( )
12977 BEGIN
12978 declare ordinality handler for sqlstate '02000' set @var2 = 1;
12979 END//
12980 ERROR HY000: Unknown data type: 'handler'
12981 CREATE PROCEDURE sp1( )
12982 BEGIN
12983 declare out handler for sqlstate '02000' set @var2 = 1;
12984 END//
12985 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
12986 END' at line 3
12987 DROP PROCEDURE IF EXISTS sp1;
12988 Warnings:
12989 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12990 CREATE PROCEDURE sp1( )
12991 BEGIN
12992 declare outer handler for sqlstate '02000' set @var2 = 1;
12993 END//
12994 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outer handler for sqlstate '02000' set @var2 = 1;
12995 END' at line 3
12996 DROP PROCEDURE IF EXISTS sp1;
12997 Warnings:
12998 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
12999 CREATE PROCEDURE sp1( )
13000 BEGIN
13001 declare outfile handler for sqlstate '02000' set @var2 = 1;
13002 END//
13003 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'outfile handler for sqlstate '02000' set @var2 = 1;
13004 END' at line 3
13005 DROP PROCEDURE IF EXISTS sp1;
13006 Warnings:
13007 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13008 CREATE PROCEDURE sp1( )
13009 BEGIN
13010 declare path handler for sqlstate '02000' set @var2 = 1;
13011 END//
13012 ERROR HY000: Unknown data type: 'handler'
13013 CREATE PROCEDURE sp1( )
13014 BEGIN
13015 declare precision handler for sqlstate '02000' set @var2 = 1;
13016 END//
13017 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
13018 END' at line 3
13019 DROP PROCEDURE IF EXISTS sp1;
13020 Warnings:
13021 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13022 CREATE PROCEDURE sp1( )
13023 BEGIN
13024 declare primary handler for sqlstate '02000' set @var2 = 1;
13025 END//
13026 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'primary handler for sqlstate '02000' set @var2 = 1;
13027 END' at line 3
13028 DROP PROCEDURE IF EXISTS sp1;
13029 Warnings:
13030 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13031 CREATE PROCEDURE sp1( )
13032 BEGIN
13033 declare privileges handler for sqlstate '02000' set @var2 = 1;
13034 END//
13035 ERROR HY000: Unknown data type: 'handler'
13036 DROP PROCEDURE IF EXISTS sp1;
13037 Warnings:
13038 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13039 CREATE PROCEDURE sp1( )
13040 BEGIN
13041 declare procedure handler for sqlstate '02000' set @var2 = 1;
13042 END//
13043 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'procedure handler for sqlstate '02000' set @var2 = 1;
13044 END' at line 3
13045 DROP PROCEDURE IF EXISTS sp1;
13046 Warnings:
13047 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13048 CREATE PROCEDURE sp1( )
13049 BEGIN
13050 declare purge handler for sqlstate '02000' set @var2 = 1;
13051 END//
13052 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'purge handler for sqlstate '02000' set @var2 = 1;
13053 END' at line 3
13054 DROP PROCEDURE IF EXISTS sp1;
13055 Warnings:
13056 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13057 CREATE PROCEDURE sp1( )
13058 BEGIN
13059 declare range handler for sqlstate '02000' set @var2 = 1;
13060 END//
13061 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'range handler for sqlstate '02000' set @var2 = 1;
13062 END' at line 3
13063 DROP PROCEDURE IF EXISTS sp1;
13064 Warnings:
13065 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13066 CREATE PROCEDURE sp1( )
13067 BEGIN
13068 declare read handler for sqlstate '02000' set @var2 = 1;
13069 END//
13070 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read handler for sqlstate '02000' set @var2 = 1;
13071 END' at line 3
13072 DROP PROCEDURE IF EXISTS sp1;
13073 Warnings:
13074 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13075 CREATE PROCEDURE sp1( )
13076 BEGIN
13077 declare reads handler for sqlstate '02000' set @var2 = 1;
13078 END//
13079 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'reads handler for sqlstate '02000' set @var2 = 1;
13080 END' at line 3
13081 DROP PROCEDURE IF EXISTS sp1;
13082 Warnings:
13083 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13084 CREATE PROCEDURE sp1( )
13085 BEGIN
13086 declare read_only handler for sqlstate '02000' set @var2 = 1;
13087 END//
13088 ERROR HY000: Unknown data type: 'handler'
13089 DROP PROCEDURE IF EXISTS sp1;
13090 Warnings:
13091 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13092 CREATE PROCEDURE sp1( )
13093 BEGIN
13094 declare read_write handler for sqlstate '02000' set @var2 = 1;
13095 END//
13096 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'read_write handler for sqlstate '02000' set @var2 = 1;
13097 END' at line 3
13098 DROP PROCEDURE IF EXISTS sp1;
13099 Warnings:
13100 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13101 CREATE PROCEDURE sp1( )
13102 BEGIN
13103 declare real handler for sqlstate '02000' set @var2 = 1;
13104 END//
13105 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'real handler for sqlstate '02000' set @var2 = 1;
13106 END' at line 3
13107 DROP PROCEDURE IF EXISTS sp1;
13108 Warnings:
13109 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13110 CREATE PROCEDURE sp1( )
13111 BEGIN
13112 declare references handler for sqlstate '02000' set @var2 = 1;
13113 END//
13114 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'references handler for sqlstate '02000' set @var2 = 1;
13115 END' at line 3
13116 DROP PROCEDURE IF EXISTS sp1;
13117 Warnings:
13118 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13119 CREATE PROCEDURE sp1( )
13120 BEGIN
13121 declare regexp handler for sqlstate '02000' set @var2 = 1;
13122 END//
13123 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'regexp handler for sqlstate '02000' set @var2 = 1;
13124 END' at line 3
13125 DROP PROCEDURE IF EXISTS sp1;
13126 Warnings:
13127 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13128 CREATE PROCEDURE sp1( )
13129 BEGIN
13130 declare release handler for sqlstate '02000' set @var2 = 1;
13131 END//
13132 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'release handler for sqlstate '02000' set @var2 = 1;
13133 END' at line 3
13134 DROP PROCEDURE IF EXISTS sp1;
13135 Warnings:
13136 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13137 CREATE PROCEDURE sp1( )
13138 BEGIN
13139 declare rename handler for sqlstate '02000' set @var2 = 1;
13140 END//
13141 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rename handler for sqlstate '02000' set @var2 = 1;
13142 END' at line 3
13143 DROP PROCEDURE IF EXISTS sp1;
13144 Warnings:
13145 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13146 CREATE PROCEDURE sp1( )
13147 BEGIN
13148 declare repeat handler for sqlstate '02000' set @var2 = 1;
13149 END//
13150 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'repeat handler for sqlstate '02000' set @var2 = 1;
13151 END' at line 3
13152 DROP PROCEDURE IF EXISTS sp1;
13153 Warnings:
13154 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13155 CREATE PROCEDURE sp1( )
13156 BEGIN
13157 declare replace handler for sqlstate '02000' set @var2 = 1;
13158 END//
13159 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'replace handler for sqlstate '02000' set @var2 = 1;
13160 END' at line 3
13161 DROP PROCEDURE IF EXISTS sp1;
13162 Warnings:
13163 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13164 CREATE PROCEDURE sp1( )
13165 BEGIN
13166 declare require handler for sqlstate '02000' set @var2 = 1;
13167 END//
13168 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'require handler for sqlstate '02000' set @var2 = 1;
13169 END' at line 3
13170 DROP PROCEDURE IF EXISTS sp1;
13171 Warnings:
13172 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13173 CREATE PROCEDURE sp1( )
13174 BEGIN
13175 declare restrict handler for sqlstate '02000' set @var2 = 1;
13176 END//
13177 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'restrict handler for sqlstate '02000' set @var2 = 1;
13178 END' at line 3
13179 DROP PROCEDURE IF EXISTS sp1;
13180 Warnings:
13181 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13182 CREATE PROCEDURE sp1( )
13183 BEGIN
13184 declare return handler for sqlstate '02000' set @var2 = 1;
13185 END//
13186 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'return handler for sqlstate '02000' set @var2 = 1;
13187 END' at line 3
13188 DROP PROCEDURE IF EXISTS sp1;
13189 Warnings:
13190 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13191 CREATE PROCEDURE sp1( )
13192 BEGIN
13193 declare revoke handler for sqlstate '02000' set @var2 = 1;
13194 END//
13195 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'revoke handler for sqlstate '02000' set @var2 = 1;
13196 END' at line 3
13197 DROP PROCEDURE IF EXISTS sp1;
13198 Warnings:
13199 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13200 CREATE PROCEDURE sp1( )
13201 BEGIN
13202 declare right handler for sqlstate '02000' set @var2 = 1;
13203 END//
13204 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'right handler for sqlstate '02000' set @var2 = 1;
13205 END' at line 3
13206 DROP PROCEDURE IF EXISTS sp1;
13207 Warnings:
13208 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13209 CREATE PROCEDURE sp1( )
13210 BEGIN
13211 declare rlike handler for sqlstate '02000' set @var2 = 1;
13212 END//
13213 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rlike handler for sqlstate '02000' set @var2 = 1;
13214 END' at line 3
13215 DROP PROCEDURE IF EXISTS sp1;
13216 Warnings:
13217 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13218 CREATE PROCEDURE sp1( )
13219 BEGIN
13220 declare schema handler for sqlstate '02000' set @var2 = 1;
13221 END//
13222 ERROR HY000: Unknown data type: 'handler'
13223 DROP PROCEDURE IF EXISTS sp1;
13224 Warnings:
13225 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13226 CREATE PROCEDURE sp1( )
13227 BEGIN
13228 declare schemas handler for sqlstate '02000' set @var2 = 1;
13229 END//
13230 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'schemas handler for sqlstate '02000' set @var2 = 1;
13231 END' at line 3
13232 DROP PROCEDURE IF EXISTS sp1;
13233 Warnings:
13234 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13235 CREATE PROCEDURE sp1( )
13236 BEGIN
13237 declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
13238 END//
13239 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'second_microsecond handler for sqlstate '02000' set @var2 = 1;
13240 END' at line 3
13241 DROP PROCEDURE IF EXISTS sp1;
13242 Warnings:
13243 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13244 CREATE PROCEDURE sp1( )
13245 BEGIN
13246 declare select handler for sqlstate '02000' set @var2 = 1;
13247 END//
13248 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'select handler for sqlstate '02000' set @var2 = 1;
13249 END' at line 3
13250 DROP PROCEDURE IF EXISTS sp1;
13251 Warnings:
13252 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13253 CREATE PROCEDURE sp1( )
13254 BEGIN
13255 declare sensitive handler for sqlstate '02000' set @var2 = 1;
13256 END//
13257 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sensitive handler for sqlstate '02000' set @var2 = 1;
13258 END' at line 3
13259 DROP PROCEDURE IF EXISTS sp1;
13260 Warnings:
13261 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13262 CREATE PROCEDURE sp1( )
13263 BEGIN
13264 declare separator handler for sqlstate '02000' set @var2 = 1;
13265 END//
13266 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'separator handler for sqlstate '02000' set @var2 = 1;
13267 END' at line 3
13268 DROP PROCEDURE IF EXISTS sp1;
13269 Warnings:
13270 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13271 CREATE PROCEDURE sp1( )
13272 BEGIN
13273 declare set handler for sqlstate '02000' set @var2 = 1;
13274 END//
13275 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'set handler for sqlstate '02000' set @var2 = 1;
13276 END' at line 3
13277 DROP PROCEDURE IF EXISTS sp1;
13278 Warnings:
13279 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13280 CREATE PROCEDURE sp1( )
13281 BEGIN
13282 declare show handler for sqlstate '02000' set @var2 = 1;
13283 END//
13284 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'show handler for sqlstate '02000' set @var2 = 1;
13285 END' at line 3
13286 DROP PROCEDURE IF EXISTS sp1;
13287 Warnings:
13288 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13289 CREATE PROCEDURE sp1( )
13290 BEGIN
13291 declare smallint handler for sqlstate '02000' set @var2 = 1;
13292 END//
13293 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'smallint handler for sqlstate '02000' set @var2 = 1;
13294 END' at line 3
13295 DROP PROCEDURE IF EXISTS sp1;
13296 Warnings:
13297 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13298 CREATE PROCEDURE sp1( )
13299 BEGIN
13300 declare spatial handler for sqlstate '02000' set @var2 = 1;
13301 END//
13302 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'spatial handler for sqlstate '02000' set @var2 = 1;
13303 END' at line 3
13304 DROP PROCEDURE IF EXISTS sp1;
13305 Warnings:
13306 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13307 CREATE PROCEDURE sp1( )
13308 BEGIN
13309 declare specific handler for sqlstate '02000' set @var2 = 1;
13310 END//
13311 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'specific handler for sqlstate '02000' set @var2 = 1;
13312 END' at line 3
13313 DROP PROCEDURE IF EXISTS sp1;
13314 Warnings:
13315 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13316 CREATE PROCEDURE sp1( )
13317 BEGIN
13318 declare sql handler for sqlstate '02000' set @var2 = 1;
13319 END//
13320 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql handler for sqlstate '02000' set @var2 = 1;
13321 END' at line 3
13322 DROP PROCEDURE IF EXISTS sp1;
13323 Warnings:
13324 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13325 CREATE PROCEDURE sp1( )
13326 BEGIN
13327 declare sqlexception handler for sqlstate '02000' set @var2 = 1;
13328 END//
13329 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlexception handler for sqlstate '02000' set @var2 = 1;
13330 END' at line 3
13331 DROP PROCEDURE IF EXISTS sp1;
13332 Warnings:
13333 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13334 CREATE PROCEDURE sp1( )
13335 BEGIN
13336 declare sqlstate handler for sqlstate '02000' set @var2 = 1;
13337 END//
13338 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlstate handler for sqlstate '02000' set @var2 = 1;
13339 END' at line 3
13340 DROP PROCEDURE IF EXISTS sp1;
13341 Warnings:
13342 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13343 CREATE PROCEDURE sp1( )
13344 BEGIN
13345 declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
13346 END//
13347 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sqlwarning handler for sqlstate '02000' set @var2 = 1;
13348 END' at line 3
13349 DROP PROCEDURE IF EXISTS sp1;
13350 Warnings:
13351 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13352 CREATE PROCEDURE sp1( )
13353 BEGIN
13354 declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
13355 END//
13356 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_big_result handler for sqlstate '02000' set @var2 = 1;
13357 END' at line 3
13358 DROP PROCEDURE IF EXISTS sp1;
13359 Warnings:
13360 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13361 CREATE PROCEDURE sp1( )
13362 BEGIN
13363 declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
13364 END//
13365 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
13366 END' at line 3
13367 DROP PROCEDURE IF EXISTS sp1;
13368 Warnings:
13369 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13370 CREATE PROCEDURE sp1( )
13371 BEGIN
13372 declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
13373 END//
13374 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'sql_small_result handler for sqlstate '02000' set @var2 = 1;
13375 END' at line 3
13376 DROP PROCEDURE IF EXISTS sp1;
13377 Warnings:
13378 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13379 CREATE PROCEDURE sp1( )
13380 BEGIN
13381 declare ssl handler for sqlstate '02000' set @var2 = 1;
13382 END//
13383 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ssl handler for sqlstate '02000' set @var2 = 1;
13384 END' at line 3
13385 DROP PROCEDURE IF EXISTS sp1;
13386 Warnings:
13387 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13388 CREATE PROCEDURE sp1( )
13389 BEGIN
13390 declare starting handler for sqlstate '02000' set @var2 = 1;
13391 END//
13392 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'starting handler for sqlstate '02000' set @var2 = 1;
13393 END' at line 3
13394 DROP PROCEDURE IF EXISTS sp1;
13395 Warnings:
13396 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13397 CREATE PROCEDURE sp1( )
13398 BEGIN
13399 declare straight_join handler for sqlstate '02000' set @var2 = 1;
13400 END//
13401 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'straight_join handler for sqlstate '02000' set @var2 = 1;
13402 END' at line 3
13403 DROP PROCEDURE IF EXISTS sp1;
13404 Warnings:
13405 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13406 CREATE PROCEDURE sp1( )
13407 BEGIN
13408 declare table handler for sqlstate '02000' set @var2 = 1;
13409 END//
13410 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'table handler for sqlstate '02000' set @var2 = 1;
13411 END' at line 3
13412 DROP PROCEDURE IF EXISTS sp1;
13413 Warnings:
13414 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13415 CREATE PROCEDURE sp1( )
13416 BEGIN
13417 declare terminated handler for sqlstate '02000' set @var2 = 1;
13418 END//
13419 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'terminated handler for sqlstate '02000' set @var2 = 1;
13420 END' at line 3
13421 DROP PROCEDURE IF EXISTS sp1;
13422 Warnings:
13423 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13424 CREATE PROCEDURE sp1( )
13425 BEGIN
13426 declare then handler for sqlstate '02000' set @var2 = 1;
13427 END//
13428 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then handler for sqlstate '02000' set @var2 = 1;
13429 END' at line 3
13430 DROP PROCEDURE IF EXISTS sp1;
13431 Warnings:
13432 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13433 CREATE PROCEDURE sp1( )
13434 BEGIN
13435 declare tinyblob handler for sqlstate '02000' set @var2 = 1;
13436 END//
13437 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyblob handler for sqlstate '02000' set @var2 = 1;
13438 END' at line 3
13439 DROP PROCEDURE IF EXISTS sp1;
13440 Warnings:
13441 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13442 CREATE PROCEDURE sp1( )
13443 BEGIN
13444 declare tinyint handler for sqlstate '02000' set @var2 = 1;
13445 END//
13446 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinyint handler for sqlstate '02000' set @var2 = 1;
13447 END' at line 3
13448 DROP PROCEDURE IF EXISTS sp1;
13449 Warnings:
13450 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13451 CREATE PROCEDURE sp1( )
13452 BEGIN
13453 declare tinytext handler for sqlstate '02000' set @var2 = 1;
13454 END//
13455 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'tinytext handler for sqlstate '02000' set @var2 = 1;
13456 END' at line 3
13457 DROP PROCEDURE IF EXISTS sp1;
13458 Warnings:
13459 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13460 CREATE PROCEDURE sp1( )
13461 BEGIN
13462 declare to handler for sqlstate '02000' set @var2 = 1;
13463 END//
13464 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'to handler for sqlstate '02000' set @var2 = 1;
13465 END' at line 3
13466 DROP PROCEDURE IF EXISTS sp1;
13467 Warnings:
13468 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13469 CREATE PROCEDURE sp1( )
13470 BEGIN
13471 declare trailing handler for sqlstate '02000' set @var2 = 1;
13472 END//
13473 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trailing handler for sqlstate '02000' set @var2 = 1;
13474 END' at line 3
13475 DROP PROCEDURE IF EXISTS sp1;
13476 Warnings:
13477 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13478 CREATE PROCEDURE sp1( )
13479 BEGIN
13480 declare trigger handler for sqlstate '02000' set @var2 = 1;
13481 END//
13482 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'trigger handler for sqlstate '02000' set @var2 = 1;
13483 END' at line 3
13484 DROP PROCEDURE IF EXISTS sp1;
13485 Warnings:
13486 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13487 CREATE PROCEDURE sp1( )
13488 BEGIN
13489 declare true handler for sqlstate '02000' set @var2 = 1;
13490 END//
13491 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'true handler for sqlstate '02000' set @var2 = 1;
13492 END' at line 3
13493 DROP PROCEDURE IF EXISTS sp1;
13494 Warnings:
13495 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13496 CREATE PROCEDURE sp1( )
13497 BEGIN
13498 declare undo handler for sqlstate '02000' set @var2 = 1;
13499 END//
13500 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'undo handler for sqlstate '02000' set @var2 = 1;
13501 END' at line 3
13502 DROP PROCEDURE IF EXISTS sp1;
13503 Warnings:
13504 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13505 CREATE PROCEDURE sp1( )
13506 BEGIN
13507 declare union handler for sqlstate '02000' set @var2 = 1;
13508 END//
13509 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'union handler for sqlstate '02000' set @var2 = 1;
13510 END' at line 3
13511 DROP PROCEDURE IF EXISTS sp1;
13512 Warnings:
13513 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13514 CREATE PROCEDURE sp1( )
13515 BEGIN
13516 declare unique handler for sqlstate '02000' set @var2 = 1;
13517 END//
13518 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unique handler for sqlstate '02000' set @var2 = 1;
13519 END' at line 3
13520 DROP PROCEDURE IF EXISTS sp1;
13521 Warnings:
13522 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13523 CREATE PROCEDURE sp1( )
13524 BEGIN
13525 declare unlock handler for sqlstate '02000' set @var2 = 1;
13526 END//
13527 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unlock handler for sqlstate '02000' set @var2 = 1;
13528 END' at line 3
13529 DROP PROCEDURE IF EXISTS sp1;
13530 Warnings:
13531 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13532 CREATE PROCEDURE sp1( )
13533 BEGIN
13534 declare unsigned handler for sqlstate '02000' set @var2 = 1;
13535 END//
13536 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'unsigned handler for sqlstate '02000' set @var2 = 1;
13537 END' at line 3
13538 DROP PROCEDURE IF EXISTS sp1;
13539 Warnings:
13540 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13541 CREATE PROCEDURE sp1( )
13542 BEGIN
13543 declare update handler for sqlstate '02000' set @var2 = 1;
13544 END//
13545 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'update handler for sqlstate '02000' set @var2 = 1;
13546 END' at line 3
13547 DROP PROCEDURE IF EXISTS sp1;
13548 Warnings:
13549 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13550 CREATE PROCEDURE sp1( )
13551 BEGIN
13552 declare usage handler for sqlstate '02000' set @var2 = 1;
13553 END//
13554 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'usage handler for sqlstate '02000' set @var2 = 1;
13555 END' at line 3
13556 DROP PROCEDURE IF EXISTS sp1;
13557 Warnings:
13558 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13559 CREATE PROCEDURE sp1( )
13560 BEGIN
13561 declare use handler for sqlstate '02000' set @var2 = 1;
13562 END//
13563 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'use handler for sqlstate '02000' set @var2 = 1;
13564 END' at line 3
13565 DROP PROCEDURE IF EXISTS sp1;
13566 Warnings:
13567 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13568 CREATE PROCEDURE sp1( )
13569 BEGIN
13570 declare using handler for sqlstate '02000' set @var2 = 1;
13571 END//
13572 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'using handler for sqlstate '02000' set @var2 = 1;
13573 END' at line 3
13574 DROP PROCEDURE IF EXISTS sp1;
13575 Warnings:
13576 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13577 CREATE PROCEDURE sp1( )
13578 BEGIN
13579 declare utc_date handler for sqlstate '02000' set @var2 = 1;
13580 END//
13581 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_date handler for sqlstate '02000' set @var2 = 1;
13582 END' at line 3
13583 DROP PROCEDURE IF EXISTS sp1;
13584 Warnings:
13585 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13586 CREATE PROCEDURE sp1( )
13587 BEGIN
13588 declare utc_time handler for sqlstate '02000' set @var2 = 1;
13589 END//
13590 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_time handler for sqlstate '02000' set @var2 = 1;
13591 END' at line 3
13592 DROP PROCEDURE IF EXISTS sp1;
13593 Warnings:
13594 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13595 CREATE PROCEDURE sp1( )
13596 BEGIN
13597 declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
13598 END//
13599 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'utc_timestamp handler for sqlstate '02000' set @var2 = 1;
13600 END' at line 3
13601 DROP PROCEDURE IF EXISTS sp1;
13602 Warnings:
13603 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13604 CREATE PROCEDURE sp1( )
13605 BEGIN
13606 declare values handler for sqlstate '02000' set @var2 = 1;
13607 END//
13608 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'values handler for sqlstate '02000' set @var2 = 1;
13609 END' at line 3
13610 DROP PROCEDURE IF EXISTS sp1;
13611 Warnings:
13612 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13613 CREATE PROCEDURE sp1( )
13614 BEGIN
13615 declare varbinary handler for sqlstate '02000' set @var2 = 1;
13616 END//
13617 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varbinary handler for sqlstate '02000' set @var2 = 1;
13618 END' at line 3
13619 DROP PROCEDURE IF EXISTS sp1;
13620 Warnings:
13621 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13622 CREATE PROCEDURE sp1( )
13623 BEGIN
13624 declare varchar handler for sqlstate '02000' set @var2 = 1;
13625 END//
13626 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varchar handler for sqlstate '02000' set @var2 = 1;
13627 END' at line 3
13628 DROP PROCEDURE IF EXISTS sp1;
13629 Warnings:
13630 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13631 CREATE PROCEDURE sp1( )
13632 BEGIN
13633 declare varcharacter handler for sqlstate '02000' set @var2 = 1;
13634 END//
13635 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varcharacter handler for sqlstate '02000' set @var2 = 1;
13636 END' at line 3
13637 DROP PROCEDURE IF EXISTS sp1;
13638 Warnings:
13639 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13640 CREATE PROCEDURE sp1( )
13641 BEGIN
13642 declare varying handler for sqlstate '02000' set @var2 = 1;
13643 END//
13644 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'varying handler for sqlstate '02000' set @var2 = 1;
13645 END' at line 3
13646 DROP PROCEDURE IF EXISTS sp1;
13647 Warnings:
13648 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13649 CREATE PROCEDURE sp1( )
13650 BEGIN
13651 declare when handler for sqlstate '02000' set @var2 = 1;
13652 END//
13653 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when handler for sqlstate '02000' set @var2 = 1;
13654 END' at line 3
13655 DROP PROCEDURE IF EXISTS sp1;
13656 Warnings:
13657 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13658 CREATE PROCEDURE sp1( )
13659 BEGIN
13660 declare where handler for sqlstate '02000' set @var2 = 1;
13661 END//
13662 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where handler for sqlstate '02000' set @var2 = 1;
13663 END' at line 3
13664 DROP PROCEDURE IF EXISTS sp1;
13665 Warnings:
13666 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13667 CREATE PROCEDURE sp1( )
13668 BEGIN
13669 declare while handler for sqlstate '02000' set @var2 = 1;
13670 END//
13671 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while handler for sqlstate '02000' set @var2 = 1;
13672 END' at line 3
13673 DROP PROCEDURE IF EXISTS sp1;
13674 Warnings:
13675 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13676 CREATE PROCEDURE sp1( )
13677 BEGIN
13678 declare with handler for sqlstate '02000' set @var2 = 1;
13679 END//
13680 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
13681 END' at line 3
13682 DROP PROCEDURE IF EXISTS sp1;
13683 Warnings:
13684 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13685 CREATE PROCEDURE sp1( )
13686 BEGIN
13687 declare write handler for sqlstate '02000' set @var2 = 1;
13688 END//
13689 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'write handler for sqlstate '02000' set @var2 = 1;
13690 END' at line 3
13691 DROP PROCEDURE IF EXISTS sp1;
13692 Warnings:
13693 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13694 CREATE PROCEDURE sp1( )
13695 BEGIN
13696 declare xor handler for sqlstate '02000' set @var2 = 1;
13697 END//
13698 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'xor handler for sqlstate '02000' set @var2 = 1;
13699 END' at line 3
13700 DROP PROCEDURE IF EXISTS sp1;
13701 Warnings:
13702 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13703 CREATE PROCEDURE sp1( )
13704 BEGIN
13705 declare year_month handler for sqlstate '02000' set @var2 = 1;
13706 END//
13707 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'year_month handler for sqlstate '02000' set @var2 = 1;
13708 END' at line 3
13709 DROP PROCEDURE IF EXISTS sp1;
13710 Warnings:
13711 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13712 CREATE PROCEDURE sp1( )
13713 BEGIN
13714 declare zerofill handler for sqlstate '02000' set @var2 = 1;
13715 END//
13716 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'zerofill handler for sqlstate '02000' set @var2 = 1;
13717 END' at line 3
13718 USE db_storedproc;
13719
13720 Testcase 4.2.26:
13721 --------------------------------------------------------------------------------
13722 set @v1='0';
13723 set @v2='0';
13724 DROP PROCEDURE IF EXISTS sp1;
13725 CREATE PROCEDURE sp1()
13726 BEGIN
13727 declare x char;
13728 declare y char;
13729 declare cond1 condition for sqlstate '42000';
13730 declare cur1 cursor for SELECT f1 from t2 limit 1;
13731 declare continue handler for cond1 set @x = 4;
13732 set @x = '1';
13733 set @y = '2';
13734 BEGIN
13735 declare x char;
13736 declare y char;
13737 declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
13738 declare continue handler for sqlstate '42000' set @x = 3;
13739 open cur1;
13740 fetch cur1 into y;
13741 close cur1;
13742 CALL nonsexist();
13743 SELECT x, y, @x;
13744 END;
13745 open cur1;
13746 fetch cur1 into y;
13747 close cur1;
13748 CALL nonsexist();
13749 set @v1 = @x;
13750 set @v2 = y;
13751 END//
13752 CALL sp1();
13753 x y @x
13754 NULL a 3
13755 SELECT @v1, @v2;
13756 @v1 @v2
13757 4 a
13758 DROP PROCEDURE sp1;
13759
13760 Testcase 4.2.28:
13761 --------------------------------------------------------------------------------
13762 SET @x = 0;
13763 SET @y = 0;
13764 DROP PROCEDURE IF EXISTS sp1;
13765 Warnings:
13766 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13767 SET @start_global_value = @@GLOBAL.sort_buffer_size;
13768 CREATE PROCEDURE sp1()
13769 BEGIN
13770 DECLARE CONTINUE HANDLER FOR SQLSTATE '42000' SET @x2 = 1;
13771 SET SESSION SORT_BUFFER_SIZE = 10 * 1024 * 1024;
13772 SELECT @@sort_buffer_size;
13773 SET @x = 4;
13774 SET @y = 3;
13775 SET GLOBAL SORT_BUFFER_SIZE = 2 * 1024 * 1024;
13776 SELECT @@sort_buffer_size;
13777 SET @@sort_buffer_size = 10 * 1024 * 1024;
13778 SELECT @@sort_buffer_size;
13779 END//
13780 CALL sp1();
13781 @@sort_buffer_size
13782 10485760
13783 @@sort_buffer_size
13784 10485760
13785 @@sort_buffer_size
13786 10485760
13787 SELECT @x, @y;
13788 @x @y
13789 4 3
13790 SET @@GLOBAL.sort_buffer_size = @start_global_value;
13791
13792 Testcase 4.2.29:
13793 --------------------------------------------------------------------------------
13794 DROP PROCEDURE IF EXISTS sp1;
13795 CREATE PROCEDURE sp1()
13796 BEGIN
13797 declare xx char default 'x';
13798 declare xy char default 'y';
13799 declare xz char default 'z';
13800 set @xx = xx, @xy = xy;
13801 set @xz = xz;
13802 SELECT @xx, @xy, @xz;
13803 END//
13804 CALL sp1();
13805 @xx @xy @xz
13806 x y z
13807 DROP PROCEDURE sp1;
13808
13809 Testcase 4.2.30:
13810 --------------------------------------------------------------------------------
13811 set @xx=0;
13812 DROP PROCEDURE IF EXISTS sp1;
13813 Warnings:
13814 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13815 CREATE PROCEDURE sp1()
13816 BEGIN
13817 declare xx int;
13818 set xx = 'asd';
13819 set @xx = xx;
13820 SELECT @xx;
13821 END//
13822 CALL sp1();
13823 @xx
13824 0
13825 Warnings:
13826 Warning 1366 Incorrect integer value: 'asd' for column ``.``.`xx` at row 0
13827 DROP PROCEDURE IF EXISTS sp1;
13828 CREATE PROCEDURE sp1()
13829 BEGIN
13830 declare xx int;
13831 set xx = 5;
13832 set @xx = xx;
13833 SELECT @xx;
13834 END//
13835 CALL sp1();
13836 @xx
13837 5
13838 DROP PROCEDURE sp1;
13839
13840 Testcase 4.2.31 - a:
13841 --------------------------------------------------------------------------------
13842 set @xx=0;
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 xx char;
13849 set xx = 'temp';
13850 set @xx = xx;
13851 END//
13852 CALL sp1();
13853 Warnings:
13854 Warning 1265 Data truncated for column 'xx' at row 0
13855 SELECT @xx;
13856 @xx
13857 t
13858 DROP PROCEDURE sp1;
13859
13860 Testcase 4.2.31 - b:
13861 --------------------------------------------------------------------------------
13862 DROP PROCEDURE IF EXISTS sp1;
13863 Warnings:
13864 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13865 CREATE PROCEDURE sp1()
13866 BEGIN
13867 declare xx float;
13868 set xx = 'asd';
13869 SELECT xx;
13870 END//
13871 CALL sp1();
13872 xx
13873 0
13874 Warnings:
13875 Warning 1366 Incorrect double value: 'asd' for column ``.``.`xx` at row 0
13876 DROP PROCEDURE IF EXISTS sp1;
13877 CREATE PROCEDURE sp1()
13878 BEGIN
13879 declare xx float;
13880 set xx = 1.6;
13881 SELECT xx;
13882 END//
13883 CALL sp1();
13884 xx
13885 1.6
13886 DROP PROCEDURE sp1;
13887
13888 Testcase 4.2.31 - c:
13889 --------------------------------------------------------------------------------
13890 DROP PROCEDURE IF EXISTS sp1;
13891 Warnings:
13892 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13893 CREATE PROCEDURE sp1()
13894 BEGIN
13895 declare xx datetime;
13896 set xx = 'asd';
13897 SELECT xx;
13898 END//
13899 CALL sp1();
13900 xx
13901 0000-00-00 00:00:00
13902 Warnings:
13903 Warning 1265 Data truncated for column 'xx' at row 0
13904 DROP PROCEDURE IF EXISTS sp1;
13905 CREATE PROCEDURE sp1()
13906 BEGIN
13907 declare xx datetime;
13908 set xx = '2006-06-06 01:01:01';
13909 SELECT xx;
13910 END//
13911 CALL sp1();
13912 xx
13913 2006-06-06 01:01:01
13914 DROP PROCEDURE sp1;
13915
13916 Testcase 4.2.31 - d:
13917 --------------------------------------------------------------------------------
13918 DROP PROCEDURE IF EXISTS sp1;
13919 Warnings:
13920 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13921 CREATE PROCEDURE sp1()
13922 BEGIN
13923 declare xx varchar(20);
13924 set xx = "abcdefghijk";
13925 SELECT xx;
13926 END//
13927 CALL sp1();
13928 xx
13929 abcdefghijk
13930 DROP PROCEDURE sp1;
13931
13932 Testcase 4.2.31 - e:
13933 --------------------------------------------------------------------------------
13934 DROP PROCEDURE IF EXISTS sp1;
13935 Warnings:
13936 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13937 CREATE PROCEDURE sp1()
13938 BEGIN
13939 declare xx tinyint;
13940 set xx = 'asd';
13941 SELECT xx;
13942 END//
13943 CALL sp1();
13944 xx
13945 0
13946 Warnings:
13947 Warning 1366 Incorrect integer value: 'asd' for column ``.``.`xx` at row 0
13948 DROP PROCEDURE IF EXISTS sp1;
13949 CREATE PROCEDURE sp1()
13950 BEGIN
13951 declare xx tinyint;
13952 set xx = -125;
13953 SELECT xx;
13954 END//
13955 CALL sp1();
13956 xx
13957 -125
13958 DROP PROCEDURE sp1;
13959
13960 Testcase 4.2.37:
13961 --------------------------------------------------------------------------------
13962 DROP PROCEDURE IF EXISTS sp1;
13963 Warnings:
13964 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
13965 CREATE PROCEDURE sp1( )
13966 BEGIN
13967 declare x integer; declare y integer;
13968 SELECT sal, f2 into x, y from t2 limit 1;
13969 set @x=x; set @y=y;
13970 END//
13971 DROP PROCEDURE IF EXISTS sp1;
13972 CREATE PROCEDURE sp1()
13973 BEGIN
13974 declare x char ascii;
13975 SELECT f1 into x from t2 limit 1;
13976 END//
13977 CALL sp1();
13978 Warnings:
13979 Warning 1265 Data truncated for column 'x' at row 1
13980 DROP PROCEDURE IF EXISTS sp1;
13981 CREATE PROCEDURE sp1()
13982 BEGIN
13983 declare x tinytext;
13984 SELECT f1 into x from t2 limit 1;
13985 END//
13986 CALL sp1();
13987 DROP PROCEDURE IF EXISTS sp1;
13988 CREATE PROCEDURE sp1()
13989 BEGIN
13990 declare x text;
13991 SELECT f1 into x from t2 limit 1;
13992 END//
13993 CALL sp1();
13994 DROP PROCEDURE IF EXISTS sp1;
13995 CREATE PROCEDURE sp1()
13996 BEGIN
13997 declare x mediumtext;
13998 SELECT f1 into x from t2 limit 1;
13999 END//
14000 CALL sp1();
14001 DROP PROCEDURE IF EXISTS sp1;
14002 CREATE PROCEDURE sp1()
14003 BEGIN
14004 declare x longtext;
14005 SELECT f1 into x from t2 limit 1;
14006 END//
14007 CALL sp1();
14008 DROP PROCEDURE IF EXISTS sp1;
14009 CREATE PROCEDURE sp1()
14010 BEGIN
14011 declare x tinyblob;
14012 SELECT f1 into x from t2 limit 1;
14013 END//
14014 CALL sp1();
14015 DROP PROCEDURE IF EXISTS sp1;
14016 CREATE PROCEDURE sp1()
14017 BEGIN
14018 declare x blob;
14019 SELECT f1 into x from t2 limit 1;
14020 END//
14021 CALL sp1();
14022 DROP PROCEDURE IF EXISTS sp1;
14023 CREATE PROCEDURE sp1()
14024 BEGIN
14025 declare x mediumblob;
14026 SELECT f1 into x from t2 limit 1;
14027 END//
14028 CALL sp1();
14029 DROP PROCEDURE IF EXISTS sp1;
14030 CREATE PROCEDURE sp1()
14031 BEGIN
14032 declare x longblob;
14033 SELECT f1 into x from t2 limit 1;
14034 END//
14035 CALL sp1();
14036 DROP PROCEDURE IF EXISTS sp1;
14037 CREATE PROCEDURE sp1()
14038 BEGIN
14039 declare x binary;
14040 SELECT f1 into x from t2 limit 1;
14041 END//
14042 CALL sp1();
14043 Warnings:
14044 Warning 1265 Data truncated for column 'x' at row 1
14045 DROP PROCEDURE IF EXISTS sp1;
14046 CREATE PROCEDURE sp1()
14047 BEGIN
14048 declare x tinyint;
14049 SELECT f1 into x from t2 limit 1;
14050 END//
14051 CALL sp1();
14052 DROP PROCEDURE IF EXISTS sp1;
14053 CREATE PROCEDURE sp1()
14054 BEGIN
14055 declare x tinyint unsigned;
14056 SELECT f1 into x from t2 limit 1;
14057 END//
14058 CALL sp1();
14059 DROP PROCEDURE IF EXISTS sp1;
14060 CREATE PROCEDURE sp1()
14061 BEGIN
14062 declare x tinyint zerofill;
14063 SELECT f1 into x from t2 limit 1;
14064 END//
14065 CALL sp1();
14066 DROP PROCEDURE IF EXISTS sp1;
14067 CREATE PROCEDURE sp1()
14068 BEGIN
14069 declare x tinyint unsigned zerofill;
14070 SELECT f1 into x from t2 limit 1;
14071 END//
14072 CALL sp1();
14073 DROP PROCEDURE IF EXISTS sp1;
14074 CREATE PROCEDURE sp1()
14075 BEGIN
14076 declare x smallint;
14077 SELECT f1 into x from t2 limit 1;
14078 END//
14079 CALL sp1();
14080 DROP PROCEDURE IF EXISTS sp1;
14081 CREATE PROCEDURE sp1()
14082 BEGIN
14083 declare x smallint unsigned;
14084 SELECT f1 into x from t2 limit 1;
14085 END//
14086 CALL sp1();
14087 DROP PROCEDURE IF EXISTS sp1;
14088 CREATE PROCEDURE sp1()
14089 BEGIN
14090 declare x smallint zerofill;
14091 SELECT f1 into x from t2 limit 1;
14092 END//
14093 CALL sp1();
14094 DROP PROCEDURE IF EXISTS sp1;
14095 CREATE PROCEDURE sp1()
14096 BEGIN
14097 declare x smallint unsigned zerofill;
14098 SELECT f1 into x from t2 limit 1;
14099 END//
14100 CALL sp1();
14101 DROP PROCEDURE IF EXISTS sp1;
14102 CREATE PROCEDURE sp1()
14103 BEGIN
14104 declare x mediumint;
14105 SELECT f1 into x from t2 limit 1;
14106 END//
14107 CALL sp1();
14108 DROP PROCEDURE IF EXISTS sp1;
14109 CREATE PROCEDURE sp1()
14110 BEGIN
14111 declare x mediumint unsigned;
14112 SELECT f1 into x from t2 limit 1;
14113 END//
14114 CALL sp1();
14115 DROP PROCEDURE IF EXISTS sp1;
14116 CREATE PROCEDURE sp1()
14117 BEGIN
14118 declare x mediumint zerofill;
14119 SELECT f1 into x from t2 limit 1;
14120 END//
14121 CALL sp1();
14122 DROP PROCEDURE IF EXISTS sp1;
14123 CREATE PROCEDURE sp1()
14124 BEGIN
14125 declare x mediumint unsigned zerofill;
14126 SELECT f1 into x from t2 limit 1;
14127 END//
14128 CALL sp1();
14129 DROP PROCEDURE IF EXISTS sp1;
14130 CREATE PROCEDURE sp1()
14131 BEGIN
14132 declare x int;
14133 SELECT f1 into x from t2 limit 1;
14134 END//
14135 CALL sp1();
14136 DROP PROCEDURE IF EXISTS sp1;
14137 CREATE PROCEDURE sp1()
14138 BEGIN
14139 declare x int unsigned;
14140 SELECT f1 into x from t2 limit 1;
14141 END//
14142 CALL sp1();
14143 DROP PROCEDURE IF EXISTS sp1;
14144 CREATE PROCEDURE sp1()
14145 BEGIN
14146 declare x int zerofill;
14147 SELECT f1 into x from t2 limit 1;
14148 END//
14149 CALL sp1();
14150 DROP PROCEDURE IF EXISTS sp1;
14151 CREATE PROCEDURE sp1()
14152 BEGIN
14153 declare x int unsigned zerofill;
14154 SELECT f1 into x from t2 limit 1;
14155 END//
14156 CALL sp1();
14157 DROP PROCEDURE IF EXISTS sp1;
14158 CREATE PROCEDURE sp1()
14159 BEGIN
14160 declare x bigint;
14161 SELECT f1 into x from t2 limit 1;
14162 END//
14163 CALL sp1();
14164 DROP PROCEDURE IF EXISTS sp1;
14165 CREATE PROCEDURE sp1()
14166 BEGIN
14167 declare x bigint unsigned;
14168 SELECT f1 into x from t2 limit 1;
14169 END//
14170 CALL sp1();
14171 DROP PROCEDURE IF EXISTS sp1;
14172 CREATE PROCEDURE sp1()
14173 BEGIN
14174 declare x bigint zerofill;
14175 SELECT f1 into x from t2 limit 1;
14176 END//
14177 CALL sp1();
14178 DROP PROCEDURE IF EXISTS sp1;
14179 CREATE PROCEDURE sp1()
14180 BEGIN
14181 declare x bigint unsigned zerofill;
14182 SELECT f1 into x from t2 limit 1;
14183 END//
14184 CALL sp1();
14185 DROP PROCEDURE IF EXISTS sp1;
14186 CREATE PROCEDURE sp1()
14187 BEGIN
14188 declare x decimal;
14189 SELECT f1 into x from t2 limit 1;
14190 END//
14191 CALL sp1();
14192 DROP PROCEDURE IF EXISTS sp1;
14193 CREATE PROCEDURE sp1()
14194 BEGIN
14195 declare x decimal unsigned;
14196 SELECT f1 into x from t2 limit 1;
14197 END//
14198 CALL sp1();
14199 DROP PROCEDURE IF EXISTS sp1;
14200 CREATE PROCEDURE sp1()
14201 BEGIN
14202 declare x decimal zerofill;
14203 SELECT f1 into x from t2 limit 1;
14204 END//
14205 CALL sp1();
14206 DROP PROCEDURE IF EXISTS sp1;
14207 CREATE PROCEDURE sp1()
14208 BEGIN
14209 declare x decimal unsigned zerofill;
14210 SELECT f1 into x from t2 limit 1;
14211 END//
14212 CALL sp1();
14213 DROP PROCEDURE IF EXISTS sp1;
14214 CREATE PROCEDURE sp1()
14215 BEGIN
14216 declare x numeric;
14217 SELECT f1 into x from t2 limit 1;
14218 END//
14219 CALL sp1();
14220 DROP PROCEDURE IF EXISTS sp1;
14221 CREATE PROCEDURE sp1()
14222 BEGIN
14223 declare x numeric unsigned;
14224 SELECT f1 into x from t2 limit 1;
14225 END//
14226 CALL sp1();
14227 DROP PROCEDURE IF EXISTS sp1;
14228 CREATE PROCEDURE sp1()
14229 BEGIN
14230 declare x numeric zerofill;
14231 SELECT f1 into x from t2 limit 1;
14232 END//
14233 CALL sp1();
14234 DROP PROCEDURE IF EXISTS sp1;
14235 CREATE PROCEDURE sp1()
14236 BEGIN
14237 declare x numeric unsigned zerofill;
14238 SELECT f1 into x from t2 limit 1;
14239 END//
14240 CALL sp1();
14241 DROP PROCEDURE IF EXISTS sp1;
14242 CREATE PROCEDURE sp1()
14243 BEGIN
14244 declare x real;
14245 SELECT f1 into x from t2 limit 1;
14246 END//
14247 CALL sp1();
14248 DROP PROCEDURE IF EXISTS sp1;
14249 CREATE PROCEDURE sp1()
14250 BEGIN
14251 declare x real unsigned;
14252 SELECT f1 into x from t2 limit 1;
14253 END//
14254 CALL sp1();
14255 DROP PROCEDURE IF EXISTS sp1;
14256 CREATE PROCEDURE sp1()
14257 BEGIN
14258 declare x real zerofill;
14259 SELECT f1 into x from t2 limit 1;
14260 END//
14261 CALL sp1();
14262 DROP PROCEDURE IF EXISTS sp1;
14263 CREATE PROCEDURE sp1()
14264 BEGIN
14265 declare x real unsigned zerofill;
14266 SELECT f1 into x from t2 limit 1;
14267 END//
14268 CALL sp1();
14269 DROP PROCEDURE IF EXISTS sp1;
14270 CREATE PROCEDURE sp1()
14271 BEGIN
14272 declare x float;
14273 SELECT f1 into x from t2 limit 1;
14274 END//
14275 CALL sp1();
14276 DROP PROCEDURE IF EXISTS sp1;
14277 CREATE PROCEDURE sp1()
14278 BEGIN
14279 declare x float unsigned;
14280 SELECT f1 into x from t2 limit 1;
14281 END//
14282 CALL sp1();
14283 DROP PROCEDURE IF EXISTS sp1;
14284 CREATE PROCEDURE sp1()
14285 BEGIN
14286 declare x float zerofill;
14287 SELECT f1 into x from t2 limit 1;
14288 END//
14289 CALL sp1();
14290 DROP PROCEDURE IF EXISTS sp1;
14291 CREATE PROCEDURE sp1()
14292 BEGIN
14293 declare x float unsigned zerofill;
14294 SELECT f1 into x from t2 limit 1;
14295 END//
14296 CALL sp1();
14297 DROP PROCEDURE IF EXISTS sp1;
14298 CREATE PROCEDURE sp1()
14299 BEGIN
14300 declare x date;
14301 SELECT f1 into x from t2 limit 1;
14302 END//
14303 CALL sp1();
14304 DROP PROCEDURE IF EXISTS sp1;
14305 CREATE PROCEDURE sp1()
14306 BEGIN
14307 declare x time;
14308 SELECT f1 into x from t2 limit 1;
14309 END//
14310 CALL sp1();
14311 DROP PROCEDURE IF EXISTS sp1;
14312 CREATE PROCEDURE sp1()
14313 BEGIN
14314 declare x datetime;
14315 SELECT f1 into x from t2 limit 1;
14316 END//
14317 CALL sp1();
14318 DROP PROCEDURE IF EXISTS sp1;
14319 CREATE PROCEDURE sp1()
14320 BEGIN
14321 declare x timestamp;
14322 SELECT f1 into x from t2 limit 1;
14323 END//
14324 CALL sp1();
14325 DROP PROCEDURE IF EXISTS sp1;
14326 CREATE PROCEDURE sp1()
14327 BEGIN
14328 declare x year;
14329 SELECT f1 into x from t2 limit 1;
14330 END//
14331 CALL sp1();
14332 DROP PROCEDURE IF EXISTS sp1;
14333 CREATE PROCEDURE sp1()
14334 BEGIN
14335 declare x year(3);
14336 SELECT f1 into x from t2 limit 1;
14337 END//
14338 CALL sp1();
14339 DROP PROCEDURE IF EXISTS sp1;
14340 CREATE PROCEDURE sp1()
14341 BEGIN
14342 declare x year(4);
14343 SELECT f1 into x from t2 limit 1;
14344 END//
14345 CALL sp1();
14346 DROP PROCEDURE IF EXISTS sp1;
14347 CREATE PROCEDURE sp1()
14348 BEGIN
14349 declare x enum("1enum", "2enum");
14350 SELECT f1 into x from t2 limit 1;
14351 END//
14352 CALL sp1();
14353 DROP PROCEDURE IF EXISTS sp1;
14354 CREATE PROCEDURE sp1()
14355 BEGIN
14356 declare x set("1set", "2set");
14357 SELECT f1 into x from t2 limit 1;
14358 END//
14359 CALL sp1();
14360 DROP PROCEDURE sp1;
14361
14362 Testcase 4.2.38:
14363 --------------------------------------------------------------------------------
14364 DROP PROCEDURE IF EXISTS sp1;
14365 Warnings:
14366 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14367 CREATE PROCEDURE sp1()
14368 BEGIN
14369 declare notable condition for sqlstate '42S02';
14370 declare continue handler for notable set @x2=1;
14371 set @x = 1;
14372 insert into t2(f1) values (1);
14373 set @x = 2;
14374 insert into t2(f1) values (1);
14375 set @x = 3;
14376 END//
14377 CALL sp1();
14378 DROP PROCEDURE sp1;
14379
14380 Testcase 4.2.39:
14381 --------------------------------------------------------------------------------
14382 DROP PROCEDURE IF EXISTS sp1;
14383 Warnings:
14384 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14385 CREATE PROCEDURE sp1()
14386 BEGIN
14387 declare cond1 condition for sqlstate '42000';
14388 declare cond1 condition for sqlstate '23000';
14389 declare continue handler for cond1 set @var2 = 1;
14390 insert into tnull values(1);
14391 END//
14392 ERROR 42000: Duplicate condition: cond1
14393
14394 Testcase 4.2.41:
14395 --------------------------------------------------------------------------------
14396 DROP PROCEDURE IF EXISTS sp1;
14397 Warnings:
14398 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14399 CREATE PROCEDURE sp1()
14400 BEGIN
14401 declare cond1 condition for sqlstate '1';
14402 declare continue handler for cond1 set @var2 = 1;
14403 insert into tnull values( 1);
14404 END//
14405 ERROR 42000: Bad SQLSTATE: '1'
14406 DROP PROCEDURE IF EXISTS sp1;
14407 CREATE PROCEDURE sp1()
14408 BEGIN
14409 declare cond1 condition for sqlstate '12';
14410 declare continue handler for cond1 set @var2 = 1;
14411 insert into tnull values( 1);
14412 END//
14413 ERROR 42000: Bad SQLSTATE: '12'
14414 DROP PROCEDURE IF EXISTS sp1;
14415 CREATE PROCEDURE sp1()
14416 BEGIN
14417 declare cond1 condition for sqlstate '123';
14418 declare continue handler for cond1 set @var2 = 1;
14419 insert into tnull values( 1);
14420 END//
14421 ERROR 42000: Bad SQLSTATE: '123'
14422 DROP PROCEDURE IF EXISTS sp1;
14423 CREATE PROCEDURE sp1()
14424 BEGIN
14425 declare cond1 condition for sqlstate '1234';
14426 declare continue handler for cond1 set @var2 = 1;
14427 insert into tnull values( 1);
14428 END//
14429 ERROR 42000: Bad SQLSTATE: '1234'
14430 DROP PROCEDURE IF EXISTS sp1;
14431 CREATE PROCEDURE sp1()
14432 BEGIN
14433 declare cond1 condition for sqlstate '123456';
14434 declare continue handler for cond1 set @var2 = 1;
14435 insert into tnull values( 1);
14436 END//
14437 ERROR 42000: Bad SQLSTATE: '123456'
14438
14439 Testcase 4.2.42:
14440 --------------------------------------------------------------------------------
14441 DROP PROCEDURE IF EXISTS sp1;
14442 CREATE PROCEDURE sp1()
14443 BEGIN
14444 declare cond1 condition for sqlstate 'abcdefghi';
14445 declare continue handler for cond1 set @var2 = 1;
14446 insert into tnull values( 1);
14447 END//
14448 ERROR 42000: Bad SQLSTATE: 'abcdefghi'
14449 DROP PROCEDURE IF EXISTS sp1;
14450 CREATE PROCEDURE sp1()
14451 BEGIN
14452 declare cond1 condition for sqlstate '42000test';
14453 declare continue handler for cond1 set @var2 = 1;
14454 insert into tnull values( 1);
14455 END//
14456 ERROR 42000: Bad SQLSTATE: '42000test'
14457 DROP PROCEDURE IF EXISTS sp1;
14458 CREATE PROCEDURE sp1()
14459 BEGIN
14460 declare cond1 condition for sqlstate '00000@#$%^&';
14461 declare continue handler for cond1 set @var2 = 1;
14462 insert into tnull values( 1);
14463 END//
14464 ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
14465 DROP PROCEDURE IF EXISTS sp1;
14466 CREATE PROCEDURE sp1()
14467 BEGIN
14468 declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
14469 declare continue handler for cond1 set @var2 = 1;
14470 insert into tnull values( 1);
14471 END//
14472 ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
14473 DROP PROCEDURE IF EXISTS sp1;
14474 CREATE PROCEDURE sp1()
14475 BEGIN
14476 declare cond1 condition for sqlstate 'null';
14477 declare continue handler for cond1 set @var2 = 1;
14478 insert into tnull values( 1);
14479 END//
14480 ERROR 42000: Bad SQLSTATE: 'null'
14481 DROP PROCEDURE IF EXISTS sp1;
14482 CREATE PROCEDURE sp1()
14483 BEGIN
14484 declare cond1 condition for sqlstate ' ';
14485 declare continue handler for cond1 set @var2 = 1;
14486 insert into tnull values( 1);
14487 END//
14488 ERROR 42000: Bad SQLSTATE: ' '
14489 DROP PROCEDURE IF EXISTS sp1;
14490 CREATE PROCEDURE sp1()
14491 BEGIN
14492 declare cond1 condition for sqlstate 1234567890;
14493 declare continue handler for cond1 set @var2 = 1;
14494 insert into tnull values( 1);
14495 END//
14496 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '1234567890;
14497 declare continue handler for cond1 set @var2 = 1;
14498 insert into tnu...' at line 3
14499 DROP PROCEDURE IF EXISTS sp1;
14500 CREATE PROCEDURE sp1()
14501 BEGIN
14502 declare cond1 condition for sqlstate '2005-03-03';
14503 declare continue handler for cond1 set @var2 = 1;
14504 insert into tnull values( 1);
14505 END//
14506 ERROR 42000: Bad SQLSTATE: '2005-03-03'
14507
14508 Testcase 4.2.43:
14509 --------------------------------------------------------------------------------
14510 DROP PROCEDURE IF EXISTS sp1;
14511 expect failure, SQLSTATE 00000 is not an acceptable value
14512 for an SP's handler
14513 CREATE PROCEDURE sp1()
14514 BEGIN
14515 declare cond1 condition for sqlstate '00000';
14516 declare continue handler for cond1 set @var2 = 1;
14517 set @x=1;
14518 SELECT @var2;
14519 END//
14520 ERROR 42000: Bad SQLSTATE: '00000'
14521 ensure SP doesn't exist
14522 CALL sp1();
14523 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
14524 DROP PROCEDURE IF EXISTS sp1;
14525
14526 Testcase 4.2.45:
14527 --------------------------------------------------------------------------------
14528 DROP PROCEDURE IF EXISTS sp1;
14529 CREATE PROCEDURE handler1 ()
14530 BEGIN
14531 declare continue handler for sqlstate '23000' set @varr1 = 5;
14532 declare continue handler for sqlstate '23000' set @varr3 = 7;
14533 END//
14534 ERROR 42000: Duplicate handler declared in the same block
14535 DROP PROCEDURE IF EXISTS handler1;
14536 Warnings:
14537 Note 1305 PROCEDURE db_storedproc.handler1 does not exist
14538 CREATE PROCEDURE handler1 ()
14539 BEGIN
14540 declare mycondition condition for sqlstate '23000';
14541 declare continue handler for mycondition set @varr3 = 7;
14542 declare continue handler for sqlstate '23000' set @varr3 = 7;
14543 END//
14544 ERROR 42000: Duplicate handler declared in the same block
14545
14546 Testcase 4.2.46:
14547 --------------------------------------------------------------------------------
14548 DROP PROCEDURE IF EXISTS sp1;
14549 CREATE PROCEDURE sp1()
14550 BEGIN
14551 declare continue handler for sqlstate '1' set @var2 = 1;
14552 END//
14553 ERROR 42000: Bad SQLSTATE: '1'
14554 DROP PROCEDURE IF EXISTS sp1;
14555 CREATE PROCEDURE sp1()
14556 BEGIN
14557 declare continue handler for sqlstate '12' set @var2 = 1;
14558 END//
14559 ERROR 42000: Bad SQLSTATE: '12'
14560 DROP PROCEDURE IF EXISTS sp1;
14561 CREATE PROCEDURE sp1()
14562 BEGIN
14563 declare continue handler for sqlstate '123' set @var2 = 1;
14564 END//
14565 ERROR 42000: Bad SQLSTATE: '123'
14566 DROP PROCEDURE IF EXISTS sp1;
14567 CREATE PROCEDURE sp1()
14568 BEGIN
14569 declare continue handler for sqlstate '1234' set @var2 = 1;
14570 END//
14571 ERROR 42000: Bad SQLSTATE: '1234'
14572 DROP PROCEDURE IF EXISTS sp1;
14573 CREATE PROCEDURE sp1()
14574 BEGIN
14575 declare continue handler for sqlstate '123456' set @var2 = 1;
14576 END//
14577 ERROR 42000: Bad SQLSTATE: '123456'
14578
14579 Testcase 4.2.47:
14580 --------------------------------------------------------------------------------
14581 DROP PROCEDURE IF EXISTS sp1;
14582 CREATE PROCEDURE sp1()
14583 BEGIN
14584 declare continue handler for sqlstate '42s0200test' set @var2 = 1;
14585 insert into tnull values( 1);
14586 SELECT @var2;
14587 END//
14588 ERROR 42000: Bad SQLSTATE: '42s0200test'
14589
14590 Testcase 4.2.48:
14591 --------------------------------------------------------------------------------
14592 DROP PROCEDURE IF EXISTS sp1;
14593 This creation should fail, SQLSTATE 00000 is unacceptable
14594 CREATE PROCEDURE sp1()
14595 BEGIN
14596 declare continue handler for sqlstate '00000' set @var2 = 1;
14597 set @x=1;
14598 SELECT @var2;
14599 END//
14600 ERROR 42000: Bad SQLSTATE: '00000'
14601 Verify SP wasn't created
14602 CALL sp1();
14603 ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
14604 DROP PROCEDURE IF EXISTSsp1;
14605 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'EXISTSsp1' at line 1
14606
14607 Testcase 4.2.52:
14608 --------------------------------------------------------------------------------
14609 DROP PROCEDURE IF EXISTS sp1;
14610 CREATE PROCEDURE sp1( )
14611 BEGIN
14612 declare done int default 0;
14613 declare count integer default 20;
14614 declare newf1 char(20);
14615 declare newf2 char(20);
14616 declare newf3 char(20);
14617 declare newf4 integer;
14618 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14619 declare cur1 cursor for SELECT f1, f2 from t2;
14620 declare continue handler for sqlstate '02000' set done = 1;
14621 BEGIN
14622 open cur1;
14623 set count = count - 1;
14624 while count > 0 do
14625 fetch cur1 into newf1, newlf1, newf3, newsal;
14626 set count = count - 1;
14627 END while;
14628 close cur1;
14629 END;
14630 END//
14631 ERROR 42000: Duplicate cursor: cur1
14632
14633 Testcase 4.2.53:
14634 --------------------------------------------------------------------------------
14635 DROP PROCEDURE IF EXISTS sp1;
14636 CREATE PROCEDURE sp1( )
14637 BEGIN
14638 declare done int default 0;
14639 declare count integer default 20;
14640 declare newf1 char(20);
14641 declare newf2 char(20);
14642 declare newf3 char(20);
14643 declare newf4 integer;
14644 declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
14645 declare continue handler for sqlstate '02000' set done = 1;
14646 BEGIN
14647 open cur1;
14648 set count = count - 1;
14649 while count > 0 do
14650 fetch cur1 into newf1, newlf1, newf3, newsal;
14651 set count = count - 1;
14652 END while;
14653 close cur1;
14654 END;
14655 END//
14656 ERROR 42000: Cursor SELECT must not have INTO
14657
14658 Testcase 4.2.54:
14659 --------------------------------------------------------------------------------
14660
14661 Testcase 4.2.55:
14662 --------------------------------------------------------------------------------
14663 DROP PROCEDURE IF EXISTS sp1;
14664 CREATE PROCEDURE sp1( )
14665 BEGIN
14666 declare done int default 0;
14667 declare count integer default 20;
14668 declare newf1 char(20);
14669 declare newf2 char(20);
14670 declare newf3 char(20);
14671 declare newf4 integer;
14672 declare continue handler for sqlstate '02000' set done = 1;
14673 BEGIN
14674 open cur1;
14675 set count = count - 1;
14676 while count > 0 do
14677 fetch cur1 into newf1, newf2, newf4, newf3;
14678 set count = count - 1;
14679 END while;
14680 close cur1;
14681 END;
14682 END//
14683 ERROR 42000: Undefined CURSOR: cur1
14684 DROP PROCEDURE IF EXISTS sp1;
14685 CREATE PROCEDURE sp1( )
14686 BEGIN
14687 declare done int default 0;
14688 declare count integer default 0;
14689 declare newf1 char(20);
14690 declare newf2 char(20);
14691 declare newf3 char(20);
14692 declare newf4 integer;
14693 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14694 declare continue handler for sqlstate '02000' set done = 1;
14695 BEGIN
14696 open cur1;
14697 BEGIN
14698 open cur1;
14699 set count = count - 1;
14700 while count > 0 do
14701 fetch cur1 into newf1, newf2, newf3, newf4;
14702 set count = count - 1;
14703 END while;
14704 END;
14705 close cur1;
14706 END;
14707 END//
14708 CALL sp1();
14709 ERROR 24000: Cursor is already open
14710
14711 Testcase 4.2.56:
14712 --------------------------------------------------------------------------------
14713 DROP PROCEDURE IF EXISTS sp1;
14714 CREATE PROCEDURE sp1( )
14715 BEGIN
14716 declare done int default 0;
14717 declare count integer default 20;
14718 declare newf1 char(20);
14719 declare newf2 char(20);
14720 declare newf3 char(20);
14721 declare newf4 integer;
14722 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
14723 declare continue handler for sqlstate '02000' set done = 1;
14724 BEGIN
14725 open cur1;
14726 open cur1;
14727 set count = count - 1;
14728 while count > 0 do
14729 fetch cur1 into newf1, newf2, newf4, newf3;
14730 set count = count - 1;
14731 END while;
14732 close cur1;
14733 END;
14734 END//
14735 CALL sp1();
14736 ERROR 24000: Cursor is already open
14737 DROP PROCEDURE sp1;
14738
14739 Testcase 4.2.57:
14740 --------------------------------------------------------------------------------
14741 DROP PROCEDURE IF EXISTS sp1;
14742 Warnings:
14743 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14744 CREATE PROCEDURE sp1( )
14745 BEGIN
14746 declare done int default 0;
14747 declare count integer default 20;
14748 declare newf1 char(20);
14749 declare newf2 char(20);
14750 declare newf3 char(20);
14751 declare newf4 integer;
14752 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
14753 declare cur2 cursor for SELECT f1, f2 from t2;
14754 declare continue handler for sqlstate '02000' set done = 1;
14755 BEGIN
14756 open cur2;
14757 set count = count - 1;
14758 while count > 0 do
14759 fetch cur1 into newf1, newf2, newf4, newf3;
14760 set count = count - 1;
14761 END while;
14762 close cur1;
14763 END;
14764 END//
14765 CALL sp1();
14766 ERROR 24000: Cursor is not open
14767 DROP PROCEDURE sp1;
14768
14769 Testcase 4.2.59:
14770 --------------------------------------------------------------------------------
14771 DROP PROCEDURE IF EXISTS sp1;
14772 Warnings:
14773 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14774 CREATE PROCEDURE sp1( )
14775 BEGIN
14776 declare done int default 0;
14777 declare count integer default 20;
14778 declare newf1 char(20);
14779 declare newf2 char(20);
14780 declare newf3 char(20);
14781 declare newf4 integer;
14782 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14783 declare continue handler for sqlstate '02000' set done = 1;
14784 BEGIN
14785 set count = count - 1;
14786 while count > 0 do
14787 fetch cur1 into newf1, newf2, newf4, newf3;
14788 set count = count - 1;
14789 END while;
14790 open cur1;
14791 close cur1;
14792 END;
14793 END//
14794 CALL sp1();
14795 ERROR 24000: Cursor is not open
14796 DROP PROCEDURE IF EXISTS sp1;
14797 CREATE PROCEDURE sp1( )
14798 BEGIN
14799 declare done int default 0;
14800 declare count integer default 10;
14801 declare newf1 char(20);
14802 declare newf2 char(20);
14803 declare newf3 char(20);
14804 declare newf4 integer;
14805 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14806 declare continue handler for sqlstate '02000' set done = 1;
14807 open cur1;
14808 BEGIN
14809 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14810 set count = count - 1;
14811 while count > 0 do
14812 fetch cur1 into newf1, newf2, newf3, newf4;
14813 set count = count - 1;
14814 END while;
14815 open cur1;
14816 close cur1;
14817 END;
14818 close cur1;
14819 END//
14820 CALL sp1();
14821 ERROR 24000: Cursor is not open
14822 DROP PROCEDURE sp1;
14823
14824 Testcase 4.2.60:
14825 --------------------------------------------------------------------------------
14826 DROP PROCEDURE IF EXISTS sp1;
14827 Warnings:
14828 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14829 CREATE PROCEDURE sp1( )
14830 BEGIN
14831 declare done int default 0;
14832 declare count integer default 20;
14833 declare newf1 char(20);
14834 declare newf2 char(20);
14835 declare newf3 char(20);
14836 declare newf4 integer;
14837 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14838 declare continue handler for sqlstate '02000' set done = 1;
14839 BEGIN
14840 open cur1;
14841 close cur1;
14842 set count = count - 1;
14843 while count > 0 do
14844 fetch cur1 into newf1, newf2, newf4, newf3;
14845 set count = count - 1;
14846 END while;
14847 END;
14848 END//
14849 CALL sp1();
14850 ERROR 24000: Cursor is not open
14851 DROP PROCEDURE IF EXISTS sp1;
14852 CREATE PROCEDURE sp1( )
14853 BEGIN
14854 declare done int default 0;
14855 declare count integer default 20;
14856 declare newf1 char(20);
14857 declare newf2 char(20);
14858 declare newf3 char(20);
14859 declare newf4 integer;
14860 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14861 declare continue handler for sqlstate '02000' set done = 1;
14862 open cur1;
14863 close cur1;
14864 BEGIN
14865 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14866 open cur1;
14867 END;
14868 fetch cur1 into newf1, newf2, newf3, newf4;
14869 END//
14870 CALL sp1();
14871 ERROR 24000: Cursor is not open
14872 DROP PROCEDURE sp1;
14873
14874 Testcase 4.2.62:
14875 --------------------------------------------------------------------------------
14876 DROP PROCEDURE IF EXISTS sp1;
14877 Warnings:
14878 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14879 CREATE PROCEDURE sp1( )
14880 BEGIN
14881 declare done int default 0;
14882 declare count integer default 20;
14883 declare newf2 char(20);
14884 declare newf1 int1;
14885 declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
14886 declare continue handler for sqlstate '02000' set done = 1;
14887 BEGIN
14888 open cur1;
14889 set count = count - 1;
14890 while count > 0 do
14891 fetch cur1 into newf1, newf2;
14892 set @x = newf1;
14893 set @y = newf2;
14894 SELECT @x, @y;
14895 set count = count - 1;
14896 END while;
14897 close cur1;
14898 END;
14899 END//
14900 CALL sp1();
14901 @x @y
14902 NULL NULL
14903 @x @y
14904 NULL NULL
14905 @x @y
14906 NULL NULL
14907 @x @y
14908 NULL NULL
14909 @x @y
14910 NULL NULL
14911 @x @y
14912 NULL NULL
14913 @x @y
14914 NULL NULL
14915 @x @y
14916 NULL NULL
14917 @x @y
14918 NULL NULL
14919 @x @y
14920 NULL NULL
14921 @x @y
14922 NULL NULL
14923 @x @y
14924 NULL NULL
14925 @x @y
14926 NULL NULL
14927 @x @y
14928 NULL NULL
14929 @x @y
14930 NULL NULL
14931 @x @y
14932 NULL NULL
14933 @x @y
14934 NULL NULL
14935 @x @y
14936 NULL NULL
14937 @x @y
14938 NULL NULL
14939 DROP PROCEDURE sp1;
14940
14941 Testcase 4.2.63:
14942 --------------------------------------------------------------------------------
14943 DROP PROCEDURE IF EXISTS sp1;
14944 Warnings:
14945 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14946 CREATE PROCEDURE sp1()
14947 BEGIN
14948 declare done int default 0;
14949 declare count integer default 20;
14950 declare newf1 char(20);
14951 declare newf2 char(20);
14952 declare newf3 char(20);
14953 declare newf4 integer;
14954 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
14955 declare continue handler for sqlstate '02000' set done = 1;
14956 BEGIN
14957 close cur1;
14958 open cur1;
14959 set count = count - 1;
14960 while count > 0 do
14961 fetch cur1 into newf1, newf2, newf4, newf3;
14962 set count = count - 1;
14963 END while;
14964 close cur1;
14965 END;
14966 END//
14967 CALL sp1();
14968 ERROR 24000: Cursor is not open
14969 DROP PROCEDURE IF EXISTS sp1;
14970 CREATE PROCEDURE sp1( )
14971 BEGIN
14972 declare done int default 0;
14973 declare count integer default 0;
14974 declare newf1 char(20);
14975 declare newf2 char(20);
14976 declare newf3 char(20);
14977 declare newf4 integer;
14978 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14979 declare continue handler for sqlstate '02000' set done = 1;
14980 BEGIN
14981 declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
14982 open cur1;
14983 END;
14984 close cur1;
14985 END//
14986 CALL sp1();
14987 ERROR 24000: Cursor is not open
14988 DROP PROCEDURE sp1;
14989
14990 Testcase 4.2.64:
14991 --------------------------------------------------------------------------------
14992 DROP PROCEDURE IF EXISTS sp1;
14993 Warnings:
14994 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
14995 CREATE PROCEDURE sp1( )
14996 BEGIN
14997 declare done int default 0;
14998 declare count integer default 20;
14999 declare newf1 char(20);
15000 declare newf2 char(20);
15001 declare newf3 char(20);
15002 declare newf4 integer;
15003 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15004 BEGIN
15005 open cur1;
15006 start transaction;
15007 fetch cur1 into newf1, newf2, newf4, newf3;
15008 commit;
15009 fetch cur1 into newf1, newf2, newf4, newf3;
15010 END;
15011 END//
15012 CALL sp1();
15013 ERROR 02000: No data - zero rows fetched, selected, or processed
15014 DROP PROCEDURE sp1;
15015
15016 Testcase 4.2.65:
15017 --------------------------------------------------------------------------------
15018 DROP PROCEDURE IF EXISTS sp1;
15019 Warnings:
15020 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15021 CREATE PROCEDURE sp1( )
15022 BEGIN
15023 declare done int default 0;
15024 declare count integer default 20;
15025 declare newf1 char(20);
15026 declare newf2 char(20);
15027 declare newf3 char(20);
15028 declare newf4 integer;
15029 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15030 BEGIN
15031 open cur1;
15032 fetch cur1 into newf1, newf2, newf4, newf3;
15033 rollback;
15034 fetch cur1 into newf1, newf2, newf4, newf3;
15035 commit;
15036 END;
15037 END//
15038 CALL sp1();
15039 ERROR 02000: No data - zero rows fetched, selected, or processed
15040 DROP PROCEDURE sp1;
15041
15042 Testcase 4.2.66:
15043 --------------------------------------------------------------------------------
15044 DROP PROCEDURE IF EXISTS sp1;
15045 Warnings:
15046 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15047 CREATE PROCEDURE sp1( )
15048 BEGIN
15049 declare done int default 0;
15050 declare count integer default 20;
15051 declare newf1 char(20);
15052 declare newf2 char(20);
15053 declare newf3 char(20);
15054 declare newf4 integer;
15055 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15056 declare continue handler for sqlstate '02000' set done = 1;
15057 BEGIN
15058 open cur1;
15059 set count = count - 1;
15060 while count > 0 do
15061 fetch cur1 into newf1, newf2, newf4, newf3;
15062 set count = count - 1;
15063 END while;
15064 close cur1;
15065 fetch cur1 into newf1, newf2, newf4, newf3;
15066 END;
15067 END//
15068 CALL sp1();
15069 ERROR 24000: Cursor is not open
15070 DROP PROCEDURE sp1;
15071
15072 Testcase 4.2.67:
15073 --------------------------------------------------------------------------------
15074 DROP PROCEDURE IF EXISTS sp1;
15075 Warnings:
15076 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15077 CREATE PROCEDURE sp1( )
15078 BEGIN
15079 declare done int default 0;
15080 declare count integer default 20;
15081 declare newf1 char(20);
15082 declare newf2 char(20);
15083 declare newf3 char(20);
15084 declare newf4 integer;
15085 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
15086 declare continue handler for sqlstate '02000' set done = 1;
15087 BEGIN
15088 open cur1;
15089 # set count = count - 1;
15090 # while count > 0 do
15091 fetch cur1 into newf1, newf2, newf4, newf3;
15092 # set count = count - 1;
15093 # END while;
15094 END;
15095 fetch cur1 into newf1, newf2, newf4, newf3;
15096 END//
15097 CALL sp1();
15098 DROP PROCEDURE sp1;
15099
15100 Testcase 4.2.70:
15101 --------------------------------------------------------------------------------
15102 create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
15103 create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
15104 DROP PROCEDURE IF EXISTS sp1;
15105 Warnings:
15106 Note 1305 PROCEDURE db_storedproc.sp1 does not exist
15107 CREATE PROCEDURE sp1( )
15108 BEGIN
15109 declare done int default 0;
15110 declare count integer default 20;
15111 declare newf1 char(20);
15112 declare newf2 char(20);
15113 declare newf3 char(20);
15114 declare newf4 integer;
15115 declare newf21 char(20);
15116 declare newf22 char(20);
15117 declare newf23 char(20);
15118 declare newf24 integer;
15119 declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
15120 declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
15121 declare continue handler for sqlstate '02000' set done = 1;
15122 open cur1;
15123 BEGIN
15124 set count = 10;
15125 BEGIN
15126 open cur2;
15127 while count > 0 do
15128 fetch cur1 into newf1, newf2, newf4, newf3;
15129 set count = count - 1;
15130 END while;
15131 END;
15132 insert into temp1 values(newf1, newf2, newf4, newf3);
15133 close cur1;
15134 END;
15135 BEGIN
15136 set count = 10;
15137 while count > 0 do
15138 fetch cur2 into newf21, newf22, newf24, newf23;
15139 set count = count - 1;
15140 END while;
15141 END;
15142 insert into temp2 values(newf21, newf22, newf24, newf23);
15143 close cur2;
15144 END//
15145 CALL sp1();
15146 SELECT count(*) from temp1;
15147 count(*)
15148 1
15149 SELECT * from temp2;
15150 f1 f2 f3 f4
15151 NULL NULL NULL NULL
15152 DROP PROCEDURE sp1;
15153 drop table temp1;
15154 drop table temp2;
15155
15156 Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
15157 . IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
15158 --------------------------------------------------------------------------------
15159 USE db_storedproc;
15160
15161 Testcase 4.3.1:
15162 --------------------------------------------------------------------------------
15163 DROP PROCEDURE IF EXISTS sp1;
15164 DROP TABLE IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15165 CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
15166 middleinitial CHAR, lastname VARCHAR(50),
15167 age_averylongfieldname_averylongname_1234569 INT, COMMENT VARCHAR(100))
15168 ENGINE=<engine_to_be_tested>;
15169 INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
15170 VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
15171 CREATE PROCEDURE sp1(a INT)
15172 BEGIN
15173 DECLARE itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx CHAR;
15174 DECLARE itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx VARCHAR(100);
15175 DECLARE itisjustamediumsizeintintegervariablename INTEGER;
15176 SET itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
15177 SET itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx
15178 = 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
15179 SET itisjustamediumsizeintintegervariablename = 5;
15180 SET @comment='a';
15181 label1: LOOP
15182 IF a > 100 THEN
15183 SET @comment = 'value of a is greater than 100';
15184 ELSEIF a < 100 THEN
15185 IF a < 50 THEN
15186 SET @comment = 'value of a is less than 50';
15187 ELSEIF a < 25 THEN
15188 SET @comment = 'value of a is less than 25';
15189 ELSE
15190 SET @comment = 'value of a is greater than 50 and less than 100';
15191 END IF;
15192 ELSE
15193 SET @comment = 'value of a is 100';
15194 END IF;
15195 IF itisjustamediumsizeintintegervariablename = 0 THEN LEAVE label1;
15196 END IF;
15197 INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
15198 VALUES(itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
15199 CONCAT(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx,
15200 ' ', a), a, @comment);
15201 SET itisjustamediumsizeintintegervariablename
15202 = itisjustamediumsizeintintegervariablename - 1;
15203 ITERATE label1;
15204 END LOOP label1;
15205 END//
15206 CALL sp1(101);
15207 CALL sp1(100);
15208 CALL sp1(75);
15209 CALL sp1(40);
15210 CALL sp1(20);
15211 CALL sp1(-1);
15212 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
15213 ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
15214 middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
15215 a aaaaaaaaaabbbbbbbbc 0 default
15216 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15217 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15218 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15219 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15220 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
15221 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15222 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15223 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15224 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15225 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
15226 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15227 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15228 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15229 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15230 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
15231 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15232 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15233 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15234 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15235 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
15236 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15237 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15238 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15239 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15240 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
15241 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15242 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15243 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15244 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15245 b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
15246 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15247 DROP PROCEDURE sp1;
15248
15249 Testcase 4.3.2:
15250 --------------------------------------------------------------------------------
15251 DROP PROCEDURE IF EXISTS sp2;
15252 CREATE PROCEDURE sp2( action char(20) )
15253 BEGIN
15254 declare v1 char(20);
15255 declare v2 char(20);
15256 declare count integer;
15257 set v1 = 'f1';
15258 set v2 = 'address';
15259 set count = 1;
15260 case when action = 'delete' then
15261 insert into t3 values(v1, v2, count);
15262 delete from t3 where f1=v1;
15263 when action = 'insert' then
15264 repeat
15265 insert into t3 values(v1, v2, count);
15266 set count = count + 1;
15267 until count > 5
15268 END repeat;
15269 set count = 1;
15270 label1: repeat
15271 insert into t3 values(v1, v2, count);
15272 if count > 5 then leave label1;
15273 END if;
15274 set count = count + 1;
15275 until count > 5
15276 END repeat;
15277 set count = 1;
15278 while count < 5 do
15279 insert into t3 values(v1, v2, count);
15280 set count = count + 1;
15281 END while;
15282 set count = 1;
15283 label1: while count < 5 do
15284 insert into t3 values(v1, v2, count);
15285 if count > 5 then leave label1;
15286 END if;
15287 set count = count + 1;
15288 END while;
15289 else
15290 set @dummystring = 'temp value';
15291 END case;
15292 END//
15293 CALL sp2( 'insert' );
15294 SELECT * from t3 where f3 <=5 && f3 >= 0;
15295 f1 f2 f3
15296 f1 address 1
15297 f1 address 1
15298 f1 address 1
15299 f1 address 1
15300 f1 address 2
15301 f1 address 2
15302 f1 address 2
15303 f1 address 2
15304 f1 address 3
15305 f1 address 3
15306 f1 address 3
15307 f1 address 3
15308 f1 address 4
15309 f1 address 4
15310 f1 address 4
15311 f1 address 4
15312 f1 address 5
15313 f1 address 5
15314 SELECT count(*) from t3;
15315 count(*)
15316 28
15317 CALL sp2( 'delete' );
15318 SELECT count(*) from t3;
15319 count(*)
15320 10
15321 CALL sp2 ('test');
15322 SELECT @dummystring;
15323 @dummystring
15324 temp value
15325 DROP PROCEDURE sp2;
15326
15327 Testcase 4.1.2:
15328 ---------------
15329 Ensure that all sub-clauses that should not be supported are disallowed with
15330 an appropriate error message. (case)
15331 --------------------------------------------------------------------------------
15332 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15333 DROP PROCEDURE IF EXISTS sp3;
15334 create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
15335 CREATE PROCEDURE sp3( action char(20) )
15336 BEGIN
15337 label1: case
15338 when action = 'delete' then
15339 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15340 else
15341 set @dummystring = 'temp value';
15342 iterate label1;
15343 END case label1;
15344 END//
15345 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'case
15346 when action = 'delete' then
15347 delete from res_t3_itisalongname_1381742_it...' at line 3
15348 DROP PROCEDURE IF EXISTS sp3;
15349 CREATE PROCEDURE sp3( action char(20) )
15350 BEGIN
15351 label1: BEGIN
15352 case
15353 action = 'delete' then
15354 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15355 else
15356 set @dummystring = 'temp value';
15357 iterate label1;
15358 END case;
15359 END label1;
15360 END//
15361 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then
15362 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15363 else
15364 ...' at line 5
15365 DROP PROCEDURE IF EXISTS sp3;
15366 CREATE PROCEDURE sp3( action char(20) )
15367 BEGIN
15368 case
15369 when action = 'delete' then
15370 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15371 then action = 'truncate' when
15372 truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15373 else
15374 set @dummystring = 'temp value';
15375 iterate label1;
15376 END case;
15377 END//
15378 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'then action = 'truncate' when
15379 truncate from res_t3_itisalongname_1381742_its...' at line 6
15380 DROP PROCEDURE IF EXISTS sp3;
15381 CREATE PROCEDURE sp3( action char(20) )
15382 BEGIN
15383 declare v1 char(20);
15384 declare v2 char(20);
15385 declare count integer;
15386 set v1 = 'f1';
15387 set v2= 'address';
15388 set count = 1;
15389 case action
15390 when 'delete' then
15391 when 'delete' then
15392 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15393 END case;
15394 END//
15395 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when 'delete' then
15396 delete from res_t3_itisalongname_1381742_itsaverylongname...' at line 11
15397 DROP PROCEDURE IF EXISTS sp3;
15398 CREATE PROCEDURE sp3( action char(20) )
15399 BEGIN
15400 declare count int default 1;
15401 declare done int default 0;
15402 declare continue handler for sqlstate 'HY000' set done=1;
15403 label1: loop
15404 case
15405 when action = 'delete' then
15406 label3:BEGIN
15407 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15408 END label3;
15409 when action = 'insert' then
15410 label2: while count < 10 do
15411 BEGIN
15412 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
15413 values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
15414 set count = count + 1;
15415 if count= 10 then
15416 set done=1;
15417 END if;
15418 END;
15419 END while label2;
15420 else
15421 set @dummystring = 'temp value';
15422 iterate label1;
15423 END case;
15424 if done=1 then
15425 leave label1;
15426 END if;
15427 END loop label1;
15428 SELECT count, done;
15429 END//
15430 CALL sp3('insert');
15431 count done
15432 10 1
15433 Warnings:
15434 Warning 1265 Data truncated for column 'name' at row 1
15435 DROP PROCEDURE sp3;
15436 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15437
15438 Testcase 4.3.4:
15439 --------------------------------------------------------------------------------
15440 DROP PROCEDURE IF EXISTS sp4;
15441 CREATE PROCEDURE sp4()
15442 BEGIN
15443 declare count int;
15444 set count = 1;
15445 label1: loop
15446 if count > 10 then leave label1;
15447 else
15448 set count = count + 1;
15449 elseif count > 20 then
15450 leave label1;
15451 END if;
15452 iterate label1;
15453 END loop label1;
15454 END//
15455 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif count > 20 then
15456 leave label1;
15457 END if;
15458 iterate label1;
15459 END loop label1;...' at line 9
15460 DROP PROCEDURE IF EXISTS sp4;
15461 CREATE PROCEDURE sp4()
15462 BEGIN
15463 declare count int;
15464 set count = 1;
15465 label1: loop
15466 else
15467 set count = count + 1;
15468 if count > 20 then
15469 leave label1;
15470 END if;
15471 iterate label1;
15472 END loop label1;
15473 END//
15474 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else
15475 set count = count + 1;
15476 if count > 20 then
15477 leave label1;
15478 END if;
15479 iterate ...' at line 6
15480 DROP PROCEDURE IF EXISTS sp4;
15481 CREATE PROCEDURE sp4()
15482 BEGIN
15483 declare count int;
15484 set count = 1;
15485 label1: loop
15486 elseif count > 20 then
15487 leave label1;
15488 else
15489 set count=count+1;
15490 END if;
15491 iterate label1;
15492 END loop label1;
15493 END//
15494 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'elseif count > 20 then
15495 leave label1;
15496 else
15497 set count=count+1;
15498 END if;
15499 iterate ...' at line 6
15500 DROP PROCEDURE IF EXISTS sp4;
15501 CREATE PROCEDURE sp4()
15502 BEGIN
15503 declare count int;
15504 set count = 1;
15505 label1: loop
15506 END if;
15507 if count > 20 then
15508 leave label1;
15509 else
15510 set count=count+1;
15511 iterate label1;
15512 END loop label1;
15513 END//
15514 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END if;
15515 if count > 20 then
15516 leave label1;
15517 else
15518 set count=count+1;
15519 iterate labe...' at line 6
15520 DROP PROCEDURE IF EXISTS sp4;
15521 CREATE PROCEDURE sp4()
15522 BEGIN
15523 declare i int default 10;
15524 if i > 20 then
15525 set i=25;
15526 END if
15527 declare count int;
15528 set count = 1;
15529 label1: loop
15530 if count > 20 then
15531 leave label1;
15532 else
15533 set count=count+1;
15534 iterate label1;
15535 END loop label1;
15536 END//
15537 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'declare count int;
15538 set count = 1;
15539 label1: loop
15540 if count > 20 then
15541 leave label...' at line 7
15542 DROP PROCEDURE IF EXISTS sp4;
15543 CREATE PROCEDURE sp4()
15544 BEGIN
15545 declare idummy int default 10;
15546 declare count int;
15547 set count = 1;
15548 label1: loop
15549 BEGIN
15550 if count < 20 then
15551 BEGIN
15552 declare idummy2 int default 10;
15553 set count=count+1;
15554 END;
15555 else
15556 BEGIN
15557 SELECT idummy2;
15558 leave label1;
15559 END;
15560 END if;
15561 iterate label1;
15562 END;
15563 END loop label1;
15564 END//
15565 CALL sp4();
15566 ERROR 42S22: Unknown column 'idummy2' in 'SELECT'
15567 DROP PROCEDURE sp4;
15568
15569 Testcase 4.3.5:
15570 --------------------------------------------------------------------------------
15571 DROP PROCEDURE IF EXISTS sp5;
15572 CREATE PROCEDURE sp5()
15573 BEGIN
15574 declare count integer default 1;
15575 set count = 1;
15576 case
15577 else
15578 set count = 10;
15579 when count = 1 then
15580 set count = count + 1;
15581 END case;
15582 END//
15583 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'else
15584 set count = 10;
15585 when count = 1 then
15586 set count = count + 1;
15587 END case;
15588 END' at line 6
15589 DROP PROCEDURE IF EXISTS sp5;
15590 CREATE PROCEDURE sp5(count int)
15591 BEGIN
15592 when case count = 1 then
15593 set count = 10;
15594 when count = 2 then
15595 set count = count + 1;
15596 END case;
15597 END//
15598 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when case count = 1 then
15599 set count = 10;
15600 when count = 2 then
15601 set count = co...' at line 3
15602 DROP PROCEDURE IF EXISTS sp5;
15603 CREATE PROCEDURE sp5(count int)
15604 BEGIN
15605 END case;
15606 when count = 1 then
15607 set count = 10;
15608 when count = 2 then
15609 set count = count + 1;
15610 END case;
15611 END//
15612 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'case;
15613 when count = 1 then
15614 set count = 10;
15615 when count = 2 then
15616 set count = c...' at line 3
15617 DROP PROCEDURE IF EXISTS sp5;
15618 CREATE PROCEDURE sp5(count int)
15619 BEGIN
15620 when count = 1 then
15621 set count = 10;
15622 case when count = 2 then
15623 set count = count + 1;
15624 END case;
15625 END//
15626 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when count = 1 then
15627 set count = 10;
15628 case when count = 2 then
15629 set count = co...' at line 3
15630
15631 Testcase 4.3.6:
15632 ---------------
15633 Ensure that all supported sub-clauses are supported only in the correct order (repeat).
15634 --------------------------------------------------------------------------------
15635 DROP PROCEDURE IF EXISTS sp6;
15636 CREATE PROCEDURE sp6()
15637 BEGIN
15638 declare count1 integer default 1;
15639 label1: repeat
15640 set count1 = count1 + 1;
15641 if count1 > 5 then leave label1; END if;
15642 END repeat;
15643 until count1 > 5
15644 END//
15645 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END repeat;
15646 until count1 > 5
15647 END' at line 7
15648 DROP PROCEDURE IF EXISTS sp6;
15649 CREATE PROCEDURE sp6()
15650 BEGIN
15651 declare count1 integer default 1;
15652 label1: until count1 > 5
15653 repeat
15654 set count1 = count1 + 1;
15655 if count1 > 5 then leave label1; END if;
15656 END repeat;
15657 END//
15658 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'until count1 > 5
15659 repeat
15660 set count1 = count1 + 1;
15661 if count1 > 5 then leave lab...' at line 4
15662 DROP PROCEDURE IF EXISTS sp6;
15663 CREATE PROCEDURE sp6()
15664 BEGIN
15665 declare count1 integer default 1;
15666 label1: END repeat
15667 set count1 = count1 + 1;
15668 if count1 > 5 then leave label1; END if;
15669 until count1 > 5
15670 repeat;
15671 END//
15672 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END repeat
15673 set count1 = count1 + 1;
15674 if count1 > 5 then leave label1; END if;
15675 ...' at line 4
15676 DROP PROCEDURE IF EXISTS sp6;
15677 CREATE PROCEDURE sp6()
15678 BEGIN
15679 declare count1 integer default 1;
15680 label1: repeat
15681 set count1 = count1 + 1;
15682 if count1 > 5 then leave label1; END if;
15683 END repeat;
15684 END//
15685 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END repeat;
15686 END' at line 7
15687 DROP PROCEDURE IF EXISTS sp6;
15688 CREATE PROCEDURE sp6()
15689 BEGIN
15690 declare count1 integer default 1;
15691 label1: repeat
15692 set count1 = count1 + 1;
15693 if count1 > 5 then leave label1; END if;
15694 until count1 > 10;
15695 SELECT count1;
15696 END repeat;
15697 END//
15698 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ';
15699 SELECT count1;
15700 END repeat;
15701 END' at line 7
15702 DROP PROCEDURE IF EXISTS sp6;
15703 CREATE PROCEDURE sp6()
15704 BEGIN
15705 declare count1 integer default 1;
15706 label1: repeat
15707 set count1 = count1-1;
15708 until count1 < 0
15709 END repeat label1;
15710 SELECT count1;
15711 END//
15712 CALL sp6();
15713 count1
15714 -1
15715 DROP PROCEDURE sp6;
15716
15717 Testcase 4.3.7:
15718 --------------------------------------------------------------------------------
15719 DROP PROCEDURE IF EXISTS sp7;
15720 CREATE PROCEDURE sp7()
15721 BEGIN
15722 DECLARE count INT DEFAULT 100;
15723 label1: loop
15724 set @dummystring = 'temp value';
15725 if count > 10 then leave label1;
15726 END if;
15727 label1 iterate;
15728 END label1 loop;
15729 END//
15730 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate;
15731 END label1 loop;
15732 END' at line 8
15733 DROP PROCEDURE IF EXISTS sp7;
15734 CREATE PROCEDURE sp7()
15735 BEGIN
15736 label1: END loop;
15737 set @dummystring = 'temp value';
15738 if count > 10 then leave label1;
15739 END if;
15740 iterate label1;
15741 loop;
15742 END//
15743 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'END loop;
15744 set @dummystring = 'temp value';
15745 if count > 10 then leave label1;
15746 E...' at line 3
15747 DROP PROCEDURE IF EXISTS sp7;
15748 CREATE PROCEDURE sp7()
15749 BEGIN
15750 label1: iterate label1;
15751 loop
15752 set @dummystring = 'temp value';
15753 if count > 10 then leave label1;
15754 END if;
15755 END loop label1;
15756 END//
15757 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'iterate label1;
15758 loop
15759 set @dummystring = 'temp value';
15760 if count > 10 then leav...' at line 3
15761
15762 Testcase 4.3.8:
15763 --------------------------------------------------------------------------------
15764 DROP PROCEDURE IF EXISTS sp8;
15765 CREATE PROCEDURE sp8()
15766 BEGIN
15767 declare v1 int default 5;
15768 do while v1 > 0
15769 set v1 = v1 - 1;
15770 END while;
15771 END//
15772 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while v1 > 0
15773 set v1 = v1 - 1;
15774 END while;
15775 END' at line 4
15776 DROP PROCEDURE IF EXISTS sp8;
15777 CREATE PROCEDURE sp8()
15778 BEGIN
15779 declare v1 int default 5;
15780 do v1 > 0 while
15781 set v1 = v1 - 1;
15782 END while;
15783 END//
15784 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while
15785 set v1 = v1 - 1;
15786 END while;
15787 END' at line 4
15788 DROP PROCEDURE IF EXISTS sp8;
15789 CREATE PROCEDURE sp8()
15790 BEGIN
15791 declare v1 int default 5;
15792 END while;
15793 set v1 = v1 - 1;
15794 while v1 > 0 do;
15795 END//
15796 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'while;
15797 set v1 = v1 - 1;
15798 while v1 > 0 do;
15799 END' at line 4
15800
15801 Testcase 4.3.12:
15802 --------------------------------------------------------------------------------
15803 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15804 DROP PROCEDURE IF EXISTS sp12;
15805 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15806 CREATE PROCEDURE sp12( )
15807 BEGIN
15808 declare count1 integer default 1;
15809 declare count2 int;
15810 label1: loop
15811 if count1 > 2 then leave label1;
15812 END if;
15813 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15814 label2: loop
15815 if count2 > 2 then leave label2;
15816 END if;
15817 set count2 = count2 + 1;
15818 END loop label1;
15819 set count1 = count1 + 1;
15820 iterate label1;
15821 END loop label2;
15822 END//
15823 ERROR 42000: End-label label1 without match
15824 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15825
15826 Testcase 4.3.13:
15827 --------------------------------------------------------------------------------
15828 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15829 DROP PROCEDURE IF EXISTS sp13;
15830 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15831 CREATE PROCEDURE sp13( )
15832 BEGIN
15833 declare count1 integer default 1;
15834 lable1: loop
15835 if count1 > 2 then leave lable1;
15836 END if;
15837 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15838 set count1 = count1 + 1;
15839 iterate lable1;
15840 END loop;
15841 END//
15842 CALL sp13();
15843 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15844 f1 f2 f3
15845 xyz pqr 1
15846 xyz pqr 2
15847 DROP PROCEDURE sp13;
15848 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15849
15850 Testcase 4.3.14:
15851 --------------------------------------------------------------------------------
15852 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15853 DROP PROCEDURE IF EXISTS sp14;
15854 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15855 CREATE PROCEDURE sp14( )
15856 BEGIN
15857 declare count1 integer default 1;
15858 loop
15859 if count1 > 2 then leave lable1;
15860 END if;
15861 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15862 set count1 = count1 + 1;
15863 iterate lable1;
15864 END loop label1;
15865 END//
15866 ERROR 42000: LEAVE with no matching label: lable1
15867 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
15868
15869 Testcase 4.3.15:
15870 --------------------------------------------------------------------------------
15871 drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
15872 DROP PROCEDURE IF EXISTS sp15;
15873 create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
15874 CREATE PROCEDURE sp15( )
15875 BEGIN
15876 declare count1 integer default 1;
15877 label1 loop
15878 if count1 > 2 then leave lable1;
15879 END if;
15880 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15881 set count1 = count1 + 1;
15882 iterate lable1;
15883 END loop label1;
15884 END//
15885 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'loop
15886 if count1 > 2 then leave lable1;
15887 END if;
15888 insert into res_t3_itisalongnam...' at line 4
15889
15890 Testcase 4.3.16:
15891 ----------------
15892 Ensure that every beginning label with the same scope must be unique.
15893 --------------------------------------------------------------------------------
15894 DROP PROCEDURE IF EXISTS sp16;
15895 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15896 CREATE PROCEDURE sp16( )
15897 BEGIN
15898 declare count1 integer default 1;
15899 declare count2 integer default 1;
15900 label1: repeat
15901 set count1 = count1 + 1;
15902 set count2 = 1;
15903 label1: repeat
15904 set count2 = count2 + 1;
15905 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
15906 until count2 > 3
15907 END repeat label1;
15908 until count1 > 3
15909 END repeat label1;
15910 END//
15911 ERROR 42000: Redefining label label1
15912 DROP PROCEDURE IF EXISTS sp16;
15913 CREATE PROCEDURE sp16( )
15914 BEGIN
15915 declare count1 integer default 1;
15916 declare count2 integer default 1;
15917 declare count3 integer default 1;
15918 label1: repeat
15919 set count1 = count1 + 1;
15920 label1: repeat
15921 set count2 = count2 + 1;
15922 SELECT count2;
15923 until count2 > 3
15924 END repeat label1;
15925 SELECT count1;
15926 until count1 > 3
15927 END repeat label1;
15928 label1: repeat
15929 set count3 = count3 + 1;
15930 SELECT count3;
15931 until count3 > 3
15932 END repeat label1;
15933 END//
15934 ERROR 42000: Redefining label label1
15935
15936 Testcase 4.3.17:
15937 --------------------------------------------------------------------------------
15938
15939 Testcase 4.3.18:
15940 --------------------------------------------------------------------------------
15941 DROP PROCEDURE IF EXISTS sp18;
15942 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15943 CREATE PROCEDURE sp18( )
15944 BEGIN
15945 declare count1 integer default 1;
15946 label1: repeat
15947 set count1 = count1 + 1;
15948 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15949 until count1 < 3
15950 END repeat label2;
15951 END//
15952 ERROR 42000: End-label label2 without match
15953
15954 Testcase 4.3.19:
15955 --------------------------------------------------------------------------------
15956 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15957 DROP PROCEDURE IF EXISTS sp19;
15958 CREATE PROCEDURE sp19( )
15959 BEGIN
15960 declare count1 integer default 1;
15961 label1: repeat
15962 set count1 = count1 + 1;
15963 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15964 until count1 < 3
15965 END repeat;
15966 END//
15967 CALL sp19();
15968 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15969 f1 f2 f3
15970 xyz pqr 2
15971 DROP PROCEDURE sp19;
15972
15973 Testcase 4.3.20:
15974 --------------------------------------------------------------------------------
15975 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15976 DROP PROCEDURE IF EXISTS sp20;
15977 CREATE PROCEDURE sp20( )
15978 BEGIN
15979 declare count1 integer default 1;
15980 repeat
15981 set count1 = count1 + 1;
15982 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
15983 until count1 < 3
15984 END repeat label1;
15985 END//
15986 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'label1;
15987 END' at line 8
15988
15989 Testcase 4.3.21:
15990 --------------------------------------------------------------------------------
15991
15992 Testcase 4.3.22:
15993 --------------------------------------------------------------------------------
15994 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
15995 DROP PROCEDURE IF EXISTS sp22;
15996 CREATE PROCEDURE sp22( )
15997 BEGIN
15998 declare count1 integer default 1;
15999 declare count2 integer default 1;
16000 while count1 < 3 do
16001 set count1 = count1 + 1;
16002 set count2 = 1;
16003 label1: while count2 < 3 do
16004 set count2 = count2 + 1;
16005 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16006 END while label2;
16007 END while;
16008 END//
16009 ERROR 42000: End-label label2 without match
16010
16011 Testcase 4.3.23:
16012 --------------------------------------------------------------------------------
16013 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16014 DROP PROCEDURE IF EXISTS sp23;
16015 CREATE PROCEDURE sp23( )
16016 BEGIN
16017 declare count1 integer default 1;
16018 declare count2 integer default 1;
16019 while count1 < 3 do
16020 set count1 = count1 + 1;
16021 set count2 = 1;
16022 while count2 < 3 do
16023 set count2 = count2 + 1;
16024 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16025 END while label1;
16026 END while;
16027 END//
16028 ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'label1;
16029 END while;
16030 END' at line 11
16031
16032 Testcase 4.3.25:
16033 --------------------------------------------------------------------------------
16034 delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16035 DROP PROCEDURE IF EXISTS sp25;
16036 CREATE PROCEDURE sp25( )
16037 BEGIN
16038 declare count1 integer default 1;
16039 declare count2 integer default 1;
16040 while count1 < 3 do
16041 set count1 = count1 + 1;
16042 set count2 = 1;
16043 label1: while count2 < 3 do
16044 set count2 = count2 + 1;
16045 insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
16046 END while;
16047 END while;
16048 END//
16049 CALL sp25 ();
16050 SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
16051 f1 f2 f3
16052 xyz pqr 2
16053 xyz pqr 2
16054 xyz pqr 3
16055 xyz pqr 3
16056 DROP PROCEDURE sp25;
16057 drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
16058
16059 Section 3.1.4 - Checks for the global nature of stored procedures:
16060 --------------------------------------------------------------------------------
16061 USE db_storedproc;
16062
16063 Testcase 4.4.1:
16064 --------------------------------------------------------------------------------
16065 DROP PROCEDURE IF EXISTS sp1;
16066 DROP DATABASE IF EXISTS d40401;
16067 CREATE PROCEDURE sp1 ( n char(20) )
16068 BEGIN
16069 SELECT n;
16070 END//
16071 CREATE DATABASE d40401;
16072 USE d40401;
16073 CALL db_storedproc.sp1('abcd');
16074 n
16075 abcd
16076 USE db_storedproc;
16077 DROP PROCEDURE sp1;
16078 DROP DATABASE d40401;
16079
16080 Testcase 4.4.2:
16081 --------------------------------------------------------------------------------
16082 DROP FUNCTION IF EXISTS fn1;
16083 DROP FUNCTION IF EXISTS fn11;
16084 DROP DATABASE IF EXISTS d40402;
16085 CREATE FUNCTION fn1(n int) returns int
16086 BEGIN
16087 declare a int;
16088 set a = 9 * n;
16089 return a;
16090 END//
16091 CREATE DATABASE d40402;
16092 USE d40402;
16093 SELECT db_storedproc.fn1(100);
16094 db_storedproc.fn1(100)
16095 900
16096 SELECT db_storedproc.fn1(1000);
16097 db_storedproc.fn1(1000)
16098 9000
16099 CREATE FUNCTION db_storedproc.fn11(n int) returns int
16100 BEGIN
16101 declare a int;
16102 set a = 9 * n;
16103 return a;
16104 END//
16105 SELECT db_storedproc.fn11(100);
16106 db_storedproc.fn11(100)
16107 900
16108 SELECT db_storedproc.fn11(1000);
16109 db_storedproc.fn11(1000)
16110 9000
16111 USE db_storedproc;
16112 DROP FUNCTION fn1;
16113 DROP FUNCTION fn11;
16114 DROP DATABASE d40402;
16115
16116 Testcase 4.4.3:
16117 --------------------------------------------------------------------------------
16118 DROP DATABASE IF EXISTS d1;
16119 DROP DATABASE IF EXISTS d2;
16120 CREATE DATABASE d1;
16121 CREATE DATABASE d2;
16122 USE d1;
16123 create table res_t41(a char(5), b char(10));
16124 insert into res_t41 values('abcde', 'a!@#$%^&*(');
16125 USE d2;
16126 create table res_t42(a char(5), b char(10));
16127 USE d1;
16128 CREATE PROCEDURE sp2(n char (20))
16129 BEGIN
16130 SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
16131 insert into d2.res_t42 values (@a, @b);
16132 END//
16133 USE d2;
16134 CALL d1.sp2('a!@#$%^&*(');
16135 show warnings;
16136 Level Code Message
16137 SELECT * from d1.res_t41;
16138 a b
16139 abcde a!@#$%^&*(
16140 SELECT * from res_t42;
16141 a b
16142 abcde a!@#$%^&*(
16143 USE db_storedproc;
16144 DROP DATABASE d1;
16145 DROP DATABASE d2;
16146
16147 Testcase 4.4.4:
16148 --------------------------------------------------------------------------------
16149 DROP DATABASE IF EXISTS d1;
16150 CREATE DATABASE d1;
16151 USE d1;
16152 CREATE PROCEDURE sp3()
16153 BEGIN
16154 USE d1;
16155 END//
16156 ERROR 0A000: USE is not allowed in stored procedures
16157 USE db_storedproc;
16158 DROP DATABASE d1;
16159
16160 Testcase 4.4.5:
16161 --------------------------------------------------------------------------------
16162 DROP DATABASE IF EXISTS d1;
16163 CREATE DATABASE d1;
16164 USE d1;
16165 create table t43(a char(5), b char(10));
16166 insert into t43 values('abcde', 'a!@#$%^&*(');
16167 CREATE PROCEDURE d1.sp4()
16168 SELECT * from d1.t43;
16169 SELECT * from mysql.proc where specific_name = 'sp4';
16170 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16171 d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci SELECT * from d1.t43 NONE
16172 USE db_storedproc;
16173 DROP DATABASE d1;
16174 CREATE DATABASE d1;
16175 USE d1;
16176 create table t44(a char(5), b char(10));
16177 SELECT * from mysql.proc where specific_name = 'sp4';
16178 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16179 USE db_storedproc;
16180 DROP DATABASE d1;
16181
16182 Testcase 4.4.6:
16183 --------------------------------------------------------------------------------
16184 USE db_storedproc;
16185 DROP PROCEDURE IF EXISTS sp5;
16186 CREATE PROCEDURE sp5()
16187 SELECT * from db_storedproc.t4 limit 0, 10;
16188 SELECT db from mysql.proc where specific_name = 'sp5';
16189 db
16190 db_storedproc
16191 DROP PROCEDURE sp5;
16192
16193 Testcase 4.4.7:
16194 --------------------------------------------------------------------------------
16195 USE db_storedproc;
16196 drop table IF EXISTS t46;
16197 DROP PROCEDURE IF EXISTS sp6;
16198 create table t46(f1 char(20), f2 char(20));
16199 insert into t46 values ('abcd', 'wxyz');
16200 CREATE PROCEDURE db_storedproc.sp6()
16201 SELECT * from db_storedproc.t4 limit 0, 10;
16202 SELECT db from mysql.proc where specific_name = 'sp6';
16203 db
16204 db_storedproc
16205 drop table t46;
16206 DROP PROCEDURE sp6;
16207
16208 Testcase 4.4.8:
16209 --------------------------------------------------------------------------------
16210 DROP DATABASE IF EXISTS d1;
16211 DROP DATABASE IF EXISTS d2;
16212 CREATE DATABASE d1;
16213 CREATE DATABASE d2;
16214 USE d1;
16215 CREATE PROCEDURE sp8 ( n char(20) ) sql security DEFINER comment 'initial'
16216 SELECT * from t1 where t1.f1 = n;
16217 USE d2;
16218 alter procedure d1.sp8 sql security DEFINER comment 'updated';
16219 SELECT * from mysql.proc where specific_name='sp8' and db='d1';
16220 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16221 d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created updated latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci SELECT * from t1 where t1.f1 = n NONE
16222
16223 Testcase 4.4.9:
16224 --------------------------------------------------------------------------------
16225 USE d1;
16226 DROP FUNCTION IF EXISTS fn1;
16227 DROP FUNCTION IF EXISTS fn11;
16228 CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
16229 BEGIN
16230 declare a int;
16231 set a = 0.9 * n;
16232 return a;
16233 END//
16234 USE d2;
16235 alter function d1.fn2 sql security DEFINER comment 'updated';
16236 SELECT * from mysql.proc where specific_name='fn2' and db='d1';
16237 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16238 d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
16239 declare a int;
16240 set a = 0.9 * n;
16241 return a;
16242 END root@localhost modified created updated latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci BEGIN
16243 declare a int;
16244 set a = 0.9 * n;
16245 return a;
16246 END NONE
16247
16248 Testcase 4.4.10:
16249 --------------------------------------------------------------------------------
16250 USE d1;
16251 CREATE PROCEDURE sp9 ( n char(20) )
16252 SELECT * from t1 where t1.f1 = n;
16253 USE d2;
16254 DROP PROCEDURE d1.sp9;
16255 SELECT * from mysql.proc where specific_name='sp9' and db='d1';
16256 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16257
16258 Testcase 4.4.11:
16259 --------------------------------------------------------------------------------
16260 USE d1;
16261 CREATE FUNCTION d1.fn3(n int) returns int
16262 BEGIN
16263 declare a int;
16264 set a = 0.9 * n;
16265 return a;
16266 END//
16267 USE d2;
16268 DROP FUNCTION d1.fn3;
16269 SELECT * from mysql.proc where specific_name='fn3' and db='d1';
16270 db name type specific_name language sql_data_access is_deterministic security_type param_list returns body definer created modified sql_mode comment character_set_client collation_connection db_collation body_utf8 aggregate
16271 USE db_storedproc;
16272 DROP DATABASE d1;
16273 DROP DATABASE d2;
16274
16275 Section 3.1.5 - Parameter use checks:
16276 Functions with all data types
16277 --------------------------------------------------------------------------------
16278 DROP DATABASE IF EXISTS d1;
16279 CREATE DATABASE d1;
16280 USE d1;
16281 DROP FUNCTION IF EXISTS fn1;
16282 CREATE FUNCTION fn1( f1 bigint) returns bigint
16283 BEGIN
16284 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16285 return f1;
16286 END//
16287 SELECT fn1(-9.22e+18);
16288 fn1(-9.22e+18)
16289 -9220000000000000000
16290 DROP FUNCTION IF EXISTS fn2;
16291 CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
16292 BEGIN
16293 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16294 return f1;
16295 END//
16296 SELECT fn2(1.84e+19);
16297 fn2(1.84e+19)
16298 18400000000000000000
16299 DROP FUNCTION IF EXISTS fn3;
16300 CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
16301 BEGIN
16302 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16303 return f1;
16304 END//
16305 SELECT fn3(1.84e+17);
16306 fn3(1.84e+17)
16307 184000000000000000
16308 DROP FUNCTION IF EXISTS fn4;
16309 CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
16310 BEGIN
16311 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16312 return f1;
16313 END//
16314 SELECT fn4(-9.22e+15);
16315 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
16316 DROP FUNCTION IF EXISTS fn5;
16317 CREATE FUNCTION fn5( f1 decimal) returns decimal
16318 BEGIN
16319 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16320 return f1;
16321 END//
16322 SELECT fn5(-1.00e+09);
16323 fn5(-1.00e+09)
16324 -1000000000
16325 DROP FUNCTION IF EXISTS fn6;
16326 CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
16327 BEGIN
16328 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16329 return f1;
16330 END//
16331 SELECT fn6(-1.00e+09);
16332 fn6(-1.00e+09)
16333 -1000000000
16334 DROP FUNCTION IF EXISTS fn7;
16335 CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
16336 BEGIN
16337 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16338 return f1;
16339 END//
16340 SELECT fn7(99999999999);
16341 fn7(99999999999)
16342 9999999999
16343 Warnings:
16344 Warning 1264 Out of range value for column 'f1' at row 1
16345 DROP FUNCTION IF EXISTS fn8;
16346 CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
16347 BEGIN
16348 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16349 return f1;
16350 END//
16351 SELECT fn8(999999999);
16352 fn8(999999999)
16353 1000000000
16354 DROP FUNCTION IF EXISTS fn9;
16355 CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
16356 BEGIN
16357 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16358 return f1;
16359 END//
16360 SELECT fn9(-1.00e+09);
16361 fn9(-1.00e+09)
16362 0000000010
16363 Warnings:
16364 Warning 1264 Out of range value for column 'f1' at row 1
16365 DROP FUNCTION IF EXISTS fn10;
16366 CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
16367 BEGIN
16368 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16369 return f1;
16370 END//
16371 SELECT fn10(-1.00e+09);
16372 fn10(-1.00e+09)
16373 -1000000000
16374 DROP FUNCTION IF EXISTS fn11;
16375 CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
16376 BEGIN
16377 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16378 return f1;
16379 END//
16380 SELECT fn11(99999999999);
16381 fn11(99999999999)
16382 9999999999
16383 Warnings:
16384 Warning 1264 Out of range value for column 'f1' at row 1
16385 DROP FUNCTION IF EXISTS fn12;
16386 CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
16387 BEGIN
16388 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16389 return f1;
16390 END//
16391 SELECT fn12(999999999);
16392 fn12(999999999)
16393 1000000000
16394 DROP FUNCTION IF EXISTS fn13;
16395 CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
16396 BEGIN
16397 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16398 return f1;
16399 END//
16400 SELECT fn13(-1.00e+09);
16401 fn13(-1.00e+09)
16402 0000000010
16403 Warnings:
16404 Warning 1264 Out of range value for column 'f1' at row 1
16405 DROP FUNCTION IF EXISTS fn14;
16406 CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
16407 BEGIN
16408 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16409 return f1;
16410 END//
16411 SELECT fn14(-1.00e+21);
16412 fn14(-1.00e+21)
16413 -1000000000000000000000.000000000000000000000000000000
16414 DROP FUNCTION IF EXISTS fn15;
16415 CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
16416 BEGIN
16417 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16418 return f1;
16419 END//
16420 SELECT fn15(1.00e+16);
16421 fn15(1.00e+16)
16422 10000000000000000.000000000000000000000000000000
16423 DROP FUNCTION IF EXISTS fn16;
16424 CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
16425 BEGIN
16426 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16427 return f1;
16428 END//
16429 SELECT fn16(1.00e+16);
16430 fn16(1.00e+16)
16431 000000000000000010000000000000000.000000000000000000000000000000
16432 DROP FUNCTION IF EXISTS fn17;
16433 CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
16434 BEGIN
16435 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16436 return f1;
16437 END//
16438 SELECT fn17(-1.00e+21);
16439 fn17(-1.00e+21)
16440 000000000000000000000000000000010.000000000000000000000000000000
16441 Warnings:
16442 Warning 1264 Out of range value for column 'f1' at row 1
16443 DROP FUNCTION IF EXISTS fn18_d;
16444 CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
16445 BEGIN
16446 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16447 return f1;
16448 END//
16449 SELECT fn18_d( -1000000000000000000000000000000 );
16450 fn18_d( -1000000000000000000000000000000 )
16451 -1000000000000000000000000000000
16452 DROP FUNCTION IF EXISTS fn19_du;
16453 CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
16454 BEGIN
16455 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16456 return f1;
16457 END//
16458 SELECT fn19_du( 100000000000000000000 );
16459 fn19_du( 100000000000000000000 )
16460 100000000000000000000
16461 DROP FUNCTION IF EXISTS fn20_duz;
16462 CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
16463 BEGIN
16464 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16465 return f1;
16466 END//
16467 SELECT fn20_duz( 1000000000000000000000000 );
16468 fn20_duz( 1000000000000000000000000 )
16469 0000000000000000000000000000000000000001000000000000000000000000
16470 DROP FUNCTION IF EXISTS fn21_d_z;
16471 CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
16472 BEGIN
16473 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16474 return f1;
16475 END//
16476 SELECT fn21_d_z(1.00e+00);
16477 fn21_d_z(1.00e+00)
16478 0000000000000000000000000000000000000000000000000000000000000010
16479 DROP FUNCTION IF EXISTS fn22;
16480 CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
16481 BEGIN
16482 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16483 return f1;
16484 END//
16485 SELECT fn22(1.00e+00);
16486 fn22(1.00e+00)
16487 10
16488 DROP FUNCTION IF EXISTS fn23;
16489 CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
16490 BEGIN
16491 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16492 return f1;
16493 END//
16494 SELECT fn23(1.00e+00);
16495 fn23(1.00e+00)
16496 0000000010
16497 DROP FUNCTION IF EXISTS fn24;
16498 CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
16499 BEGIN
16500 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16501 return f1;
16502 END//
16503 SELECT fn24(-1.00e+09);
16504 fn24(-1.00e+09)
16505 0000000010
16506 Warnings:
16507 Warning 1264 Out of range value for column 'f1' at row 1
16508 DROP FUNCTION IF EXISTS fn25;
16509 CREATE FUNCTION fn25( f1 double) returns double
16510 BEGIN
16511 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16512 return f1;
16513 END//
16514 SELECT fn25(1.00e+00);
16515 fn25(1.00e+00)
16516 1
16517 DROP FUNCTION IF EXISTS fn26;
16518 CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
16519 BEGIN
16520 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16521 return f1;
16522 END//
16523 SELECT fn26(1.00e+00);
16524 fn26(1.00e+00)
16525 10
16526 DROP FUNCTION IF EXISTS fn27;
16527 CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
16528 BEGIN
16529 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16530 return f1;
16531 END//
16532 SELECT fn27(1.00e+00);
16533 fn27(1.00e+00)
16534 10
16535 DROP FUNCTION IF EXISTS fn28;
16536 CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
16537 BEGIN
16538 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16539 return f1;
16540 END//
16541 SELECT fn28(1.00e+00);
16542 fn28(1.00e+00)
16543 10
16544 DROP FUNCTION IF EXISTS fn29;
16545 CREATE FUNCTION fn29( f1 float) returns float
16546 BEGIN
16547 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16548 return f1;
16549 END//
16550 SELECT fn29(1.00e+00);
16551 fn29(1.00e+00)
16552 1
16553 DROP FUNCTION IF EXISTS fn30;
16554 CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
16555 BEGIN
16556 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16557 return f1;
16558 END//
16559 SELECT fn30(1.00e+00);
16560 fn30(1.00e+00)
16561 10
16562 DROP FUNCTION IF EXISTS fn31;
16563 CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
16564 BEGIN
16565 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16566 return f1;
16567 END//
16568 SELECT fn31(1.00e+00);
16569 fn31(1.00e+00)
16570 10
16571 DROP FUNCTION IF EXISTS fn32;
16572 CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
16573 BEGIN
16574 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16575 return f1;
16576 END//
16577 SELECT fn32(1.00e+00);
16578 fn32(1.00e+00)
16579 10
16580 DROP FUNCTION IF EXISTS fn33;
16581 CREATE FUNCTION fn33( f1 float(0)) returns float(0)
16582 BEGIN
16583 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16584 return f1;
16585 END//
16586 SELECT fn33(1.00e+00);
16587 fn33(1.00e+00)
16588 1
16589 DROP FUNCTION IF EXISTS fn34;
16590 CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
16591 BEGIN
16592 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16593 return f1;
16594 END//
16595 SELECT fn34(1.00e+00);
16596 fn34(1.00e+00)
16597 10
16598 DROP FUNCTION IF EXISTS fn35;
16599 CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
16600 BEGIN
16601 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16602 return f1;
16603 END//
16604 SELECT fn35(1.00e+00);
16605 fn35(1.00e+00)
16606 10
16607 DROP FUNCTION IF EXISTS fn36;
16608 CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
16609 BEGIN
16610 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16611 return f1;
16612 END//
16613 SELECT fn36(1.00e+00);
16614 fn36(1.00e+00)
16615 10
16616 DROP FUNCTION IF EXISTS fn37;
16617 CREATE FUNCTION fn37( f1 float(23)) returns float(23)
16618 BEGIN
16619 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16620 return f1;
16621 END//
16622 SELECT fn37(1.00e+00);
16623 fn37(1.00e+00)
16624 1
16625 DROP FUNCTION IF EXISTS fn38;
16626 CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
16627 BEGIN
16628 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16629 return f1;
16630 END//
16631 SELECT fn38(1.00e+00);
16632 fn38(1.00e+00)
16633 10
16634 DROP FUNCTION IF EXISTS fn39;
16635 CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
16636 BEGIN
16637 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16638 return f1;
16639 END//
16640 SELECT fn39(1.00e+00);
16641 fn39(1.00e+00)
16642 10
16643 DROP FUNCTION IF EXISTS fn40;
16644 CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
16645 BEGIN
16646 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16647 return f1;
16648 END//
16649 SELECT fn40(1.00e+00);
16650 fn40(1.00e+00)
16651 10
16652 DROP FUNCTION IF EXISTS fn41;
16653 CREATE FUNCTION fn41( f1 float(24)) returns float(24)
16654 BEGIN
16655 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16656 return f1;
16657 END//
16658 SELECT fn41(1.00e+00);
16659 fn41(1.00e+00)
16660 1
16661 DROP FUNCTION IF EXISTS fn42;
16662 CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
16663 BEGIN
16664 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16665 return f1;
16666 END//
16667 SELECT fn42(1.00e+00);
16668 fn42(1.00e+00)
16669 10
16670 DROP FUNCTION IF EXISTS fn43;
16671 CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
16672 BEGIN
16673 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16674 return f1;
16675 END//
16676 SELECT fn43(1.00e+00);
16677 fn43(1.00e+00)
16678 10
16679 DROP FUNCTION IF EXISTS fn44;
16680 CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
16681 BEGIN
16682 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16683 return f1;
16684 END//
16685 SELECT fn44(1.00e+00);
16686 fn44(1.00e+00)
16687 10
16688 DROP FUNCTION IF EXISTS fn45;
16689 CREATE FUNCTION fn45( f1 float(53)) returns float(53)
16690 BEGIN
16691 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16692 return f1;
16693 END//
16694 SELECT fn45(1.00e+00);
16695 fn45(1.00e+00)
16696 1
16697 DROP FUNCTION IF EXISTS fn46;
16698 CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
16699 BEGIN
16700 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16701 return f1;
16702 END//
16703 SELECT fn46(1.00e+00);
16704 fn46(1.00e+00)
16705 10
16706 DROP FUNCTION IF EXISTS fn47;
16707 CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
16708 BEGIN
16709 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16710 return f1;
16711 END//
16712 SELECT fn47(1.00e+00);
16713 fn47(1.00e+00)
16714 10
16715 DROP FUNCTION IF EXISTS fn48;
16716 CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
16717 BEGIN
16718 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16719 return f1;
16720 END//
16721 SELECT fn48(1.00e+00);
16722 fn48(1.00e+00)
16723 10
16724 DROP FUNCTION IF EXISTS fn49;
16725 CREATE FUNCTION fn49( f1 int) returns int
16726 BEGIN
16727 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16728 return f1;
16729 END//
16730 SELECT fn49(-2.15e+09);
16731 fn49(-2.15e+09)
16732 -2147483638
16733 Warnings:
16734 Warning 1264 Out of range value for column 'f1' at row 1
16735 DROP FUNCTION IF EXISTS fn50;
16736 CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
16737 BEGIN
16738 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16739 return f1;
16740 END//
16741 SELECT fn50(4.29e+09);
16742 fn50(4.29e+09)
16743 4290000000
16744 DROP FUNCTION IF EXISTS fn51;
16745 CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
16746 BEGIN
16747 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16748 return f1;
16749 END//
16750 SELECT fn51(4.29e+09);
16751 fn51(4.29e+09)
16752 4290000000
16753 DROP FUNCTION IF EXISTS fn52;
16754 CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
16755 BEGIN
16756 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16757 return f1;
16758 END//
16759 SELECT fn52(2.15e+08);
16760 fn52(2.15e+08)
16761 215000000
16762 DROP FUNCTION IF EXISTS fn53;
16763 CREATE FUNCTION fn53( f1 mediumint) returns mediumint
16764 BEGIN
16765 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16766 return f1;
16767 END//
16768 SELECT fn53(-8388600);
16769 fn53(-8388600)
16770 -8388598
16771 DROP FUNCTION IF EXISTS fn54;
16772 CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
16773 BEGIN
16774 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16775 return f1;
16776 END//
16777 SELECT fn54(16777201);
16778 fn54(16777201)
16779 16777202
16780 DROP FUNCTION IF EXISTS fn55;
16781 CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
16782 BEGIN
16783 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16784 return f1;
16785 END//
16786 SELECT fn55(16777210);
16787 fn55(16777210)
16788 16777210
16789 DROP FUNCTION IF EXISTS fn56;
16790 CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
16791 BEGIN
16792 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16793 return f1;
16794 END//
16795 SELECT fn56(-8388601);
16796 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
16797 DROP FUNCTION IF EXISTS fn57;
16798 CREATE FUNCTION fn57( f1 numeric) returns numeric
16799 BEGIN
16800 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16801 return f1;
16802 END//
16803 SELECT fn57(-999999999);
16804 fn57(-999999999)
16805 -1000000000
16806 DROP FUNCTION IF EXISTS fn58;
16807 CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
16808 BEGIN
16809 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16810 return f1;
16811 END//
16812 SELECT fn58(-999999999);
16813 fn58(-999999999)
16814 -1000000000
16815 DROP FUNCTION IF EXISTS fn59;
16816 CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
16817 BEGIN
16818 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16819 return f1;
16820 END//
16821 SELECT fn59(9999999999);
16822 fn59(9999999999)
16823 9999999999
16824 DROP FUNCTION IF EXISTS fn60;
16825 CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
16826 BEGIN
16827 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16828 return f1;
16829 END//
16830 SELECT fn60(99999999);
16831 fn60(99999999)
16832 0100000000
16833 DROP FUNCTION IF EXISTS fn61;
16834 CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
16835 BEGIN
16836 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16837 return f1;
16838 END//
16839 SELECT fn61(-99999999);
16840 fn61(-99999999)
16841 0000000010
16842 Warnings:
16843 Warning 1264 Out of range value for column 'f1' at row 1
16844 DROP FUNCTION IF EXISTS fn62;
16845 CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
16846 BEGIN
16847 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16848 return f1;
16849 END//
16850 SELECT fn62(-999999999);
16851 fn62(-999999999)
16852 -1000000000
16853 DROP FUNCTION IF EXISTS fn63;
16854 CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
16855 BEGIN
16856 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16857 return f1;
16858 END//
16859 SELECT fn63(9999999999);
16860 fn63(9999999999)
16861 9999999999
16862 DROP FUNCTION IF EXISTS fn64;
16863 CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
16864 BEGIN
16865 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16866 return f1;
16867 END//
16868 SELECT fn64(99999999);
16869 fn64(99999999)
16870 0100000000
16871 DROP FUNCTION IF EXISTS fn65;
16872 CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
16873 BEGIN
16874 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16875 return f1;
16876 END//
16877 SELECT fn65(-99999999);
16878 fn65(-99999999)
16879 0000000010
16880 Warnings:
16881 Warning 1264 Out of range value for column 'f1' at row 1
16882 DROP FUNCTION IF EXISTS fn66;
16883 CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
16884 BEGIN
16885 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16886 return f1;
16887 END//
16888 SELECT fn66(-1e+36);
16889 fn66(-1e+36)
16890 -999999999999999999999999999999989.999999999999999999999999999999
16891 Warnings:
16892 Warning 1264 Out of range value for column 'f1' at row 1
16893 DROP FUNCTION IF EXISTS fn67;
16894 CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
16895 BEGIN
16896 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16897 return f1;
16898 END//
16899 SELECT fn67(1e+36);
16900 fn67(1e+36)
16901 999999999999999999999999999999999.999999999999999999999999999999
16902 Warnings:
16903 Warning 1264 Out of range value for column 'f1' at row 1
16904 DROP FUNCTION IF EXISTS fn68;
16905 CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
16906 BEGIN
16907 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16908 return f1;
16909 END//
16910 SELECT fn68(1e+36);
16911 fn68(1e+36)
16912 999999999999999999999999999999999.999999999999999999999999999999
16913 Warnings:
16914 Warning 1264 Out of range value for column 'f1' at row 1
16915 DROP FUNCTION IF EXISTS fn69;
16916 CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
16917 BEGIN
16918 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16919 return f1;
16920 END//
16921 SELECT fn69(-1e+36);
16922 fn69(-1e+36)
16923 000000000000000000000000000000010.000000000000000000000000000000
16924 Warnings:
16925 Warning 1264 Out of range value for column 'f1' at row 1
16926 DROP FUNCTION IF EXISTS fn70_n;
16927 CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
16928 BEGIN
16929 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16930 return f1;
16931 END//
16932 SELECT fn70_n( -1000000000000000000000000000000 );
16933 fn70_n( -1000000000000000000000000000000 )
16934 -1000000000000000000000000000000
16935 SELECT fn70_n( -10000000000000000000000000000000000000000 );
16936 fn70_n( -10000000000000000000000000000000000000000 )
16937 -10000000000000000000000000000000000000000
16938 DROP FUNCTION IF EXISTS fn71_nu;
16939 CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
16940 BEGIN
16941 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16942 return f1;
16943 END//
16944 SELECT fn71_nu( 10000000000000000000000000000000000000000 );
16945 fn71_nu( 10000000000000000000000000000000000000000 )
16946 10000000000000000000000000000000000000000
16947 DROP FUNCTION IF EXISTS fn72_nuz;
16948 CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
16949 BEGIN
16950 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16951 return f1;
16952 END//
16953 SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
16954 fn72_nuz( 10000000000000000000000000000000000000000 )
16955 0000000000000000000000010000000000000000000000000000000000000000
16956 DROP FUNCTION IF EXISTS fn73_n_z;
16957 CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
16958 BEGIN
16959 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16960 return f1;
16961 END//
16962 SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
16963 fn73_n_z( 10000000000000000000000000000000000000000 )
16964 0000000000000000000000010000000000000000000000000000000000000000
16965 DROP FUNCTION IF EXISTS fn74;
16966 CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
16967 BEGIN
16968 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16969 return f1;
16970 END//
16971 SELECT fn74(999999999);
16972 fn74(999999999)
16973 1000000000
16974 DROP FUNCTION IF EXISTS fn75;
16975 CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
16976 BEGIN
16977 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16978 return f1;
16979 END//
16980 SELECT fn75(999999999);
16981 fn75(999999999)
16982 1000000000
16983 DROP FUNCTION IF EXISTS fn76;
16984 CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
16985 BEGIN
16986 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16987 return f1;
16988 END//
16989 SELECT fn76(-999999999);
16990 fn76(-999999999)
16991 0000000010
16992 Warnings:
16993 Warning 1264 Out of range value for column 'f1' at row 1
16994 DROP FUNCTION IF EXISTS fn77;
16995 CREATE FUNCTION fn77( f1 real) returns real
16996 BEGIN
16997 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
16998 return f1;
16999 END//
17000 SELECT fn77(1.1);
17001 fn77(1.1)
17002 1.0999999999999996
17003 DROP FUNCTION IF EXISTS fn78;
17004 CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
17005 BEGIN
17006 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17007 return f1;
17008 END//
17009 SELECT fn78(1.1);
17010 fn78(1.1)
17011 10
17012 DROP FUNCTION IF EXISTS fn79;
17013 CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
17014 BEGIN
17015 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17016 return f1;
17017 END//
17018 SELECT fn79(1.1);
17019 fn79(1.1)
17020 10
17021 DROP FUNCTION IF EXISTS fn80;
17022 CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
17023 BEGIN
17024 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17025 return f1;
17026 END//
17027 SELECT fn80(1.1);
17028 fn80(1.1)
17029 10
17030 DROP FUNCTION IF EXISTS fn81;
17031 CREATE FUNCTION fn81( f1 smallint) returns smallint
17032 BEGIN
17033 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17034 return f1;
17035 END//
17036 SELECT fn81(-32701);
17037 fn81(-32701)
17038 -32702
17039 DROP FUNCTION IF EXISTS fn82;
17040 CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
17041 BEGIN
17042 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17043 return f1;
17044 END//
17045 SELECT fn82(65531);
17046 fn82(65531)
17047 65532
17048 DROP FUNCTION IF EXISTS fn83;
17049 CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
17050 BEGIN
17051 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17052 return f1;
17053 END//
17054 SELECT fn83(65531);
17055 fn83(65531)
17056 65532
17057 DROP FUNCTION IF EXISTS fn84;
17058 CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
17059 BEGIN
17060 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17061 return f1;
17062 END//
17063 SELECT fn84(-32601);
17064 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
17065 DROP FUNCTION IF EXISTS fn85;
17066 CREATE FUNCTION fn85( f1 tinyint) returns tinyint
17067 BEGIN
17068 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17069 return f1;
17070 END//
17071 SELECT fn85(-115);
17072 fn85(-115)
17073 -116
17074 DROP FUNCTION IF EXISTS fn86;
17075 CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
17076 BEGIN
17077 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17078 return f1;
17079 END//
17080 SELECT fn86(251);
17081 fn86(251)
17082 252
17083 DROP FUNCTION IF EXISTS fn87;
17084 CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
17085 BEGIN
17086 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17087 return f1;
17088 END//
17089 SELECT fn87(201);
17090 fn87(201)
17091 202
17092 DROP FUNCTION IF EXISTS fn88;
17093 CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
17094 BEGIN
17095 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17096 return f1;
17097 END//
17098 SELECT fn88(-101);
17099 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
17100 DROP FUNCTION IF EXISTS fn89;
17101 CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
17102 BEGIN
17103 IF f1 = '1enum' THEN
17104 SET f1 = '2enum';
17105 ELSE
17106 SET f1 = '1enum';
17107 END IF;
17108 RETURN f1;
17109 END//
17110 SELECT fn89( '1enum');
17111 fn89( '1enum')
17112 2enum
17113 DROP FUNCTION IF EXISTS fn90;
17114 CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
17115 BEGIN
17116 IF f1 = '1set' THEN
17117 SET f1 = '2set';
17118 ELSE
17119 SET f1 = '1set';
17120 END IF;
17121 RETURN f1;
17122 END//
17123 SELECT fn90( '1set');
17124 fn90( '1set')
17125 2set
17126 DROP FUNCTION IF EXISTS fn91;
17127 CREATE FUNCTION fn91( f1 date) returns date
17128 BEGIN
17129 set f1 = adddate(f1, interval 31 day);
17130 return f1;
17131 END//
17132 SELECT fn91('1997-12-31');
17133 fn91('1997-12-31')
17134 1998-01-31
17135 DROP FUNCTION IF EXISTS fn92;
17136 CREATE FUNCTION fn92( f1 time) returns time
17137 BEGIN
17138 set f1 = addtime(f1, '02:00:00.999998');
17139 return f1;
17140 END//
17141 SELECT fn92( '23:59:59.999999');
17142 fn92( '23:59:59.999999')
17143 25:59:59
17144 DROP FUNCTION IF EXISTS fn93;
17145 CREATE FUNCTION fn93( f1 datetime) returns datetime
17146 BEGIN
17147 set f1 = addtime(f1, '1 1:1:1.000002');
17148 return f1;
17149 END//
17150 SELECT fn93('1997-12-31 23:59:59.999999');
17151 fn93('1997-12-31 23:59:59.999999')
17152 1998-01-02 01:01:00
17153 DROP FUNCTION IF EXISTS fn94;
17154 CREATE FUNCTION fn94( f1 char) returns char
17155 BEGIN
17156 set f1 = concat('a', f1);
17157 return f1;
17158 END//
17159 SELECT fn94( 'h');
17160 fn94( 'h')
17161 a
17162 DROP FUNCTION IF EXISTS fn95;
17163 CREATE FUNCTION fn95( f1 char ascii) returns char ascii
17164 BEGIN
17165 set f1 = concat('a', f1);
17166 return f1;
17167 END//
17168 SELECT fn95('h');
17169 fn95('h')
17170 a
17171 DROP FUNCTION IF EXISTS fn96;
17172 CREATE FUNCTION fn96( f1 binary) returns binary(2)
17173 BEGIN
17174 set f1 = concat('a', f1);
17175 return f1;
17176 END//
17177 SELECT fn96( 'h');
17178 fn96( 'h')
17179 a
17180 DROP FUNCTION IF EXISTS fn97;
17181 CREATE FUNCTION fn97( f1 longtext) returns longtext
17182 BEGIN
17183 set f1 = concat('hello', f1);
17184 return f1;
17185 END//
17186 SELECT fn97( 'world');
17187 fn97( 'world')
17188 helloworld
17189 DROP FUNCTION IF EXISTS fn98;
17190 CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
17191 BEGIN
17192 set f1 = concat('hello', f1);
17193 return f1;
17194 END//
17195 SELECT fn98( 'world');
17196 fn98( 'world')
17197 helloworld
17198 DROP FUNCTION IF EXISTS fn99;
17199 CREATE FUNCTION fn99( f1 text) returns text
17200 BEGIN
17201 set f1 = concat('hello', f1);
17202 return f1;
17203 END//
17204 SELECT fn99( 'world');
17205 fn99( 'world')
17206 helloworld
17207 DROP FUNCTION IF EXISTS fn100;
17208 CREATE FUNCTION fn100( f1 tinytext) returns tinytext
17209 BEGIN
17210 set f1 = concat('hello', f1);
17211 return f1;
17212 END//
17213 SELECT fn100( 'world');
17214 fn100( 'world')
17215 helloworld
17216 DROP FUNCTION IF EXISTS fn101;
17217 CREATE FUNCTION fn101( f1 year) returns year
17218 BEGIN
17219 set f1 = f1 + 10;
17220 return f1;
17221 END//
17222 SELECT fn101(51);
17223 fn101(51)
17224 2061
17225 DROP FUNCTION IF EXISTS fn102;
17226 CREATE FUNCTION fn102( f1 year(4)) returns year(4)
17227 BEGIN
17228 set f1 = f1 + 51;
17229 return f1;
17230 END//
17231 SELECT fn102(1982);
17232 fn102(1982)
17233 2033
17234 DROP FUNCTION IF EXISTS fn103;
17235 CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
17236 BEGIN
17237 set f1 = f1;
17238 return f1;
17239 END//
17240 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@');
17241 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\
17242 ??4@?4@4@?4@??@@ @@ @ @@ @@@
17243 DROP FUNCTION IF EXISTS fn104;
17244 CREATE FUNCTION fn104( f1 linestring) returns linestring
17245 BEGIN
17246 set f1 = f1;
17247 return f1;
17248 END//
17249 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@');
17250 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
17251 DROP FUNCTION IF EXISTS fn105;
17252 CREATE FUNCTION fn105( f1 point) returns point
17253 BEGIN
17254 set f1 = f1;
17255 return f1;
17256 END//
17257 SELECT fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
17258 fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@')
17259 4@4@
17260 DROP FUNCTION IF EXISTS fn106;
17261 CREATE FUNCTION fn106( f1 polygon) returns polygon
17262 BEGIN
17263 set f1 = f1;
17264 return f1;
17265 END//
17266 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@');
17267 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\
17268 ??4@?4@4@?4@??@@ @@ @ @@ @@@
17269 DROP FUNCTION IF EXISTS fn107;
17270 CREATE FUNCTION fn107( f1 timestamp) returns timestamp
17271 BEGIN
17272 set f1 = now();
17273 return f1;
17274 END//
17275 SELECT fn107(20050510080451);
17276 fn107(20050510080451)
17277 returned
17278 USE db_storedproc;
17279 DROP DATABASE d1;
17280 DROP DATABASE IF EXISTS db1;
17281 CREATE DATABASE db1;
17282 USE db1;
17283 DROP PROCEDURE IF EXISTS sp1;
17284 CREATE PROCEDURE sp1( f1 bigint)
17285 BEGIN
17286 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17287 SELECT f1;
17288 END//
17289 CALL sp1(-9.22e+18);
17290 f1
17291 -9220000000000000000
17292 DROP PROCEDURE IF EXISTS sp2;
17293 CREATE PROCEDURE sp2( f1 bigint unsigned)
17294 BEGIN
17295 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17296 SELECT f1;
17297 END//
17298 CALL sp2(1.84e+19);
17299 f1
17300 18400000000000000000
17301 DROP PROCEDURE IF EXISTS sp3;
17302 CREATE PROCEDURE sp3( f1 bigint unsigned zerofill)
17303 BEGIN
17304 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17305 SELECT f1;
17306 END//
17307 CALL sp3(1.84e+17);
17308 f1
17309 00184000000000000000
17310 DROP PROCEDURE IF EXISTS sp4;
17311 CREATE PROCEDURE sp4( f1 bigint zerofill)
17312 BEGIN
17313 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17314 SELECT f1;
17315 END//
17316 CALL sp4(-9.22e+15);
17317 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
17318 DROP PROCEDURE IF EXISTS sp5;
17319 CREATE PROCEDURE sp5( f1 decimal)
17320 BEGIN
17321 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17322 SELECT f1;
17323 END//
17324 CALL sp5(-1.00e+09);
17325 f1
17326 -1000000000
17327 DROP PROCEDURE IF EXISTS sp6;
17328 CREATE PROCEDURE sp6( f1 decimal (0))
17329 BEGIN
17330 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17331 SELECT f1;
17332 END//
17333 CALL sp6(-1.00e+09);
17334 f1
17335 -1000000000
17336 DROP PROCEDURE IF EXISTS sp7;
17337 CREATE PROCEDURE sp7( f1 decimal (0) unsigned)
17338 BEGIN
17339 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17340 SELECT f1;
17341 END//
17342 CALL sp7(99999999999);
17343 f1
17344 9999999999
17345 Warnings:
17346 Warning 1264 Out of range value for column 'f1' at row 0
17347 Warning 1264 Out of range value for column 'f1' at row 0
17348 DROP PROCEDURE IF EXISTS sp8;
17349 CREATE PROCEDURE sp8( f1 decimal (0) unsigned zerofill)
17350 BEGIN
17351 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17352 SELECT f1;
17353 END//
17354 CALL sp8(999999999);
17355 f1
17356 1000000000
17357 Warnings:
17358 Note 1265 Data truncated for column 'f1' at row 0
17359 DROP PROCEDURE IF EXISTS sp9;
17360 CREATE PROCEDURE sp9( f1 decimal (0) zerofill)
17361 BEGIN
17362 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17363 SELECT f1;
17364 END//
17365 CALL sp9(-1.00e+09);
17366 f1
17367 0000000010
17368 Warnings:
17369 Warning 1264 Out of range value for column 'f1' at row 0
17370 Warning 1264 Out of range value for column 'f1' at row 0
17371 DROP PROCEDURE IF EXISTS sp10;
17372 CREATE PROCEDURE sp10( f1 decimal (0, 0))
17373 BEGIN
17374 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17375 SELECT f1;
17376 END//
17377 CALL sp10(-1.00e+09);
17378 f1
17379 -1000000000
17380 DROP PROCEDURE IF EXISTS sp11;
17381 CREATE PROCEDURE sp11( f1 decimal (0, 0) unsigned)
17382 BEGIN
17383 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17384 SELECT f1;
17385 END//
17386 CALL sp11(99999999999);
17387 f1
17388 9999999999
17389 Warnings:
17390 Warning 1264 Out of range value for column 'f1' at row 0
17391 Warning 1264 Out of range value for column 'f1' at row 0
17392 DROP PROCEDURE IF EXISTS sp12;
17393 CREATE PROCEDURE sp12( f1 decimal (0, 0) unsigned zerofill)
17394 BEGIN
17395 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17396 SELECT f1;
17397 END//
17398 CALL sp12(999999999);
17399 f1
17400 1000000000
17401 Warnings:
17402 Note 1265 Data truncated for column 'f1' at row 0
17403 DROP PROCEDURE IF EXISTS sp13;
17404 CREATE PROCEDURE sp13( f1 decimal (0, 0) zerofill)
17405 BEGIN
17406 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17407 SELECT f1;
17408 END//
17409 CALL sp13(-1.00e+09);
17410 f1
17411 0000000010
17412 Warnings:
17413 Warning 1264 Out of range value for column 'f1' at row 0
17414 Warning 1264 Out of range value for column 'f1' at row 0
17415 DROP PROCEDURE IF EXISTS sp14;
17416 CREATE PROCEDURE sp14( f1 decimal (63, 30))
17417 BEGIN
17418 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17419 SELECT f1;
17420 END//
17421 CALL sp14(-1.00e+21);
17422 f1
17423 -1000000000000000000000.000000000000000000000000000000
17424 DROP PROCEDURE IF EXISTS sp15;
17425 CREATE PROCEDURE sp15( f1 decimal (63, 30) unsigned)
17426 BEGIN
17427 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17428 SELECT f1;
17429 END//
17430 CALL sp15(1.00e+16);
17431 f1
17432 10000000000000000.000000000000000000000000000000
17433 DROP PROCEDURE IF EXISTS sp16;
17434 CREATE PROCEDURE sp16( f1 decimal (63, 30) unsigned zerofill)
17435 BEGIN
17436 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17437 SELECT f1;
17438 END//
17439 CALL sp16(1.00e+16);
17440 f1
17441 000000000000000010000000000000000.000000000000000000000000000000
17442 DROP PROCEDURE IF EXISTS sp17;
17443 CREATE PROCEDURE sp17( f1 decimal (63, 30) zerofill)
17444 BEGIN
17445 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17446 SELECT f1;
17447 END//
17448 CALL sp17(-1.00e+21);
17449 f1
17450 000000000000000000000000000000010.000000000000000000000000000000
17451 Warnings:
17452 Warning 1264 Out of range value for column 'f1' at row 0
17453 Warning 1264 Out of range value for column 'f1' at row 0
17454 DROP PROCEDURE IF EXISTS sp18_d;
17455 CREATE PROCEDURE sp18_d( f1 decimal (64))
17456 BEGIN
17457 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17458 SELECT f1;
17459 END//
17460 CALL sp18_d(-1.00e+30);
17461 f1
17462 -1000000000000000000000000000000
17463 CALL sp18_d( -1000000000000000000000000000000 );
17464 f1
17465 -1000000000000000000000000000000
17466 DROP PROCEDURE IF EXISTS sp19_du;
17467 CREATE PROCEDURE sp19_du( f1 decimal (64) unsigned)
17468 BEGIN
17469 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17470 SELECT f1;
17471 END//
17472 CALL sp19_du(1.00e+20);
17473 f1
17474 100000000000000000000
17475 CALL sp19_du( 100000000000000000000 );
17476 f1
17477 100000000000000000000
17478 CALL sp19_du(1.00e+24);
17479 f1
17480 1000000000000000000000000
17481 CALL sp19_du( 1000000000000000000000000 );
17482 f1
17483 1000000000000000000000000
17484 DROP PROCEDURE IF EXISTS sp20_duz;
17485 CREATE PROCEDURE sp20_duz( f1 decimal (64) unsigned zerofill)
17486 BEGIN
17487 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17488 SELECT f1;
17489 END//
17490 CALL sp20_duz(1.00e+20);
17491 f1
17492 0000000000000000000000000000000000000000000100000000000000000000
17493 CALL sp20_duz( 100000000000000000000 );
17494 f1
17495 0000000000000000000000000000000000000000000100000000000000000000
17496 CALL sp20_duz(1.00e+24);
17497 f1
17498 0000000000000000000000000000000000000001000000000000000000000000
17499 CALL sp20_duz( 1000000000000000000000000 );
17500 f1
17501 0000000000000000000000000000000000000001000000000000000000000000
17502 DROP PROCEDURE IF EXISTS sp21;
17503 CREATE PROCEDURE sp21( f1 decimal (64) zerofill)
17504 BEGIN
17505 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17506 SELECT f1;
17507 END//
17508 CALL sp21(1.00e+00);
17509 f1
17510 0000000000000000000000000000000000000000000000000000000000000010
17511 Warnings:
17512 Warning 1264 Out of range value for column 'f1' at row 0
17513 DROP PROCEDURE IF EXISTS sp22;
17514 CREATE PROCEDURE sp22( f1 decimal unsigned)
17515 BEGIN
17516 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17517 SELECT f1;
17518 END//
17519 CALL sp22(1.00e+00);
17520 f1
17521 10
17522 Warnings:
17523 Warning 1264 Out of range value for column 'f1' at row 0
17524 DROP PROCEDURE IF EXISTS sp23;
17525 CREATE PROCEDURE sp23( f1 decimal unsigned zerofill)
17526 BEGIN
17527 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17528 SELECT f1;
17529 END//
17530 CALL sp23(1.00e+00);
17531 f1
17532 0000000010
17533 Warnings:
17534 Warning 1264 Out of range value for column 'f1' at row 0
17535 DROP PROCEDURE IF EXISTS sp24;
17536 CREATE PROCEDURE sp24( f1 decimal zerofill)
17537 BEGIN
17538 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17539 SELECT f1;
17540 END//
17541 CALL sp24(-1.00e+09);
17542 f1
17543 0000000010
17544 Warnings:
17545 Warning 1264 Out of range value for column 'f1' at row 0
17546 Warning 1264 Out of range value for column 'f1' at row 0
17547 DROP PROCEDURE IF EXISTS sp25;
17548 CREATE PROCEDURE sp25( f1 double)
17549 BEGIN
17550 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17551 SELECT f1;
17552 END//
17553 CALL sp25(1.00e+00);
17554 f1
17555 1
17556 DROP PROCEDURE IF EXISTS sp26;
17557 CREATE PROCEDURE sp26( f1 double unsigned)
17558 BEGIN
17559 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17560 SELECT f1;
17561 END//
17562 CALL sp26(1.00e+00);
17563 f1
17564 10
17565 Warnings:
17566 Warning 1264 Out of range value for column 'f1' at row 0
17567 DROP PROCEDURE IF EXISTS sp27;
17568 CREATE PROCEDURE sp27( f1 double unsigned zerofill)
17569 BEGIN
17570 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17571 SELECT f1;
17572 END//
17573 CALL sp27(1.00e+00);
17574 f1
17575 0000000000000000000010
17576 Warnings:
17577 Warning 1264 Out of range value for column 'f1' at row 0
17578 DROP PROCEDURE IF EXISTS sp28;
17579 CREATE PROCEDURE sp28( f1 double zerofill)
17580 BEGIN
17581 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17582 SELECT f1;
17583 END//
17584 CALL sp28(1.00e+00);
17585 f1
17586 0000000000000000000010
17587 Warnings:
17588 Warning 1264 Out of range value for column 'f1' at row 0
17589 DROP PROCEDURE IF EXISTS sp29;
17590 CREATE PROCEDURE sp29( f1 float)
17591 BEGIN
17592 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17593 SELECT f1;
17594 END//
17595 CALL sp29(1.00e+00);
17596 f1
17597 1
17598 DROP PROCEDURE IF EXISTS sp30;
17599 CREATE PROCEDURE sp30( f1 float unsigned)
17600 BEGIN
17601 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17602 SELECT f1;
17603 END//
17604 CALL sp30(1.00e+00);
17605 f1
17606 10
17607 Warnings:
17608 Warning 1264 Out of range value for column 'f1' at row 0
17609 DROP PROCEDURE IF EXISTS sp31;
17610 CREATE PROCEDURE sp31( f1 float unsigned zerofill)
17611 BEGIN
17612 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17613 SELECT f1;
17614 END//
17615 CALL sp31(1.00e+00);
17616 f1
17617 000000000010
17618 Warnings:
17619 Warning 1264 Out of range value for column 'f1' at row 0
17620 DROP PROCEDURE IF EXISTS sp32;
17621 CREATE PROCEDURE sp32( f1 float zerofill)
17622 BEGIN
17623 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17624 SELECT f1;
17625 END//
17626 CALL sp32(1.00e+00);
17627 f1
17628 000000000010
17629 Warnings:
17630 Warning 1264 Out of range value for column 'f1' at row 0
17631 DROP PROCEDURE IF EXISTS sp33;
17632 CREATE PROCEDURE sp33( f1 float(0))
17633 BEGIN
17634 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17635 SELECT f1;
17636 END//
17637 CALL sp33(1.00e+00);
17638 f1
17639 1
17640 DROP PROCEDURE IF EXISTS sp34;
17641 CREATE PROCEDURE sp34( f1 float(0) unsigned)
17642 BEGIN
17643 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17644 SELECT f1;
17645 END//
17646 CALL sp34(1.00e+00);
17647 f1
17648 10
17649 Warnings:
17650 Warning 1264 Out of range value for column 'f1' at row 0
17651 DROP PROCEDURE IF EXISTS sp35;
17652 CREATE PROCEDURE sp35( f1 float(0) unsigned zerofill)
17653 BEGIN
17654 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17655 SELECT f1;
17656 END//
17657 CALL sp35(1.00e+00);
17658 f1
17659 000000000010
17660 Warnings:
17661 Warning 1264 Out of range value for column 'f1' at row 0
17662 DROP PROCEDURE IF EXISTS sp36;
17663 CREATE PROCEDURE sp36( f1 float(0) zerofill)
17664 BEGIN
17665 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17666 SELECT f1;
17667 END//
17668 CALL sp36(1.00e+00);
17669 f1
17670 000000000010
17671 Warnings:
17672 Warning 1264 Out of range value for column 'f1' at row 0
17673 DROP PROCEDURE IF EXISTS sp37;
17674 CREATE PROCEDURE sp37( f1 float(23))
17675 BEGIN
17676 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17677 SELECT f1;
17678 END//
17679 CALL sp37(1.00e+00);
17680 f1
17681 1
17682 DROP PROCEDURE IF EXISTS sp38;
17683 CREATE PROCEDURE sp38( f1 float(23) unsigned)
17684 BEGIN
17685 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17686 SELECT f1;
17687 END//
17688 CALL sp38(1.00e+00);
17689 f1
17690 10
17691 Warnings:
17692 Warning 1264 Out of range value for column 'f1' at row 0
17693 DROP PROCEDURE IF EXISTS sp39;
17694 CREATE PROCEDURE sp39( f1 float(23) unsigned zerofill)
17695 BEGIN
17696 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17697 SELECT f1;
17698 END//
17699 CALL sp39(1.00e+00);
17700 f1
17701 000000000010
17702 Warnings:
17703 Warning 1264 Out of range value for column 'f1' at row 0
17704 DROP PROCEDURE IF EXISTS sp40;
17705 CREATE PROCEDURE sp40( f1 float(23) zerofill)
17706 BEGIN
17707 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17708 SELECT f1;
17709 END//
17710 CALL sp40(1.00e+00);
17711 f1
17712 000000000010
17713 Warnings:
17714 Warning 1264 Out of range value for column 'f1' at row 0
17715 DROP PROCEDURE IF EXISTS sp41;
17716 CREATE PROCEDURE sp41( f1 float(24))
17717 BEGIN
17718 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17719 SELECT f1;
17720 END//
17721 CALL sp41(1.00e+00);
17722 f1
17723 1
17724 DROP PROCEDURE IF EXISTS sp42;
17725 CREATE PROCEDURE sp42( f1 float(24) unsigned)
17726 BEGIN
17727 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17728 SELECT f1;
17729 END//
17730 CALL sp42(1.00e+00);
17731 f1
17732 10
17733 Warnings:
17734 Warning 1264 Out of range value for column 'f1' at row 0
17735 DROP PROCEDURE IF EXISTS sp43;
17736 CREATE PROCEDURE sp43( f1 float(24) unsigned zerofill)
17737 BEGIN
17738 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17739 SELECT f1;
17740 END//
17741 CALL sp43(1.00e+00);
17742 f1
17743 000000000010
17744 Warnings:
17745 Warning 1264 Out of range value for column 'f1' at row 0
17746 DROP PROCEDURE IF EXISTS sp44;
17747 CREATE PROCEDURE sp44( f1 float(24) zerofill)
17748 BEGIN
17749 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17750 SELECT f1;
17751 END//
17752 CALL sp44(1.00e+00);
17753 f1
17754 000000000010
17755 Warnings:
17756 Warning 1264 Out of range value for column 'f1' at row 0
17757 DROP PROCEDURE IF EXISTS sp45;
17758 CREATE PROCEDURE sp45( f1 float(53))
17759 BEGIN
17760 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17761 SELECT f1;
17762 END//
17763 CALL sp45(1.00e+00);
17764 f1
17765 1
17766 DROP PROCEDURE IF EXISTS sp46;
17767 CREATE PROCEDURE sp46( f1 float(53) unsigned)
17768 BEGIN
17769 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17770 SELECT f1;
17771 END//
17772 CALL sp46(1.00e+00);
17773 f1
17774 10
17775 Warnings:
17776 Warning 1264 Out of range value for column 'f1' at row 0
17777 DROP PROCEDURE IF EXISTS sp47;
17778 CREATE PROCEDURE sp47( f1 float(53) unsigned zerofill)
17779 BEGIN
17780 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17781 SELECT f1;
17782 END//
17783 CALL sp47(1.00e+00);
17784 f1
17785 0000000000000000000010
17786 Warnings:
17787 Warning 1264 Out of range value for column 'f1' at row 0
17788 DROP PROCEDURE IF EXISTS sp48;
17789 CREATE PROCEDURE sp48( f1 float(53) zerofill)
17790 BEGIN
17791 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17792 SELECT f1;
17793 END//
17794 CALL sp48(1.00e+00);
17795 f1
17796 0000000000000000000010
17797 Warnings:
17798 Warning 1264 Out of range value for column 'f1' at row 0
17799 DROP PROCEDURE IF EXISTS sp49;
17800 CREATE PROCEDURE sp49( f1 int)
17801 BEGIN
17802 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17803 SELECT f1;
17804 END//
17805 CALL sp49(-2.15e+09);
17806 f1
17807 -2147483638
17808 Warnings:
17809 Warning 1264 Out of range value for column 'f1' at row 0
17810 Warning 1264 Out of range value for column 'f1' at row 0
17811 DROP PROCEDURE IF EXISTS sp50;
17812 CREATE PROCEDURE sp50( f1 int unsigned)
17813 BEGIN
17814 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17815 SELECT f1;
17816 END//
17817 CALL sp50(4.29e+09);
17818 f1
17819 4290000000
17820 DROP PROCEDURE IF EXISTS sp51;
17821 CREATE PROCEDURE sp51( f1 int unsigned zerofill)
17822 BEGIN
17823 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17824 SELECT f1;
17825 END//
17826 CALL sp51(4.29e+09);
17827 f1
17828 4290000000
17829 DROP PROCEDURE IF EXISTS sp52;
17830 CREATE PROCEDURE sp52( f1 int zerofill)
17831 BEGIN
17832 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17833 SELECT f1;
17834 END//
17835 CALL sp52(2.15e+08);
17836 f1
17837 0215000000
17838 DROP PROCEDURE IF EXISTS sp53;
17839 CREATE PROCEDURE sp53( f1 mediumint)
17840 BEGIN
17841 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17842 SELECT f1;
17843 END//
17844 CALL sp53(-8388600);
17845 f1
17846 -8388598
17847 Warnings:
17848 Warning 1264 Out of range value for column 'f1' at row 0
17849 DROP PROCEDURE IF EXISTS sp54;
17850 CREATE PROCEDURE sp54( f1 mediumint unsigned)
17851 BEGIN
17852 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17853 SELECT f1;
17854 END//
17855 CALL sp54(16777201);
17856 f1
17857 16777202
17858 DROP PROCEDURE IF EXISTS sp55;
17859 CREATE PROCEDURE sp55( f1 mediumint unsigned zerofill)
17860 BEGIN
17861 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17862 SELECT f1;
17863 END//
17864 CALL sp55(16777210);
17865 f1
17866 16777210
17867 DROP PROCEDURE IF EXISTS sp56;
17868 CREATE PROCEDURE sp56( f1 mediumint zerofill)
17869 BEGIN
17870 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17871 SELECT f1;
17872 END//
17873 CALL sp56(-8388601);
17874 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
17875 DROP PROCEDURE IF EXISTS sp57;
17876 CREATE PROCEDURE sp57( f1 numeric)
17877 BEGIN
17878 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17879 SELECT f1;
17880 END//
17881 CALL sp57(-999999999);
17882 f1
17883 -1000000000
17884 Warnings:
17885 Note 1265 Data truncated for column 'f1' at row 0
17886 DROP PROCEDURE IF EXISTS sp58;
17887 CREATE PROCEDURE sp58( f1 numeric (0))
17888 BEGIN
17889 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17890 SELECT f1;
17891 END//
17892 CALL sp58(-999999999);
17893 f1
17894 -1000000000
17895 Warnings:
17896 Note 1265 Data truncated for column 'f1' at row 0
17897 DROP PROCEDURE IF EXISTS sp59;
17898 CREATE PROCEDURE sp59( f1 numeric (0) unsigned)
17899 BEGIN
17900 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17901 SELECT f1;
17902 END//
17903 CALL sp59(9999999999);
17904 f1
17905 9999999999
17906 Warnings:
17907 Warning 1264 Out of range value for column 'f1' at row 0
17908 DROP PROCEDURE IF EXISTS sp60;
17909 CREATE PROCEDURE sp60( f1 numeric (0) unsigned zerofill)
17910 BEGIN
17911 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17912 SELECT f1;
17913 END//
17914 CALL sp60(99999999);
17915 f1
17916 0100000000
17917 Warnings:
17918 Note 1265 Data truncated for column 'f1' at row 0
17919 DROP PROCEDURE IF EXISTS sp61;
17920 CREATE PROCEDURE sp61( f1 numeric (0) zerofill)
17921 BEGIN
17922 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17923 SELECT f1;
17924 END//
17925 CALL sp61(-99999999);
17926 f1
17927 0000000010
17928 Warnings:
17929 Warning 1264 Out of range value for column 'f1' at row 0
17930 Warning 1264 Out of range value for column 'f1' at row 0
17931 DROP PROCEDURE IF EXISTS sp62;
17932 CREATE PROCEDURE sp62( f1 numeric (0, 0))
17933 BEGIN
17934 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17935 SELECT f1;
17936 END//
17937 CALL sp62(-999999999);
17938 f1
17939 -1000000000
17940 Warnings:
17941 Note 1265 Data truncated for column 'f1' at row 0
17942 DROP PROCEDURE IF EXISTS sp63;
17943 CREATE PROCEDURE sp63( f1 numeric (0, 0) unsigned)
17944 BEGIN
17945 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17946 SELECT f1;
17947 END//
17948 CALL sp63(9999999999);
17949 f1
17950 9999999999
17951 Warnings:
17952 Warning 1264 Out of range value for column 'f1' at row 0
17953 DROP PROCEDURE IF EXISTS sp64;
17954 CREATE PROCEDURE sp64( f1 numeric (0, 0) unsigned zerofill)
17955 BEGIN
17956 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17957 SELECT f1;
17958 END//
17959 CALL sp64(99999999);
17960 f1
17961 0100000000
17962 Warnings:
17963 Note 1265 Data truncated for column 'f1' at row 0
17964 DROP PROCEDURE IF EXISTS sp65;
17965 CREATE PROCEDURE sp65( f1 numeric (0, 0) zerofill)
17966 BEGIN
17967 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17968 SELECT f1;
17969 END//
17970 CALL sp65(-99999999);
17971 f1
17972 0000000010
17973 Warnings:
17974 Warning 1264 Out of range value for column 'f1' at row 0
17975 Warning 1264 Out of range value for column 'f1' at row 0
17976 DROP PROCEDURE IF EXISTS sp66_n;
17977 CREATE PROCEDURE sp66_n( f1 numeric (63, 30))
17978 BEGIN
17979 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17980 SELECT f1;
17981 END//
17982 CALL sp66_n(-1e+36);
17983 f1
17984 -999999999999999999999999999999989.999999999999999999999999999999
17985 Warnings:
17986 Warning 1264 Out of range value for column 'f1' at row 0
17987 Warning 1264 Out of range value for column 'f1' at row 0
17988 CALL sp66_n( -1000000000000000000000000000000000000 );
17989 f1
17990 -999999999999999999999999999999989.999999999999999999999999999999
17991 Warnings:
17992 Warning 1264 Out of range value for column 'f1' at row 0
17993 Warning 1264 Out of range value for column 'f1' at row 0
17994 DROP PROCEDURE IF EXISTS sp67_nu;
17995 CREATE PROCEDURE sp67_nu( f1 numeric (63, 30) unsigned)
17996 BEGIN
17997 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
17998 SELECT f1;
17999 END//
18000 CALL sp67_nu(1e+36);
18001 f1
18002 999999999999999999999999999999999.999999999999999999999999999999
18003 Warnings:
18004 Warning 1264 Out of range value for column 'f1' at row 0
18005 Warning 1264 Out of range value for column 'f1' at row 0
18006 CALL sp67_nu( 1000000000000000000000000000000000000 );
18007 f1
18008 999999999999999999999999999999999.999999999999999999999999999999
18009 Warnings:
18010 Warning 1264 Out of range value for column 'f1' at row 0
18011 Warning 1264 Out of range value for column 'f1' at row 0
18012 DROP PROCEDURE IF EXISTS sp68_nuz;
18013 CREATE PROCEDURE sp68_nuz( f1 numeric (63, 30) unsigned zerofill)
18014 BEGIN
18015 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18016 SELECT f1;
18017 END//
18018 CALL sp68_nuz(1e+36);
18019 f1
18020 999999999999999999999999999999999.999999999999999999999999999999
18021 Warnings:
18022 Warning 1264 Out of range value for column 'f1' at row 0
18023 Warning 1264 Out of range value for column 'f1' at row 0
18024 CALL sp68_nuz( 1000000000000000000000000000000000000 );
18025 f1
18026 999999999999999999999999999999999.999999999999999999999999999999
18027 Warnings:
18028 Warning 1264 Out of range value for column 'f1' at row 0
18029 Warning 1264 Out of range value for column 'f1' at row 0
18030 DROP PROCEDURE IF EXISTS sp69_n_z;
18031 CREATE PROCEDURE sp69_n_z( f1 numeric (63, 30) zerofill)
18032 BEGIN
18033 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18034 SELECT f1;
18035 END//
18036 CALL sp69_n_z(-1e+36);
18037 f1
18038 000000000000000000000000000000010.000000000000000000000000000000
18039 Warnings:
18040 Warning 1264 Out of range value for column 'f1' at row 0
18041 Warning 1264 Out of range value for column 'f1' at row 0
18042 CALL sp69_n_z( -1000000000000000000000000000000000000 );
18043 f1
18044 000000000000000000000000000000010.000000000000000000000000000000
18045 Warnings:
18046 Warning 1264 Out of range value for column 'f1' at row 0
18047 Warning 1264 Out of range value for column 'f1' at row 0
18048 DROP PROCEDURE IF EXISTS sp70_n;
18049 CREATE PROCEDURE sp70_n( f1 numeric (64))
18050 BEGIN
18051 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18052 SELECT f1;
18053 END//
18054 CALL sp70_n(-1e+40);
18055 f1
18056 -10000000000000000000000000000000000000000
18057 CALL sp70_n( -10000000000000000000000000000000000000000 );
18058 f1
18059 -10000000000000000000000000000000000000000
18060 DROP PROCEDURE IF EXISTS sp71_nu;
18061 CREATE PROCEDURE sp71_nu( f1 numeric (64) unsigned)
18062 BEGIN
18063 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18064 SELECT f1;
18065 END//
18066 CALL sp71_nu(1.00e+40);
18067 f1
18068 10000000000000000000000000000000000000000
18069 CALL sp71_nu( 10000000000000000000000000000000000000000 );
18070 f1
18071 10000000000000000000000000000000000000000
18072 DROP PROCEDURE IF EXISTS sp72_nuz;
18073 CREATE PROCEDURE sp72_nuz( f1 numeric (64) unsigned zerofill)
18074 BEGIN
18075 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18076 SELECT f1;
18077 END//
18078 CALL sp72_nuz(1.00e+40);
18079 f1
18080 0000000000000000000000010000000000000000000000000000000000000000
18081 CALL sp72_nuz( 10000000000000000000000000000000000000000 );
18082 f1
18083 0000000000000000000000010000000000000000000000000000000000000000
18084 DROP PROCEDURE IF EXISTS sp73_n_z;
18085 CREATE PROCEDURE sp73_n_z( f1 numeric (64) zerofill)
18086 BEGIN
18087 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18088 SELECT f1;
18089 END//
18090 CALL sp73_n_z(1.00e+40);
18091 f1
18092 0000000000000000000000010000000000000000000000000000000000000000
18093 CALL sp73_n_z( 10000000000000000000000000000000000000000 );
18094 f1
18095 0000000000000000000000010000000000000000000000000000000000000000
18096 DROP PROCEDURE IF EXISTS sp74;
18097 CREATE PROCEDURE sp74( f1 numeric unsigned)
18098 BEGIN
18099 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18100 SELECT f1;
18101 END//
18102 CALL sp74(999999999);
18103 f1
18104 1000000000
18105 Warnings:
18106 Note 1265 Data truncated for column 'f1' at row 0
18107 DROP PROCEDURE IF EXISTS sp75;
18108 CREATE PROCEDURE sp75( f1 numeric unsigned zerofill)
18109 BEGIN
18110 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18111 SELECT f1;
18112 END//
18113 CALL sp75(999999999);
18114 f1
18115 1000000000
18116 Warnings:
18117 Note 1265 Data truncated for column 'f1' at row 0
18118 DROP PROCEDURE IF EXISTS sp76;
18119 CREATE PROCEDURE sp76( f1 numeric zerofill)
18120 BEGIN
18121 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18122 SELECT f1;
18123 END//
18124 CALL sp76(-999999999);
18125 f1
18126 0000000010
18127 Warnings:
18128 Warning 1264 Out of range value for column 'f1' at row 0
18129 Warning 1264 Out of range value for column 'f1' at row 0
18130 DROP PROCEDURE IF EXISTS sp77;
18131 CREATE PROCEDURE sp77( f1 real)
18132 BEGIN
18133 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18134 SELECT f1;
18135 END//
18136 CALL sp77(1.1);
18137 f1
18138 1.0999999999999996
18139 DROP PROCEDURE IF EXISTS sp78;
18140 CREATE PROCEDURE sp78( f1 real unsigned)
18141 BEGIN
18142 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18143 SELECT f1;
18144 END//
18145 CALL sp78(1.1);
18146 f1
18147 10
18148 Warnings:
18149 Warning 1264 Out of range value for column 'f1' at row 0
18150 DROP PROCEDURE IF EXISTS sp79;
18151 CREATE PROCEDURE sp79( f1 real unsigned zerofill)
18152 BEGIN
18153 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18154 SELECT f1;
18155 END//
18156 CALL sp79(1.1);
18157 f1
18158 0000000000000000000010
18159 Warnings:
18160 Warning 1264 Out of range value for column 'f1' at row 0
18161 DROP PROCEDURE IF EXISTS sp80;
18162 CREATE PROCEDURE sp80( f1 real zerofill)
18163 BEGIN
18164 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18165 SELECT f1;
18166 END//
18167 CALL sp80(1.1);
18168 f1
18169 0000000000000000000010
18170 Warnings:
18171 Warning 1264 Out of range value for column 'f1' at row 0
18172 DROP PROCEDURE IF EXISTS sp81;
18173 CREATE PROCEDURE sp81( f1 smallint)
18174 BEGIN
18175 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18176 SELECT f1;
18177 END//
18178 CALL sp81(-32701);
18179 f1
18180 -32702
18181 DROP PROCEDURE IF EXISTS sp82;
18182 CREATE PROCEDURE sp82( f1 smallint unsigned)
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 CALL sp82(65531);
18188 f1
18189 65532
18190 DROP PROCEDURE IF EXISTS sp83;
18191 CREATE PROCEDURE sp83( f1 smallint unsigned zerofill)
18192 BEGIN
18193 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18194 SELECT f1;
18195 END//
18196 CALL sp83(65531);
18197 f1
18198 65532
18199 DROP PROCEDURE IF EXISTS sp84;
18200 CREATE PROCEDURE sp84( f1 smallint zerofill)
18201 BEGIN
18202 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18203 SELECT f1;
18204 END//
18205 CALL sp84(-32601);
18206 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
18207 DROP PROCEDURE IF EXISTS sp85;
18208 CREATE PROCEDURE sp85( f1 tinyint)
18209 BEGIN
18210 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18211 SELECT f1;
18212 END//
18213 CALL sp85(-115);
18214 f1
18215 -116
18216 DROP PROCEDURE IF EXISTS sp86;
18217 CREATE PROCEDURE sp86( f1 tinyint unsigned)
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 CALL sp86(251);
18223 f1
18224 252
18225 DROP PROCEDURE IF EXISTS sp87;
18226 CREATE PROCEDURE sp87( f1 tinyint unsigned zerofill)
18227 BEGIN
18228 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18229 SELECT f1;
18230 END//
18231 CALL sp87(201);
18232 f1
18233 202
18234 DROP PROCEDURE IF EXISTS sp88;
18235 CREATE PROCEDURE sp88( f1 tinyint zerofill)
18236 BEGIN
18237 set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18238 SELECT f1;
18239 END//
18240 CALL sp88(-101);
18241 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
18242 DROP PROCEDURE IF EXISTS sp89;
18243 CREATE PROCEDURE sp89( f1 enum('1enum', '2enum'))
18244 BEGIN
18245 IF f1 = '1enum' THEN set f1 = '2enum'; ELSE set f1 = '1enum'; END IF;
18246 END//
18247 CALL sp89( '1enum');
18248 DROP PROCEDURE IF EXISTS sp90;
18249 CREATE PROCEDURE sp90( f1 set('1set', '2set'))
18250 BEGIN
18251 IF f1 = '1set' THEN set f1 = '2set'; ELSE set f1 = '1set'; END IF;
18252 END//
18253 CALL sp90( '1set');
18254 DROP PROCEDURE IF EXISTS sp91;
18255 CREATE PROCEDURE sp91( f1 date)
18256 BEGIN
18257 set f1 = adddate(f1, interval 31 day);
18258 SELECT f1;
18259 END//
18260 CALL sp91( '1997-12-31');
18261 f1
18262 1998-01-31
18263 DROP PROCEDURE IF EXISTS sp92;
18264 CREATE PROCEDURE sp92( f1 time)
18265 BEGIN
18266 set f1 = addtime(f1, '02:00:00.999998');
18267 SELECT f1;
18268 END//
18269 CALL sp92( '23:59:59.999999');
18270 f1
18271 25:59:59
18272 DROP PROCEDURE IF EXISTS sp93;
18273 CREATE PROCEDURE sp93( f1 datetime)
18274 BEGIN
18275 set f1 = addtime(f1, '1 1:1:1.000002');
18276 SELECT f1;
18277 END//
18278 CALL sp93('1997-12-31 23:59:59.999999');
18279 f1
18280 1998-01-02 01:01:00
18281 DROP PROCEDURE IF EXISTS sp94;
18282 CREATE PROCEDURE sp94( f1 char)
18283 BEGIN
18284 set f1 = concat('a', f1);
18285 SELECT f1;
18286 END//
18287 CALL sp94( 'h');
18288 f1
18289 a
18290 Warnings:
18291 Warning 1265 Data truncated for column 'f1' at row 0
18292 DROP PROCEDURE IF EXISTS sp95;
18293 CREATE PROCEDURE sp95( f1 char ascii)
18294 BEGIN
18295 set f1 = concat('a', f1);
18296 SELECT f1;
18297 END//
18298 CALL sp95( 'h');
18299 f1
18300 a
18301 Warnings:
18302 Warning 1265 Data truncated for column 'f1' at row 0
18303 DROP PROCEDURE IF EXISTS sp96;
18304 CREATE PROCEDURE sp96( f1 char binary)
18305 BEGIN
18306 set f1 = concat('a', f1);
18307 SELECT f1;
18308 END//
18309 CALL sp96( 'h');
18310 f1
18311 a
18312 Warnings:
18313 Warning 1265 Data truncated for column 'f1' at row 0
18314 DROP PROCEDURE IF EXISTS sp97;
18315 CREATE PROCEDURE sp97( f1 longtext)
18316 BEGIN
18317 set f1 = concat('hello', f1);
18318 SELECT f1;
18319 END//
18320 CALL sp97( 'world');
18321 f1
18322 helloworld
18323 DROP PROCEDURE IF EXISTS sp98;
18324 CREATE PROCEDURE sp98( f1 mediumtext)
18325 BEGIN
18326 set f1 = concat('hello', f1);
18327 SELECT f1;
18328 END//
18329 CALL sp98( 'world');
18330 f1
18331 helloworld
18332 DROP PROCEDURE IF EXISTS sp99;
18333 CREATE PROCEDURE sp99( f1 text)
18334 BEGIN
18335 set f1 = concat('hello', f1);
18336 SELECT f1;
18337 END//
18338 CALL sp99( 'world');
18339 f1
18340 helloworld
18341 DROP PROCEDURE IF EXISTS sp100;
18342 CREATE PROCEDURE sp100( f1 tinytext)
18343 BEGIN
18344 set f1 = concat('hello', f1);
18345 SELECT f1;
18346 END//
18347 CALL sp100( 'world');
18348 f1
18349 helloworld
18350 DROP PROCEDURE IF EXISTS sp101;
18351 CREATE PROCEDURE sp101( f1 year)
18352 BEGIN
18353 set f1 = f1 + 10;
18354 SELECT f1;
18355 END//
18356 CALL sp101(51);
18357 f1
18358 2061
18359 DROP PROCEDURE IF EXISTS sp102;
18360 CREATE PROCEDURE sp102( f1 year(4))
18361 BEGIN
18362 set f1 = f1 + 51;
18363 SELECT f1;
18364 END//
18365 CALL sp102(1982);
18366 f1
18367 2033
18368 DROP PROCEDURE IF EXISTS sp103;
18369 CREATE PROCEDURE sp103( f1 geometrycollection)
18370 BEGIN
18371 set f1 = f1;
18372 SELECT f1;
18373 END//
18374 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@');
18375 f1
18376 ??4@?4@4@?4@??@@ @@ @ @@ @@@
18377 DROP PROCEDURE IF EXISTS sp104;
18378 CREATE PROCEDURE sp104( f1 linestring)
18379 BEGIN
18380 set f1 = f1;
18381 SELECT f1;
18382 END//
18383 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@');
18384 ERROR 22003: Cannot get geometry object from data you send to the GEOMETRY field
18385 DROP PROCEDURE IF EXISTS sp105;
18386 CREATE PROCEDURE sp105( f1 point)
18387 BEGIN
18388 set f1 = f1;
18389 SELECT f1;
18390 END//
18391 CALL sp105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
18392 f1
18393 4@4@
18394 DROP PROCEDURE IF EXISTS sp106;
18395 CREATE PROCEDURE sp106( f1 polygon)
18396 BEGIN
18397 set f1 = f1;
18398 SELECT f1;
18399 END//
18400 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@');
18401 f1
18402 ??4@?4@4@?4@??@@ @@ @ @@ @@@
18403 DROP PROCEDURE IF EXISTS sp107;
18404 CREATE PROCEDURE sp107( f1 timestamp)
18405 BEGIN
18406 set f1 = now() + 0 + f1;
18407 SELECT f1;
18408 END//
18409 CALL sp107(2.00e+13);
18410 f1
18411 returned
18412 Warnings:
18413 returned 1265 Data truncated for column 'f1' at row 0
18414 USE db_storedproc;
18415 DROP DATABASE db1;
18416 DROP DATABASE IF EXISTS db1;
18417 CREATE DATABASE db1;
18418 USE db1;
18419 DROP PROCEDURE IF EXISTS sp1;
18420 CREATE PROCEDURE sp1( in f1 year, inout f2 year, out f3 year, in f4 year,
18421 inout f5 year, out f6 year, in f7 year(4), inout f8 year(4),
18422 out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
18423 BEGIN
18424 set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
18425 set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
18426 set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
18427 set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
18428 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18429 END//
18430 DROP PROCEDURE IF EXISTS spexecute01;
18431 CREATE PROCEDURE spexecute01()
18432 BEGIN
18433 declare var1 year;
18434 declare var2 year;
18435 declare var3 year;
18436 declare var4 year;
18437 declare var5 year(4);
18438 declare var6 year(4);
18439 declare var7 year(4);
18440 declare var8 year(4);
18441 set var1 = 51;
18442 set var3 = 51;
18443 set var5 = 1982;
18444 set var7 = 1982;
18445 CALL sp1(51, var1, var2, 51, var3, var4, 1982, var5, var6, 1982, var7, var8);
18446 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18447 END//
18448 CALL spexecute01();
18449 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
18450 2061 2061 2071 2061 2061 2071 2033 2033 2084 2033 2033 2084
18451 var1 var2 var3 var4 var5 var6 var7 var8
18452 2061 2071 2061 2071 2033 2084 2033 2084
18453 DROP PROCEDURE spexecute01;
18454 DROP PROCEDURE sp1;
18455 DROP PROCEDURE IF EXISTS sp2;
18456 CREATE PROCEDURE sp2( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text,
18457 out f6 text, in f7 tinytext, inout f8 tinytext, out f9 tinytext,
18458 in f10 tinytext, inout f11 tinytext, out f12 tinytext)
18459 BEGIN
18460 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
18461 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
18462 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
18463 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
18464 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18465 END//
18466 DROP PROCEDURE IF EXISTS spexecute02;
18467 CREATE PROCEDURE spexecute02()
18468 BEGIN
18469 declare var1 text;
18470 declare var2 text;
18471 declare var3 text;
18472 declare var4 text;
18473 declare var5 tinytext;
18474 declare var6 tinytext;
18475 declare var7 tinytext;
18476 declare var8 tinytext;
18477 set var1 = 'world';
18478 set var3 = 'world';
18479 set var5 = 'world';
18480 set var7 = 'world';
18481 CALL sp2( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
18482 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18483 END//
18484 CALL spexecute02();
18485 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
18486 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
18487 var1 var2 var3 var4 var5 var6 var7 var8
18488 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
18489 DROP PROCEDURE spexecute02;
18490 DROP PROCEDURE sp2;
18491 DROP PROCEDURE IF EXISTS sp3;
18492 CREATE PROCEDURE sp3( in f1 char, inout f2 char, out f3 char, in f4 char ascii,
18493 inout f5 char ascii, out f6 char ascii, in f7 longtext,
18494 inout f8 longtext, out f9 longtext, in f10 mediumtext,
18495 inout f11 mediumtext, out f12 mediumtext)
18496 BEGIN
18497 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
18498 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
18499 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f9);
18500 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
18501 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18502 END//
18503 DROP PROCEDURE IF EXISTS spexecute03;
18504 CREATE PROCEDURE spexecute03()
18505 BEGIN
18506 declare var1 char;
18507 declare var2 char;
18508 declare var3 char ascii;
18509 declare var4 char ascii;
18510 declare var5 longtext;
18511 declare var6 longtext;
18512 declare var7 mediumtext;
18513 declare var8 mediumtext;
18514 set var1 = 'h';
18515 set var3 = 'h';
18516 set var5 = 'world';
18517 set var7 = 'world';
18518 CALL sp3( 'h', var1, var2, 'h', var3, var4, 'world', var5, var6, 'world', var7, var8);
18519 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18520 END//
18521 CALL spexecute03();
18522 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
18523 a a a a a a helloworld helloworld NULL helloworld helloworld hellohelloworld
18524 var1 var2 var3 var4 var5 var6 var7 var8
18525 a a a a helloworld NULL helloworld hellohelloworld
18526 DROP PROCEDURE spexecute03;
18527 DROP PROCEDURE sp3;
18528 DROP PROCEDURE IF EXISTS sp4;
18529 CREATE PROCEDURE sp4( in f1 bigint, inout f2 bigint, out f3 bigint,
18530 in f4 bigint, inout f5 bigint, out f6 bigint,
18531 in f7 bigint, inout f8 bigint, out f9 bigint,
18532 in f10 bigint, inout f11 bigint, out f12 bigint)
18533 BEGIN
18534 set f3 = f2;
18535 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18536 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
18537 set f6 = f5;
18538 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
18539 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
18540 set f9 = f8;
18541 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
18542 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
18543 set f12 = f11;
18544 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
18545 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
18546 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18547 END//
18548 DROP PROCEDURE IF EXISTS spexecute04;
18549 CREATE PROCEDURE spexecute04()
18550 BEGIN
18551 declare var1 bigint;
18552 declare var2 bigint;
18553 declare var3 bigint;
18554 declare var4 bigint;
18555 declare var5 bigint;
18556 declare var6 bigint;
18557 declare var7 bigint;
18558 declare var8 bigint;
18559 set var1 = -9.22e+18;
18560 set var3 = -9.22e+18;
18561 set var5 = -9.22e+18;
18562 set var7 = -9.22e+18;
18563 CALL sp4(-9.22e+18, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18564 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18565 END//
18566 CALL spexecute04();
18567 ERROR 22003: BIGINT value is out of range in 'f1@0 * 2'
18568 DROP PROCEDURE spexecute04;
18569 DROP PROCEDURE sp4;
18570 DROP PROCEDURE IF EXISTS sp6;
18571 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)
18572 BEGIN
18573 set f1 = now() + 0 + f1; set f2 = now() + 0 + f2; set f3 = now() + 0 + f1;
18574 set f4 = now() + 0 + f4; set f5 = now() + 0 + f5; set f6 = now() + 0 + f5;
18575 set f7 = now() + 0 + f7; set f8 = now() + 0 + f8; set f9 = now() + 0 + f8;
18576 set f10 = now() + 0 + f10; set f11 = now() + 0 + f11; set f12 = now() + 0 + f11;
18577 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18578 END//
18579 DROP PROCEDURE IF EXISTS spexecute06;
18580 CREATE PROCEDURE spexecute06()
18581 BEGIN
18582 declare var1 timestamp;
18583 declare var2 timestamp;
18584 declare var3 timestamp;
18585 declare var4 timestamp;
18586 declare var5 timestamp;
18587 declare var6 timestamp;
18588 declare var7 timestamp;
18589 declare var8 timestamp;
18590 set var1 = 2.00e+13;
18591 set var3 = 2.00e+13;
18592 set var5 = 2.00e+13;
18593 set var7 = 2.00e+13;
18594 CALL sp6(2.00e+13, var1, var2, 2.00e+13, var3, var4, 2.00e+13, var5, var6, 2.00e+13, var7, var8);
18595 END//
18596 CALL spexecute06();
18597 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
18598 returned returned returned returned returned returned returned returned returned returned returned returned
18599 DROP PROCEDURE spexecute06;
18600 DROP PROCEDURE sp6;
18601 DROP PROCEDURE IF EXISTS sp07;
18602 CREATE PROCEDURE sp07( IN f1 BIGINT UNSIGNED,
18603 INOUT f2 BIGINT UNSIGNED,
18604 OUT f3 BIGINT UNSIGNED,
18605 IN f4 BIGINT,
18606 INOUT f5 BIGINT,
18607 OUT f6 BIGINT,
18608 IN f7 BIGINT,
18609 INOUT f8 BIGINT,
18610 OUT f9 BIGINT,
18611 IN f10 BIGINT,
18612 INOUT f11 BIGINT,
18613 OUT f12 BIGINT)
18614 BEGIN
18615 SELECT f1, f2, f3;
18616 SELECT f4, f5, f6;
18617 SELECT f7, f8, f9;
18618 SELECT f10, f11, f12;
18619 set f3 = f2;
18620 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18621 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
18622 set f3 = (f3 * 2); set f3 = (f3 - 10); set f3 = (f3 + 10);
18623 set f6 = f5;
18624 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
18625 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
18626 set f9 = f8;
18627 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
18628 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
18629 set f12 = f11;
18630 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
18631 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
18632 SELECT f1, f2, f3;
18633 SELECT f4, f5, f6;
18634 SELECT f7, f8, f9;
18635 SELECT f10, f11, f12;
18636 END//
18637 DROP PROCEDURE IF EXISTS spexecute07;
18638 CREATE PROCEDURE spexecute07()
18639 BEGIN
18640 declare var1 bigint unsigned;
18641 declare var2 bigint unsigned;
18642 declare var3 bigint;
18643 declare var4 bigint;
18644 declare var5 bigint;
18645 declare var6 bigint;
18646 declare var7 bigint;
18647 declare var8 bigint;
18648 set var1 = 1.84e+19;
18649 set var3 = -9.22e+18;
18650 set var5 = -9.22e+18;
18651 set var7 = -9.22e+18;
18652 SELECT var1, var2;
18653 SELECT var3, var4;
18654 SELECT var5, var6;
18655 SELECT var7, var8;
18656 CALL sp07( var1, var1, var2, var3, var3, var4,
18657 var5, var5, var6, var7, var7, var8 );
18658 SELECT var1, var2;
18659 SELECT var3, var4;
18660 SELECT var5, var6;
18661 SELECT var7, var8;
18662 END//
18663 CALL spexecute07();
18664 var1 var2
18665 18400000000000000000 NULL
18666 var3 var4
18667 -9220000000000000000 NULL
18668 var5 var6
18669 -9220000000000000000 NULL
18670 var7 var8
18671 -9220000000000000000 NULL
18672 f1 f2 f3
18673 18400000000000000000 18400000000000000000 NULL
18674 f4 f5 f6
18675 -9220000000000000000 -9220000000000000000 NULL
18676 f7 f8 f9
18677 -9220000000000000000 -9220000000000000000 NULL
18678 f10 f11 f12
18679 -9220000000000000000 -9220000000000000000 NULL
18680 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 * 2'
18681 DROP PROCEDURE spexecute07;
18682 DROP PROCEDURE sp07;
18683 DROP PROCEDURE IF EXISTS sp8;
18684 CREATE PROCEDURE sp8( in f1 bigint unsigned zerofill,
18685 inout f2 bigint unsigned zerofill,
18686 out f3 bigint unsigned zerofill,
18687 in f4 bigint,
18688 inout f5 bigint,
18689 out f6 bigint,
18690 in f7 bigint,
18691 inout f8 bigint,
18692 out f9 bigint,
18693 in f10 bigint,
18694 inout f11 bigint,
18695 out f12 bigint)
18696 BEGIN
18697 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18698 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
18699 set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
18700 set f6 = f5;
18701 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
18702 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
18703 set f9 = f8;
18704 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
18705 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
18706 set f12 = f11;
18707 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
18708 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
18709 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18710 END//
18711 DROP PROCEDURE IF EXISTS spexecute08;
18712 CREATE PROCEDURE spexecute08()
18713 BEGIN
18714 declare var1 bigint unsigned zerofill;
18715 declare var2 bigint unsigned zerofill;
18716 declare var3 bigint;
18717 declare var4 bigint;
18718 declare var5 bigint;
18719 declare var6 bigint;
18720 declare var7 bigint;
18721 declare var8 bigint;
18722 set var1 = 1.84e+17;
18723 set var3 = -9.22e+18;
18724 set var5 = -9.22e+18;
18725 set var7 = -9.22e+18;
18726 CALL sp8(1.84e+17, var1, var2, -9.22e+18, var3, var4,
18727 -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18728 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18729 END//
18730 CALL spexecute08();
18731 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18732 DROP PROCEDURE spexecute08;
18733 DROP PROCEDURE sp8;
18734 DROP PROCEDURE IF EXISTS sp9;
18735 CREATE PROCEDURE sp9( in f1 bigint zerofill,
18736 inout f2 bigint zerofill,
18737 out f3 bigint zerofill,
18738 in f4 bigint,
18739 inout f5 bigint,
18740 out f6 bigint,
18741 in f7 bigint,
18742 inout f8 bigint,
18743 out f9 bigint,
18744 in f10 bigint,
18745 inout f11 bigint,
18746 out f12 bigint)
18747 BEGIN
18748 set f3 = f2;
18749 set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
18750 set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
18751 set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
18752 set f6 = f5;
18753 set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
18754 set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
18755 set f9 = f8;
18756 set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
18757 set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
18758 set f12 = f11;
18759 set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
18760 set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
18761 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18762 END//
18763 DROP PROCEDURE IF EXISTS spexecute09;
18764 CREATE PROCEDURE spexecute09()
18765 BEGIN
18766 declare var1 bigint zerofill;
18767 declare var2 bigint zerofill;
18768 declare var3 bigint;
18769 declare var4 bigint;
18770 declare var5 bigint;
18771 declare var6 bigint;
18772 declare var7 bigint;
18773 declare var8 bigint;
18774 set var1 = -9.22e+15;
18775 set var3 = -9.22e+18;
18776 set var5 = -9.22e+18;
18777 set var7 = -9.22e+18;
18778 CALL sp9(-9.22e+15, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18779 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18780 END//
18781 CALL spexecute09();
18782 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
18783 DROP PROCEDURE spexecute09;
18784 DROP PROCEDURE sp9;
18785 DROP PROCEDURE IF EXISTS sp10;
18786 CREATE PROCEDURE sp10( in f1 decimal,
18787 inout f2 decimal,
18788 out f3 decimal,
18789 in f4 bigint,
18790 inout f5 bigint,
18791 out f6 bigint,
18792 in f7 bigint,
18793 inout f8 bigint,
18794 out f9 bigint,
18795 in f10 bigint,
18796 inout f11 bigint,
18797 out f12 bigint)
18798 BEGIN
18799 set f3 = f2;
18800 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);
18801 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);
18802 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);
18803 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);
18804 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18805 END//
18806 DROP PROCEDURE IF EXISTS spexecute10;
18807 CREATE PROCEDURE spexecute10()
18808 BEGIN
18809 declare var1 decimal;
18810 declare var2 decimal;
18811 declare var3 bigint;
18812 declare var4 bigint;
18813 declare var5 bigint;
18814 declare var6 bigint;
18815 declare var7 bigint;
18816 declare var8 bigint;
18817 set var1 = -1.00e+09;
18818 set var3 = -9.22e+18;
18819 set var5 = -9.22e+18;
18820 set var7 = -9.22e+18;
18821 CALL sp10(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18822 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18823 END//
18824 CALL spexecute10();
18825 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18826 DROP PROCEDURE spexecute10;
18827 DROP PROCEDURE sp10;
18828 DROP PROCEDURE IF EXISTS sp11;
18829 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)
18830 BEGIN
18831 set f3 = f2;
18832 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);
18833 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);
18834 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);
18835 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);
18836 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18837 END//
18838 DROP PROCEDURE IF EXISTS spexecute11;
18839 CREATE PROCEDURE spexecute11()
18840 BEGIN
18841 declare var1 decimal (0);
18842 declare var2 decimal (0);
18843 declare var3 bigint;
18844 declare var4 bigint;
18845 declare var5 bigint;
18846 declare var6 bigint;
18847 declare var7 bigint;
18848 declare var8 bigint;
18849 set var1 = --1.00e+09;
18850 set var3 = -9.22e+18;
18851 set var5 = -9.22e+18;
18852 set var7 = -9.22e+18;
18853 CALL sp11(--1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18854 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18855 END//
18856 CALL spexecute11();
18857 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18858 DROP PROCEDURE spexecute11;
18859 DROP PROCEDURE sp11;
18860 DROP PROCEDURE IF EXISTS sp12;
18861 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)
18862 BEGIN
18863 set f3 = f2;
18864 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);
18865 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);
18866 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);
18867 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);
18868 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18869 END//
18870 DROP PROCEDURE IF EXISTS spexecute12;
18871 CREATE PROCEDURE spexecute12()
18872 BEGIN
18873 declare var1 decimal (0) unsigned;
18874 declare var2 decimal (0) unsigned;
18875 declare var3 bigint;
18876 declare var4 bigint;
18877 declare var5 bigint;
18878 declare var6 bigint;
18879 declare var7 bigint;
18880 declare var8 bigint;
18881 set var1 = 99999999999;
18882 set var3 = -9.22e+18;
18883 set var5 = -9.22e+18;
18884 set var7 = -9.22e+18;
18885 CALL sp12(99999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18886 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18887 END//
18888 CALL spexecute12();
18889 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18890 DROP PROCEDURE spexecute12;
18891 DROP PROCEDURE sp12;
18892 DROP PROCEDURE IF EXISTS sp13;
18893 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)
18894 BEGIN
18895 set f3 = f2;
18896 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);
18897 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);
18898 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);
18899 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);
18900 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18901 END//
18902 DROP PROCEDURE IF EXISTS spexecute13;
18903 CREATE PROCEDURE spexecute13()
18904 BEGIN
18905 declare var1 decimal (0, 0) zerofill;
18906 declare var2 decimal (0, 0) zerofill;
18907 declare var3 bigint;
18908 declare var4 bigint;
18909 declare var5 bigint;
18910 declare var6 bigint;
18911 declare var7 bigint;
18912 declare var8 bigint;
18913 set var1 = -1.00e+09;
18914 set var3 = -9.22e+18;
18915 set var5 = -9.22e+18;
18916 set var7 = -9.22e+18;
18917 CALL sp13(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18918 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18919 END//
18920 CALL spexecute13();
18921 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18922 DROP PROCEDURE spexecute13;
18923 DROP PROCEDURE sp13;
18924 DROP PROCEDURE IF EXISTS sp14;
18925 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)
18926 BEGIN
18927 set f3 = f2;
18928 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);
18929 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);
18930 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);
18931 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);
18932 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18933 END//
18934 DROP PROCEDURE IF EXISTS spexecute14;
18935 CREATE PROCEDURE spexecute14()
18936 BEGIN
18937 declare var1 decimal (63, 30);
18938 declare var2 decimal (63, 30);
18939 declare var3 bigint;
18940 declare var4 bigint;
18941 declare var5 bigint;
18942 declare var6 bigint;
18943 declare var7 bigint;
18944 declare var8 bigint;
18945 set var1 = -1.00e+21;
18946 set var3 = -9.22e+18;
18947 set var5 = -9.22e+18;
18948 set var7 = -9.22e+18;
18949 CALL sp14(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18950 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18951 END//
18952 CALL spexecute14();
18953 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18954 DROP PROCEDURE spexecute14;
18955 DROP PROCEDURE sp14;
18956 DROP PROCEDURE IF EXISTS sp15;
18957 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)
18958 BEGIN
18959 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);
18960 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);
18961 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);
18962 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);
18963 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18964 END//
18965 DROP PROCEDURE IF EXISTS spexecute15;
18966 CREATE PROCEDURE spexecute15()
18967 BEGIN
18968 declare var1 double;
18969 declare var2 double;
18970 declare var3 bigint;
18971 declare var4 bigint;
18972 declare var5 bigint;
18973 declare var6 bigint;
18974 declare var7 bigint;
18975 declare var8 bigint;
18976 set var1 = 1.00e+00;
18977 set var3 = -9.22e+18;
18978 set var5 = -9.22e+18;
18979 set var7 = -9.22e+18;
18980 CALL sp15(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
18981 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
18982 END//
18983 CALL spexecute15();
18984 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
18985 DROP PROCEDURE spexecute15;
18986 DROP PROCEDURE sp15;
18987 DROP PROCEDURE IF EXISTS sp16;
18988 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)
18989 BEGIN
18990 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);
18991 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);
18992 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);
18993 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);
18994 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
18995 END//
18996 DROP PROCEDURE IF EXISTS spexecute16;
18997 CREATE PROCEDURE spexecute16()
18998 BEGIN
18999 declare var1 double zerofill;
19000 declare var2 double zerofill;
19001 declare var3 bigint;
19002 declare var4 bigint;
19003 declare var5 bigint;
19004 declare var6 bigint;
19005 declare var7 bigint;
19006 declare var8 bigint;
19007 set var1 = 1.00e+00;
19008 set var3 = -9.22e+18;
19009 set var5 = -9.22e+18;
19010 set var7 = -9.22e+18;
19011 CALL sp16(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19012 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19013 END//
19014 CALL spexecute16();
19015 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19016 DROP PROCEDURE spexecute16;
19017 DROP PROCEDURE sp16;
19018 DROP PROCEDURE IF EXISTS sp17;
19019 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)
19020 BEGIN
19021 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);
19022 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);
19023 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);
19024 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);
19025 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19026 END//
19027 DROP PROCEDURE IF EXISTS spexecute17;
19028 CREATE PROCEDURE spexecute17()
19029 BEGIN
19030 declare var1 double unsigned;
19031 declare var2 double unsigned;
19032 declare var3 bigint;
19033 declare var4 bigint;
19034 declare var5 bigint;
19035 declare var6 bigint;
19036 declare var7 bigint;
19037 declare var8 bigint;
19038 set var1 = 1.00e+00;
19039 set var3 = -9.22e+18;
19040 set var5 = -9.22e+18;
19041 set var7 = -9.22e+18;
19042 CALL sp17(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19043 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19044 END//
19045 CALL spexecute17();
19046 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19047 DROP PROCEDURE spexecute17;
19048 DROP PROCEDURE sp17;
19049 DROP PROCEDURE IF EXISTS sp18;
19050 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)
19051 BEGIN
19052 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);
19053 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);
19054 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);
19055 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);
19056 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19057 END//
19058 DROP PROCEDURE IF EXISTS spexecute18;
19059 CREATE PROCEDURE spexecute18()
19060 BEGIN
19061 declare var1 double unsigned zerofill;
19062 declare var2 double unsigned zerofill;
19063 declare var3 bigint;
19064 declare var4 bigint;
19065 declare var5 bigint;
19066 declare var6 bigint;
19067 declare var7 bigint;
19068 declare var8 bigint;
19069 set var1 = 1.00e+00;
19070 set var3 = -9.22e+18;
19071 set var5 = -9.22e+18;
19072 set var7 = -9.22e+18;
19073 CALL sp18(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19074 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19075 END//
19076 CALL spexecute18();
19077 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19078 DROP PROCEDURE spexecute18;
19079 DROP PROCEDURE sp18;
19080 DROP PROCEDURE IF EXISTS sp19;
19081 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)
19082 BEGIN
19083 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);
19084 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);
19085 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);
19086 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);
19087 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19088 END//
19089 DROP PROCEDURE IF EXISTS spexecute19;
19090 CREATE PROCEDURE spexecute19()
19091 BEGIN
19092 declare var1 float unsigned;
19093 declare var2 float unsigned;
19094 declare var3 bigint;
19095 declare var4 bigint;
19096 declare var5 bigint;
19097 declare var6 bigint;
19098 declare var7 bigint;
19099 declare var8 bigint;
19100 set var1 = 1.00e+00;
19101 set var3 = -9.22e+18;
19102 set var5 = -9.22e+18;
19103 set var7 = -9.22e+18;
19104 CALL sp19(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19105 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19106 END//
19107 CALL spexecute19();
19108 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19109 DROP PROCEDURE spexecute19;
19110 DROP PROCEDURE sp19;
19111 DROP PROCEDURE IF EXISTS sp20;
19112 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)
19113 BEGIN
19114 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);
19115 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);
19116 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);
19117 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);
19118 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19119 END//
19120 DROP PROCEDURE IF EXISTS spexecute20;
19121 CREATE PROCEDURE spexecute20()
19122 BEGIN
19123 declare var1 float unsigned zerofill;
19124 declare var2 float unsigned zerofill;
19125 declare var3 bigint;
19126 declare var4 bigint;
19127 declare var5 bigint;
19128 declare var6 bigint;
19129 declare var7 bigint;
19130 declare var8 bigint;
19131 set var1 = 1.00e+00;
19132 set var3 = -9.22e+18;
19133 set var5 = -9.22e+18;
19134 set var7 = -9.22e+18;
19135 CALL sp20(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19136 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19137 END//
19138 CALL spexecute20();
19139 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19140 DROP PROCEDURE spexecute20;
19141 DROP PROCEDURE sp20;
19142 DROP PROCEDURE IF EXISTS sp21;
19143 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)
19144 BEGIN
19145 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);
19146 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);
19147 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);
19148 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);
19149 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19150 END//
19151 DROP PROCEDURE IF EXISTS spexecute21;
19152 CREATE PROCEDURE spexecute21()
19153 BEGIN
19154 declare var1 float zerofill;
19155 declare var2 float zerofill;
19156 declare var3 bigint;
19157 declare var4 bigint;
19158 declare var5 bigint;
19159 declare var6 bigint;
19160 declare var7 bigint;
19161 declare var8 bigint;
19162 set var1 = 1.00e+00;
19163 set var3 = -9.22e+18;
19164 set var5 = -9.22e+18;
19165 set var7 = -9.22e+18;
19166 CALL sp21(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19167 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19168 END//
19169 CALL spexecute21();
19170 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19171 DROP PROCEDURE spexecute21;
19172 DROP PROCEDURE sp21;
19173 DROP PROCEDURE IF EXISTS sp22;
19174 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)
19175 BEGIN
19176 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);
19177 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);
19178 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);
19179 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);
19180 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19181 END//
19182 DROP PROCEDURE IF EXISTS spexecute22;
19183 CREATE PROCEDURE spexecute22()
19184 BEGIN
19185 declare var1 float(0);
19186 declare var2 float(0);
19187 declare var3 bigint;
19188 declare var4 bigint;
19189 declare var5 bigint;
19190 declare var6 bigint;
19191 declare var7 bigint;
19192 declare var8 bigint;
19193 set var1 = 1.00e+00;
19194 set var3 = -9.22e+18;
19195 set var5 = -9.22e+18;
19196 set var7 = -9.22e+18;
19197 CALL sp22(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19198 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19199 END//
19200 CALL spexecute22();
19201 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19202 DROP PROCEDURE spexecute22;
19203 DROP PROCEDURE sp22;
19204 DROP PROCEDURE IF EXISTS sp23;
19205 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)
19206 BEGIN
19207 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);
19208 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);
19209 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);
19210 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);
19211 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19212 END//
19213 DROP PROCEDURE IF EXISTS spexecute23;
19214 CREATE PROCEDURE spexecute23()
19215 BEGIN
19216 declare var1 numeric;
19217 declare var2 numeric;
19218 declare var3 bigint;
19219 declare var4 bigint;
19220 declare var5 bigint;
19221 declare var6 bigint;
19222 declare var7 bigint;
19223 declare var8 bigint;
19224 set var1 = -999999999;
19225 set var3 = -9.22e+18;
19226 set var5 = -9.22e+18;
19227 set var7 = -9.22e+18;
19228 CALL sp23(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19229 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19230 END//
19231 CALL spexecute23();
19232 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19233 DROP PROCEDURE spexecute23;
19234 DROP PROCEDURE sp23;
19235 DROP PROCEDURE IF EXISTS sp24;
19236 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)
19237 BEGIN
19238 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);
19239 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);
19240 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);
19241 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);
19242 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19243 END//
19244 DROP PROCEDURE IF EXISTS spexecute24;
19245 CREATE PROCEDURE spexecute24()
19246 BEGIN
19247 declare var1 real;
19248 declare var2 real;
19249 declare var3 bigint;
19250 declare var4 bigint;
19251 declare var5 bigint;
19252 declare var6 bigint;
19253 declare var7 bigint;
19254 declare var8 bigint;
19255 set var1 = 1.1;
19256 set var3 = -9.22e+18;
19257 set var5 = -9.22e+18;
19258 set var7 = -9.22e+18;
19259 CALL sp24(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19260 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19261 END//
19262 CALL spexecute24();
19263 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19264 DROP PROCEDURE spexecute24;
19265 DROP PROCEDURE sp24;
19266 DROP PROCEDURE IF EXISTS sp25;
19267 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)
19268 BEGIN
19269 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);
19270 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);
19271 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);
19272 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);
19273 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19274 END//
19275 DROP PROCEDURE IF EXISTS spexecute25;
19276 CREATE PROCEDURE spexecute25()
19277 BEGIN
19278 declare var1 smallint;
19279 declare var2 smallint;
19280 declare var3 bigint;
19281 declare var4 bigint;
19282 declare var5 bigint;
19283 declare var6 bigint;
19284 declare var7 bigint;
19285 declare var8 bigint;
19286 set var1 = -32701;
19287 set var3 = -9.22e+18;
19288 set var5 = -9.22e+18;
19289 set var7 = -9.22e+18;
19290 CALL sp25(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19291 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19292 END//
19293 CALL spexecute25();
19294 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19295 DROP PROCEDURE spexecute25;
19296 DROP PROCEDURE sp25;
19297 DROP PROCEDURE IF EXISTS sp26;
19298 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)
19299 BEGIN
19300 set f1 = adddate(f1, interval 31 day); set f2 = adddate(f2, interval 31 day); set f3 = adddate(f2, interval 31 day);
19301 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);
19302 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);
19303 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);
19304 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19305 END//
19306 DROP PROCEDURE IF EXISTS spexecute26;
19307 CREATE PROCEDURE spexecute26()
19308 BEGIN
19309 declare var1 date;
19310 declare var2 date;
19311 declare var3 bigint;
19312 declare var4 bigint;
19313 declare var5 bigint;
19314 declare var6 bigint;
19315 declare var7 bigint;
19316 declare var8 bigint;
19317 set var1 = '1997-12-31';
19318 set var3 = -9.22e+18;
19319 set var5 = -9.22e+18;
19320 set var7 = -9.22e+18;
19321 CALL sp26( '1997-12-31', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19322 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19323 END//
19324 CALL spexecute26();
19325 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19326 DROP PROCEDURE spexecute26;
19327 DROP PROCEDURE sp26;
19328 DROP PROCEDURE IF EXISTS sp27;
19329 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)
19330 BEGIN
19331 set f1 = addtime(f1, '02:00:00.999998'); set f2 = addtime(f2, '02:00:00.999998'); set f3 = addtime(f2, '02:00:00.999998');
19332 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);
19333 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);
19334 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);
19335 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19336 END//
19337 DROP PROCEDURE IF EXISTS spexecute27;
19338 CREATE PROCEDURE spexecute27()
19339 BEGIN
19340 declare var1 time;
19341 declare var2 time;
19342 declare var3 bigint;
19343 declare var4 bigint;
19344 declare var5 bigint;
19345 declare var6 bigint;
19346 declare var7 bigint;
19347 declare var8 bigint;
19348 set var1 = '23:59:59.999999';
19349 set var3 = -9.22e+18;
19350 set var5 = -9.22e+18;
19351 set var7 = -9.22e+18;
19352 CALL sp27( '23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19353 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19354 END//
19355 CALL spexecute27();
19356 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19357 DROP PROCEDURE spexecute27;
19358 DROP PROCEDURE sp27;
19359 DROP PROCEDURE IF EXISTS sp28;
19360 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)
19361 BEGIN
19362 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');
19363 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);
19364 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);
19365 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);
19366 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19367 END//
19368 DROP PROCEDURE IF EXISTS spexecute28;
19369 CREATE PROCEDURE spexecute28()
19370 BEGIN
19371 declare var1 datetime;
19372 declare var2 datetime;
19373 declare var3 bigint;
19374 declare var4 bigint;
19375 declare var5 bigint;
19376 declare var6 bigint;
19377 declare var7 bigint;
19378 declare var8 bigint;
19379 set var1 = '1997-12-31 23:59:59.999999';
19380 set var3 = -9.22e+18;
19381 set var5 = -9.22e+18;
19382 set var7 = -9.22e+18;
19383 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);
19384 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19385 END//
19386 CALL spexecute28();
19387 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19388 DROP PROCEDURE spexecute28;
19389 DROP PROCEDURE sp28;
19390 DROP PROCEDURE IF EXISTS sp29;
19391 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)
19392 BEGIN
19393 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);
19394 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);
19395 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);
19396 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);
19397 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19398 END//
19399 DROP PROCEDURE IF EXISTS spexecute29;
19400 CREATE PROCEDURE spexecute29()
19401 BEGIN
19402 declare var1 float(0) unsigned;
19403 declare var2 float(0) unsigned;
19404 declare var3 bigint;
19405 declare var4 bigint;
19406 declare var5 bigint;
19407 declare var6 bigint;
19408 declare var7 bigint;
19409 declare var8 bigint;
19410 set var1 = 1.00e+00;
19411 set var3 = -9.22e+18;
19412 set var5 = -9.22e+18;
19413 set var7 = -9.22e+18;
19414 CALL sp29(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19415 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19416 END//
19417 CALL spexecute29();
19418 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19419 DROP PROCEDURE spexecute29;
19420 DROP PROCEDURE sp29;
19421 DROP PROCEDURE IF EXISTS sp30;
19422 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)
19423 BEGIN
19424 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);
19425 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);
19426 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);
19427 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);
19428 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19429 END//
19430 DROP PROCEDURE IF EXISTS spexecute30;
19431 CREATE PROCEDURE spexecute30()
19432 BEGIN
19433 declare var1 float(0) zerofill;
19434 declare var2 float(0) zerofill;
19435 declare var3 bigint;
19436 declare var4 bigint;
19437 declare var5 bigint;
19438 declare var6 bigint;
19439 declare var7 bigint;
19440 declare var8 bigint;
19441 set var1 = 1.00e+00;
19442 set var3 = -9.22e+18;
19443 set var5 = -9.22e+18;
19444 set var7 = -9.22e+18;
19445 CALL sp30(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19446 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19447 END//
19448 CALL spexecute30();
19449 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19450 DROP PROCEDURE spexecute30;
19451 DROP PROCEDURE sp30;
19452 DROP PROCEDURE IF EXISTS sp31;
19453 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)
19454 BEGIN
19455 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);
19456 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);
19457 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);
19458 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);
19459 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19460 END//
19461 DROP PROCEDURE IF EXISTS spexecute31;
19462 CREATE PROCEDURE spexecute31()
19463 BEGIN
19464 declare var1 float(23);
19465 declare var2 float(23);
19466 declare var3 bigint;
19467 declare var4 bigint;
19468 declare var5 bigint;
19469 declare var6 bigint;
19470 declare var7 bigint;
19471 declare var8 bigint;
19472 set var1 = 1.00e+00;
19473 set var3 = -9.22e+18;
19474 set var5 = -9.22e+18;
19475 set var7 = -9.22e+18;
19476 CALL sp31(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19477 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19478 END//
19479 CALL spexecute31();
19480 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19481 DROP PROCEDURE spexecute31;
19482 DROP PROCEDURE sp31;
19483 DROP PROCEDURE IF EXISTS sp32;
19484 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)
19485 BEGIN
19486 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);
19487 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);
19488 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);
19489 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);
19490 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19491 END//
19492 DROP PROCEDURE IF EXISTS spexecute32;
19493 CREATE PROCEDURE spexecute32()
19494 BEGIN
19495 declare var1 float(23) unsigned;
19496 declare var2 float(23) unsigned;
19497 declare var3 bigint;
19498 declare var4 bigint;
19499 declare var5 bigint;
19500 declare var6 bigint;
19501 declare var7 bigint;
19502 declare var8 bigint;
19503 set var1 = 1.00e+00;
19504 set var3 = -9.22e+18;
19505 set var5 = -9.22e+18;
19506 set var7 = -9.22e+18;
19507 CALL sp32(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19508 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19509 END//
19510 CALL spexecute32();
19511 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19512 DROP PROCEDURE spexecute32;
19513 DROP PROCEDURE sp32;
19514 DROP PROCEDURE IF EXISTS sp33;
19515 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)
19516 BEGIN
19517 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);
19518 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);
19519 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);
19520 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);
19521 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19522 END//
19523 DROP PROCEDURE IF EXISTS spexecute33;
19524 CREATE PROCEDURE spexecute33()
19525 BEGIN
19526 declare var1 float(23) zerofill;
19527 declare var2 float(23) zerofill;
19528 declare var3 bigint;
19529 declare var4 bigint;
19530 declare var5 bigint;
19531 declare var6 bigint;
19532 declare var7 bigint;
19533 declare var8 bigint;
19534 set var1 = 1.00e+00;
19535 set var3 = -9.22e+18;
19536 set var5 = -9.22e+18;
19537 set var7 = -9.22e+18;
19538 CALL sp33(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19539 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19540 END//
19541 CALL spexecute33();
19542 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19543 DROP PROCEDURE spexecute33;
19544 DROP PROCEDURE sp33;
19545 DROP PROCEDURE IF EXISTS sp34;
19546 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)
19547 BEGIN
19548 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);
19549 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);
19550 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);
19551 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);
19552 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19553 END//
19554 DROP PROCEDURE IF EXISTS spexecute34;
19555 CREATE PROCEDURE spexecute34()
19556 BEGIN
19557 declare var1 float(24);
19558 declare var2 float(24);
19559 declare var3 bigint;
19560 declare var4 bigint;
19561 declare var5 bigint;
19562 declare var6 bigint;
19563 declare var7 bigint;
19564 declare var8 bigint;
19565 set var1 = 1.00e+00;
19566 set var3 = -9.22e+18;
19567 set var5 = -9.22e+18;
19568 set var7 = -9.22e+18;
19569 CALL sp34(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19570 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19571 END//
19572 CALL spexecute34();
19573 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19574 DROP PROCEDURE spexecute34;
19575 DROP PROCEDURE sp34;
19576 DROP PROCEDURE IF EXISTS sp35;
19577 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)
19578 BEGIN
19579 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);
19580 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);
19581 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);
19582 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);
19583 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19584 END//
19585 DROP PROCEDURE IF EXISTS spexecute35;
19586 CREATE PROCEDURE spexecute35()
19587 BEGIN
19588 declare var1 float(24) unsigned;
19589 declare var2 float(24) unsigned;
19590 declare var3 bigint;
19591 declare var4 bigint;
19592 declare var5 bigint;
19593 declare var6 bigint;
19594 declare var7 bigint;
19595 declare var8 bigint;
19596 set var1 = 1.00e+00;
19597 set var3 = -9.22e+18;
19598 set var5 = -9.22e+18;
19599 set var7 = -9.22e+18;
19600 CALL sp35(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19601 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19602 END//
19603 CALL spexecute35();
19604 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19605 DROP PROCEDURE spexecute35;
19606 DROP PROCEDURE sp35;
19607 DROP PROCEDURE IF EXISTS sp36;
19608 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)
19609 BEGIN
19610 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);
19611 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);
19612 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);
19613 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);
19614 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19615 END//
19616 DROP PROCEDURE IF EXISTS spexecute36;
19617 CREATE PROCEDURE spexecute36()
19618 BEGIN
19619 declare var1 float(24) zerofill;
19620 declare var2 float(24) zerofill;
19621 declare var3 bigint;
19622 declare var4 bigint;
19623 declare var5 bigint;
19624 declare var6 bigint;
19625 declare var7 bigint;
19626 declare var8 bigint;
19627 set var1 = 1.00e+00;
19628 set var3 = -9.22e+18;
19629 set var5 = -9.22e+18;
19630 set var7 = -9.22e+18;
19631 CALL sp36(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19632 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19633 END//
19634 CALL spexecute36();
19635 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19636 DROP PROCEDURE spexecute36;
19637 DROP PROCEDURE sp36;
19638 DROP PROCEDURE IF EXISTS sp37;
19639 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)
19640 BEGIN
19641 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);
19642 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);
19643 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);
19644 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);
19645 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19646 END//
19647 DROP PROCEDURE IF EXISTS spexecute37;
19648 CREATE PROCEDURE spexecute37()
19649 BEGIN
19650 declare var1 float(53);
19651 declare var2 float(53);
19652 declare var3 bigint;
19653 declare var4 bigint;
19654 declare var5 bigint;
19655 declare var6 bigint;
19656 declare var7 bigint;
19657 declare var8 bigint;
19658 set var1 = 1.00e+00;
19659 set var3 = -9.22e+18;
19660 set var5 = -9.22e+18;
19661 set var7 = -9.22e+18;
19662 CALL sp37(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19663 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19664 END//
19665 CALL spexecute37();
19666 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19667 DROP PROCEDURE spexecute37;
19668 DROP PROCEDURE sp37;
19669 DROP PROCEDURE IF EXISTS sp38;
19670 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)
19671 BEGIN
19672 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);
19673 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);
19674 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);
19675 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);
19676 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19677 END//
19678 DROP PROCEDURE IF EXISTS spexecute38;
19679 CREATE PROCEDURE spexecute38()
19680 BEGIN
19681 declare var1 float(53) unsigned;
19682 declare var2 float(53) unsigned;
19683 declare var3 bigint;
19684 declare var4 bigint;
19685 declare var5 bigint;
19686 declare var6 bigint;
19687 declare var7 bigint;
19688 declare var8 bigint;
19689 set var1 = 1.00e+00;
19690 set var3 = -9.22e+18;
19691 set var5 = -9.22e+18;
19692 set var7 = -9.22e+18;
19693 CALL sp38(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19694 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19695 END//
19696 CALL spexecute38();
19697 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19698 DROP PROCEDURE spexecute38;
19699 DROP PROCEDURE sp38;
19700 DROP PROCEDURE IF EXISTS sp39;
19701 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)
19702 BEGIN
19703 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);
19704 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);
19705 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);
19706 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);
19707 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19708 END//
19709 DROP PROCEDURE IF EXISTS spexecute39;
19710 CREATE PROCEDURE spexecute39()
19711 BEGIN
19712 declare var1 float(53) zerofill;
19713 declare var2 float(53) zerofill;
19714 declare var3 bigint;
19715 declare var4 bigint;
19716 declare var5 bigint;
19717 declare var6 bigint;
19718 declare var7 bigint;
19719 declare var8 bigint;
19720 set var1 = 1.00e+00;
19721 set var3 = -9.22e+18;
19722 set var5 = -9.22e+18;
19723 set var7 = -9.22e+18;
19724 CALL sp39(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19725 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19726 END//
19727 CALL spexecute39();
19728 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19729 DROP PROCEDURE spexecute39;
19730 DROP PROCEDURE sp39;
19731 DROP PROCEDURE IF EXISTS sp40;
19732 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)
19733 BEGIN
19734 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);
19735 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);
19736 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);
19737 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);
19738 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19739 END//
19740 DROP PROCEDURE IF EXISTS spexecute40;
19741 CREATE PROCEDURE spexecute40()
19742 BEGIN
19743 declare var1 real unsigned;
19744 declare var2 real unsigned;
19745 declare var3 bigint;
19746 declare var4 bigint;
19747 declare var5 bigint;
19748 declare var6 bigint;
19749 declare var7 bigint;
19750 declare var8 bigint;
19751 set var1 = 1.1;
19752 set var3 = -9.22e+18;
19753 set var5 = -9.22e+18;
19754 set var7 = -9.22e+18;
19755 CALL sp40(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19756 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19757 END//
19758 CALL spexecute40();
19759 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19760 DROP PROCEDURE spexecute40;
19761 DROP PROCEDURE sp40;
19762 DROP PROCEDURE IF EXISTS sp41;
19763 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)
19764 BEGIN
19765 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);
19766 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);
19767 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);
19768 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);
19769 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19770 END//
19771 DROP PROCEDURE IF EXISTS spexecute41;
19772 CREATE PROCEDURE spexecute41()
19773 BEGIN
19774 declare var1 real unsigned zerofill;
19775 declare var2 real unsigned zerofill;
19776 declare var3 bigint;
19777 declare var4 bigint;
19778 declare var5 bigint;
19779 declare var6 bigint;
19780 declare var7 bigint;
19781 declare var8 bigint;
19782 set var1 = 1.1;
19783 set var3 = -9.22e+18;
19784 set var5 = -9.22e+18;
19785 set var7 = -9.22e+18;
19786 CALL sp41(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19787 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19788 END//
19789 CALL spexecute41();
19790 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19791 DROP PROCEDURE spexecute41;
19792 DROP PROCEDURE sp41;
19793 DROP PROCEDURE IF EXISTS sp42;
19794 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)
19795 BEGIN
19796 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);
19797 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);
19798 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);
19799 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);
19800 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19801 END//
19802 DROP PROCEDURE IF EXISTS spexecute42;
19803 CREATE PROCEDURE spexecute42()
19804 BEGIN
19805 declare var1 real zerofill;
19806 declare var2 real zerofill;
19807 declare var3 bigint;
19808 declare var4 bigint;
19809 declare var5 bigint;
19810 declare var6 bigint;
19811 declare var7 bigint;
19812 declare var8 bigint;
19813 set var1 = 1.1;
19814 set var3 = -9.22e+18;
19815 set var5 = -9.22e+18;
19816 set var7 = -9.22e+18;
19817 CALL sp42(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19818 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19819 END//
19820 CALL spexecute42();
19821 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19822 DROP PROCEDURE spexecute42;
19823 DROP PROCEDURE sp42;
19824 DROP PROCEDURE IF EXISTS sp43;
19825 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)
19826 BEGIN
19827 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);
19828 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);
19829 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);
19830 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);
19831 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19832 END//
19833 DROP PROCEDURE IF EXISTS spexecute43;
19834 CREATE PROCEDURE spexecute43()
19835 BEGIN
19836 declare var1 numeric (0);
19837 declare var2 numeric (0);
19838 declare var3 bigint;
19839 declare var4 bigint;
19840 declare var5 bigint;
19841 declare var6 bigint;
19842 declare var7 bigint;
19843 declare var8 bigint;
19844 set var1 = -999999999;
19845 set var3 = -9.22e+18;
19846 set var5 = -9.22e+18;
19847 set var7 = -9.22e+18;
19848 CALL sp43(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19849 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19850 END//
19851 CALL spexecute43();
19852 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19853 DROP PROCEDURE spexecute43;
19854 DROP PROCEDURE sp43;
19855 DROP PROCEDURE IF EXISTS sp44;
19856 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)
19857 BEGIN
19858 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);
19859 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);
19860 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);
19861 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);
19862 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19863 END//
19864 DROP PROCEDURE IF EXISTS spexecute44;
19865 CREATE PROCEDURE spexecute44()
19866 BEGIN
19867 declare var1 numeric (0) unsigned;
19868 declare var2 numeric (0) unsigned;
19869 declare var3 bigint;
19870 declare var4 bigint;
19871 declare var5 bigint;
19872 declare var6 bigint;
19873 declare var7 bigint;
19874 declare var8 bigint;
19875 set var1 = 9999999999;
19876 set var3 = -9.22e+18;
19877 set var5 = -9.22e+18;
19878 set var7 = -9.22e+18;
19879 CALL sp44(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19880 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19881 END//
19882 CALL spexecute44();
19883 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19884 DROP PROCEDURE spexecute44;
19885 DROP PROCEDURE sp44;
19886 DROP PROCEDURE IF EXISTS sp45;
19887 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)
19888 BEGIN
19889 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);
19890 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);
19891 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);
19892 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);
19893 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19894 END//
19895 DROP PROCEDURE IF EXISTS spexecute45;
19896 CREATE PROCEDURE spexecute45()
19897 BEGIN
19898 declare var1 numeric (0) zerofill;
19899 declare var2 numeric (0) zerofill;
19900 declare var3 bigint;
19901 declare var4 bigint;
19902 declare var5 bigint;
19903 declare var6 bigint;
19904 declare var7 bigint;
19905 declare var8 bigint;
19906 set var1 = -99999999;
19907 set var3 = -9.22e+18;
19908 set var5 = -9.22e+18;
19909 set var7 = -9.22e+18;
19910 CALL sp45(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19911 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19912 END//
19913 CALL spexecute45();
19914 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19915 DROP PROCEDURE spexecute45;
19916 DROP PROCEDURE sp45;
19917 DROP PROCEDURE IF EXISTS sp46;
19918 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)
19919 BEGIN
19920 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);
19921 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);
19922 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);
19923 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);
19924 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19925 END//
19926 DROP PROCEDURE IF EXISTS spexecute46;
19927 CREATE PROCEDURE spexecute46()
19928 BEGIN
19929 declare var1 numeric (0, 0);
19930 declare var2 numeric (0, 0);
19931 declare var3 bigint;
19932 declare var4 bigint;
19933 declare var5 bigint;
19934 declare var6 bigint;
19935 declare var7 bigint;
19936 declare var8 bigint;
19937 set var1 = -999999999;
19938 set var3 = -9.22e+18;
19939 set var5 = -9.22e+18;
19940 set var7 = -9.22e+18;
19941 CALL sp46(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19942 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19943 END//
19944 CALL spexecute46();
19945 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19946 DROP PROCEDURE spexecute46;
19947 DROP PROCEDURE sp46;
19948 DROP PROCEDURE IF EXISTS sp47;
19949 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)
19950 BEGIN
19951 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);
19952 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);
19953 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);
19954 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);
19955 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19956 END//
19957 DROP PROCEDURE IF EXISTS spexecute47;
19958 CREATE PROCEDURE spexecute47()
19959 BEGIN
19960 declare var1 numeric (0, 0) unsigned;
19961 declare var2 numeric (0, 0) unsigned;
19962 declare var3 bigint;
19963 declare var4 bigint;
19964 declare var5 bigint;
19965 declare var6 bigint;
19966 declare var7 bigint;
19967 declare var8 bigint;
19968 set var1 = 9999999999;
19969 set var3 = -9.22e+18;
19970 set var5 = -9.22e+18;
19971 set var7 = -9.22e+18;
19972 CALL sp47(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
19973 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
19974 END//
19975 CALL spexecute47();
19976 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
19977 DROP PROCEDURE spexecute47;
19978 DROP PROCEDURE sp47;
19979 DROP PROCEDURE IF EXISTS sp48;
19980 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)
19981 BEGIN
19982 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);
19983 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);
19984 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);
19985 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);
19986 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
19987 END//
19988 DROP PROCEDURE IF EXISTS spexecute48;
19989 CREATE PROCEDURE spexecute48()
19990 BEGIN
19991 declare var1 numeric (0, 0) zerofill;
19992 declare var2 numeric (0, 0) zerofill;
19993 declare var3 bigint;
19994 declare var4 bigint;
19995 declare var5 bigint;
19996 declare var6 bigint;
19997 declare var7 bigint;
19998 declare var8 bigint;
19999 set var1 = -99999999;
20000 set var3 = -9.22e+18;
20001 set var5 = -9.22e+18;
20002 set var7 = -9.22e+18;
20003 CALL sp48(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20004 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20005 END//
20006 CALL spexecute48();
20007 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20008 DROP PROCEDURE spexecute48;
20009 DROP PROCEDURE sp48;
20010 DROP PROCEDURE IF EXISTS sp49;
20011 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)
20012 BEGIN
20013 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);
20014 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);
20015 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);
20016 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);
20017 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20018 END//
20019 DROP PROCEDURE IF EXISTS spexecute49;
20020 CREATE PROCEDURE spexecute49()
20021 BEGIN
20022 declare var1 numeric unsigned;
20023 declare var2 numeric unsigned;
20024 declare var3 bigint;
20025 declare var4 bigint;
20026 declare var5 bigint;
20027 declare var6 bigint;
20028 declare var7 bigint;
20029 declare var8 bigint;
20030 set var1 = -999999999;
20031 set var3 = -9.22e+18;
20032 set var5 = -9.22e+18;
20033 set var7 = -9.22e+18;
20034 CALL sp49(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20035 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20036 END//
20037 CALL spexecute49();
20038 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20039 DROP PROCEDURE spexecute49;
20040 DROP PROCEDURE sp49;
20041 DROP PROCEDURE IF EXISTS sp50;
20042 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)
20043 BEGIN
20044 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);
20045 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);
20046 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);
20047 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);
20048 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20049 END//
20050 DROP PROCEDURE IF EXISTS spexecute50;
20051 CREATE PROCEDURE spexecute50()
20052 BEGIN
20053 declare var1 numeric unsigned zerofill;
20054 declare var2 numeric unsigned zerofill;
20055 declare var3 bigint;
20056 declare var4 bigint;
20057 declare var5 bigint;
20058 declare var6 bigint;
20059 declare var7 bigint;
20060 declare var8 bigint;
20061 set var1 = 9999999999;
20062 set var3 = -9.22e+18;
20063 set var5 = -9.22e+18;
20064 set var7 = -9.22e+18;
20065 CALL sp50(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20066 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20067 END//
20068 CALL spexecute50();
20069 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20070 DROP PROCEDURE spexecute50;
20071 DROP PROCEDURE sp50;
20072 DROP PROCEDURE IF EXISTS sp51;
20073 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)
20074 BEGIN
20075 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);
20076 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);
20077 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);
20078 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);
20079 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20080 END//
20081 DROP PROCEDURE IF EXISTS spexecute51;
20082 CREATE PROCEDURE spexecute51()
20083 BEGIN
20084 declare var1 numeric zerofill;
20085 declare var2 numeric zerofill;
20086 declare var3 bigint;
20087 declare var4 bigint;
20088 declare var5 bigint;
20089 declare var6 bigint;
20090 declare var7 bigint;
20091 declare var8 bigint;
20092 set var1 = -99999999;
20093 set var3 = -9.22e+18;
20094 set var5 = -9.22e+18;
20095 set var7 = -9.22e+18;
20096 CALL sp51(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20097 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20098 END//
20099 CALL spexecute51();
20100 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20101 DROP PROCEDURE spexecute51;
20102 DROP PROCEDURE sp51;
20103 DROP PROCEDURE IF EXISTS sp52;
20104 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)
20105 BEGIN
20106 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);
20107 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);
20108 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);
20109 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);
20110 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20111 END//
20112 DROP PROCEDURE IF EXISTS spexecute52;
20113 CREATE PROCEDURE spexecute52()
20114 BEGIN
20115 declare var1 numeric (63, 30);
20116 declare var2 numeric (63, 30);
20117 declare var3 bigint;
20118 declare var4 bigint;
20119 declare var5 bigint;
20120 declare var6 bigint;
20121 declare var7 bigint;
20122 declare var8 bigint;
20123 set var1 = -1.00e+22;
20124 set var3 = -9.22e+18;
20125 set var5 = -9.22e+18;
20126 set var7 = -9.22e+18;
20127 CALL sp52(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20128 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20129 END//
20130 CALL spexecute52();
20131 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20132 DROP PROCEDURE spexecute52;
20133 DROP PROCEDURE sp52;
20134 DROP PROCEDURE IF EXISTS sp53;
20135 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)
20136 BEGIN
20137 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);
20138 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);
20139 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);
20140 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);
20141 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20142 END//
20143 DROP PROCEDURE IF EXISTS spexecute53;
20144 CREATE PROCEDURE spexecute53()
20145 BEGIN
20146 declare var1 numeric (64);
20147 declare var2 numeric (64);
20148 declare var3 bigint;
20149 declare var4 bigint;
20150 declare var5 bigint;
20151 declare var6 bigint;
20152 declare var7 bigint;
20153 declare var8 bigint;
20154 set var1 = -1.00e+22;
20155 set var3 = -9.22e+18;
20156 set var5 = -9.22e+18;
20157 set var7 = -9.22e+18;
20158 CALL sp53(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20159 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20160 END//
20161 CALL spexecute53();
20162 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20163 DROP PROCEDURE spexecute53;
20164 DROP PROCEDURE sp53;
20165 DROP PROCEDURE IF EXISTS sp54;
20166 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)
20167 BEGIN
20168 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);
20169 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);
20170 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);
20171 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);
20172 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20173 END//
20174 DROP PROCEDURE IF EXISTS spexecute54;
20175 CREATE PROCEDURE spexecute54()
20176 BEGIN
20177 declare var1 numeric (64) unsigned;
20178 declare var2 numeric (64) unsigned;
20179 declare var3 bigint;
20180 declare var4 bigint;
20181 declare var5 bigint;
20182 declare var6 bigint;
20183 declare var7 bigint;
20184 declare var8 bigint;
20185 set var1 = 1.00e+22;
20186 set var3 = -9.22e+18;
20187 set var5 = -9.22e+18;
20188 set var7 = -9.22e+18;
20189 CALL sp54(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20190 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20191 END//
20192 CALL spexecute54();
20193 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20194 DROP PROCEDURE spexecute54;
20195 DROP PROCEDURE sp54;
20196 DROP PROCEDURE IF EXISTS sp55;
20197 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)
20198 BEGIN
20199 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);
20200 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);
20201 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);
20202 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);
20203 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20204 END//
20205 DROP PROCEDURE IF EXISTS spexecute55;
20206 CREATE PROCEDURE spexecute55()
20207 BEGIN
20208 declare var1 numeric (64) zerofill;
20209 declare var2 numeric (64) zerofill;
20210 declare var3 bigint;
20211 declare var4 bigint;
20212 declare var5 bigint;
20213 declare var6 bigint;
20214 declare var7 bigint;
20215 declare var8 bigint;
20216 set var1 = -1.00e+22;
20217 set var3 = -9.22e+18;
20218 set var5 = -9.22e+18;
20219 set var7 = -9.22e+18;
20220 CALL sp55(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20221 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20222 END//
20223 CALL spexecute55();
20224 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20225 DROP PROCEDURE spexecute55;
20226 DROP PROCEDURE sp55;
20227 DROP PROCEDURE IF EXISTS sp56;
20228 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)
20229 BEGIN
20230 set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
20231 set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
20232 set f7 = f7 + 10; set f8 = f8 + 10; set f9 = f8 + 10;
20233 set f10= f10+ 10; set f11 = f11 + 10; set f12 = f11 + 10;
20234 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20235 END//
20236 DROP PROCEDURE IF EXISTS spexecute56;
20237 CREATE PROCEDURE spexecute56()
20238 BEGIN
20239 declare var1 year;
20240 declare var2 year;
20241 declare var3 year;
20242 declare var4 year;
20243 declare var5 year;
20244 declare var6 year;
20245 declare var7 year;
20246 declare var8 year;
20247 set var1 = 51;
20248 set var3 = 51;
20249 set var5 = 51;
20250 set var7 = 51;
20251 CALL sp56(51, var1, var2, 51, var3, var4, 51, var5, var6, 51, var7, var8);
20252 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20253 END//
20254 CALL spexecute56();
20255 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20256 2061 2061 2071 2061 2061 2071 2061 2061 2071 2061 2061 2071
20257 var1 var2 var3 var4 var5 var6 var7 var8
20258 2061 2071 2061 2071 2061 2071 2061 2071
20259 DROP PROCEDURE spexecute56;
20260 DROP PROCEDURE sp56;
20261 DROP PROCEDURE IF EXISTS sp57;
20262 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))
20263 BEGIN
20264 set f1 = f1 + 51; set f2 = f2 + 51; set f3 = f2 + 51;
20265 set f4 = f4 + 51; set f5 = f5 + 51; set f6 = f5 + 51;
20266 set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
20267 set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
20268 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20269 END//
20270 DROP PROCEDURE IF EXISTS spexecute57;
20271 CREATE PROCEDURE spexecute57()
20272 BEGIN
20273 declare var1 year(4);
20274 declare var2 year(4);
20275 declare var3 year(4);
20276 declare var4 year(4);
20277 declare var5 year(4);
20278 declare var6 year(4);
20279 declare var7 year(4);
20280 declare var8 year(4);
20281 set var1 = 1982;
20282 set var3 = 1982;
20283 set var5 = 1982;
20284 set var7 = 1982;
20285 CALL sp57(1982, var1, var2, 1982, var3, var4, 1982, var5, var6, 1982, var7, var8);
20286 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20287 END//
20288 CALL spexecute57();
20289 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20290 2033 2033 2084 2033 2033 2084 2033 2033 2084 2033 2033 2084
20291 var1 var2 var3 var4 var5 var6 var7 var8
20292 2033 2084 2033 2084 2033 2084 2033 2084
20293 DROP PROCEDURE spexecute57;
20294 DROP PROCEDURE sp57;
20295 DROP PROCEDURE IF EXISTS sp58;
20296 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)
20297 BEGIN
20298 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
20299 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
20300 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
20301 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
20302 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20303 END//
20304 DROP PROCEDURE IF EXISTS spexecute58;
20305 CREATE PROCEDURE spexecute58()
20306 BEGIN
20307 declare var1 text;
20308 declare var2 text;
20309 declare var3 text;
20310 declare var4 text;
20311 declare var5 text;
20312 declare var6 text;
20313 declare var7 text;
20314 declare var8 text;
20315 set var1 = 'world';
20316 set var3 = 'world';
20317 set var5 = 'world';
20318 set var7 = 'world';
20319 CALL sp58( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
20320 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20321 END//
20322 CALL spexecute58();
20323 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20324 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
20325 var1 var2 var3 var4 var5 var6 var7 var8
20326 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
20327 DROP PROCEDURE spexecute58;
20328 DROP PROCEDURE sp58;
20329 DROP PROCEDURE IF EXISTS sp59;
20330 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)
20331 BEGIN
20332 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
20333 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
20334 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
20335 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
20336 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20337 END//
20338 DROP PROCEDURE IF EXISTS spexecute59;
20339 CREATE PROCEDURE spexecute59()
20340 BEGIN
20341 declare var1 tinytext;
20342 declare var2 tinytext;
20343 declare var3 tinytext;
20344 declare var4 tinytext;
20345 declare var5 tinytext;
20346 declare var6 tinytext;
20347 declare var7 tinytext;
20348 declare var8 tinytext;
20349 set var1 = 'world';
20350 set var3 = 'world';
20351 set var5 = 'world';
20352 set var7 = 'world';
20353 CALL sp59( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
20354 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20355 END//
20356 CALL spexecute59();
20357 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20358 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
20359 var1 var2 var3 var4 var5 var6 var7 var8
20360 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
20361 DROP PROCEDURE spexecute59;
20362 DROP PROCEDURE sp59;
20363 DROP PROCEDURE IF EXISTS sp60;
20364 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)
20365 BEGIN
20366 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
20367 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f5);
20368 set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f8);
20369 set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
20370 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20371 END//
20372 DROP PROCEDURE IF EXISTS spexecute60;
20373 CREATE PROCEDURE spexecute60()
20374 BEGIN
20375 declare var1 char;
20376 declare var2 char;
20377 declare var3 char;
20378 declare var4 char;
20379 declare var5 char;
20380 declare var6 char;
20381 declare var7 char;
20382 declare var8 char;
20383 set var1 = 'h';
20384 set var3 = 'h';
20385 set var5 = 'h';
20386 set var7 = 'h';
20387 CALL sp60( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
20388 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20389 END//
20390 CALL spexecute60();
20391 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20392 a a a a a a a a a a a a
20393 var1 var2 var3 var4 var5 var6 var7 var8
20394 a a a a a a a a
20395 DROP PROCEDURE spexecute60;
20396 DROP PROCEDURE sp60;
20397 DROP PROCEDURE IF EXISTS sp61;
20398 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)
20399 BEGIN
20400 set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f2);
20401 set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
20402 set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f9);
20403 set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
20404 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20405 END//
20406 DROP PROCEDURE IF EXISTS spexecute61;
20407 CREATE PROCEDURE spexecute61()
20408 BEGIN
20409 declare var1 char ascii;
20410 declare var2 char ascii;
20411 declare var3 char ascii;
20412 declare var4 char ascii;
20413 declare var5 char ascii;
20414 declare var6 char ascii;
20415 declare var7 char ascii;
20416 declare var8 char ascii;
20417 set var1 = 'h';
20418 set var3 = 'h';
20419 set var5 = 'h';
20420 set var7 = 'h';
20421 CALL sp61( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
20422 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20423 END//
20424 CALL spexecute61();
20425 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20426 a a a a a a a a NULL a a a
20427 var1 var2 var3 var4 var5 var6 var7 var8
20428 a a a a a NULL a a
20429 DROP PROCEDURE spexecute61;
20430 DROP PROCEDURE sp61;
20431 DROP PROCEDURE IF EXISTS sp62;
20432 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)
20433 BEGIN
20434 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
20435 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
20436 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
20437 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
20438 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20439 END//
20440 DROP PROCEDURE IF EXISTS spexecute62;
20441 CREATE PROCEDURE spexecute62()
20442 BEGIN
20443 declare var1 longtext;
20444 declare var2 longtext;
20445 declare var3 longtext;
20446 declare var4 longtext;
20447 declare var5 longtext;
20448 declare var6 longtext;
20449 declare var7 longtext;
20450 declare var8 longtext;
20451 set var1 = 'world';
20452 set var3 = 'world';
20453 set var5 = 'world';
20454 set var7 = 'world';
20455 CALL sp62( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
20456 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20457 END//
20458 CALL spexecute62();
20459 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20460 helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
20461 var1 var2 var3 var4 var5 var6 var7 var8
20462 helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
20463 DROP PROCEDURE spexecute62;
20464 DROP PROCEDURE sp62;
20465 DROP PROCEDURE IF EXISTS sp63;
20466 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)
20467 BEGIN
20468 set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f3);
20469 set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
20470 set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
20471 set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
20472 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20473 END//
20474 DROP PROCEDURE IF EXISTS spexecute63;
20475 CREATE PROCEDURE spexecute63()
20476 BEGIN
20477 declare var1 mediumtext;
20478 declare var2 mediumtext;
20479 declare var3 mediumtext;
20480 declare var4 mediumtext;
20481 declare var5 mediumtext;
20482 declare var6 mediumtext;
20483 declare var7 mediumtext;
20484 declare var8 mediumtext;
20485 set var1 = 'world';
20486 set var3 = 'world';
20487 set var5 = 'world';
20488 set var7 = 'world';
20489 CALL sp63( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
20490 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20491 END//
20492 CALL spexecute63();
20493 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20494 helloworld helloworld NULL helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
20495 var1 var2 var3 var4 var5 var6 var7 var8
20496 helloworld NULL helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
20497 DROP PROCEDURE spexecute63;
20498 DROP PROCEDURE sp63;
20499 DROP PROCEDURE IF EXISTS sp64;
20500 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)
20501 BEGIN
20502 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);
20503 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);
20504 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);
20505 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);
20506 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20507 END//
20508 DROP PROCEDURE IF EXISTS spexecute64;
20509 CREATE PROCEDURE spexecute64()
20510 BEGIN
20511 declare var1 decimal;
20512 declare var2 decimal;
20513 declare var3 decimal;
20514 declare var4 decimal;
20515 declare var5 decimal;
20516 declare var6 decimal;
20517 declare var7 decimal;
20518 declare var8 decimal;
20519 set var1 = --1.00e+09;
20520 set var3 = --1.00e+09;
20521 set var5 = --1.00e+09;
20522 set var7 = --1.00e+09;
20523 CALL sp64(--1.00e+09, var1, var2, --1.00e+09, var3, var4, --1.00e+09, var5, var6, --1.00e+09, var7, var8);
20524 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20525 END//
20526 CALL spexecute64();
20527 f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
20528 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010
20529 var1 var2 var3 var4 var5 var6 var7 var8
20530 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010
20531 DROP PROCEDURE spexecute64;
20532 DROP PROCEDURE sp64;
20533 DROP PROCEDURE IF EXISTS sp65;
20534 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)
20535 BEGIN
20536 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);
20537 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);
20538 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);
20539 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);
20540 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20541 END//
20542 DROP PROCEDURE IF EXISTS spexecute65;
20543 CREATE PROCEDURE spexecute65()
20544 BEGIN
20545 declare var1 decimal (0, 0) unsigned zerofill;
20546 declare var2 decimal (0, 0) unsigned zerofill;
20547 declare var3 bigint;
20548 declare var4 bigint;
20549 declare var5 bigint;
20550 declare var6 bigint;
20551 declare var7 bigint;
20552 declare var8 bigint;
20553 set var1 = 999999999;
20554 set var3 = -9.22e+18;
20555 set var5 = -9.22e+18;
20556 set var7 = -9.22e+18;
20557 CALL sp65(999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20558 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20559 END//
20560 CALL spexecute65();
20561 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20562 DROP PROCEDURE spexecute65;
20563 DROP PROCEDURE sp65;
20564 DROP PROCEDURE IF EXISTS sp66;
20565 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)
20566 BEGIN
20567 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);
20568 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);
20569 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);
20570 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);
20571 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20572 END//
20573 DROP PROCEDURE IF EXISTS spexecute66;
20574 CREATE PROCEDURE spexecute66()
20575 BEGIN
20576 declare var1 decimal (63, 30) unsigned;
20577 declare var2 decimal (63, 30) unsigned;
20578 declare var3 bigint;
20579 declare var4 bigint;
20580 declare var5 bigint;
20581 declare var6 bigint;
20582 declare var7 bigint;
20583 declare var8 bigint;
20584 set var1 = 1.00e+16;
20585 set var3 = -9.22e+18;
20586 set var5 = -9.22e+18;
20587 set var7 = -9.22e+18;
20588 CALL sp66(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20589 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20590 END//
20591 CALL spexecute66();
20592 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20593 DROP PROCEDURE spexecute66;
20594 DROP PROCEDURE sp66;
20595 DROP PROCEDURE IF EXISTS sp67;
20596 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)
20597 BEGIN
20598 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);
20599 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);
20600 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);
20601 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);
20602 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20603 END//
20604 DROP PROCEDURE IF EXISTS spexecute67;
20605 CREATE PROCEDURE spexecute67()
20606 BEGIN
20607 declare var1 decimal (63, 30) unsigned zerofill;
20608 declare var2 decimal (63, 30) unsigned zerofill;
20609 declare var3 bigint;
20610 declare var4 bigint;
20611 declare var5 bigint;
20612 declare var6 bigint;
20613 declare var7 bigint;
20614 declare var8 bigint;
20615 set var1 = 1.00e+16;
20616 set var3 = -9.22e+18;
20617 set var5 = -9.22e+18;
20618 set var7 = -9.22e+18;
20619 CALL sp67(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20620 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20621 END//
20622 CALL spexecute67();
20623 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20624 DROP PROCEDURE spexecute67;
20625 DROP PROCEDURE sp67;
20626 DROP PROCEDURE IF EXISTS sp68;
20627 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)
20628 BEGIN
20629 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);
20630 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);
20631 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);
20632 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);
20633 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20634 END//
20635 DROP PROCEDURE IF EXISTS spexecute68;
20636 CREATE PROCEDURE spexecute68()
20637 BEGIN
20638 declare var1 decimal (63, 30) zerofill;
20639 declare var2 decimal (63, 30) zerofill;
20640 declare var3 bigint;
20641 declare var4 bigint;
20642 declare var5 bigint;
20643 declare var6 bigint;
20644 declare var7 bigint;
20645 declare var8 bigint;
20646 set var1 = -1.00e+21;
20647 set var3 = -9.22e+18;
20648 set var5 = -9.22e+18;
20649 set var7 = -9.22e+18;
20650 CALL sp68(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20651 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20652 END//
20653 CALL spexecute68();
20654 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20655 DROP PROCEDURE spexecute68;
20656 DROP PROCEDURE sp68;
20657 DROP PROCEDURE IF EXISTS sp69;
20658 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)
20659 BEGIN
20660 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);
20661 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);
20662 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);
20663 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);
20664 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20665 END//
20666 DROP PROCEDURE IF EXISTS spexecute69;
20667 CREATE PROCEDURE spexecute69()
20668 BEGIN
20669 declare var1 decimal (64);
20670 declare var2 decimal (64);
20671 declare var3 bigint;
20672 declare var4 bigint;
20673 declare var5 bigint;
20674 declare var6 bigint;
20675 declare var7 bigint;
20676 declare var8 bigint;
20677 set var1 = -1.00e+22;
20678 set var3 = -9.22e+18;
20679 set var5 = -9.22e+18;
20680 set var7 = -9.22e+18;
20681 CALL sp69(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20682 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20683 END//
20684 CALL spexecute69();
20685 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20686 DROP PROCEDURE spexecute69;
20687 DROP PROCEDURE sp69;
20688 DROP PROCEDURE IF EXISTS sp70;
20689 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)
20690 BEGIN
20691 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);
20692 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);
20693 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);
20694 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);
20695 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20696 END//
20697 DROP PROCEDURE IF EXISTS spexecute70;
20698 CREATE PROCEDURE spexecute70()
20699 BEGIN
20700 declare var1 decimal (64) unsigned;
20701 declare var2 decimal (64) unsigned;
20702 declare var3 bigint;
20703 declare var4 bigint;
20704 declare var5 bigint;
20705 declare var6 bigint;
20706 declare var7 bigint;
20707 declare var8 bigint;
20708 set var1 = 1.00e+22;
20709 set var3 = -9.22e+18;
20710 set var5 = -9.22e+18;
20711 set var7 = -9.22e+18;
20712 CALL sp70(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20713 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20714 END//
20715 CALL spexecute70();
20716 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20717 DROP PROCEDURE spexecute70;
20718 DROP PROCEDURE sp70;
20719 DROP PROCEDURE IF EXISTS sp71;
20720 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)
20721 BEGIN
20722 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);
20723 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);
20724 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);
20725 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);
20726 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20727 END//
20728 DROP PROCEDURE IF EXISTS spexecute71;
20729 CREATE PROCEDURE spexecute71()
20730 BEGIN
20731 declare var1 decimal (64) unsigned zerofill;
20732 declare var2 decimal (64) unsigned zerofill;
20733 declare var3 bigint;
20734 declare var4 bigint;
20735 declare var5 bigint;
20736 declare var6 bigint;
20737 declare var7 bigint;
20738 declare var8 bigint;
20739 set var1 = 1.00e+22;
20740 set var3 = -9.22e+18;
20741 set var5 = -9.22e+18;
20742 set var7 = -9.22e+18;
20743 CALL sp71(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20744 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20745 END//
20746 CALL spexecute71();
20747 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20748 DROP PROCEDURE spexecute71;
20749 DROP PROCEDURE sp71;
20750 DROP PROCEDURE IF EXISTS sp72;
20751 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)
20752 BEGIN
20753 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);
20754 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);
20755 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);
20756 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);
20757 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20758 END//
20759 DROP PROCEDURE IF EXISTS spexecute72;
20760 CREATE PROCEDURE spexecute72()
20761 BEGIN
20762 declare var1 decimal (64) zerofill;
20763 declare var2 decimal (64) zerofill;
20764 declare var3 bigint;
20765 declare var4 bigint;
20766 declare var5 bigint;
20767 declare var6 bigint;
20768 declare var7 bigint;
20769 declare var8 bigint;
20770 set var1 = 1.00e+00;
20771 set var3 = -9.22e+18;
20772 set var5 = -9.22e+18;
20773 set var7 = -9.22e+18;
20774 CALL sp72(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20775 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20776 END//
20777 CALL spexecute72();
20778 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20779 DROP PROCEDURE spexecute72;
20780 DROP PROCEDURE sp72;
20781 DROP PROCEDURE IF EXISTS sp73;
20782 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)
20783 BEGIN
20784 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);
20785 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);
20786 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);
20787 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);
20788 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20789 END//
20790 DROP PROCEDURE IF EXISTS spexecute73;
20791 CREATE PROCEDURE spexecute73()
20792 BEGIN
20793 declare var1 decimal unsigned;
20794 declare var2 decimal unsigned;
20795 declare var3 bigint;
20796 declare var4 bigint;
20797 declare var5 bigint;
20798 declare var6 bigint;
20799 declare var7 bigint;
20800 declare var8 bigint;
20801 set var1 = 1.00e+00;
20802 set var3 = -9.22e+18;
20803 set var5 = -9.22e+18;
20804 set var7 = -9.22e+18;
20805 CALL sp73(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20806 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20807 END//
20808 CALL spexecute73();
20809 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20810 DROP PROCEDURE spexecute73;
20811 DROP PROCEDURE sp73;
20812 DROP PROCEDURE IF EXISTS sp74;
20813 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)
20814 BEGIN
20815 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);
20816 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);
20817 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);
20818 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);
20819 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20820 END//
20821 DROP PROCEDURE IF EXISTS spexecute74;
20822 CREATE PROCEDURE spexecute74()
20823 BEGIN
20824 declare var1 decimal unsigned zerofill;
20825 declare var2 decimal unsigned zerofill;
20826 declare var3 bigint;
20827 declare var4 bigint;
20828 declare var5 bigint;
20829 declare var6 bigint;
20830 declare var7 bigint;
20831 declare var8 bigint;
20832 set var1 = 1.00e+00;
20833 set var3 = -9.22e+18;
20834 set var5 = -9.22e+18;
20835 set var7 = -9.22e+18;
20836 CALL sp74(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20837 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20838 END//
20839 CALL spexecute74();
20840 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20841 DROP PROCEDURE spexecute74;
20842 DROP PROCEDURE sp74;
20843 DROP PROCEDURE IF EXISTS sp75;
20844 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)
20845 BEGIN
20846 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);
20847 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);
20848 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);
20849 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);
20850 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20851 END//
20852 DROP PROCEDURE IF EXISTS spexecute75;
20853 CREATE PROCEDURE spexecute75()
20854 BEGIN
20855 declare var1 decimal zerofill;
20856 declare var2 decimal zerofill;
20857 declare var3 bigint;
20858 declare var4 bigint;
20859 declare var5 bigint;
20860 declare var6 bigint;
20861 declare var7 bigint;
20862 declare var8 bigint;
20863 set var1 = -1.00e+09;
20864 set var3 = -9.22e+18;
20865 set var5 = -9.22e+18;
20866 set var7 = -9.22e+18;
20867 CALL sp75(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20868 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20869 END//
20870 CALL spexecute75();
20871 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20872 DROP PROCEDURE spexecute75;
20873 DROP PROCEDURE sp75;
20874 DROP PROCEDURE IF EXISTS sp76;
20875 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)
20876 BEGIN
20877 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);
20878 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);
20879 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);
20880 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);
20881 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20882 END//
20883 DROP PROCEDURE IF EXISTS spexecute76;
20884 CREATE PROCEDURE spexecute76()
20885 BEGIN
20886 declare var1 float(0) unsigned zerofill;
20887 declare var2 float(0) unsigned zerofill;
20888 declare var3 bigint;
20889 declare var4 bigint;
20890 declare var5 bigint;
20891 declare var6 bigint;
20892 declare var7 bigint;
20893 declare var8 bigint;
20894 set var1 = 1.00e+00;
20895 set var3 = -9.22e+18;
20896 set var5 = -9.22e+18;
20897 set var7 = -9.22e+18;
20898 CALL sp76(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20899 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20900 END//
20901 CALL spexecute76();
20902 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20903 DROP PROCEDURE spexecute76;
20904 DROP PROCEDURE sp76;
20905 DROP PROCEDURE IF EXISTS sp77;
20906 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)
20907 BEGIN
20908 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);
20909 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);
20910 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);
20911 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);
20912 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20913 END//
20914 DROP PROCEDURE IF EXISTS spexecute77;
20915 CREATE PROCEDURE spexecute77()
20916 BEGIN
20917 declare var1 float(23) unsigned zerofill;
20918 declare var2 float(23) unsigned zerofill;
20919 declare var3 bigint;
20920 declare var4 bigint;
20921 declare var5 bigint;
20922 declare var6 bigint;
20923 declare var7 bigint;
20924 declare var8 bigint;
20925 set var1 = 1.00e+00;
20926 set var3 = -9.22e+18;
20927 set var5 = -9.22e+18;
20928 set var7 = -9.22e+18;
20929 CALL sp77(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20930 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20931 END//
20932 CALL spexecute77();
20933 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20934 DROP PROCEDURE spexecute77;
20935 DROP PROCEDURE sp77;
20936 DROP PROCEDURE IF EXISTS sp78;
20937 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)
20938 BEGIN
20939 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);
20940 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);
20941 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);
20942 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);
20943 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20944 END//
20945 DROP PROCEDURE IF EXISTS spexecute78;
20946 CREATE PROCEDURE spexecute78()
20947 BEGIN
20948 declare var1 float(24) unsigned zerofill;
20949 declare var2 float(24) unsigned zerofill;
20950 declare var3 bigint;
20951 declare var4 bigint;
20952 declare var5 bigint;
20953 declare var6 bigint;
20954 declare var7 bigint;
20955 declare var8 bigint;
20956 set var1 = 1.00e+00;
20957 set var3 = -9.22e+18;
20958 set var5 = -9.22e+18;
20959 set var7 = -9.22e+18;
20960 CALL sp78(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20961 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20962 END//
20963 CALL spexecute78();
20964 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20965 DROP PROCEDURE spexecute78;
20966 DROP PROCEDURE sp78;
20967 DROP PROCEDURE IF EXISTS sp79;
20968 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)
20969 BEGIN
20970 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);
20971 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);
20972 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);
20973 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);
20974 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
20975 END//
20976 DROP PROCEDURE IF EXISTS spexecute79;
20977 CREATE PROCEDURE spexecute79()
20978 BEGIN
20979 declare var1 float(53) unsigned zerofill;
20980 declare var2 float(53) unsigned zerofill;
20981 declare var3 bigint;
20982 declare var4 bigint;
20983 declare var5 bigint;
20984 declare var6 bigint;
20985 declare var7 bigint;
20986 declare var8 bigint;
20987 set var1 = 1.00e+00;
20988 set var3 = -9.22e+18;
20989 set var5 = -9.22e+18;
20990 set var7 = -9.22e+18;
20991 CALL sp79(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
20992 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
20993 END//
20994 CALL spexecute79();
20995 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
20996 DROP PROCEDURE spexecute79;
20997 DROP PROCEDURE sp79;
20998 DROP PROCEDURE IF EXISTS sp80;
20999 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)
21000 BEGIN
21001 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);
21002 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);
21003 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);
21004 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);
21005 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21006 END//
21007 DROP PROCEDURE IF EXISTS spexecute80;
21008 CREATE PROCEDURE spexecute80()
21009 BEGIN
21010 declare var1 int;
21011 declare var2 int;
21012 declare var3 bigint;
21013 declare var4 bigint;
21014 declare var5 bigint;
21015 declare var6 bigint;
21016 declare var7 bigint;
21017 declare var8 bigint;
21018 set var1 = -2.15e+09;
21019 set var3 = -9.22e+18;
21020 set var5 = -9.22e+18;
21021 set var7 = -9.22e+18;
21022 CALL sp80(-2.15e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21023 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21024 END//
21025 CALL spexecute80();
21026 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21027 DROP PROCEDURE spexecute80;
21028 DROP PROCEDURE sp80;
21029 DROP PROCEDURE IF EXISTS sp81;
21030 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)
21031 BEGIN
21032 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);
21033 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);
21034 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);
21035 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);
21036 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21037 END//
21038 DROP PROCEDURE IF EXISTS spexecute81;
21039 CREATE PROCEDURE spexecute81()
21040 BEGIN
21041 declare var1 int unsigned;
21042 declare var2 int unsigned;
21043 declare var3 bigint;
21044 declare var4 bigint;
21045 declare var5 bigint;
21046 declare var6 bigint;
21047 declare var7 bigint;
21048 declare var8 bigint;
21049 set var1 = 4.29e+09;
21050 set var3 = -9.22e+18;
21051 set var5 = -9.22e+18;
21052 set var7 = -9.22e+18;
21053 CALL sp81(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21054 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21055 END//
21056 CALL spexecute81();
21057 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21058 DROP PROCEDURE spexecute81;
21059 DROP PROCEDURE sp81;
21060 DROP PROCEDURE IF EXISTS sp82;
21061 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)
21062 BEGIN
21063 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);
21064 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);
21065 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);
21066 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);
21067 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21068 END//
21069 DROP PROCEDURE IF EXISTS spexecute82;
21070 CREATE PROCEDURE spexecute82()
21071 BEGIN
21072 declare var1 int unsigned zerofill;
21073 declare var2 int unsigned zerofill;
21074 declare var3 bigint;
21075 declare var4 bigint;
21076 declare var5 bigint;
21077 declare var6 bigint;
21078 declare var7 bigint;
21079 declare var8 bigint;
21080 set var1 = 4.29e+09;
21081 set var3 = -9.22e+18;
21082 set var5 = -9.22e+18;
21083 set var7 = -9.22e+18;
21084 CALL sp82(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21085 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21086 END//
21087 CALL spexecute82();
21088 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21089 DROP PROCEDURE spexecute82;
21090 DROP PROCEDURE sp82;
21091 DROP PROCEDURE IF EXISTS sp83;
21092 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)
21093 BEGIN
21094 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);
21095 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);
21096 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);
21097 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);
21098 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21099 END//
21100 DROP PROCEDURE IF EXISTS spexecute83;
21101 CREATE PROCEDURE spexecute83()
21102 BEGIN
21103 declare var1 int zerofill;
21104 declare var2 int zerofill;
21105 declare var3 bigint;
21106 declare var4 bigint;
21107 declare var5 bigint;
21108 declare var6 bigint;
21109 declare var7 bigint;
21110 declare var8 bigint;
21111 set var1 = 2.15e+08;
21112 set var3 = -9.22e+18;
21113 set var5 = -9.22e+18;
21114 set var7 = -9.22e+18;
21115 CALL sp83(2.15e+08, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21116 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21117 END//
21118 CALL spexecute83();
21119 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21120 DROP PROCEDURE spexecute83;
21121 DROP PROCEDURE sp83;
21122 DROP PROCEDURE IF EXISTS sp84;
21123 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)
21124 BEGIN
21125 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);
21126 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);
21127 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);
21128 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);
21129 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21130 END//
21131 DROP PROCEDURE IF EXISTS spexecute84;
21132 CREATE PROCEDURE spexecute84()
21133 BEGIN
21134 declare var1 mediumint;
21135 declare var2 mediumint;
21136 declare var3 bigint;
21137 declare var4 bigint;
21138 declare var5 bigint;
21139 declare var6 bigint;
21140 declare var7 bigint;
21141 declare var8 bigint;
21142 set var1 = -8388600;
21143 set var3 = -9.22e+18;
21144 set var5 = -9.22e+18;
21145 set var7 = -9.22e+18;
21146 CALL sp84(-8388600, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21147 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21148 END//
21149 CALL spexecute84();
21150 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21151 DROP PROCEDURE spexecute84;
21152 DROP PROCEDURE sp84;
21153 DROP PROCEDURE IF EXISTS sp85;
21154 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)
21155 BEGIN
21156 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);
21157 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);
21158 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);
21159 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);
21160 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21161 END//
21162 DROP PROCEDURE IF EXISTS spexecute85;
21163 CREATE PROCEDURE spexecute85()
21164 BEGIN
21165 declare var1 mediumint unsigned;
21166 declare var2 mediumint unsigned;
21167 declare var3 bigint;
21168 declare var4 bigint;
21169 declare var5 bigint;
21170 declare var6 bigint;
21171 declare var7 bigint;
21172 declare var8 bigint;
21173 set var1 = 16777201;
21174 set var3 = -9.22e+18;
21175 set var5 = -9.22e+18;
21176 set var7 = -9.22e+18;
21177 CALL sp85(16777201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21178 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21179 END//
21180 CALL spexecute85();
21181 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21182 DROP PROCEDURE spexecute85;
21183 DROP PROCEDURE sp85;
21184 DROP PROCEDURE IF EXISTS sp86;
21185 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)
21186 BEGIN
21187 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);
21188 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);
21189 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);
21190 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);
21191 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21192 END//
21193 DROP PROCEDURE IF EXISTS spexecute86;
21194 CREATE PROCEDURE spexecute86()
21195 BEGIN
21196 declare var1 mediumint unsigned zerofill;
21197 declare var2 mediumint unsigned zerofill;
21198 declare var3 bigint;
21199 declare var4 bigint;
21200 declare var5 bigint;
21201 declare var6 bigint;
21202 declare var7 bigint;
21203 declare var8 bigint;
21204 set var1 = 16777210;
21205 set var3 = -9.22e+18;
21206 set var5 = -9.22e+18;
21207 set var7 = -9.22e+18;
21208 CALL sp86(16777210, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21209 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21210 END//
21211 CALL spexecute86();
21212 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21213 DROP PROCEDURE spexecute86;
21214 DROP PROCEDURE sp86;
21215 DROP PROCEDURE IF EXISTS sp87;
21216 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)
21217 BEGIN
21218 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);
21219 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);
21220 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);
21221 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);
21222 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21223 END//
21224 DROP PROCEDURE IF EXISTS spexecute87;
21225 CREATE PROCEDURE spexecute87()
21226 BEGIN
21227 declare var1 mediumint zerofill;
21228 declare var2 mediumint zerofill;
21229 declare var3 bigint;
21230 declare var4 bigint;
21231 declare var5 bigint;
21232 declare var6 bigint;
21233 declare var7 bigint;
21234 declare var8 bigint;
21235 set var1 = -8388601;
21236 set var3 = -9.22e+18;
21237 set var5 = -9.22e+18;
21238 set var7 = -9.22e+18;
21239 CALL sp87(-8388601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21240 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21241 END//
21242 CALL spexecute87();
21243 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
21244 DROP PROCEDURE spexecute87;
21245 DROP PROCEDURE sp87;
21246 DROP PROCEDURE IF EXISTS sp88;
21247 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)
21248 BEGIN
21249 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);
21250 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);
21251 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);
21252 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);
21253 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21254 END//
21255 DROP PROCEDURE IF EXISTS spexecute88;
21256 CREATE PROCEDURE spexecute88()
21257 BEGIN
21258 declare var1 numeric (0) unsigned zerofill;
21259 declare var2 numeric (0) unsigned zerofill;
21260 declare var3 bigint;
21261 declare var4 bigint;
21262 declare var5 bigint;
21263 declare var6 bigint;
21264 declare var7 bigint;
21265 declare var8 bigint;
21266 set var1 = 99999999;
21267 set var3 = -9.22e+18;
21268 set var5 = -9.22e+18;
21269 set var7 = -9.22e+18;
21270 CALL sp88(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21271 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21272 END//
21273 CALL spexecute88();
21274 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21275 DROP PROCEDURE spexecute88;
21276 DROP PROCEDURE sp88;
21277 DROP PROCEDURE IF EXISTS sp89;
21278 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)
21279 BEGIN
21280 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);
21281 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);
21282 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);
21283 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);
21284 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21285 END//
21286 DROP PROCEDURE IF EXISTS spexecute89;
21287 CREATE PROCEDURE spexecute89()
21288 BEGIN
21289 declare var1 numeric (0, 0) unsigned zerofill;
21290 declare var2 numeric (0, 0) unsigned zerofill;
21291 declare var3 bigint;
21292 declare var4 bigint;
21293 declare var5 bigint;
21294 declare var6 bigint;
21295 declare var7 bigint;
21296 declare var8 bigint;
21297 set var1 = 99999999;
21298 set var3 = -9.22e+18;
21299 set var5 = -9.22e+18;
21300 set var7 = -9.22e+18;
21301 CALL sp89(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21302 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21303 END//
21304 CALL spexecute89();
21305 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21306 DROP PROCEDURE spexecute89;
21307 DROP PROCEDURE sp89;
21308 DROP PROCEDURE IF EXISTS sp90;
21309 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)
21310 BEGIN
21311 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);
21312 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);
21313 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);
21314 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);
21315 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21316 END//
21317 DROP PROCEDURE IF EXISTS spexecute90;
21318 CREATE PROCEDURE spexecute90()
21319 BEGIN
21320 declare var1 numeric (63, 30) unsigned;
21321 declare var2 numeric (63, 30) unsigned;
21322 declare var3 bigint;
21323 declare var4 bigint;
21324 declare var5 bigint;
21325 declare var6 bigint;
21326 declare var7 bigint;
21327 declare var8 bigint;
21328 set var1 = 1.00e+22;
21329 set var3 = -9.22e+18;
21330 set var5 = -9.22e+18;
21331 set var7 = -9.22e+18;
21332 CALL sp90(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21333 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21334 END//
21335 CALL spexecute90();
21336 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21337 DROP PROCEDURE spexecute90;
21338 DROP PROCEDURE sp90;
21339 DROP PROCEDURE IF EXISTS sp91;
21340 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)
21341 BEGIN
21342 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);
21343 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);
21344 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);
21345 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);
21346 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21347 END//
21348 DROP PROCEDURE IF EXISTS spexecute91;
21349 CREATE PROCEDURE spexecute91()
21350 BEGIN
21351 declare var1 numeric (63, 30) unsigned zerofill;
21352 declare var2 numeric (63, 30) unsigned zerofill;
21353 declare var3 bigint;
21354 declare var4 bigint;
21355 declare var5 bigint;
21356 declare var6 bigint;
21357 declare var7 bigint;
21358 declare var8 bigint;
21359 set var1 = 1.00e+22;
21360 set var3 = -9.22e+18;
21361 set var5 = -9.22e+18;
21362 set var7 = -9.22e+18;
21363 CALL sp91(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21364 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21365 END//
21366 CALL spexecute91();
21367 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21368 DROP PROCEDURE spexecute91;
21369 DROP PROCEDURE sp91;
21370 DROP PROCEDURE IF EXISTS sp92;
21371 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)
21372 BEGIN
21373 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);
21374 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);
21375 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);
21376 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);
21377 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21378 END//
21379 DROP PROCEDURE IF EXISTS spexecute92;
21380 CREATE PROCEDURE spexecute92()
21381 BEGIN
21382 declare var1 numeric (63, 30) zerofill;
21383 declare var2 numeric (63, 30) zerofill;
21384 declare var3 bigint;
21385 declare var4 bigint;
21386 declare var5 bigint;
21387 declare var6 bigint;
21388 declare var7 bigint;
21389 declare var8 bigint;
21390 set var1 = -1.00e+22;
21391 set var3 = -9.22e+18;
21392 set var5 = -9.22e+18;
21393 set var7 = -9.22e+18;
21394 CALL sp92(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21395 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21396 END//
21397 CALL spexecute92();
21398 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21399 DROP PROCEDURE spexecute92;
21400 DROP PROCEDURE sp92;
21401 DROP PROCEDURE IF EXISTS sp93;
21402 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)
21403 BEGIN
21404 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);
21405 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);
21406 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);
21407 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);
21408 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21409 END//
21410 DROP PROCEDURE IF EXISTS spexecute93;
21411 CREATE PROCEDURE spexecute93()
21412 BEGIN
21413 declare var1 numeric (64) unsigned zerofill;
21414 declare var2 numeric (64) unsigned zerofill;
21415 declare var3 bigint;
21416 declare var4 bigint;
21417 declare var5 bigint;
21418 declare var6 bigint;
21419 declare var7 bigint;
21420 declare var8 bigint;
21421 set var1 = 1.00e+22;
21422 set var3 = -9.22e+18;
21423 set var5 = -9.22e+18;
21424 set var7 = -9.22e+18;
21425 CALL sp93(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21426 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21427 END//
21428 CALL spexecute93();
21429 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21430 DROP PROCEDURE spexecute93;
21431 DROP PROCEDURE sp93;
21432 DROP PROCEDURE IF EXISTS sp94;
21433 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)
21434 BEGIN
21435 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);
21436 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);
21437 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);
21438 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);
21439 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21440 END//
21441 DROP PROCEDURE IF EXISTS spexecute94;
21442 CREATE PROCEDURE spexecute94()
21443 BEGIN
21444 declare var1 smallint;
21445 declare var2 smallint;
21446 declare var3 bigint;
21447 declare var4 bigint;
21448 declare var5 bigint;
21449 declare var6 bigint;
21450 declare var7 bigint;
21451 declare var8 bigint;
21452 set var1 = -32701;
21453 set var3 = -9.22e+18;
21454 set var5 = -9.22e+18;
21455 set var7 = -9.22e+18;
21456 CALL sp94(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21457 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21458 END//
21459 CALL spexecute94();
21460 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21461 DROP PROCEDURE spexecute94;
21462 DROP PROCEDURE sp94;
21463 DROP PROCEDURE IF EXISTS sp95;
21464 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)
21465 BEGIN
21466 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);
21467 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);
21468 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);
21469 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);
21470 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21471 END//
21472 DROP PROCEDURE IF EXISTS spexecute95;
21473 CREATE PROCEDURE spexecute95()
21474 BEGIN
21475 declare var1 smallint unsigned;
21476 declare var2 smallint unsigned;
21477 declare var3 bigint;
21478 declare var4 bigint;
21479 declare var5 bigint;
21480 declare var6 bigint;
21481 declare var7 bigint;
21482 declare var8 bigint;
21483 set var1 = 65531;
21484 set var3 = -9.22e+18;
21485 set var5 = -9.22e+18;
21486 set var7 = -9.22e+18;
21487 CALL sp95(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21488 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21489 END//
21490 CALL spexecute95();
21491 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21492 DROP PROCEDURE spexecute95;
21493 DROP PROCEDURE sp95;
21494 DROP PROCEDURE IF EXISTS sp96;
21495 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)
21496 BEGIN
21497 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);
21498 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);
21499 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);
21500 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);
21501 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21502 END//
21503 DROP PROCEDURE IF EXISTS spexecute96;
21504 CREATE PROCEDURE spexecute96()
21505 BEGIN
21506 declare var1 smallint unsigned zerofill;
21507 declare var2 smallint unsigned zerofill;
21508 declare var3 bigint;
21509 declare var4 bigint;
21510 declare var5 bigint;
21511 declare var6 bigint;
21512 declare var7 bigint;
21513 declare var8 bigint;
21514 set var1 = 65531;
21515 set var3 = -9.22e+18;
21516 set var5 = -9.22e+18;
21517 set var7 = -9.22e+18;
21518 CALL sp96(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21519 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21520 END//
21521 CALL spexecute96();
21522 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21523 DROP PROCEDURE spexecute96;
21524 DROP PROCEDURE sp96;
21525 DROP PROCEDURE IF EXISTS sp97;
21526 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)
21527 BEGIN
21528 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);
21529 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);
21530 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);
21531 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);
21532 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21533 END//
21534 DROP PROCEDURE IF EXISTS spexecute97;
21535 CREATE PROCEDURE spexecute97()
21536 BEGIN
21537 declare var1 smallint zerofill;
21538 declare var2 smallint zerofill;
21539 declare var3 bigint;
21540 declare var4 bigint;
21541 declare var5 bigint;
21542 declare var6 bigint;
21543 declare var7 bigint;
21544 declare var8 bigint;
21545 set var1 = -32601;
21546 set var3 = -9.22e+18;
21547 set var5 = -9.22e+18;
21548 set var7 = -9.22e+18;
21549 CALL sp97(-32601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21550 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21551 END//
21552 CALL spexecute97();
21553 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
21554 DROP PROCEDURE spexecute97;
21555 DROP PROCEDURE sp97;
21556 DROP PROCEDURE IF EXISTS sp98;
21557 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)
21558 BEGIN
21559 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);
21560 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);
21561 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);
21562 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);
21563 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21564 END//
21565 DROP PROCEDURE IF EXISTS spexecute98;
21566 CREATE PROCEDURE spexecute98()
21567 BEGIN
21568 declare var1 tinyint;
21569 declare var2 tinyint;
21570 declare var3 bigint;
21571 declare var4 bigint;
21572 declare var5 bigint;
21573 declare var6 bigint;
21574 declare var7 bigint;
21575 declare var8 bigint;
21576 set var1 = -115;
21577 set var3 = -9.22e+18;
21578 set var5 = -9.22e+18;
21579 set var7 = -9.22e+18;
21580 CALL sp98(-115, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21581 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21582 END//
21583 CALL spexecute98();
21584 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21585 DROP PROCEDURE spexecute98;
21586 DROP PROCEDURE sp98;
21587 DROP PROCEDURE IF EXISTS sp99;
21588 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)
21589 BEGIN
21590 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);
21591 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);
21592 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);
21593 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);
21594 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21595 END//
21596 DROP PROCEDURE IF EXISTS spexecute99;
21597 CREATE PROCEDURE spexecute99()
21598 BEGIN
21599 declare var1 tinyint unsigned;
21600 declare var2 tinyint unsigned;
21601 declare var3 bigint;
21602 declare var4 bigint;
21603 declare var5 bigint;
21604 declare var6 bigint;
21605 declare var7 bigint;
21606 declare var8 bigint;
21607 set var1 = 251;
21608 set var3 = -9.22e+18;
21609 set var5 = -9.22e+18;
21610 set var7 = -9.22e+18;
21611 CALL sp99(251, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21612 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21613 END//
21614 CALL spexecute99();
21615 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21616 DROP PROCEDURE spexecute99;
21617 DROP PROCEDURE sp99;
21618 DROP PROCEDURE IF EXISTS sp100;
21619 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)
21620 BEGIN
21621 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);
21622 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);
21623 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);
21624 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);
21625 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21626 END//
21627 DROP PROCEDURE IF EXISTS spexecute100;
21628 CREATE PROCEDURE spexecute100()
21629 BEGIN
21630 declare var1 tinyint unsigned zerofill;
21631 declare var2 tinyint unsigned zerofill;
21632 declare var3 bigint;
21633 declare var4 bigint;
21634 declare var5 bigint;
21635 declare var6 bigint;
21636 declare var7 bigint;
21637 declare var8 bigint;
21638 set var1 = 201;
21639 set var3 = -9.22e+18;
21640 set var5 = -9.22e+18;
21641 set var7 = -9.22e+18;
21642 CALL sp100(201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21643 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21644 END//
21645 CALL spexecute100();
21646 ERROR 22003: BIGINT value is out of range in 'f5@4 * 2'
21647 DROP PROCEDURE spexecute100;
21648 DROP PROCEDURE sp100;
21649 DROP PROCEDURE IF EXISTS sp101;
21650 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)
21651 BEGIN
21652 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);
21653 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);
21654 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);
21655 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);
21656 SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
21657 END//
21658 DROP PROCEDURE IF EXISTS spexecute101;
21659 CREATE PROCEDURE spexecute101()
21660 BEGIN
21661 declare var1 tinyint zerofill;
21662 declare var2 tinyint zerofill;
21663 declare var3 bigint;
21664 declare var4 bigint;
21665 declare var5 bigint;
21666 declare var6 bigint;
21667 declare var7 bigint;
21668 declare var8 bigint;
21669 set var1 = -101;
21670 set var3 = -9.22e+18;
21671 set var5 = -9.22e+18;
21672 set var7 = -9.22e+18;
21673 CALL sp101(-101, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
21674 SELECT var1, var2, var3, var4, var5, var6, var7, var8;
21675 END//
21676 CALL spexecute101();
21677 ERROR 22003: BIGINT UNSIGNED value is out of range in 'f1@0 - 10'
21678 DROP PROCEDURE spexecute101;
21679 DROP PROCEDURE sp101;
21680 USE db_storedproc;
21681 DROP DATABASE db1;
21682 USE db_storedproc;
21683
21684 Testcase 4.7.2:
21685 FIXME: a wrong testcase number and/or description has been detected here. This
21686 FIXME: needs to be checked to be sure where the missing testcase is located.
21687 .
21688 check for "allow_invalid_dates" server sql mode
21689
21690 --------------------------------------------------------------------------------
21691 DROP PROCEDURE IF EXISTS sp2;
21692 drop table IF EXISTS temp_table;
21693 create table temp_table (f1 datetime);
21694 set @@sql_mode = 'allow_invalid_dates';
21695 CREATE PROCEDURE sp2 ()
21696 BEGIN
21697 declare a datetime;
21698 set a = '2005-03-14 01:01:02';
21699 insert into temp_table values(a);
21700 END//
21701 show CREATE PROCEDURE sp2;
21702 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21703 sp2 ALLOW_INVALID_DATES CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`()
21704 BEGIN
21705 declare a datetime;
21706 set a = '2005-03-14 01:01:02';
21707 insert into temp_table values(a);
21708 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21709 set @@sql_mode = 'traditional';
21710 CALL sp2 ();
21711 SELECT * from temp_table;
21712 f1
21713 2005-03-14 01:01:02
21714 SELECT @@sql_mode;
21715 @@sql_mode
21716 STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
21717 DROP PROCEDURE sp2;
21718 drop table temp_table;
21719
21720 Testcase 4.7.3:
21721 FIXME: a wrong testcase number and/or description has been detected here. This
21722 FIXME: needs to be checked to be sure where the missing testcase is located.
21723 .
21724 check for *high_not_precedence* server sql mode
21725
21726 --------------------------------------------------------------------------------
21727 DROP PROCEDURE IF EXISTS sp3;
21728 set @@sql_mode = 'high_not_precedence';
21729 CREATE PROCEDURE sp3()
21730 BEGIN
21731 declare a int signed;
21732 declare b int unsigned;
21733 set a = -5;
21734 set b = 5;
21735 SELECT not 1 between a and b;
21736 END//
21737 show CREATE PROCEDURE sp3;
21738 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21739 sp3 HIGH_NOT_PRECEDENCE CREATE DEFINER=`root`@`localhost` PROCEDURE `sp3`()
21740 BEGIN
21741 declare a int signed;
21742 declare b int unsigned;
21743 set a = -5;
21744 set b = 5;
21745 SELECT not 1 between a and b;
21746 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21747 set @@sql_mode='';
21748 CALL sp3();
21749 not 1 between a and b
21750 1
21751 SELECT @@sql_mode;
21752 @@sql_mode
21753
21754 DROP PROCEDURE sp3;
21755
21756 Testcase 4.7.4:
21757 FIXME: a wrong testcase number and/or description has been detected here. This
21758 FIXME: needs to be checked to be sure where the missing testcase is located.
21759 .
21760 check for combination of server sql modes
21761
21762 --------------------------------------------------------------------------------
21763 DROP PROCEDURE IF EXISTS sp4;
21764 set @@sql_mode = 'ansi, error_for_division_by_zero';
21765 ERROR 42000: Variable 'sql_mode' can't be set to the value of ' error_for_division_by_zero'
21766 set @@sql_mode = 'ansi,error_for_division_by_zero';
21767 SHOW VARIABLES LIKE 'sql_mode';
21768 Variable_name Value
21769 sql_mode REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO
21770 CREATE PROCEDURE sp4()
21771 BEGIN
21772 declare a int;
21773 declare b int;
21774 declare c int;
21775 set a = 0;
21776 set b = 1;
21777 set c = b/a;
21778 show warnings;
21779 END//
21780 show CREATE PROCEDURE sp4;
21781 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21782 sp4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO CREATE DEFINER="root"@"localhost" PROCEDURE "sp4"()
21783 BEGIN
21784 declare a int;
21785 declare b int;
21786 declare c int;
21787 set a = 0;
21788 set b = 1;
21789 set c = b/a;
21790 show warnings;
21791 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21792 set @@sql_mode='';
21793 CALL sp4();
21794 Level Code Message
21795 Warning 1365 Division by 0
21796 Warnings:
21797 Warning 1365 Division by 0
21798 DROP PROCEDURE sp4;
21799 set @@sql_mode='';
21800
21801 Section 3.1.8 - SHOW statement checks:
21802 --------------------------------------------------------------------------------
21803 USE db_storedproc;
21804
21805 Testcase 4.8.1:
21806 --------------------------------------------------------------------------------
21807 DROP PROCEDURE IF EXISTS sp6;
21808 DROP PROCEDURE IF EXISTS sp6a;
21809 DROP PROCEDURE IF EXISTS sp6b;
21810 DROP PROCEDURE IF EXISTS sp6c;
21811 CREATE PROCEDURE sp6a (i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
21812 language sql
21813 BEGIN
21814 set @x=i1;
21815 set @y=@x;
21816 END//
21817 CREATE PROCEDURE sp6b (out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
21818 deterministic
21819 BEGIN
21820 set @x=i1;
21821 set @y=@x;
21822 END//
21823 CREATE PROCEDURE sp6c (inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real) comment 'this is a comment'
21824 BEGIN
21825 set @x=i1;
21826 set @y=@x;
21827 END//
21828 show CREATE PROCEDURE sp6a;
21829 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21830 sp6a CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6a`(i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
21831 BEGIN
21832 set @x=i1;
21833 set @y=@x;
21834 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21835 show CREATE PROCEDURE sp6b;
21836 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21837 sp6b CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6b`(out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
21838 DETERMINISTIC
21839 BEGIN
21840 set @x=i1;
21841 set @y=@x;
21842 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21843 show CREATE PROCEDURE sp6c;
21844 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
21845 sp6c CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6c`(inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real)
21846 COMMENT 'this is a comment'
21847 BEGIN
21848 set @x=i1;
21849 set @y=@x;
21850 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21851 SHOW PROCEDURE status like 'sp6a';
21852 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21853 db_storedproc sp6a PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21854 SHOW PROCEDURE status like 'sp6b';
21855 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21856 db_storedproc sp6b PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21857 SHOW PROCEDURE status like 'sp6c';
21858 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21859 db_storedproc sp6c PROCEDURE root@localhost <modified> <created> DEFINER this is a comment latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21860 DROP PROCEDURE sp6a;
21861 DROP PROCEDURE sp6b;
21862 DROP PROCEDURE sp6c;
21863
21864 Testcase 4.8.2:
21865 --------------------------------------------------------------------------------
21866 DROP PROCEDURE IF EXISTS sp6;
21867 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
21868 BEGIN
21869 set @x=i1;
21870 set @y=@x;
21871 END//
21872 SHOW PROCEDURE status like 'sp6';
21873 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21874 db_storedproc sp6 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21875 DROP PROCEDURE sp6;
21876
21877 Testcase 4.8.3:
21878 --------------------------------------------------------------------------------
21879 DROP PROCEDURE IF EXISTS sp6;
21880 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
21881 BEGIN
21882 set @x=i1;
21883 set @y=@x;
21884 END//
21885 SHOW CREATE FUNCTION sp6;
21886 ERROR 42000: FUNCTION sp6 does not exist
21887 DROP PROCEDURE sp6;
21888
21889 Testcase 4.8.4:
21890 --------------------------------------------------------------------------------
21891 DROP PROCEDURE IF EXISTS sp6;
21892 CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real) returns longtext
21893 BEGIN
21894 set @x=i1;
21895 set @y=@x;
21896 return 0;
21897 END//
21898 show function status like 'sp6';
21899 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21900 db_storedproc sp6 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21901 DROP FUNCTION sp6;
21902
21903 Testcase 4.8.5:
21904 --------------------------------------------------------------------------------
21905 DROP PROCEDURE IF EXISTS sp7;
21906 show CREATE PROCEDURE sp7;
21907 ERROR 42000: PROCEDURE sp7 does not exist
21908
21909 Testcase 4.8.6:
21910 --------------------------------------------------------------------------------
21911 DROP PROCEDURE IF EXISTS sp6;
21912 show procedure status like 'sp6';
21913 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21914
21915 Testcase 4.8.7:
21916 --------------------------------------------------------------------------------
21917 DROP FUNCTION IF EXISTS fn1;
21918 CREATE FUNCTION fn1 (i1 real) returns real
21919 BEGIN
21920 return i1;
21921 END//
21922 show CREATE PROCEDURE fn1;
21923 ERROR 42000: PROCEDURE fn1 does not exist
21924 DROP FUNCTION fn1;
21925
21926 Testcase 4.8.8:
21927 --------------------------------------------------------------------------------
21928 DROP FUNCTION IF EXISTS fn1;
21929 CREATE FUNCTION fn1 (i1 real) returns real
21930 BEGIN
21931 return i1;
21932 END//
21933 show procedure status like 'fn1';
21934 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21935 DROP FUNCTION fn1;
21936
21937 Testcase 4.8.9:
21938 --------------------------------------------------------------------------------
21939
21940 Testcase 4.8.10:
21941 --------------------------------------------------------------------------------
21942 DROP FUNCTION IF EXISTS fn1;
21943 CREATE FUNCTION fn1 (i1 real) returns real
21944 BEGIN
21945 return i1;
21946 END//
21947 SHOW FUNCTION STATUS LIKE 'fn1';
21948 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21949 db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
21950 DROP FUNCTION fn1;
21951
21952 Testcase 4.8.11:
21953 --------------------------------------------------------------------------------
21954 DROP FUNCTION IF EXISTS fn1;
21955 CREATE FUNCTION fn1 (x int) returns int
21956 BEGIN
21957 return x;
21958 END//
21959 show CREATE PROCEDURE fn1;
21960 ERROR 42000: PROCEDURE fn1 does not exist
21961 DROP FUNCTION fn1;
21962
21963 Testcase 4.8.12:
21964 --------------------------------------------------------------------------------
21965 DROP FUNCTION IF EXISTS fn1;
21966 CREATE FUNCTION fn1(x int) returns int
21967 BEGIN
21968 return x;
21969 END//
21970 DROP FUNCTION fn1;
21971 show CREATE FUNCTION fn1;
21972 ERROR 42000: FUNCTION fn1 does not exist
21973
21974 Testcase 4.8.13:
21975 --------------------------------------------------------------------------------
21976 DROP FUNCTION IF EXISTS f1000;
21977 SHOW FUNCTION STATUS LIKE 'f1000';
21978 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
21979
21980 Testcase 4.8.14:
21981 --------------------------------------------------------------------------------
21982 DROP PROCEDURE IF EXISTS sp1;
21983 CREATE PROCEDURE sp1()
21984 BEGIN
21985 SELECT * from t8;
21986 END//
21987 show CREATE FUNCTION sp1;
21988 ERROR 42000: FUNCTION sp1 does not exist
21989 DROP PROCEDURE sp1;
21990
21991 Testcase 4.8.15:
21992 --------------------------------------------------------------------------------
21993 DROP PROCEDURE IF EXISTS sp6;
21994 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
21995 BEGIN
21996 set @x=i1;
21997 set @y=@x;
21998 END//
21999 show function status like 'sp6';
22000 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22001 DROP PROCEDURE sp6;
22002
22003 Testcase 4.8.16:
22004 --------------------------------------------------------------------------------
22005
22006 Testcase 4.8.17:
22007 --------------------------------------------------------------------------------
22008 DROP PROCEDURE IF EXISTS sp6;
22009 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22010 BEGIN
22011 set @x=i1;
22012 set @y=@x;
22013 END//
22014 alter procedure sp6 sql security invoker;
22015 alter procedure sp6 comment 'this is a new comment';
22016 SHOW PROCEDURE status like 'sp6';
22017 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22018 db_storedproc sp6 PROCEDURE root@localhost <modified> <created> INVOKER this is a new comment latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
22019 DROP PROCEDURE sp6;
22020
22021 Testcase 4.8.18:
22022 --------------------------------------------------------------------------------
22023 DROP FUNCTION IF EXISTS fn1;
22024 CREATE FUNCTION fn1 (x int) returns int
22025 BEGIN
22026 return x;
22027 END//
22028 alter function fn1 sql security invoker;
22029 show create function fn1;
22030 Function sql_mode Create Function character_set_client collation_connection Database Collation
22031 fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11)
22032 SQL SECURITY INVOKER
22033 BEGIN
22034 return x;
22035 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
22036 DROP FUNCTION fn1;
22037
22038 Testcase 4.8.19:
22039 --------------------------------------------------------------------------------
22040 DROP FUNCTION IF EXISTS fn1;
22041 CREATE FUNCTION fn1 (i1 longtext) returns longtext
22042 BEGIN
22043 return i1;
22044 END//
22045 alter function fn1 sql security invoker;
22046 alter function fn1 comment 'this is a function 3242#@%$#@';
22047 show function status like 'fn1';
22048 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22049 db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is a function 3242#@%$#@ latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
22050 DROP FUNCTION fn1;
22051
22052 Testcase 4.8.20:
22053 --------------------------------------------------------------------------------
22054 DROP PROCEDURE IF EXISTS sp6;
22055 CREATE PROCEDURE sp6 (i1 int , i2 int)
22056 BEGIN
22057 set @x=i1;
22058 set @y=@x;
22059 END//
22060 alter procedure sp6 comment 'this is simple';
22061 show CREATE PROCEDURE sp6;
22062 Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
22063 sp6 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6`(i1 int , i2 int)
22064 COMMENT 'this is simple'
22065 BEGIN
22066 set @x=i1;
22067 set @y=@x;
22068 END latin1 latin1_swedish_ci utf8mb4_uca1400_ai_ci
22069 DROP PROCEDURE sp6;
22070
22071 Testcase 4.8.21:
22072 --------------------------------------------------------------------------------
22073 DROP PROCEDURE IF EXISTS sp6;
22074 CREATE PROCEDURE sp6 (i1 int, i2 int)
22075 BEGIN
22076 set @x=i1;
22077 set @y=@x;
22078 END//
22079 DROP PROCEDURE sp6;
22080 show CREATE PROCEDURE sp6;
22081 ERROR 42000: PROCEDURE sp6 does not exist
22082
22083 Testcase 4.8.22:
22084 --------------------------------------------------------------------------------
22085 DROP PROCEDURE IF EXISTS sp6;
22086 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22087 BEGIN
22088 set @x=i3;
22089 set @y=@x;
22090 END//
22091 DROP PROCEDURE sp6;
22092 SHOW PROCEDURE status like 'sp6';
22093 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22094
22095 Testcase 4.8.23:
22096 --------------------------------------------------------------------------------
22097 DROP FUNCTION IF EXISTS fn1;
22098 CREATE FUNCTION fn1 (x int) returns int
22099 BEGIN
22100 return x;
22101 END//
22102 DROP FUNCTION fn1;
22103 show CREATE FUNCTION fn1;
22104 ERROR 42000: FUNCTION fn1 does not exist
22105
22106 Testcase 4.8.24:
22107 --------------------------------------------------------------------------------
22108 DROP FUNCTION IF EXISTS fn1;
22109 CREATE FUNCTION fn1 (i1 longtext) returns longtext
22110 BEGIN
22111 return i1;
22112 END//
22113 DROP FUNCTION fn1;
22114 SHOW FUNCTION STATUS LIKE 'fn1';
22115 Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
22116
22117 Section 3.1.9 - Routine body checks:
22118 --------------------------------------------------------------------------------
22119 USE db_storedproc;
22120
22121 Testcase 4.9.1:
22122 --------------------------------------------------------------------------------
22123 DROP PROCEDURE IF EXISTS sp6;
22124 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22125 BEGIN
22126 set @x = i3;
22127 set @a = i5;
22128 set @y = @x;
22129 set @b = @a;
22130 SELECT * from t9 limit 0, 100;
22131 END//
22132 CALL sp6 (10, 20, 30, 40, 50);
22133 f1 f2 f3
22134 -4991 a_aaaaaaaaa -4991
22135 -4992 a^aaaaaaaa -4992
22136 -4993 agaaaaaaa -4993
22137 -4994 afaaaaaa -4994
22138 -4995 aeaaaaa -4995
22139 -4996 adaaaa -4996
22140 -4997 acaaa -4997
22141 -4998 abaa -4998
22142 -4999 aaa -4999
22143 -5000 a` -5000
22144 DROP PROCEDURE sp6;
22145
22146 Testcase 4.9.2:
22147 --------------------------------------------------------------------------------
22148 DROP PROCEDURE IF EXISTS sp6;
22149 drop table IF EXISTS res_t9;
22150 create table res_t9 (f1 int, f2 char(25), f3 int);
22151 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22152 BEGIN
22153 set @x = i3;
22154 set @a = i5;
22155 set @y = @x;
22156 set @b = @a;
22157 insert into res_t9 values (@y, @a, 111);
22158 SELECT * from res_t9;
22159 END//
22160 CALL sp6 (10, 20, 30, 40, 50);
22161 f1 f2 f3
22162 30 50 111
22163 DROP PROCEDURE sp6;
22164 drop table res_t9;
22165
22166 Testcase 4.9.3:
22167 --------------------------------------------------------------------------------
22168 DROP PROCEDURE IF EXISTS sp6;
22169 drop table IF EXISTS res_t9;
22170 create table res_t9 (f1 int, f2 char(25), f3 int);
22171 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22172 BEGIN
22173 set @x = i3;
22174 set @a = i5;
22175 set @y = @x;
22176 set @b = @a;
22177 insert into res_t9 values (@y, @a, 111);
22178 SELECT * from res_t9;
22179 delete from res_t9;
22180 SELECT * from res_t9;
22181 END//
22182 CALL sp6 (10, 20, 30, 40, 50);
22183 f1 f2 f3
22184 30 50 111
22185 f1 f2 f3
22186 DROP PROCEDURE sp6;
22187 drop table res_t9;
22188
22189 Testcase 4.9.4:
22190 --------------------------------------------------------------------------------
22191 DROP PROCEDURE IF EXISTS sp6;
22192 drop table IF EXISTS res_t9;
22193 create table res_t9 (f1 int, f2 char(25), f3 int);
22194 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22195 BEGIN
22196 set @x = i3;
22197 set @a = i5;
22198 set @y = @x;
22199 set @b = @a;
22200 insert into res_t9 values (@y, @a, 111);
22201 SELECT * from res_t9;
22202 update res_t9 set f2 = 1000 where f2 = 50;
22203 SELECT * from res_t9;
22204 END//
22205 CALL sp6 (10, 20, 30, 40, 50);
22206 f1 f2 f3
22207 30 50 111
22208 f1 f2 f3
22209 30 1000 111
22210 DROP PROCEDURE sp6;
22211 drop table res_t9;
22212
22213 Testcase 4.9.5:
22214 --------------------------------------------------------------------------------
22215 DROP PROCEDURE IF EXISTS sp6;
22216 drop table IF EXISTS res_t9;
22217 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22218 BEGIN
22219 set @x = i1;
22220 set @y = i3;
22221 set @z = i5;
22222 set @a = @x;
22223 set @b = @y;
22224 set @c = @z;
22225 create table res_t9(f1 longtext, f2 longblob, f3 real);
22226 insert into res_t9 values (@a, @b, @c);
22227 SELECT * from res_t9;
22228 END//
22229 CALL sp6 (10, 20, 30, 40, 50);
22230 f1 f2 f3
22231 10 30 50
22232 DROP PROCEDURE sp6;
22233 drop table IF EXISTS res_t9;
22234
22235 Testcase 4.9.6:
22236 --------------------------------------------------------------------------------
22237 DROP FUNCTION IF EXISTS fn1;
22238 Warnings:
22239 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22240 CREATE FUNCTION fn1(i1 longtext) returns longtext
22241 BEGIN
22242 SELECT * from t9 limit 0, 100;
22243 return i1;
22244 END//
22245 ERROR 0A000: Not allowed to return a result set from a function
22246 DROP FUNCTION IF EXISTS fn1;
22247 Warnings:
22248 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22249 drop table IF EXISTS res_t9;
22250 Warnings:
22251 Note 1051 Unknown table 'db_storedproc.res_t9'
22252 create table res_t9 (f1 int, f2 char(25), f3 int);
22253 insert into res_t9 values (10, 'abc', 20);
22254 CREATE FUNCTION fn1(i1 longtext) returns longtext
22255 BEGIN
22256 delete from res_t9;
22257 drop table res_t9;
22258 return i1;
22259 END//
22260 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
22261 DROP FUNCTION IF EXISTS fn1;
22262 Warnings:
22263 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22264 drop table IF EXISTS res_t9;
22265 CREATE FUNCTION fn1(i1 longtext) returns longtext
22266 BEGIN
22267 create table res_t9 (f1 longtext, f2 longblob, f3 real);
22268 drop table res_t9;
22269 return i1;
22270 END//
22271 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
22272 DROP FUNCTION IF EXISTS fn1;
22273 Warnings:
22274 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22275 drop table IF EXISTS res_t9;
22276 Warnings:
22277 Note 1051 Unknown table 'db_storedproc.res_t9'
22278 create table res_t9 (f1 int, f2 char(25), f3 int);
22279 CREATE FUNCTION fn1(i1 longtext) returns longtext
22280 BEGIN
22281 insert into res_t9 values (100, 'abc', 300);
22282 drop table res_t9;
22283 return i1;
22284 END//
22285 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
22286 DROP FUNCTION IF EXISTS fn1;
22287 Warnings:
22288 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22289 drop table IF EXISTS res_t9;
22290 create table res_t9 (f1 int, f2 char(25), f3 int);
22291 insert into res_t9 values (10, 'abc', 20);
22292 CREATE FUNCTION fn1(i1 longtext) returns longtext
22293 BEGIN
22294 update res_t9 set f1 = 20;
22295 drop table res_t9;
22296 return i1;
22297 END//
22298 ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger
22299 drop table res_t9;
22300 DROP FUNCTION IF EXISTS fn1;
22301 Warnings:
22302 Note 1305 FUNCTION db_storedproc.fn1 does not exist
22303
22304 Testcase 4.9.7:
22305 --------------------------------------------------------------------------------
22306 DROP PROCEDURE IF EXISTS sp6;
22307 drop table IF EXISTS res_t9;
22308 create table res_t9 (f1 longtext, f2 longblob, f3 real);
22309 CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
22310 BEGIN
22311 set @x = i1;
22312 set @y = i3;
22313 set @z = i5;
22314 set @a = @x;
22315 set @b = @y;
22316 set @c = @z;
22317 insert into res_t9 values (@a, @b, @c);
22318 SELECT * from res_t9;
22319 create index index_1 on res_t9 (f1 (5));
22320 show index from res_t9;
22321 END//
22322 CALL sp6 (10, 20, 30, 40, 50);
22323 f1 f2 f3
22324 10 30 50
22325 Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment Index_comment Ignored
22326 res_t9 1 index_1 1 f1 A NULL 5 NULL YES BTREE NO
22327 DROP PROCEDURE sp6;
22328 drop table res_t9;
22329
22330 Section 3.1._ - :
22331 --------------------------------------------------------------------------------
22332 USE db_storedproc;
22333
22334 Testcase 4.11.1:
22335 --------------------------------------------------------------------------------
22336 DROP PROCEDURE IF EXISTS h1;
22337 DROP PROCEDURE IF EXISTS sp1;
22338 CREATE PROCEDURE sp1 (x int, y int)
22339 BEGIN
22340 set @y=x;
22341 END//
22342 CREATE PROCEDURE h1 ()
22343 BEGIN
22344 declare continue handler for 1318 set @x2 = 1;
22345 set @x=0;
22346 CALL sp1 (1);
22347 set @x=1;
22348 SELECT @x, @x2;
22349 END//
22350 CALL h1 ();
22351 @x @x2
22352 1 1
22353 DROP PROCEDURE h1;
22354 DROP PROCEDURE sp1;
22355
22356 Testcase 4.11.2:
22357 --------------------------------------------------------------------------------
22358 DROP PROCEDURE IF EXISTS h1;
22359 CREATE PROCEDURE h1 ()
22360 BEGIN
22361 declare continue handler for 1305 set @x2 = 1;
22362 set @x=0;
22363 CALL sp1 (1);
22364 set @x=1;
22365 SELECT @x, @x2;
22366 END//
22367 CALL h1 ();
22368 @x @x2
22369 1 1
22370 DROP PROCEDURE h1;
22371
22372 Testcase 4.11.3:
22373 --------------------------------------------------------------------------------
22374 DROP PROCEDURE IF EXISTS h1;
22375 DROP PROCEDURE IF EXISTS sp1;
22376 CREATE PROCEDURE sp1 (x int, y int)
22377 BEGIN
22378 set @xx=1;
22379 END//
22380 CREATE PROCEDURE h1 ()
22381 BEGIN
22382 declare exit handler for 1318 set @x2 = 1;
22383 set @x=1;
22384 set @x2=0;
22385 CALL sp1 (1);
22386 set @x=0;
22387 END//
22388 CALL h1();
22389 SELECT @x, @x2;
22390 @x @x2
22391 1 1
22392 DROP PROCEDURE h1;
22393 DROP PROCEDURE sp1;
22394
22395 Testcase 4.11.4:
22396 --------------------------------------------------------------------------------
22397 DROP PROCEDURE IF EXISTS h1;
22398 CREATE PROCEDURE h1 ()
22399 BEGIN
22400 declare exit handler for 1305 set @x2 = 1;
22401 set @x=1;
22402 set @x2=0;
22403 CALL sp1 (1);
22404 set @x=0;
22405 END//
22406 CALL h1 ();
22407 SELECT @x, @x2;
22408 @x @x2
22409 1 1
22410 DROP PROCEDURE h1;
22411
22412 Testcase 4.11.5:
22413 --------------------------------------------------------------------------------
22414 DROP PROCEDURE IF EXISTS h1;
22415 DROP PROCEDURE IF EXISTS sp1;
22416 CREATE PROCEDURE sp1 (x int, y int)
22417 BEGIN
22418 set @y=x;
22419 END//
22420 CREATE PROCEDURE h1 ()
22421 BEGIN
22422 declare continue handler for 1318 set @x2 = 1;
22423 set @x=0;
22424 CALL sp1 (1);
22425 set @x=1;
22426 SELECT @x, @x2;
22427 END//
22428 CALL h1 ();
22429 @x @x2
22430 1 1
22431 DROP PROCEDURE h1;
22432 DROP PROCEDURE sp1;
22433
22434 Testcase 4.11.6:
22435 --------------------------------------------------------------------------------
22436 DROP PROCEDURE IF EXISTS h1;
22437 DROP PROCEDURE IF EXISTS sp1;
22438 CREATE PROCEDURE sp1 (x int, y int)
22439 BEGIN
22440 set @y=x;
22441 END//
22442 CREATE PROCEDURE h1 ()
22443 BEGIN
22444 declare continue handler for 1318 set @x2 = 1;
22445 set @x=0;
22446 CALL sp1 (1);
22447 set @x=1;
22448 SELECT @x, @x2;
22449 END//
22450 CALL h1 ();
22451 @x @x2
22452 1 1
22453 DROP PROCEDURE h1;
22454 DROP PROCEDURE sp1;
22455
22456 Testcase 4.11.7:
22457 --------------------------------------------------------------------------------
22458 DROP PROCEDURE IF EXISTS h1;
22459 DROP PROCEDURE IF EXISTS sp1;
22460 CREATE PROCEDURE sp1 (x int, y int)
22461 BEGIN
22462 set @y=x;
22463 END//
22464 CREATE PROCEDURE h1 ()
22465 BEGIN
22466 declare continue handler for sqlstate '42000' set @x2 = 1;
22467 set @x=0;
22468 CALL sp1 (1);
22469 set @x=1;
22470 SELECT @x, @x2;
22471 END//
22472 CALL h1 ();
22473 @x @x2
22474 1 1
22475 DROP PROCEDURE h1;
22476 DROP PROCEDURE sp1;
22477
22478 Testcase 4.11.8:
22479 --------------------------------------------------------------------------------
22480 DROP PROCEDURE IF EXISTS h1;
22481 CREATE PROCEDURE h1 ()
22482 BEGIN
22483 declare continue handler for sqlstate '42000' set @x2 = 1;
22484 set @x=0;
22485 CALL sp1 (1);
22486 set @x=1;
22487 SELECT @x, @x2;
22488 END//
22489 CALL h1 ();
22490 @x @x2
22491 1 1
22492 DROP PROCEDURE h1;
22493
22494 Testcase 4.11.9:
22495 --------------------------------------------------------------------------------
22496 DROP PROCEDURE IF EXISTS h1;
22497 DROP PROCEDURE IF EXISTS sp1;
22498 CREATE PROCEDURE sp1 (x int, y int)
22499 BEGIN
22500 set @xx=1;
22501 END//
22502 CREATE PROCEDURE h1 ()
22503 BEGIN
22504 declare exit handler for sqlstate '42000' set @x2 = 1;
22505 set @x=1;
22506 set @x2=0;
22507 CALL sp1 (1);
22508 set @x=0;
22509 END//
22510 CALL h1();
22511 SELECT @x, @x2;
22512 @x @x2
22513 1 1
22514 DROP PROCEDURE h1;
22515 DROP PROCEDURE sp1;
22516
22517 Testcase 4.11.10:
22518 --------------------------------------------------------------------------------
22519 DROP PROCEDURE IF EXISTS h1;
22520 CREATE PROCEDURE h1 ()
22521 BEGIN
22522 declare exit handler for sqlstate '42000' set @x2 = 1;
22523 set @x=1;
22524 set @x2=0;
22525 CALL sp1 (1);
22526 set @x=0;
22527 END//
22528 CALL h1 ();
22529 SELECT @x, @x2;
22530 @x @x2
22531 1 1
22532 DROP PROCEDURE h1;
22533
22534 Testcase 4.11.11:
22535 --------------------------------------------------------------------------------
22536 DROP PROCEDURE IF EXISTS h1;
22537 DROP PROCEDURE IF EXISTS sp1;
22538 CREATE PROCEDURE sp1 (x int, y int)
22539 BEGIN
22540 set @y=x;
22541 END//
22542 CREATE PROCEDURE h1 ()
22543 BEGIN
22544 declare continue handler for sqlstate '42000' set @x2 = 1;
22545 set @x=0;
22546 CALL sp1 (1);
22547 set @x=1;
22548 SELECT @x, @x2;
22549 END//
22550 CALL h1 ();
22551 @x @x2
22552 1 1
22553 DROP PROCEDURE h1;
22554 DROP PROCEDURE sp1;
22555
22556 Testcase 4.11.12:
22557 --------------------------------------------------------------------------------
22558 DROP PROCEDURE IF EXISTS h1;
22559 DROP PROCEDURE IF EXISTS sp1;
22560 CREATE PROCEDURE sp1 (x int, y int)
22561 BEGIN
22562 set @y=x;
22563 END//
22564 CREATE PROCEDURE h1 ()
22565 BEGIN
22566 declare continue handler for sqlstate '42000' set @x2 = 1;
22567 set @x=0;
22568 CALL sp1 (1);
22569 set @x=1;
22570 SELECT @x, @x2;
22571 END//
22572 CALL h1 ();
22573 @x @x2
22574 1 1
22575 DROP PROCEDURE h1;
22576 DROP PROCEDURE sp1;
22577
22578 Testcase 4.11.13:
22579 --------------------------------------------------------------------------------
22580 DROP PROCEDURE IF EXISTS h1;
22581 drop table IF EXISTS res_t1;
22582 drop table IF EXISTS res_t2;
22583 create table res_t1(w char, x char);
22584 create table res_t2(y char, z char);
22585 CREATE PROCEDURE h1()
22586 BEGIN
22587 declare done int default 0;
22588 declare a, b char;
22589 declare cur1 cursor for SELECT w, x from res_t1;
22590 declare continue handler for sqlstate '02000' set done = 1;
22591 open cur1;
22592 repeat
22593 SELECT done;
22594 fetch cur1 into a, b;
22595 SELECT done;
22596 if not done then
22597 insert into res_t2 values (a, b);
22598 END if;
22599 until done END repeat;
22600 SELECT done;
22601 close cur1;
22602 END//
22603 CALL h1();
22604 done
22605 0
22606 done
22607 1
22608 done
22609 1
22610 DROP PROCEDURE IF EXISTS h1;
22611 DROP TABLE IF EXISTS res_t1;
22612 DROP TABLE IF EXISTS res_t2;
22613
22614 Testcase 4.11.14:
22615 --------------------------------------------------------------------------------
22616 DROP PROCEDURE IF EXISTS h1;
22617 drop table IF EXISTS res_t1;
22618 drop table IF EXISTS res_t2;
22619 create table res_t1(w char, x char);
22620 create table res_t2(y char, z char);
22621 CREATE PROCEDURE h1()
22622 BEGIN
22623 declare done int default 0;
22624 declare a, b char;
22625 declare cur1 cursor for SELECT w, x from res_t1;
22626 declare continue handler for sqlstate '02000' set done = 1;
22627 open cur1;
22628 repeat
22629 SELECT done;
22630 fetch cur1 into a, b;
22631 SELECT done;
22632 if not done then
22633 insert into res_t2 values (a, b);
22634 END if;
22635 until done END repeat;
22636 SELECT done;
22637 close cur1;
22638 END//
22639 CALL h1();
22640 done
22641 0
22642 done
22643 1
22644 done
22645 1
22646 DROP PROCEDURE IF EXISTS h1;
22647 DROP TABLE IF EXISTS res_t1;
22648 DROP TABLE IF EXISTS res_t2;
22649
22650 Testcase 4.11.15:
22651 --------------------------------------------------------------------------------
22652 DROP PROCEDURE IF EXISTS h1;
22653 drop table IF EXISTS res_t1;
22654 drop table IF EXISTS res_t2;
22655 create table res_t1(w char, x char);
22656 create table res_t2(y char, z char);
22657 CREATE PROCEDURE h1()
22658 BEGIN
22659 declare done int default 0;
22660 declare a, b char;
22661 declare cur1 cursor for SELECT w, x from res_t1;
22662 declare continue handler for sqlstate '02000' set done = 1;
22663 open cur1;
22664 repeat
22665 SELECT done;
22666 set @x=0;
22667 fetch cur1 into a, b;
22668 SELECT @x=1;
22669 if not done then
22670 insert into res_t2 values (a, b);
22671 END if;
22672 until done END repeat;
22673 SELECT done;
22674 close cur1;
22675 END//
22676 CALL h1();
22677 done
22678 0
22679 @x=1
22680 0
22681 done
22682 1
22683 DROP PROCEDURE IF EXISTS h1;
22684 DROP TABLE IF EXISTS res_t1;
22685 DROP TABLE IF EXISTS res_t2;
22686
22687 Testcase 4.11.16:
22688 --------------------------------------------------------------------------------
22689 DROP PROCEDURE IF EXISTS h1;
22690 drop table IF EXISTS res_t1;
22691 drop table IF EXISTS res_t2;
22692 create table res_t1(w char, x char);
22693 create table res_t2(y char, z char);
22694 CREATE PROCEDURE h1()
22695 BEGIN
22696 declare done int default 0;
22697 declare a, b char;
22698 declare cur1 cursor for SELECT w, x from res_t1;
22699 declare continue handler for sqlstate '02000' set done = 1;
22700 open cur1;
22701 repeat
22702 SELECT done;
22703 set @x=0;
22704 fetch cur1 into a, b;
22705 SELECT @x=1;
22706 if not done then
22707 insert into res_t2 values (a, b);
22708 END if;
22709 until done END repeat;
22710 SELECT done;
22711 close cur1;
22712 END//
22713 CALL h1();
22714 done
22715 0
22716 @x=1
22717 0
22718 done
22719 1
22720 DROP PROCEDURE IF EXISTS h1;
22721 DROP TABLE IF EXISTS res_t1;
22722 DROP TABLE IF EXISTS res_t2;
22723
22724 Testcase 4.11.17:
22725 --------------------------------------------------------------------------------
22726 DROP PROCEDURE IF EXISTS h1;
22727 drop table IF EXISTS res_t1;
22728 drop table IF EXISTS res_t2;
22729 create table res_t1(w char, x char);
22730 insert into res_t1 values('a', 'b');
22731 insert into res_t1 values('c', 'd');
22732 create table res_t2(y char, z char);
22733 CREATE PROCEDURE h1()
22734 BEGIN
22735 declare done int default 0;
22736 declare a, b char;
22737 declare cur1 cursor for SELECT w, x from res_t1;
22738 declare continue handler for sqlstate 'HY000' set done = 1;
22739 open cur1;
22740 SELECT done;
22741 fetch cur1 into a;
22742 SELECT done;
22743 close cur1;
22744 END//
22745 CALL h1();
22746 done
22747 0
22748 done
22749 1
22750 DROP PROCEDURE IF EXISTS h1;
22751 DROP TABLE IF EXISTS res_t1;
22752 DROP TABLE IF EXISTS res_t2;
22753
22754 Testcase 4.11.18:
22755 --------------------------------------------------------------------------------
22756 DROP PROCEDURE IF EXISTS h1;
22757 drop table IF EXISTS res_t1;
22758 drop table IF EXISTS res_t2;
22759 create table res_t1(w char, x char);
22760 insert into res_t1 values('a', 'b');
22761 insert into res_t1 values('c', 'd');
22762 create table res_t2(y char, z char);
22763 CREATE PROCEDURE h1()
22764 BEGIN
22765 declare done int default 0;
22766 declare a, b char;
22767 declare cur1 cursor for SELECT w, x from res_t1;
22768 declare continue handler for 1328 set done = 1;
22769 open cur1;
22770 SELECT done;
22771 fetch cur1 into a;
22772 SELECT done;
22773 close cur1;
22774 END//
22775 CALL h1();
22776 done
22777 0
22778 done
22779 1
22780 DROP PROCEDURE IF EXISTS h1;
22781 DROP TABLE IF EXISTS res_t1;
22782 DROP TABLE IF EXISTS res_t2;
22783
22784 Testcase 4.11.19:
22785 --------------------------------------------------------------------------------
22786 DROP PROCEDURE IF EXISTS h1;
22787 drop table IF EXISTS res_t1;
22788 drop table IF EXISTS res_t2;
22789 create table res_t1(w char, x char);
22790 insert into res_t1 values('a', 'b');
22791 insert into res_t1 values('c', 'd');
22792 create table res_t2(y char, z char);
22793 CREATE PROCEDURE h1()
22794 BEGIN
22795 declare done int default 0;
22796 declare a, b char;
22797 declare cur1 cursor for SELECT w, x from res_t1;
22798 declare exit handler for sqlstate 'HY000' set done = 1;
22799 open cur1;
22800 SELECT done;
22801 set @x=0;
22802 fetch cur1 into a;
22803 set @x=1;
22804 SELECT done, @x;
22805 close cur1;
22806 END//
22807 CALL h1();
22808 done
22809 0
22810 DROP PROCEDURE IF EXISTS h1;
22811 DROP TABLE IF EXISTS res_t1;
22812 DROP TABLE IF EXISTS res_t2;
22813
22814 Testcase 4.11.20:
22815 --------------------------------------------------------------------------------
22816 DROP PROCEDURE IF EXISTS h1;
22817 drop table IF EXISTS res_t1;
22818 drop table IF EXISTS res_t2;
22819 create table res_t1(w char, x char);
22820 insert into res_t1 values('a', 'b');
22821 insert into res_t1 values('c', 'd');
22822 create table res_t2(y char, z char);
22823 CREATE PROCEDURE h1()
22824 BEGIN
22825 declare done int default 0;
22826 declare a, b char;
22827 declare cur1 cursor for SELECT w, x from res_t1;
22828 declare exit handler for 1328 set done = 1;
22829 open cur1;
22830 SELECT done;
22831 set @x=0;
22832 fetch cur1 into a;
22833 set @x=1;
22834 SELECT done;
22835 close cur1;
22836 END//
22837 CALL h1();
22838 done
22839 0
22840 DROP PROCEDURE IF EXISTS h1;
22841 DROP TABLE IF EXISTS res_t1;
22842 DROP TABLE IF EXISTS res_t2;
22843
22844 Testcase 4.11.21:
22845 --------------------------------------------------------------------------------
22846 DROP PROCEDURE IF EXISTS h1;
22847 drop table IF EXISTS res_t1;
22848 drop table IF EXISTS res_t2;
22849 create table res_t1(w char, x char);
22850 insert into res_t1 values('a', 'b');
22851 insert into res_t1 values('c', 'd');
22852 create table res_t2(y char, z char);
22853 CREATE PROCEDURE h1()
22854 BEGIN
22855 declare done int default 0;
22856 declare a, b char;
22857 declare cur1 cursor for SELECT w, x from res_t1;
22858 declare continue handler for 1325 set done = 1;
22859 open cur1;
22860 SELECT done;
22861 open cur1;
22862 SELECT done;
22863 close cur1;
22864 END//
22865 CALL h1();
22866 done
22867 0
22868 done
22869 1
22870 DROP PROCEDURE IF EXISTS h1;
22871 DROP TABLE IF EXISTS res_t1;
22872 DROP TABLE IF EXISTS res_t2;
22873
22874 Testcase 4.11.22:
22875 --------------------------------------------------------------------------------
22876 DROP PROCEDURE IF EXISTS h1;
22877 drop table IF EXISTS res_t1;
22878 drop table IF EXISTS res_t2;
22879 create table res_t1(w char, x char);
22880 insert into res_t1 values('a', 'b');
22881 insert into res_t1 values('c', 'd');
22882 create table res_t2(y char, z char);
22883 CREATE PROCEDURE h1()
22884 BEGIN
22885 declare done int default 0;
22886 declare a, b char;
22887 declare cur1 cursor for SELECT w, x from res_t1;
22888 declare continue handler for 1325 set done = 1;
22889 open cur1;
22890 SELECT done;
22891 open cur1;
22892 set @x=1;
22893 SELECT done, @x;
22894 close cur1;
22895 END//
22896 CALL h1();
22897 done
22898 0
22899 done @x
22900 1 1
22901 DROP PROCEDURE IF EXISTS h1;
22902 DROP TABLE IF EXISTS res_t1;
22903 DROP TABLE IF EXISTS res_t2;
22904
22905 Testcase 4.11.23:
22906 --------------------------------------------------------------------------------
22907 DROP PROCEDURE IF EXISTS h1;
22908 drop table IF EXISTS res_t1;
22909 drop table IF EXISTS res_t2;
22910 create table res_t1(w char, x char);
22911 insert into res_t1 values('a', 'b');
22912 insert into res_t1 values('c', 'd');
22913 create table res_t2(y char, z char);
22914 CREATE PROCEDURE h1()
22915 BEGIN
22916 declare done int default 0;
22917 declare a, b char;
22918 declare cur1 cursor for SELECT w, x from res_t1;
22919 declare exit handler for 1325 set done = 1;
22920 open cur1;
22921 set @x=0;
22922 SELECT done;
22923 open cur1;
22924 set @x=1;
22925 SELECT done;
22926 close cur1;
22927 END//
22928 CALL h1();
22929 done
22930 0
22931 DROP PROCEDURE IF EXISTS h1;
22932 DROP TABLE IF EXISTS res_t1;
22933 DROP TABLE IF EXISTS res_t2;
22934
22935 Testcase 4.11.24:
22936 --------------------------------------------------------------------------------
22937 DROP PROCEDURE IF EXISTS h1;
22938 drop table IF EXISTS res_t1;
22939 drop table IF EXISTS res_t2;
22940 create table res_t1(w char, x char);
22941 insert into res_t1 values('a', 'b');
22942 insert into res_t1 values('c', 'd');
22943 create table res_t2(y char, z char);
22944 CREATE PROCEDURE h1()
22945 BEGIN
22946 declare done int default 0;
22947 declare a, b char;
22948 declare cur1 cursor for SELECT w, x from res_t1;
22949 declare exit handler for sqlstate '24000' set done = 1;
22950 open cur1;
22951 set @x=0;
22952 SELECT done;
22953 open cur1;
22954 set @x=1;
22955 SELECT done, @x;
22956 close cur1;
22957 END//
22958 CALL h1();
22959 done
22960 0
22961 DROP PROCEDURE IF EXISTS h1;
22962 DROP TABLE IF EXISTS res_t1;
22963 DROP TABLE IF EXISTS res_t2;
22964
22965 Testcase 4.11.25:
22966 --------------------------------------------------------------------------------
22967 DROP PROCEDURE IF EXISTS h1;
22968 drop table IF EXISTS res_t1;
22969 drop table IF EXISTS res_t2;
22970 create table res_t1(w char, x char);
22971 insert into res_t1 values('a', 'b');
22972 insert into res_t1 values('c', 'd');
22973 create table res_t2(y char, z char);
22974 CREATE PROCEDURE h1()
22975 BEGIN
22976 declare done int default 0;
22977 declare a, b char;
22978 declare cur1 cursor for SELECT w, x from res_t1;
22979 declare continue handler for 1326 set done = 1;
22980 set @x=0;
22981 fetch cur1 into a, b;
22982 set @x=1;
22983 SELECT done, @x;
22984 END//
22985 CALL h1();
22986 done @x
22987 1 1
22988 DROP PROCEDURE IF EXISTS h1;
22989 DROP TABLE IF EXISTS res_t1;
22990 DROP TABLE IF EXISTS res_t2;
22991
22992 Testcase 4.11.26:
22993 --------------------------------------------------------------------------------
22994 DROP PROCEDURE IF EXISTS h1;
22995 drop table IF EXISTS res_t1;
22996 drop table IF EXISTS res_t2;
22997 create table res_t1(w char, x char);
22998 insert into res_t1 values('a', 'b');
22999 insert into res_t1 values('c', 'd');
23000 create table res_t2(y char, z char);
23001 CREATE PROCEDURE h1()
23002 BEGIN
23003 declare done int default 0;
23004 declare a, b char;
23005 declare cur1 cursor for SELECT w, x from res_t1;
23006 declare continue handler for sqlstate '24000' set done = 1;
23007 set @x=0;
23008 fetch cur1 into a, b;
23009 set @x=1;
23010 SELECT done, @x;
23011 END//
23012 CALL h1();
23013 done @x
23014 1 1
23015 DROP PROCEDURE IF EXISTS h1;
23016 DROP TABLE IF EXISTS res_t1;
23017 DROP TABLE IF EXISTS res_t2;
23018
23019 Testcase 4.11.27:
23020 --------------------------------------------------------------------------------
23021 DROP PROCEDURE IF EXISTS h1;
23022 drop table IF EXISTS res_t1;
23023 drop table IF EXISTS res_t2;
23024 create table res_t1(w char, x char);
23025 insert into res_t1 values('a', 'b');
23026 insert into res_t1 values('c', 'd');
23027 create table res_t2(y char, z char);
23028 CREATE PROCEDURE h1()
23029 BEGIN
23030 declare done int default 0;
23031 declare a, b char;
23032 declare cur1 cursor for SELECT w, x from res_t1;
23033 declare exit handler for 1326 set done = 1;
23034 set @x=0;
23035 fetch cur1 into a, b;
23036 set @x=1;
23037 SELECT done, @x;
23038 END//
23039 CALL h1();
23040 DROP PROCEDURE IF EXISTS h1;
23041 DROP TABLE IF EXISTS res_t1;
23042 DROP TABLE IF EXISTS res_t2;
23043
23044 Testcase 4.11.28:
23045 --------------------------------------------------------------------------------
23046 DROP PROCEDURE IF EXISTS h1;
23047 drop table IF EXISTS res_t1;
23048 drop table IF EXISTS res_t2;
23049 create table res_t1(w char, x char);
23050 insert into res_t1 values('a', 'b');
23051 insert into res_t1 values('c', 'd');
23052 create table res_t2(y char, z char);
23053 CREATE PROCEDURE h1()
23054 BEGIN
23055 declare done int default 0;
23056 declare a, b char;
23057 declare cur1 cursor for SELECT w, x from res_t1;
23058 declare exit handler for sqlstate '24000' set done = 1;
23059 set @x=0;
23060 fetch cur1 into a, b;
23061 set @x=1;
23062 SELECT done, @x;
23063 END//
23064 CALL h1();
23065 DROP PROCEDURE IF EXISTS h1;
23066 drop table IF EXISTS res_t1;
23067 drop table IF EXISTS res_t2;
23068
23069 Testcase 4.11.29:
23070 --------------------------------------------------------------------------------
23071 DROP PROCEDURE IF EXISTS h1;
23072 drop table IF EXISTS res_t1;
23073 drop table IF EXISTS res_t2;
23074 create table res_t1(w char, x char);
23075 insert into res_t1 values('a', 'b');
23076 insert into res_t1 values('c', 'd');
23077 create table res_t2(y char, z char);
23078 CREATE PROCEDURE h1()
23079 BEGIN
23080 declare done int default 0;
23081 declare a, b char;
23082 declare cur1 cursor for SELECT w, x from res_t1;
23083 declare continue handler for 1339 set done = 1;
23084 set @x=0;
23085 case @x
23086 when 1 then set @x=10;
23087 when 2 then set @x=11;
23088 END case;
23089 set @x=1;
23090 SELECT done, @x;
23091 END//
23092 CALL h1();
23093 done @x
23094 1 1
23095 DROP PROCEDURE IF EXISTS h1;
23096 drop table IF EXISTS res_t1;
23097 drop table IF EXISTS res_t2;
23098
23099 Testcase 4.11.30:
23100 --------------------------------------------------------------------------------
23101 DROP PROCEDURE IF EXISTS h1;
23102 drop table IF EXISTS res_t1;
23103 drop table IF EXISTS res_t2;
23104 create table res_t1(w char, x char);
23105 insert into res_t1 values('a', 'b');
23106 insert into res_t1 values('c', 'd');
23107 create table res_t2(y char, z char);
23108 CREATE PROCEDURE h1()
23109 BEGIN
23110 declare done int default 0;
23111 declare a, b char;
23112 declare cur1 cursor for SELECT w, x from res_t1;
23113 declare continue handler for sqlstate '20000' set done = 1;
23114 set @x=0;
23115 case @x
23116 when 1 then set @x=10;
23117 when 2 then set @x=11;
23118 END case;
23119 set @x=1;
23120 SELECT done, @x;
23121 END//
23122 CALL h1();
23123 done @x
23124 1 1
23125 DROP PROCEDURE IF EXISTS h1;
23126 drop table IF EXISTS res_t1;
23127 drop table IF EXISTS res_t2;
23128
23129 Testcase 4.11.31:
23130 --------------------------------------------------------------------------------
23131 DROP PROCEDURE IF EXISTS h1;
23132 drop table IF EXISTS res_t1;
23133 drop table IF EXISTS res_t2;
23134 create table res_t1(w char, x char);
23135 insert into res_t1 values('a', 'b');
23136 insert into res_t1 values('c', 'd');
23137 create table res_t2(y char, z char);
23138 CREATE PROCEDURE h1()
23139 BEGIN
23140 declare done int default 0;
23141 declare a, b char;
23142 declare cur1 cursor for SELECT w, x from res_t1;
23143 declare exit handler for 1339 set done = 1;
23144 set @x=0;
23145 case @x
23146 when 1 then set @x=10;
23147 when 2 then set @x=11;
23148 END case;
23149 set @x=1;
23150 SELECT done, @x;
23151 END//
23152 CALL h1();
23153 DROP PROCEDURE IF EXISTS h1;
23154 drop table IF EXISTS res_t1;
23155 drop table IF EXISTS res_t2;
23156
23157 Testcase 4.11.32:
23158 --------------------------------------------------------------------------------
23159 DROP PROCEDURE IF EXISTS h1;
23160 drop table IF EXISTS res_t1;
23161 drop table IF EXISTS res_t2;
23162 create table res_t1(w char, x char);
23163 insert into res_t1 values('a', 'b');
23164 insert into res_t1 values('c', 'd');
23165 create table res_t2(y char, z char);
23166 CREATE PROCEDURE h1()
23167 BEGIN
23168 declare done int default 0;
23169 declare a, b char;
23170 declare cur1 cursor for SELECT w, x from res_t1;
23171 declare exit handler for sqlstate '20000' set done = 1;
23172 set @x=0;
23173 case @x
23174 when 1 then set @x=10;
23175 when 2 then set @x=11;
23176 END case;
23177 set @x=1;
23178 SELECT done, @x;
23179 END//
23180 CALL h1();
23181 DROP PROCEDURE IF EXISTS h1;
23182 DROP TABLE IF EXISTS res_t1;
23183 DROP TABLE IF EXISTS res_t2;
23184
23185 Testcase 4.11.33:
23186 --------------------------------------------------------------------------------
23187 DROP PROCEDURE IF EXISTS h1;
23188 drop table IF EXISTS res_t1;
23189 create table res_t1(w char, x char);
23190 insert into res_t1 values('a', 'b');
23191 insert into res_t1 values('c', 'd');
23192 CREATE PROCEDURE h1()
23193 BEGIN
23194 declare condname condition for sqlstate '20000';
23195 declare done int default 0;
23196 declare a, b char;
23197 declare condname condition for sqlstate '20000';
23198 declare cur1 cursor for SELECT w, x from t1;
23199 set @x=2;
23200 case @x
23201 when 1 then set @x=10;
23202 when 2 then set @x=11;
23203 END case;
23204 set @x=1;
23205 SELECT done, @x;
23206 END//
23207 ERROR 42000: Duplicate condition: condname
23208 DROP TABLE IF EXISTS res_t1;
23209
23210 Testcase 4.11.35:
23211 --------------------------------------------------------------------------------
23212 DROP PROCEDURE IF EXISTS h1;
23213 drop table IF EXISTS res_t1;
23214 CREATE TABLE res_t1(w INT UNIQUE, x CHAR);
23215 insert into res_t1 values (1, 'a');
23216 CREATE PROCEDURE h1 ()
23217 begin1_label:BEGIN
23218 declare condname1 condition for sqlstate '020';
23219 declare condname2 condition for sqlstate 'wewe';
23220 declare condname3 condition for 9999;
23221 declare exit handler for sqlstate '020' set @var1 = 1;
23222 declare exit handler for sqlstate 'wewe'set @var1 = 1;
23223 declare exit handler for 9999 set @var1 = 1;
23224 set @var2 = 1;
23225 insert into res_t1 values (2, 'b');
23226 begin2_label: BEGIN
23227 declare continue handler for sqlstate '90000023' set @var3= 1;
23228 set @var4 = 1;
23229 insert into res_t1 values (3, 'c');
23230 END begin2_label;
23231 END begin1_label//
23232 ERROR 42000: Bad SQLSTATE: '020'
23233 CREATE PROCEDURE h1 ()
23234 begin1_label:BEGIN
23235 declare condname1 condition for sqlstate '020';
23236 declare condname2 condition for sqlstate 'wewe';
23237 declare condname3 condition for 9999;
23238 set @var2 = 1;
23239 insert into res_t1 values (2, 'b');
23240 begin2_label: BEGIN
23241 declare continue handler for sqlstate '90000023' set @var3= 1;
23242 set @var4 = 1;
23243 insert into res_t1 values (3, 'c');
23244 END begin2_label;
23245 END begin1_label//
23246 ERROR 42000: Bad SQLSTATE: '020'
23247 DROP TABLE IF EXISTS res_t1;
23248
23249 Testcase 4.11.36:
23250 --------------------------------------------------------------------------------
23251 DROP PROCEDURE IF EXISTS h1;
23252 CREATE PROCEDURE h1 ()
23253 BEGIN
23254 declare x1 int default 0;
23255 BEGIN
23256 declare condname1 condition for sqlstate '00000';
23257 declare exit handler for condname1 set @x = 1;
23258 set x1 = 1;
23259 set x1 = 2;
23260 END;
23261 SELECT @x, x1;
23262 END//
23263 ERROR 42000: Bad SQLSTATE: '00000'
23264 DROP PROCEDURE IF EXISTS h1;
23265
23266 Testcase 4.11.40:
23267 --------------------------------------------------------------------------------
23268 DROP PROCEDURE IF EXISTS h1;
23269 DROP TABLE IF EXISTS res_t1;
23270 CREATE TABLE res_t1(w CHAR UNIQUE, x CHAR);
23271 INSERT INTO res_t1 VALUES ('a', 'b');
23272 CREATE PROCEDURE h1 ()
23273 BEGIN
23274 DECLARE x1, x2, x3, x4, x5 int default 0;
23275 DECLARE condname1 CONDITION FOR SQLSTATE '42000';
23276 DECLARE condname2 CONDITION FOR SQLSTATE '42000';
23277 DECLARE CONTINUE HANDLER FOR condname1 set x1 = 1;
23278 DECLARE CONTINUE HANDLER FOR condname1 set x2 = 1;
23279 DECLARE EXIT HANDLER FOR condname1 SET x3 = 1;
23280 DECLARE CONTINUE HANDLER FOR condname2 SET x4 = 1;
23281 DECLARE EXIT HANDLER FOR condname2 SET x5 = 1;
23282 END//
23283 ERROR 42000: Duplicate handler declared in the same block
23284 DROP PROCEDURE IF EXISTS h1;
23285 DROP TABLE IF EXISTS res_t1;
23286
23287 Testcase 4.11.41:
23288 --------------------------------------------------------------------------------
23289 DROP PROCEDURE IF EXISTS h1;
23290 CREATE PROCEDURE h1 ()
23291 BEGIN
23292 DECLARE x1 INT DEFAULT 0;
23293 BEGIN
23294 DECLARE condname1 CONDITION FOR SQLSTATE '00000';
23295 DECLARE EXIT HANDLER FOR SQLSTATE '00000' SET @x = 1;
23296 SET x1 = 1;
23297 SET x1 = 2;
23298 END;
23299 SELECT @x, x1;
23300 END//
23301 ERROR 42000: Bad SQLSTATE: '00000'
23302 CALL h1();
23303 ERROR 42000: PROCEDURE db_storedproc.h1 does not exist
23304 DROP PROCEDURE IF EXISTS h1;
23305
23306 * Testcase 3.1.2.53 (4.11.42):
23307 * Ensure that a handler condition of sqlwarning takes the same action as a
23308 * handler condition defined with an sqlstate that begins with 01.
23309 --------------------------------------------------------------------------------
23310 DROP PROCEDURE IF EXISTS h1;
23311 DROP TABLE IF EXISTS res_t1;
23312 CREATE PROCEDURE h1()
23313 BEGIN
23314 DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
23315 SET @done=0;
23316 SET @x=1;
23317 INSERT INTO res_t1 VALUES('xxx', 'yy');
23318 SET @x=0;
23319 END//
23320 CALL h1();
23321 ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
23322 SELECT @done, @x;
23323 @done @x
23324 0 1
23325 CREATE TABLE res_t1(w CHAR, x CHAR);
23326 INSERT INTO res_t1 VALUES('a', 'b');
23327 INSERT INTO res_t1 VALUES('c', 'd');
23328 CALL h1();
23329 SELECT @done, @x;
23330 @done @x
23331 1 1
23332 DROP PROCEDURE IF EXISTS h1;
23333 DROP TABLE IF EXISTS res_t1;
23334 CREATE PROCEDURE h1()
23335 BEGIN
23336 DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
23337 SET @done=0;
23338 SET @x=0;
23339 INSERT INTO res_t1 VALUES('xxx', 'yy');
23340 SET @x=1;
23341 END//
23342 CALL h1();
23343 ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
23344 SELECT @done, @x;
23345 @done @x
23346 0 0
23347 CREATE TABLE res_t1(w CHAR, x CHAR);
23348 INSERT INTO res_t1 VALUES('a', 'b');
23349 INSERT INTO res_t1 VALUES('c', 'd');
23350 CALL h1();
23351 SELECT @done, @x;
23352 @done @x
23353 1 1
23354 DROP PROCEDURE IF EXISTS h1;
23355 DROP TABLE IF EXISTS res_t1;
23356
23357 --source suite/funcs_1/storedproc/cleanup_sp_tb.inc
23358 --------------------------------------------------------------------------------
23359 DROP DATABASE IF EXISTS db_storedproc;
23360 DROP DATABASE IF EXISTS db_storedproc_1;
23361
23362 . +++ END OF SCRIPT +++
23363 --------------------------------------------------------------------------------