From: Date: February 13 2009 4:08pm Subject: bzr commit into mysql-6.0-bugteam branch (staale.smedseng:3041) Bug#41528 List-Archive: http://lists.mysql.com/commits/66226 X-Bug: 41528 Message-Id: <20090213150803.19F271F5@fimafeng09.norway.sun.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At file:///net/fimafeng09/export/home/tmp/ss156133/z/b41528-60/ based on revid:staale.smedseng@stripped 3041 Staale Smedseng 2009-02-13 [merge] Merge of Bug#41528 from 5.1-bugteam removed: mysql-test/suite/funcs_1/r/falcon_storedproc.result mysql-test/suite/funcs_1/t/falcon_storedproc.test === removed file 'mysql-test/suite/funcs_1/r/falcon_storedproc.result' --- a/mysql-test/suite/funcs_1/r/falcon_storedproc.result 2008-08-07 13:38:29 +0000 +++ b/mysql-test/suite/funcs_1/r/falcon_storedproc.result 1970-01-01 00:00:00 +0000 @@ -1,23509 +0,0 @@ - ---source suite/funcs_1/storedproc/load_sp_tb.inc --------------------------------------------------------------------------------- - ---source suite/funcs_1/storedproc/cleanup_sp_tb.inc --------------------------------------------------------------------------------- -DROP DATABASE IF EXISTS db_storedproc; -DROP DATABASE IF EXISTS db_storedproc_1; -CREATE DATABASE db_storedproc; -CREATE DATABASE db_storedproc_1; -USE db_storedproc; -create table t1(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t1; -create table t2(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t2; -create table t3(f1 char(20),f2 char(20),f3 integer) engine = ; -load data infile '/std_data_ln/funcs_1/t3.txt' into table t3; -create table t4(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t4; -USE db_storedproc_1; -create table t6(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t6; -USE db_storedproc; -create table t7 (f1 char(20), f2 char(25), f3 date, f4 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t7.txt' into table t7; -Warnings: -Warning 1265 Data truncated for column 'f3' at row 1 -Warning 1265 Data truncated for column 'f3' at row 2 -Warning 1265 Data truncated for column 'f3' at row 3 -Warning 1265 Data truncated for column 'f3' at row 4 -Warning 1265 Data truncated for column 'f3' at row 5 -Warning 1265 Data truncated for column 'f3' at row 6 -Warning 1265 Data truncated for column 'f3' at row 7 -Warning 1265 Data truncated for column 'f3' at row 8 -Warning 1265 Data truncated for column 'f3' at row 9 -Warning 1265 Data truncated for column 'f3' at row 10 -create table t8 (f1 char(20), f2 char(25), f3 date, f4 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t7.txt' into table t8; -Warnings: -Warning 1265 Data truncated for column 'f3' at row 1 -Warning 1265 Data truncated for column 'f3' at row 2 -Warning 1265 Data truncated for column 'f3' at row 3 -Warning 1265 Data truncated for column 'f3' at row 4 -Warning 1265 Data truncated for column 'f3' at row 5 -Warning 1265 Data truncated for column 'f3' at row 6 -Warning 1265 Data truncated for column 'f3' at row 7 -Warning 1265 Data truncated for column 'f3' at row 8 -Warning 1265 Data truncated for column 'f3' at row 9 -Warning 1265 Data truncated for column 'f3' at row 10 -create table t9(f1 int, f2 char(25), f3 int) engine = ; -load data infile '/std_data_ln/funcs_1/t9.txt' into table t9; -create table t10(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t10; -create table t11(f1 char(20),f2 char(25),f3 date,f4 int,f5 char(25),f6 int) -engine = ; -load data infile '/std_data_ln/funcs_1/t4.txt' into table t11; - -Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE -FUNCTION, ALTER PROCEDURE, ALTER FUNCTION, DROP PROCEDURE, DROP FUNCTION, SHOW -CREATE PROCEDURE, SHOW CREATE FUNCTION, SHOW CREATE PROCEDURE STATUS, SHOW -CREATE FUNCTION STATUS, and CALL statements: --------------------------------------------------------------------------------- - -Testcase 4.1.1: ---------------- -Ensure that all clauses that should be supported are supported -CREATE PROCEDURE --------------------------------------------------------------------------------- -USE db_storedproc; -DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934; -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long -CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934 (f1 char(20) ) -SELECT * from t1 where f2 = f1; -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long -CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934('aaaa'); -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long -DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde; -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long -CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 tinytext ) language sql deterministic sql security definer comment 'this is simple' - BEGIN -set @v1 = f1; -SELECT @v1, @v1; -END// -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long -CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' ); -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 binary ) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -set @v1 = f1; -SELECT @v1; -END// -CALL sp1( 34 ); -@v1 -3 -Warnings: -Warning 1265 Data truncated for column 'f1' at row 1 -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 blob ) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -set @v1 = f1; -SELECT @v1; -END// -CALL sp1( 34 ); -@v1 -34 -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 int ) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set @v1 = f1; -SELECT @v1; -END// -CALL sp1( 34 ); -@v1 -34 -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 decimal(256, 30) ) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set @v1 = f1; -SELECT @v1; -END// -ERROR 42000: Too big precision 256 specified for column ''. Maximum is 65. -DROP PROCEDURE IF EXISTS sp1// -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( f1 decimal(66, 30) ) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set @v1 = f1; -SELECT @v1; -END// -ERROR 42000: Too big precision 66 specified for column ''. Maximum is 65. -DROP PROCEDURE IF EXISTS sp1// -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( f1 decimal(60, 30) ) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set @v1 = f1; -SELECT @v1; -END// -CALL sp1( 17976931340000 ); -@v1 -17976931340000.000000000000000000000000000000 -CALL sp1( 1.797693134e+13 ); -@v1 -17976931340000.000000000000000000000000000000 -CALL sp1( 1.7976931348623157493578e+308 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+100 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-100 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+99 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-99 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+98 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-98 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+97 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-97 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+96 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-96 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+95 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-95 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+94 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-94 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+93 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-93 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+92 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-92 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+91 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-91 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+90 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-90 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+89 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-89 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+88 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-88 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+87 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-87 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+86 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-86 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+85 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-85 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+84 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-84 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+83 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-83 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+82 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-82 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+81 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-81 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+80 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-80 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+79 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-79 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+78 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-78 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+77 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-77 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+76 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-76 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+75 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-75 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+74 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-74 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+73 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-73 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+72 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-72 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+71 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-71 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+70 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-70 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+69 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-69 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+68 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-68 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+67 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-67 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+66 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-66 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+65 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-65 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+64 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-64 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+63 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-63 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+62 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-62 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+61 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-61 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+60 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-60 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+59 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-59 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+58 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-58 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+57 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-57 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+56 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-56 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+55 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-55 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+54 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-54 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+53 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-53 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+52 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-52 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+51 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-51 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+50 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-50 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+49 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-49 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+48 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-48 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+47 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-47 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+46 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-46 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+45 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-45 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+44 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-44 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+43 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-43 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+42 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-42 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+41 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-41 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+40 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-40 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+39 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-39 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+38 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-38 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+37 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-37 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+36 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-36 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+35 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-35 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+34 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-34 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+33 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-33 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+32 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-32 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+31 ); -@v1 -999999999999999999999999999999.999999999999999999999999999999 -Warnings: -Warning 1264 Out of range value for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e-31 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+30 ); -@v1 -123456789098765430000000000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-30 ); -@v1 -0.000000000000000000000000000000 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+29 ); -@v1 -12345678909876543000000000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-29 ); -@v1 -0.000000000000000000000000000001 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+28 ); -@v1 -1234567890987654300000000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-28 ); -@v1 -0.000000000000000000000000000012 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+27 ); -@v1 -123456789098765440000000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-27 ); -@v1 -0.000000000000000000000000000123 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+26 ); -@v1 -12345678909876543000000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-26 ); -@v1 -0.000000000000000000000000001235 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+25 ); -@v1 -1234567890987654400000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-25 ); -@v1 -0.000000000000000000000000012346 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+24 ); -@v1 -123456789098765430000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-24 ); -@v1 -0.000000000000000000000000123457 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+23 ); -@v1 -12345678909876543000000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-23 ); -@v1 -0.000000000000000000000001234568 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+22 ); -@v1 -1234567890987654300000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-22 ); -@v1 -0.000000000000000000000012345679 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+21 ); -@v1 -123456789098765430000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-21 ); -@v1 -0.000000000000000000000123456789 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+20 ); -@v1 -12345678909876543000.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-20 ); -@v1 -0.000000000000000000001234567891 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+19 ); -@v1 -1234567890987654400.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-19 ); -@v1 -0.000000000000000000012345678910 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+18 ); -@v1 -123456789098765440.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-18 ); -@v1 -0.000000000000000000123456789099 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+17 ); -@v1 -12345678909876544.000000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-17 ); -@v1 -0.000000000000000001234567890988 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+16 ); -@v1 -1234567890987654.200000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-16 ); -@v1 -0.000000000000000012345678909877 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+15 ); -@v1 -123456789098765.440000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-15 ); -@v1 -0.000000000000000123456789098765 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+14 ); -@v1 -12345678909876.543000000000000000000000000000 -CALL sp1( 0.1234567890987654321e-14 ); -@v1 -0.000000000000001234567890987654 -Warnings: -Note 1265 Data truncated for column 'f1' at row 1 -CALL sp1( 0.1234567890987654321e+13 ); -@v1 -1234567890987.654300000000000000000000000000 -CALL sp1( 0.1234567890987654321e-13 ); -@v1 -0.000000000000012345678909876543 -CALL sp1( 0.1234567890987654321e+12 ); -@v1 -123456789098.765430000000000000000000000000 -CALL sp1( 0.1234567890987654321e-12 ); -@v1 -0.000000000000123456789098765440 -CALL sp1( 0.1234567890987654321e+11 ); -@v1 -12345678909.876543000000000000000000000000 -CALL sp1( 0.1234567890987654321e-11 ); -@v1 -0.000000000001234567890987654200 -CALL sp1( 0.1234567890987654321e+10 ); -@v1 -1234567890.987654200000000000000000000000 -CALL sp1( 0.1234567890987654321e-10 ); -@v1 -0.000000000012345678909876543000 -CALL sp1( 0.1234567890987654321e+9 ); -@v1 -123456789.098765430000000000000000000000 -CALL sp1( 0.1234567890987654321e-9 ); -@v1 -0.000000000123456789098765420000 -CALL sp1( 0.1234567890987654321e+8 ); -@v1 -12345678.909876544000000000000000000000 -CALL sp1( 0.1234567890987654321e-8 ); -@v1 -0.000000001234567890987654400000 -CALL sp1( 0.1234567890987654321e+7 ); -@v1 -1234567.890987654200000000000000000000 -CALL sp1( 0.1234567890987654321e-7 ); -@v1 -0.000000012345678909876544000000 -CALL sp1( 0.1234567890987654321e+6 ); -@v1 -123456.789098765440000000000000000000 -CALL sp1( 0.1234567890987654321e-6 ); -@v1 -0.000000123456789098765440000000 -CALL sp1( 0.1234567890987654321e+5 ); -@v1 -12345.678909876544000000000000000000 -CALL sp1( 0.1234567890987654321e-5 ); -@v1 -0.000001234567890987654400000000 -CALL sp1( 0.1234567890987654321e+4 ); -@v1 -1234.567890987654200000000000000000 -CALL sp1( 0.1234567890987654321e-4 ); -@v1 -0.000012345678909876543000000000 -CALL sp1( 0.1234567890987654321e+3 ); -@v1 -123.456789098765430000000000000000 -CALL sp1( 0.1234567890987654321e-3 ); -@v1 -0.000123456789098765420000000000 -CALL sp1( 0.1234567890987654321e+2 ); -@v1 -12.345678909876543000000000000000 -CALL sp1( 0.1234567890987654321e-2 ); -@v1 -0.001234567890987654300000000000 -CALL sp1( 0.1234567890987654321e+1 ); -@v1 -1.234567890987654300000000000000 -CALL sp1( 0.1234567890987654321e-1 ); -@v1 -0.012345678909876543000000000000 -CALL sp1( 0.1234567890987654321e+0 ); -@v1 -0.123456789098765440000000000000 -CALL sp1( 0.1234567890987654321e-0 ); -@v1 -0.123456789098765440000000000000 -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -SELECT f1; -END// -Warnings: -Note 1291 Column '' has duplicated value 'value1' in ENUM -CALL sp1( "value1" ); -f1 -value1 -Warnings: -Note 1291 Column '' has duplicated value 'value1' in ENUM -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 set("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -SELECT f1; -END// -Warnings: -Note 1291 Column '' has duplicated value 'value1' in SET -CALL sp1( "value1, value1" ); -f1 -value1 -Warnings: -Note 1291 Column '' has duplicated value 'value1' in SET -Warning 1265 Data truncated for column 'f1' at row 1 -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -SELECT f1; -END// -Warnings: -Note 1291 Column '' has duplicated value 'value1' in ENUM -CALL sp1( "value1" ); -f1 -value1 -Warnings: -Note 1291 Column '' has duplicated value 'value1' in ENUM -SHOW PROCEDURE status; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) language sql SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) not deterministic SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) sql security definer SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) sql security invoker SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created INVOKER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( f1 text ) comment 'this is simple' SELECT f1; -CALL sp1( 'abc' ); -f1 -abc -SHOW PROCEDURE status like 'sp1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp1 PROCEDURE root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934; -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934' is too long -DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde; -ERROR 42000: Identifier name 'sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde' is too long -DROP PROCEDURE sp1; - -Testcase 4.1.2: ---------------- -Ensure that all clauses that should be supported are supported -CREATE FUNCTION --------------------------------------------------------------------------------- -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1 (s char(20)) returns char(50) -return concat('hello, ', s, '!'); -SELECT fn1('world'); -fn1('world') -hello, world! -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 mediumtext ) returns mediumtext language sql deterministic sql security definer comment 'this is simple' - BEGIN -set @v1 = 'hello'; -set f1 = concat( @v1, f1 ); -return f1; -END// -SELECT fn1( ' world'); -fn1( ' world') -hello world -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 decimal(63, 31) ) returns decimal(63, 31) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set f1 = 1000000 + f1; -return f1; -END// -ERROR 42000: Too big scale 31 specified for column ''. Maximum is 30. -SELECT fn1( 1.3326e+8 ); -ERROR 42000: FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1( f1 decimal(63, 30) ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple' -BEGIN -set f1 = 1000000 + f1; -return f1; -END// -SELECT fn1( 1.3326e+8 ); -fn1( 1.3326e+8 ) -134260000.000000000000000000000000000000 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 enum("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -return f1; -END// -Warnings: -Note 1291 Column '' has duplicated value 'value1' in ENUM -SELECT fn1( "value1" ); -fn1( "value1" ) -1.000000000000000000000000000000 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 set("value1", "value1") ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple' - BEGIN -return f1; -END// -Warnings: -Note 1291 Column '' has duplicated value 'value1' in SET -SELECT fn1( "value1, value1" ); -fn1( "value1, value1" ) -1.000000000000000000000000000000 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint deterministic -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint not deterministic -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint -sql security definer -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint -sql security invoker -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created INVOKER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1( f1 smallint ) returns smallint -comment 'this is simple' -BEGIN -set f1 = 1 + f1; -return f1; -END// -SELECT fn1( 126 ); -fn1( 126 ) -127 -SHOW FUNCTION STATUS LIKE 'fn1'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn1 FUNCTION root@localhost modified created DEFINER this is simple latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION fn1; - -Testcase 4.1.3: ---------------- -Ensure that all clauses that should be supported are supported -SHOW CREATE PROC --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1 (f1 char(20) ) -SELECT * from t1 where f2 = f1; -show CREATE PROCEDURE sp1; -Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`(f1 char(20) ) -SELECT * from t1 where f2 = f1 latin1 modified created -DROP PROCEDURE sp1; - -Testcase 4.1.4: ---------------- -show create function --------------------------------------------------------------------------------- -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1 (s char(20)) returns char(50) -return concat('hello, ', s, '!'); -show CREATE FUNCTION fn1; -Function sql_mode Create Function character_set_client collation_connection Database Collation -fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(s char(20)) RETURNS char(50) CHARSET latin1 -return concat('hello, ', s, '!') latin1 modified created -DROP FUNCTION fn1; - -Testcase 4.1.5: ---------------- -SHOW PROCEDURE status --------------------------------------------------------------------------------- -CREATE PROCEDURE sp5() -SELECT * from t1; -SHOW PROCEDURE status like 'sp5'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc sp5 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP PROCEDURE sp5; - -Testcase 4.1.6: ---------------- -show function status --------------------------------------------------------------------------------- -CREATE FUNCTION fn5(a int) returns int -BEGIN -set @b = 0.9 * a; -return @b; -END// -SHOW FUNCTION STATUS LIKE 'fn5'; -Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation -db_storedproc fn5 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci -DROP FUNCTION fn5; - -Testcase 4.1.7: ---------------- -CALL procedure --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp7a; -DROP PROCEDURE IF EXISTS sp7b; -DROP PROCEDURE IF EXISTS sp7c; -CREATE PROCEDURE sp7a(a char(20)) -SELECT * from t1 where t1.f2 = a; -CALL sp7a( 'xyz' ); -f1 f2 f3 f4 f5 f6 -CREATE PROCEDURE sp7b (a char (20), out b char(20)) -SELECT f1 into b from t1 where t1.f2= a; -CALL sp7b('xyz', @out_param); -Warnings: -Warning 1329 No data - zero rows fetched, selected, or processed -SELECT @out_param; -@out_param -NULL -CREATE PROCEDURE sp7c (a char (20), out b char(20), inout c int) -BEGIN -SELECT f1 into b from t1 where t1.f2=a; -update t1 set t1.f2=999 where t1.f4=c; -SELECT f2 into c from t1 where t1.f2=999; -END// -set @c=1; -CALL sp7c('xyz', @out_param, @c); -SELECT @out_param; -@out_param -NULL -SELECT @c; -@c -1 -DROP PROCEDURE sp7a; -DROP PROCEDURE sp7b; -DROP PROCEDURE sp7c; - -Testcase 4.1.8: ---------------- -calling function --------------------------------------------------------------------------------- -CREATE FUNCTION fn8(a char(20)) returns char(50) -return concat('hello, ', a, '!'); -SELECT fn8('world'); -fn8('world') -hello, world! -DROP FUNCTION fn8; - -Testcase 4.1.9: ---------------- -drop procedure --------------------------------------------------------------------------------- -SELECT * from mysql.proc where specific_name='sp9'; -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 -DROP PROCEDURE IF EXISTS sp9; -SELECT * from mysql.proc where specific_name='sp9'; -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 -CREATE PROCEDURE sp9()SELECT * from t1; -SELECT * from mysql.proc where specific_name='sp9'; -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 -db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 -DROP PROCEDURE sp9; -SELECT * from mysql.proc where specific_name='sp9'; -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 -CREATE PROCEDURE sp9()SELECT * from t1; -SELECT * from mysql.proc where specific_name='sp9'; -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 -db_storedproc sp9 PROCEDURE sp9 SQL CONTAINS_SQL NO DEFINER SELECT * from t1 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 -DROP PROCEDURE IF EXISTS sp9; -SELECT * from mysql.proc where specific_name='sp9'; -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 - -Testcase 4.1.10: ----------------- -DROP FUNCTION --------------------------------------------------------------------------------- -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 -DROP FUNCTION IF EXISTS fn10; -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 -CREATE FUNCTION fn10() returns int return 100; -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 -db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci return 100 -DROP FUNCTION fn10; -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 -CREATE FUNCTION fn10() returns int return 100; -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 -db_storedproc fn10 FUNCTION fn10 SQL CONTAINS_SQL NO DEFINER int(11) return 100 root@localhost created modified latin1 latin1_swedish_ci latin1_swedish_ci return 100 -DROP FUNCTION IF EXISTS fn10; -SELECT * from mysql.proc where specific_name='fn10' and type='function'; -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 - -Testcase 4.1.11: ----------------- -alter proc --------------------------------------------------------------------------------- -create user 'user_1'@'localhost'; -grant execute on db_storedproc.* to 'user_1'@'localhost'; -flush privileges; -drop table IF EXISTS mysql.t1; -Warnings: -Note 1051 Unknown table 't1' -create table mysql.t1( f1 char ); -DROP PROCEDURE IF EXISTS sp11; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp11 does not exist -CREATE PROCEDURE sp11() insert into mysql.t1 values('a'); -SELECT security_type from mysql.proc where specific_name='sp11'; -security_type -DEFINER -connect(localhost,user_1,,db_storedproc,MYSQL_PORT,MYSQL_SOCK); - -user_1@localhost db_storedproc -CALL sp11(); -USE db_storedproc; - -root@localhost db_storedproc -alter procedure sp11 sql security invoker; -SELECT security_type from mysql.proc where specific_name='sp11'; -security_type -INVOKER - -user_1@localhost db_storedproc -USE db_storedproc; -CALL sp11(); -ERROR 42000: INSERT command denied to user 'user_1'@'localhost' for table 't1' -commit work; - -root@localhost db_storedproc -alter procedure sp11 sql security definer; -SELECT security_type from mysql.proc where specific_name='sp11'; -security_type -DEFINER -CALL sp11(); -DROP USER 'user_1'@'localhost'; -DROP PROCEDURE sp11; -drop table mysql.t1; - -Testcase 4.1.12: ----------------- -alter function --------------------------------------------------------------------------------- -CREATE FUNCTION fn12() returns int -return 100; -SELECT security_type from mysql.proc where specific_name='fn12'; -security_type -DEFINER -SELECT fn12(); -fn12() -100 -alter function fn12 sql security invoker; -SELECT security_type from mysql.proc where specific_name='fn12'; -security_type -INVOKER -SELECT fn12(); -fn12() -100 -alter function fn12 sql security definer; -SELECT security_type from mysql.proc where specific_name='fn12'; -security_type -DEFINER -SELECT fn12(); -fn12() -100 -DROP FUNCTION fn12; - -Testcase 4.1.13: ----------------- -alter proc --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp11; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp11 does not exist -CREATE PROCEDURE sp11() -SELECT * from t1; -SELECT comment from mysql.proc where specific_name='sp11'; -comment - -alter procedure sp11 comment 'this is simple'; -SELECT comment from mysql.proc where specific_name='sp11'; -comment -this is simple -DROP PROCEDURE sp11; - -Testcase 4.1.14: ----------------- -alter function --------------------------------------------------------------------------------- -DROP FUNCTION IF EXISTS fn12; -Warnings: -Note 1305 FUNCTION db_storedproc.fn12 does not exist -CREATE FUNCTION fn12() returns int -return 100; -SELECT comment from mysql.proc where specific_name='fn12'; -comment - -alter function fn12 comment 'this is simple'; -SELECT comment from mysql.proc where specific_name='fn12'; -comment -this is simple -DROP FUNCTION fn12; - -Testcase 4.1.15: ----------------- -Ensure that any invalid stored procedure name is never accepted, and that an -appropriate error message is returned when the name is rejected --------------------------------------------------------------------------------- -CREATE PROCEDURE sp1() -DROP PROCEDURE sp1; -ERROR HY000: Can't drop or alter a PROCEDURE from within another stored routine -CREATE PROCEDURE !_sp1( f1 char(20) ) -SELECT * from t1 where f2 = f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_sp1( f1 char(20) ) -SELECT * from t1 where f2 = f1' at line 1 -CREATE PROCEDURE function() -SELECT * from t1 where f2=f1; -DROP PROCEDURE function; -CREATE PROCEDURE accessible() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE add() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE all() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE alter() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE analyze() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE and() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE as() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE asc() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE asensitive() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE before() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE between() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE bigint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE binary() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE blob() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE both() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE by() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE call() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE cascade() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE case() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE change() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE char() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE character() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE check() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE collate() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE column() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE condition() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE constraint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE continue() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE convert() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE create() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE cross() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE current_date() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE current_time() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE current_timestamp() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE current_user() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE cursor() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE database() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE databases() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE day_hour() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE day_microsecond() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE day_minute() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE day_second() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE dec() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE decimal() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE declare() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE default() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE delayed() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE delete() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE desc() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE describe() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE deterministic() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE distinct() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE distinctrow() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE div() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE double() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE drop() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE dual() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE each() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE else() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE elseif() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE enclosed() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE escaped() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE exists() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE exit() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE explain() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE false() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE fetch() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE fields() -SELECT * from t1 where f2=f1; -DROP PROCEDURE fields; -CREATE PROCEDURE float() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE for() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE force() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE foreign() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE from() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE fulltext() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE grant() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE group() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE having() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE high_priority() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE hour_microsecond() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE hour_minute() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE hour_second() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE if() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE ignore() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE in() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE index() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE infile() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE inner() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE inout() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE insensitive() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE insert() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int1() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int2() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int3() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int4() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE int8() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE integer() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE interval() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE into() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE is() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE iterate() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE join() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE key() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE keys() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE kill() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE leading() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE leave() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE left() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE like() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE limit() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE linear() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE lines() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE load() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE localtime() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE localtimestamp() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE lock() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE long() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE longblob() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE longtext() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE loop() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE low_priority() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE master_ssl_verify_server_cert() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE match() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE mediumblob() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE mediumint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE mediumtext() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE middleint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE minute_microsecond() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE minute_second() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE mod() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE modifies() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE natural() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE not() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE no_write_to_binlog() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE null() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE numeric() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE on() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE optimize() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE option() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE optionally() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE or() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE order() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE out() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE outer() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE outfile() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE precision() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE primary() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE procedure() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE purge() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE range() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE read() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE reads() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE real() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE references() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE regexp() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE release() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE rename() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE repeat() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE replace() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE require() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE restrict() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE return() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE revoke() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE right() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE rlike() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE schema() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE schemas() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE second_microsecond() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE select() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sensitive() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE separator() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE set() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE show() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE smallint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE spatial() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE specific() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sql() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sqlexception() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sqlstate() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sqlwarning() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sql_big_result() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sql_calc_found_rows() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE sql_small_result() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE ssl() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE starting() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE straight_join() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE table() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE terminated() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE then() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE tinyblob() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE tinyint() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE tinytext() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE to() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE trailing() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE trigger() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE true() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE undo() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE union() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE unique() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE unlock() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE unsigned() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE update() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE usage() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE use() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE using() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE utc_date() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE utc_time() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE utc_timestamp() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE values() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE varbinary() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE varchar() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE varcharacter() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE varying() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE when() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE where() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE while() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE with() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE write() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE xor() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE year_month() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month() -SELECT * from t1 where f2=f1' at line 1 -CREATE PROCEDURE zerofill() -SELECT * from t1 where f2=f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill() -SELECT * from t1 where f2=f1' at line 1 - -Testcase 4.1.15: ----------------- -Ensure that any invalid function name is never accepted, and that an appropriate -error message is returned when the name is rejected --------------------------------------------------------------------------------- -CREATE FUNCTION !_fn1(f1 char) returns char -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_fn1(f1 char) returns char -return f1' at line 1 -CREATE FUNCTION char(f1 char) returns char -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char(f1 char) returns char -return f1' at line 1 -CREATE FUNCTION char binary(f1 char binary) returns char binary -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary(f1 char binary) returns char binary -return f1' at line 1 -CREATE FUNCTION char ascii(f1 char ascii) returns char ascii -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii(f1 char ascii) returns char ascii -return f1' at line 1 -CREATE FUNCTION char not null(f1 char not null) returns char not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char not null(f1 char not null) returns char not null -return f1' at line 1 -CREATE FUNCTION char binary not null(f1 char binary not null) returns char binary not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary not null(f1 char binary not null) returns char binary not null -retur' at line 1 -CREATE FUNCTION char ascii not null(f1 char ascii not null) returns char ascii not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii not null(f1 char ascii not null) returns char ascii not null -return f' at line 1 -CREATE FUNCTION tinytext(f1 tinytext) returns tinytext -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext(f1 tinytext) returns tinytext -return f1' at line 1 -CREATE FUNCTION text(f1 text) returns text -return f1; -DROP FUNCTION text; -CREATE FUNCTION mediumtext(f1 mediumtext) returns mediumtext -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext(f1 mediumtext) returns mediumtext -return f1' at line 1 -CREATE FUNCTION longtext(f1 longtext) returns longtext -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext(f1 longtext) returns longtext -return f1' at line 1 -CREATE FUNCTION tinytext not null(f1 tinytext not null) returns tinytext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext not null(f1 tinytext not null) returns tinytext not null -return f1' at line 1 -CREATE FUNCTION text not null(f1 text not null) returns text not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null(f1 text not null) returns text not null -return f1' at line 1 -CREATE FUNCTION mediumtext not null(f1 mediumtext not null) returns mediumtext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext not null(f1 mediumtext not null) returns mediumtext not null -return f' at line 1 -CREATE FUNCTION longtext not null(f1 longtext not null) returns longtext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext not null(f1 longtext not null) returns longtext not null -return f1' at line 1 -CREATE FUNCTION tinyblob(f1 tinyblob) returns tinyblob -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob(f1 tinyblob) returns tinyblob -return f1' at line 1 -CREATE FUNCTION blob(f1 blob) returns blob -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob(f1 blob) returns blob -return f1' at line 1 -CREATE FUNCTION mediumblob(f1 mediumblob) returns mediumblob -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob(f1 mediumblob) returns mediumblob -return f1' at line 1 -CREATE FUNCTION longblob(f1 longblob) returns longblob -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob(f1 longblob) returns longblob -return f1' at line 1 -CREATE FUNCTION tinyblob not null(f1 tinyblob not null) returns tinyblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob not null(f1 tinyblob not null) returns tinyblob not null -return f1' at line 1 -CREATE FUNCTION blob not null(f1 blob not null) returns blob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob not null(f1 blob not null) returns blob not null -return f1' at line 1 -CREATE FUNCTION mediumblob not null(f1 mediumblob not null) returns mediumblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob not null(f1 mediumblob not null) returns mediumblob not null -return f' at line 1 -CREATE FUNCTION longblob not null(f1 longblob not null) returns longblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob not null(f1 longblob not null) returns longblob not null -return f1' at line 1 -CREATE FUNCTION binary(f1 binary) returns binary -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary(f1 binary) returns binary -return f1' at line 1 -CREATE FUNCTION binary not null(f1 binary not null) returns binary not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary not null(f1 binary not null) returns binary not null -return f1' at line 1 -CREATE FUNCTION tinyint(f1 tinyint) returns tinyint -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint(f1 tinyint) returns tinyint -return f1' at line 1 -CREATE FUNCTION tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned(f1 tinyint unsigned) returns tinyint unsigned -return f1' at line 1 -CREATE FUNCTION tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill(f1 tinyint zerofill) returns tinyint zerofill -return f1' at line 1 -CREATE FUNCTION tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill(f1 tinyint unsigned zerofill) returns tinyint unsigned' at line 1 -CREATE FUNCTION smallint(f1 smallint) returns smallint -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint(f1 smallint) returns smallint -return f1' at line 1 -CREATE FUNCTION smallint unsigned(f1 smallint unsigned) returns smallint unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned(f1 smallint unsigned) returns smallint unsigned -return f1' at line 1 -CREATE FUNCTION smallint zerofill(f1 smallint zerofill) returns smallint zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill(f1 smallint zerofill) returns smallint zerofill -return f1' at line 1 -CREATE FUNCTION smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill(f1 smallint unsigned zerofill) returns smallint unsig' at line 1 -CREATE FUNCTION mediumint(f1 mediumint) returns mediumint -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint(f1 mediumint) returns mediumint -return f1' at line 1 -CREATE FUNCTION mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned(f1 mediumint unsigned) returns mediumint unsigned -return f1' at line 1 -CREATE FUNCTION mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill(f1 mediumint zerofill) returns mediumint zerofill -return f1' at line 1 -CREATE FUNCTION mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill(f1 mediumint unsigned zerofill) returns mediumint un' at line 1 -CREATE FUNCTION int(f1 int) returns int -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int(f1 int) returns int -return f1' at line 1 -CREATE FUNCTION int1(f1 int1) returns int1 -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1(f1 int1) returns int1 -return f1' at line 1 -CREATE FUNCTION int2(f1 int2) returns int2 -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2(f1 int2) returns int2 -return f1' at line 1 -CREATE FUNCTION int3(f1 int3) returns int3 -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3(f1 int3) returns int3 -return f1' at line 1 -CREATE FUNCTION int4(f1 int4) returns int4 -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4(f1 int4) returns int4 -return f1' at line 1 -CREATE FUNCTION int8(f1 int8) returns int8 -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8(f1 int8) returns int8 -return f1' at line 1 -CREATE FUNCTION int unsigned(f1 int unsigned) returns int unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned(f1 int unsigned) returns int unsigned -return f1' at line 1 -CREATE FUNCTION int zerofill(f1 int zerofill) returns int zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill(f1 int zerofill) returns int zerofill -return f1' at line 1 -CREATE FUNCTION int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill(f1 int unsigned zerofill) returns int unsigned zerofill -re' at line 1 -CREATE FUNCTION bigint(f1 bigint) returns bigint -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint(f1 bigint) returns bigint -return f1' at line 1 -CREATE FUNCTION bigint unsigned(f1 bigint unsigned) returns bigint unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned(f1 bigint unsigned) returns bigint unsigned -return f1' at line 1 -CREATE FUNCTION bigint zerofill(f1 bigint zerofill) returns bigint zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill(f1 bigint zerofill) returns bigint zerofill -return f1' at line 1 -CREATE FUNCTION bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill(f1 bigint unsigned zerofill) returns bigint unsigned ze' at line 1 -CREATE FUNCTION decimal(f1 decimal) returns decimal -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal(f1 decimal) returns decimal -return f1' at line 1 -CREATE FUNCTION decimal unsigned(f1 decimal unsigned) returns decimal unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned(f1 decimal unsigned) returns decimal unsigned -return f1' at line 1 -CREATE FUNCTION decimal zerofill(f1 decimal zerofill) returns decimal zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill(f1 decimal zerofill) returns decimal zerofill -return f1' at line 1 -CREATE FUNCTION decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill(f1 decimal unsigned zerofill) returns decimal unsigned' at line 1 -CREATE FUNCTION numeric(f1 numeric) returns numeric -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric(f1 numeric) returns numeric -return f1' at line 1 -CREATE FUNCTION numeric unsigned(f1 numeric unsigned) returns numeric unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned(f1 numeric unsigned) returns numeric unsigned -return f1' at line 1 -CREATE FUNCTION numeric zerofill(f1 numeric zerofill) returns numeric zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill(f1 numeric zerofill) returns numeric zerofill -return f1' at line 1 -CREATE FUNCTION numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill(f1 numeric unsigned zerofill) returns numeric unsigned' at line 1 -CREATE FUNCTION real(f1 real) returns real -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real(f1 real) returns real -return f1' at line 1 -CREATE FUNCTION real unsigned(f1 real unsigned) returns real unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned(f1 real unsigned) returns real unsigned -return f1' at line 1 -CREATE FUNCTION real zerofill(f1 real zerofill) returns real zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill(f1 real zerofill) returns real zerofill -return f1' at line 1 -CREATE FUNCTION real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill(f1 real unsigned zerofill) returns real unsigned zerofill' at line 1 -CREATE FUNCTION float(f1 float) returns float -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(f1 float) returns float -return f1' at line 1 -CREATE FUNCTION float unsigned(f1 float unsigned) returns float unsigned -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned(f1 float unsigned) returns float unsigned -return f1' at line 1 -CREATE FUNCTION float zerofill(f1 float zerofill) returns float zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill(f1 float zerofill) returns float zerofill -return f1' at line 1 -CREATE FUNCTION float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerofill -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill(f1 float unsigned zerofill) returns float unsigned zerof' at line 1 -CREATE FUNCTION date(f1 date) returns date -return f1; -DROP FUNCTION date; -CREATE FUNCTION time(f1 time) returns time -return f1; -DROP FUNCTION time; -CREATE FUNCTION datetime(f1 datetime) returns datetime -return f1; -DROP FUNCTION datetime; -CREATE FUNCTION timestamp(f1 timestamp) returns timestamp -return f1; -DROP FUNCTION timestamp; -CREATE FUNCTION year(f1 year) returns year -return f1; -DROP FUNCTION year; -CREATE FUNCTION year(3)(f1 year(3)) returns year(3) -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '3)(f1 year(3)) returns year(3) -return f1' at line 1 -CREATE FUNCTION year(4)(f1 year(4)) returns year(4) -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '4)(f1 year(4)) returns year(4) -return f1' at line 1 -CREATE FUNCTION enum("1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum") -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"1enum", "2enum")(f1 enum("1enum", "2enum")) returns enum("1enum", "2enum") -retu' at line 1 -CREATE FUNCTION set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set") -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set")(f1 set("1set", "2set")) returns set("1set", "2set") -return f' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 char ) returns char -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 char binary ) returns char binary -return f1; -ERROR 42000: This version of MySQL doesn't yet support 'return value collation' -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 char ascii ) returns char ascii -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 char not null ) returns char not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns char not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 char binary not null ) returns char binary not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns char binary not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 char ascii not null ) returns char ascii not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns char ascii not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 tinytext ) returns tinytext -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 text ) returns text -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumtext ) returns mediumtext -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 longtext ) returns longtext -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 tinytext not null ) returns tinytext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns tinytext not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 text not null ) returns text not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns text not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 mediumtext not null ) returns mediumtext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns mediumtext not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 longtext not null ) returns longtext not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns longtext not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 tinyblob ) returns tinyblob -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 blob ) returns blob -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumblob ) returns mediumblob -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 longblob ) returns longblob -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 tinyblob not null ) returns tinyblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns tinyblob not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 blob not null ) returns blob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns blob not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 mediumblob not null ) returns mediumblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns mediumblob not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 longblob not null ) returns longblob not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns longblob not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 binary ) returns binary -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 binary not null ) returns binary not null -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null ) returns binary not null -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 tinyint ) returns tinyint -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 tinyint unsigned ) returns tinyint unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 tinyint zerofill ) returns tinyint zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 tinyint unsigned zerofill ) returns tinyint unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 smallint ) returns smallint -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 smallint unsigned ) returns smallint unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 smallint zerofill ) returns smallint zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 smallint unsigned zerofill ) returns smallint unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumint ) returns mediumint -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumint unsigned ) returns mediumint unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumint zerofill ) returns mediumint zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 mediumint unsigned zerofill ) returns mediumint unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int ) returns int -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int unsigned ) returns int unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int1 unsigned ) returns int1 unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int2 unsigned ) returns int2 unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int3 unsigned ) returns int3 unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int4 unsigned ) returns int4 unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int8 unsigned ) returns int8 unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int zerofill ) returns int zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 int unsigned zerofill ) returns int unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 bigint ) returns bigint -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 bigint unsigned ) returns bigint unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 bigint zerofill ) returns bigint zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 bigint unsigned zerofill ) returns bigint unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 decimal ) returns decimal -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 decimal unsigned ) returns decimal unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 decimal zerofill ) returns decimal zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 decimal unsigned zerofill ) returns decimal unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 numeric ) returns numeric -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 numeric unsigned ) returns numeric unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 numeric zerofill ) returns numeric zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 numeric unsigned zerofill ) returns numeric unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 real ) returns real -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 real unsigned ) returns real unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 real zerofill ) returns real zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 real unsigned zerofill ) returns real unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 float ) returns float -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 float unsigned ) returns float unsigned -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 float zerofill ) returns float zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 float unsigned zerofill ) returns float unsigned zerofill -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 date ) returns date -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 time ) returns time -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 datetime ) returns datetime -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 timestamp ) returns timestamp -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 year ) returns year -return f1; -DROP FUNCTION IF EXISTS fn1; -CREATE FUNCTION fn1(f1 year(f1 3) ) returns year(3) -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 3) ) returns year(3) -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 year(f1 4) ) returns year(4) -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 4) ) returns year(4) -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 enum(f1 "1enum", "2enum") ) returns enum("1enum", "2enum") -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 "1enum", "2enum") ) returns enum("1enum", "2enum") -return f1' at line 1 -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1(f1 set(f1 "1set", "2set") ) returns set("1set", "2set") -return f1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'f1 "1set", "2set") ) returns set("1set", "2set") -return f1' at line 1 - -Testcase 4.1.16: ----------------- -Ensure that a reference to a non-existent stored procedure is rejected with an -appropriate error message --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp16; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp16 does not exist -CALL sp16( 'xyz' ); -ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist -CREATE DATABASE db1; -USE db1; -CREATE PROCEDURE sp16() -BEGIN -set @var1 = 1; -SELECT @var1; -END// -CALL db_storedproc.sp16(); -ERROR 42000: PROCEDURE db_storedproc.sp16 does not exist -USE db_storedproc; -DROP PROCEDURE db1.sp16; -DROP DATABASE db1; - -Testcase 4.1.17: ----------------- -Ensure that it is possible to drop, create and CALL/execute a procedure and a -function with the same name, even in the same database --------------------------------------------------------------------------------- -USE db_storedproc; -DROP FUNCTION IF EXISTS sp1; -Warnings: -Note 1305 FUNCTION db_storedproc.sp1 does not exist -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1 () -BEGIN -declare x enum( 'db1', 'test' ) default 'test'; -SELECT x; -END// -CALL sp1(); -x -test -CREATE FUNCTION sp1 (y char) returns char return y; -SELECT sp1( 'a' ); -sp1( 'a' ) -a -DROP DATABASE IF EXISTS db1; -Warnings: -Note 1008 Can't drop database 'db1'; database doesn't exist -CREATE DATABASE db1; -USE db1; -CALL db_storedproc.sp1( ); -x -test -SELECT db_storedproc.sp1( 'a' ); -db_storedproc.sp1( 'a' ) -a -DROP FUNCTION db_storedproc.sp1; -USE db_storedproc; -SELECT sp1('a'); -ERROR 42000: FUNCTION db_storedproc.sp1 does not exist -DROP PROCEDURE sp1; -CALL sp1(); -ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist -SELECT sp1('a'); -ERROR 42000: FUNCTION db_storedproc.sp1 does not exist -USE db_storedproc; -DROP DATABASE db1; - -Testcase 4.1.18: ----------------- -Ensure that it is possible to alter a procedure and -a function with the same name, in the same database --------------------------------------------------------------------------------- -USE db_storedproc; -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -DROP FUNCTION IF EXISTS sp1; -Warnings: -Note 1305 FUNCTION db_storedproc.sp1 does not exist -set @x=null; -set @y=null; -CREATE PROCEDURE sp1() -BEGIN -set @x= 1; -SELECT @x; -END// -CREATE FUNCTION sp1 () returns int return 2.2; -CALL db_storedproc.sp1(); -@x -1 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -2 -DROP DATABASE IF EXISTS db1; -Warnings: -Note 1008 Can't drop database 'db1'; database doesn't exist -CREATE DATABASE db1; -USE db1; -alter procedure db_storedproc.sp1 sql security invoker; -SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1'; -name type security_type -sp1 FUNCTION DEFINER -sp1 PROCEDURE INVOKER -alter function db_storedproc.sp1 sql security invoker; -SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1'; -name type security_type -sp1 FUNCTION INVOKER -sp1 PROCEDURE INVOKER -CALL db_storedproc.sp1(); -@x -1 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -2 -USE db_storedproc; -alter procedure sp1 sql security definer; -CALL db_storedproc.sp1(); -@x -1 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -2 -alter function sp1 sql security definer; -SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1'; -name type security_type -sp1 FUNCTION DEFINER -sp1 PROCEDURE DEFINER -CALL db_storedproc.sp1(); -@x -1 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -2 -USE db_storedproc; -DROP DATABASE db1; -DROP PROCEDURE db_storedproc.sp1; -DROP FUNCTION db_storedproc.sp1; - -Testcase 4.1.19: ----------------- -verify altering procedure and function with the same name, does not affect -properties of a procedure and a function with the same name in the different -database. --------------------------------------------------------------------------------- -DROP DATABASE IF EXISTS db_storedproc_3122; -CREATE DATABASE db_storedproc_3122; -USE db_storedproc; -set @x=null; -set @y=null; -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -DROP FUNCTION IF EXISTS sp1; -Warnings: -Note 1305 FUNCTION db_storedproc.sp1 does not exist -DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc_3122.sp1 does not exist -DROP FUNCTION IF EXISTS db_storedproc_3122.sp1; -Warnings: -Note 1305 FUNCTION db_storedproc_3122.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -set @x= 1; -SELECT @x; -END// -CREATE FUNCTION db_storedproc_3122.sp1() returns double return 2.2; -CALL sp1(); -@x -1 -SELECT db_storedproc_3122.sp1(); -db_storedproc_3122.sp1() -2.2 -USE db_storedproc_3122; -CREATE PROCEDURE sp1 () -BEGIN -set @x= 3; -SELECT @x; -END// -CREATE FUNCTION db_storedproc.sp1() returns double return 4.4; -CALL sp1(); -@x -3 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -4.4 -alter procedure db_storedproc_3122.sp1 sql security invoker; -alter function sp1 sql security invoker; -SELECT db, name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1'; -db name type security_type -db_storedproc sp1 FUNCTION DEFINER -db_storedproc sp1 PROCEDURE DEFINER -db_storedproc_3122 sp1 FUNCTION INVOKER -db_storedproc_3122 sp1 PROCEDURE INVOKER -CALL db_storedproc.sp1(); -@x -1 -SELECT db_storedproc.sp1(); -db_storedproc.sp1() -4.4 -CALL db_storedproc_3122.sp1(); -@x -3 -SELECT db_storedproc_3122.sp1(); -db_storedproc_3122.sp1() -2.2 -USE db_storedproc; -DROP DATABASE db_storedproc_3122; -DROP FUNCTION db_storedproc.sp1; -DROP PROCEDURE db_storedproc.sp1; - -Testcase 4.1.20: ----------------- -Ensure that it is possible to alter the comment of a procedure -and a function with the same name, even in the same database --------------------------------------------------------------------------------- -USE db_storedproc; -set @x=null; -DROP PROCEDURE IF EXISTS sp1; -DROP FUNCTION IF EXISTS sp1; -CREATE PROCEDURE sp1 () set @x= 1; -CREATE FUNCTION sp1 () returns int return 2; -DROP DATABASE IF EXISTS db_storedproc_3122; -Warnings: -Note 1008 Can't drop database 'db_storedproc_3122'; database doesn't exist -CREATE DATABASE db_storedproc_3122; -USE db_storedproc_3122; -CREATE PROCEDURE sp1 () set @x= 3; -CREATE FUNCTION sp1 () returns int return 4; -alter procedure sp1 sql security invoker comment 'this is a procedure'; -alter function sp1 sql security invoker comment 'this is a function'; -alter procedure sp1 sql security definer; -alter function sp1 sql security definer; -show CREATE PROCEDURE sp1; -Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation -sp1 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp1`() - COMMENT 'this is a procedure' -set @x= 3 latin1 modified created -show CREATE FUNCTION sp1; -Function sql_mode Create Function character_set_client collation_connection Database Collation -sp1 CREATE DEFINER=`root`@`localhost` FUNCTION `sp1`() RETURNS int(11) - COMMENT 'this is a function' -return 4 latin1 modified created -USE db_storedproc; -DROP DATABASE db_storedproc_3122; -DROP FUNCTION db_storedproc.sp1; -DROP PROCEDURE db_storedproc.sp1; - -Testcase 4.1.21: ----------------- -Ensure that it is not possible to create two procedures with same name -in same database --------------------------------------------------------------------------------- -USE db_storedproc; -set @x=null; -set @y=null; -DROP DATABASE IF EXISTS db1; -CREATE DATABASE db1; -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1 () set @x=1; -CREATE PROCEDURE sp1 () set @x=2; -ERROR 42000: PROCEDURE sp1 already exists -CALL sp1(); -SELECT @x; -@x -1 -USE db1; -CREATE PROCEDURE db_storedproc.sp1 () set @x=3; -ERROR 42000: PROCEDURE sp1 already exists -CALL db_storedproc.sp1(); -SELECT @x; -@x -1 -DROP PROCEDURE IF EXISTS db_storedproc.sp1; -CREATE PROCEDURE db_storedproc.sp1 () set @x=1; -CREATE PROCEDURE db_storedproc.sp1 () set @x=2; -ERROR 42000: PROCEDURE sp1 already exists -CALL db_storedproc.sp1(); -SELECT @x; -@x -1 -USE db_storedproc; -DROP DATABASE db1; -DROP PROCEDURE db_storedproc.sp1; - -Testcase 4.1.22: ----------------- -Ensure that it is not possible to create two functions with same name in the -same database --------------------------------------------------------------------------------- -USE db_storedproc; -DROP DATABASE IF EXISTS db1; -Warnings: -Note 1008 Can't drop database 'db1'; database doesn't exist -CREATE DATABASE db1; -DROP FUNCTION IF EXISTS fn1; -Warnings: -Note 1305 FUNCTION db_storedproc.fn1 does not exist -CREATE FUNCTION fn1 () returns int return 1; -CREATE FUNCTION fn1 () returns int return 2; -ERROR 42000: FUNCTION fn1 already exists -SELECT fn1(); -fn1() -1 -USE db1; -CREATE FUNCTION db_storedproc.fn1 () returns int return 3; -ERROR 42000: FUNCTION fn1 already exists -SELECT db_storedproc.fn1(); -db_storedproc.fn1() -1 -DROP FUNCTION IF EXISTS db_storedproc.fn1; -CREATE FUNCTION db_storedproc.fn1 () returns int return 1; -CREATE FUNCTION db_storedproc.fn1 () returns int return 2; -ERROR 42000: FUNCTION fn1 already exists -SELECT db_storedproc.fn1(); -db_storedproc.fn1() -1 -USE db_storedproc; -DROP DATABASE db1; -DROP FUNCTION db_storedproc.fn1; - -Testcase 4.1.23: ----------------- -Ensure that it is possible to create two or more procedures with the same name, -providing each resides in different databases --------------------------------------------------------------------------------- -USE db_storedproc; -set @x=null; -set @y=null; -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1 () set @x= 1; -DROP DATABASE IF EXISTS test3124; -Warnings: -Note 1008 Can't drop database 'test3124'; database doesn't exist -CREATE DATABASE test3124; -USE test3124; -CREATE PROCEDURE sp1 () set @y= 2; -CALL sp1(); -SELECT @x, @y; -@x @y -NULL 2 -USE db_storedproc; -CALL sp1(); -SELECT @x, @y; -@x @y -1 2 -USE db_storedproc; -DROP DATABASE test3124; -DROP PROCEDURE db_storedproc.sp1; - -Testcase 4.1.24: ----------------- -Ensure that it is possible to create two or more functions with the same name, -providing each resides in different databases. --------------------------------------------------------------------------------- -USE db_storedproc; -DROP FUNCTION IF EXISTS f1; -Warnings: -Note 1305 FUNCTION db_storedproc.f1 does not exist -CREATE FUNCTION f1 () returns int return 1; -DROP DATABASE IF EXISTS test3125; -Warnings: -Note 1008 Can't drop database 'test3125'; database doesn't exist -CREATE DATABASE test3125; -USE test3125; -CREATE FUNCTION f1 () returns int return 2; -SELECT f1(); -f1() -2 -USE db_storedproc; -SELECT f1(); -f1() -1 -USE db_storedproc; -DROP DATABASE test3125; -DROP FUNCTION db_storedproc.f1; - -Testcase 4.1.25: ----------------- -Ensure that any invalid function name is never accepted, and that an appropriate -error message is returned when the name is rejected. (invalid func name) --------------------------------------------------------------------------------- -CREATE FUNCTION !_fn1( f1 char(20) ) returns int -BEGIN -SELECT * from t1 where f2 = f1; -return 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '!_fn1( f1 char(20) ) returns int -BEGIN -SELECT * from t1 where f2 = f1; -return 1;' at line 1 -CREATE FUNCTION fn1( f1 char(20) ) return int -BEGIN -SELECT * from t1 where f2 = f1; -return 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return int -BEGIN -SELECT * from t1 where f2 = f1; -return 1; -END' at line 1 -CREATE FUNCTION fn1() returns int -return 'a'; -CREATE FUNCTION procedure() returns int -return 1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure() returns int -return 1' at line 1 -CREATE FUNCTION fn1(a char) returns int lang sql return 1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql return 1' at line 1 -CREATE FUNCTION fn1(a char) returns int deterministic( return 1); -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return 1)' at line 1 -CREATE FUNCTION fn1(a char) returns int non deterministic return 1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic return 1' at line 1 -CREATE FUNCTION fn1(a char) returns int not deterministic comment 'abc' language sql sql security refiner return 1; -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'refiner return 1' at line 1 -DROP FUNCTION IF EXISTS fn1; - -Testcase 4.1.1: ---------------- -Ensure that all clauses that should be supported are supported. -CREATE PROCEDURE --------------------------------------------------------------------------------- -USE db_storedproc; -set @count = 0; -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1(cnt int(20)) -BEGIN -SELECT count(*) into cnt from t2; -set @count = cnt; -END// -CALL sp1( 10 ); -SELECT @count; -@count -10 -DROP PROCEDURE sp1; - -Testcase 4.2.2: -BEGINend --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( cnt int(20) ) -BEGIN -SELECT count(*) into cnt from t2; -set @count = cnt; -SELECT @count; -END// -CALL sp1( 10 ); -@count -10 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( cnt int(20) ) -SELECT count(*) into cnt from t2; -set @count = cnt; -SELECT @count; -END// -ERROR 42S22: Unknown column 'cnt' in 'field list' -CALL sp1( 10 ); -DROP PROCEDURE sp1; -CREATE PROCEDURE sp1( cnt int(20) ) -END -SELECT count(*) into cnt from t2; -set @count = cnt; -SELECT @count; -BEGIN// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END -SELECT count(*) into cnt from t2; -set @count = cnt; -SELECT @count; -BEGIN' at line 2 -CALL sp1( 10 ); -ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( cnt int(20) ) -BEGIN -SELECT count(*) into cnt from t2; -BEGIN -BEGIN END; -BEGIN -END; -set @count = cnt; -SELECT @count; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 10 - -Testcase 4.2.4: ---------------- -Ensure that every BEGIN statement is coupled with a terminating END statement. -(BEGIN with no END) --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END// - -Testcase ....: --------------- - --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -accessible:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -add:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -all:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -alter:BEGIN -SELECT @x; -END// -ERROR 0A000: ALTER VIEW is not allowed in stored procedures -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -analyze:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -and:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -as:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -asc:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -asensitive:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -before:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -between:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -bigint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -binary:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -blob:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -both:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -by:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -call:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -cascade:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -case:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -change:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -char:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -character:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -check:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -collate:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -column:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -condition:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -constraint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -continue:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -convert:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -create:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -cross:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -current_date:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -current_time:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -current_timestamp:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -current_user:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -cursor:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -database:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -databases:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -day_hour:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -day_microsecond:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -day_minute:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -day_second:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -dec:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -decimal:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -declare:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -default:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -delayed:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -delete:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -desc:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -describe:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -deterministic:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -distinct:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -distinctrow:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -div:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -double:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -drop:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -dual:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -each:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -else:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -elseif:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -enclosed:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -escaped:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -exists:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -exit:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -explain:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -false:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -fetch:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -float:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -float4:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -float8:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -for:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -force:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -foreign:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -from:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -fulltext:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -grant:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -group:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -having:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -high_priority:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -hour_microsecond:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -hour_minute:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -hour_second:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -if:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -ignore:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -in:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -index:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -infile:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -inner:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -inout:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -insensitive:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -insert:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int1:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int2:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int3:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int4:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -int8:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -integer:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -interval:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -into:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -is:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -iterate:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -join:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -key:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -keys:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -kill:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -leading:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -leave:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -left:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -like:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -limit:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -linear:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -lines:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -load:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -localtime:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -localtimestamp:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -lock:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -long:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -longblob:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -longtext:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -loop:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -low_priority:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -master_ssl_verify_server_cert:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -match:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -mediumblob:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -mediumint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -mediumtext:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -middleint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -minute_microsecond:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -minute_second:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -mod:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -modifies:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -natural:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -not:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -no_write_to_binlog:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -null:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -numeric:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -on:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -optimize:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -option:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -optionally:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -or:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -order:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -out:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -outer:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -outfile:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -precision:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -primary:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -procedure:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -purge:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -range:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -read:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -reads:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -read_write:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -real:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -references:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -regexp:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -release:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -rename:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -repeat:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -replace:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -require:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -restrict:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -return:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -revoke:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -right:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -rlike:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -schema:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -schemas:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -second_microsecond:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -select:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sensitive:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -separator:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -set:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -show:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -smallint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -spatial:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -specific:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sql:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sqlexception:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sqlstate:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sqlwarning:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sql_big_result:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sql_calc_found_rows:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -sql_small_result:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -ssl:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -starting:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -straight_join:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -table:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -terminated:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -then:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -tinyblob:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -tinyint:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -tinytext:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -to:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -trailing:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -trigger:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -true:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -undo:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -union:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -unique:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -unlock:BEGIN -SELECT @x; -END// -ERROR 0A000: UNLOCK is not allowed in stored procedures -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -unsigned:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -update:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -usage:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -use:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -using:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -utc_date:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -utc_time:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -utc_timestamp:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -values:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -varbinary:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -varchar:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -varcharacter:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -varying:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -when:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -where:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -while:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -with:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ':BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -write:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -xor:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -year_month:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month:BEGIN -SELECT @x; -END' at line 2 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -zerofill:BEGIN -SELECT @x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill:BEGIN -SELECT @x; -END' at line 2 - -Testcase 4.2.6: ---------------- -Ensure that the labels for multiple BEGIN an END work properly --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -begin_label: BEGIN -declare x char; -declare y char; -set x = '1'; -set y = '2'; -label1: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END label1; -set @v1 = x; -set @v2 = y; -SELECT @v1, @v2; -END begin_label// -CALL sp1(); -@v1 @v2 -1 2 -Warnings: -Warning 1265 Data truncated for column 'x' at row 1 -Warning 1265 Data truncated for column 'y' at row 1 -DROP PROCEDURE sp1; - -Testcase 4.2.7: ---------------- -Ensure that the labels enclosing each BEGIN/END compound statement must match. --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -begin1_label: BEGIN -declare x char; -declare y char; -SELECT lf1, f1 into x, y from t2 limit 1; -begin2_label: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END begin2_changed; -END begin1_changed// -ERROR 42000: End-label begin2_changed without match - -Testcase 4.2.8: ---------------- -Ensure that it is possible to put a beginning label at the start of a -BEGIN/END compound statement without also requiring an ending label -at the END of the same statement. --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -begin_label: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END// -CALL sp1(); -Warnings: -Warning 1265 Data truncated for column 'x' at row 1 -Warning 1265 Data truncated for column 'y' at row 1 -DROP PROCEDURE sp1; - -Testcase 4.2.9: ---------------- -Ensure that it is not possible to put an ending label at the END of -a BEGIN/END compound statement without also requiring a matching -beginning label at the start of the same statement --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END begin_label// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'begin_label' at line 6 - -Testcase 4.2.10: ----------------- -Ensure that every beginning label must END with a colon(:) --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -begin_label BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END begin_label// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -E' at line 2 - -Testcase 4.2.11: ----------------- -Ensure that every beginning label with the same scope must be unique. (same label names) --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -begin_samelabel: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -begin_samelabel: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END begin_samelabel; -begin_samelabel: BEGIN -declare x char; -declare y char; -SELECT f1, f2 into x, y from t2 limit 1; -END begin_samelabel; -END begin_samelabel// -ERROR 42000: Redefining label begin_samelabel - -Testcase 4.2.12: ----------------- -Ensure that the variables, cursors, conditions, and handlers declared for -a stored procedure (with the declare statement) may only be properly defined --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x char default 'a'; -declare y integer default 1; -declare z float default 1.1; -declare a enum("value1", "value2") default 'value1'; -declare b decimal(255, 255) default 1.2e+12; -declare c mediumtext default 'mediumtext'; -declare d datetime default '2005-02-02 12:12:12'; -declare e char default 'b'; -declare cur1 cursor for SELECT f1 from db_storedproc.t2; -declare continue handler for sqlstate '02000' set @x2 = 1; -open cur1; -fetch cur1 into e; -SELECT x, y, z, a, b, c, d, e; -close cur1; -END// -ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30. -CALL sp6(); -ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0'; -SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567; -END// -CALL sp6(); -x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 -0 -DROP PROCEDURE sp6; - -Testcase 4.2.13: ----------------- -Ensure that the variables declared for a stored procedure (with the declare -statement) may only be defined in the correct order. --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x default '0' char; -SELECT x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default '0' char; -SELECT x; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x char, integer default '0'; -SELECT x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0'; -SELECT x; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x1, x2 char, integer default '0', 1; -SELECT x; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0', 1; -SELECT x; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp1( ) -BEGIN -declare char x; -declare char y; -SELECT f1, f2 into x, y from t2 limit 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x; -declare char y; -SELECT f1, f2 into x, y from t2 limit 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp1( ) -BEGIN -declare char x, y1 integer default 0; -declare char y; -SELECT f1, f2 into x, y from t2 limit 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x, y1 integer default 0; -declare char y; -SELECT f1, f2 into x, y from t2 li' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare x default 'a' char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default 'a' char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare condition notable for sqlstate '42s22'; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition notable for sqlstate '42s22'; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare condition for notable sqlstate '42s22'; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for notable sqlstate '42s22'; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare condition for sqlstate notable '42s22'; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate notable '42s22'; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare condition for sqlstate '42s22' notable; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '42s22' notable; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare cursor cur1 for SELECT f1 from db_storedproc.t2; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare cursor for cur1 SELECT f1 from db_storedproc.t2; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare cursor for SELECT cur1 f1 from db_storedproc.t2; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare handler continue for sqlstate '02000' set @x2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue for sqlstate '02000' set @x2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare handler exit for sqlstate '02000' set @x2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare handler undo for sqlstate '02000' set @x2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo for sqlstate '02000' set @x2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare char x; -SELECT f1 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x; -SELECT f1 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare char binary x; -SELECT f2 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary x; -SELECT f2 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare char ascii x; -SELECT f3 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii x; -SELECT f3 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinytext x; -SELECT f4 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext x; -SELECT f4 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x; -SELECT f5 text into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '; -SELECT f5 text into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumtext x; -SELECT f6 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext x; -SELECT f6 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare longtext x; -SELECT f7 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext x; -SELECT f7 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyblob x; -SELECT f8 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob x; -SELECT f8 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare blob x; -SELECT f9 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob x; -SELECT f9 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumblob x; -SELECT f10 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob x; -SELECT f10 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare longblob x; -SELECT f11 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob x; -SELECT f11 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare binary x; -SELECT f12 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary x; -SELECT f12 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyint x; -SELECT f13 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint x; -SELECT f13 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyint unsigned x; -SELECT f14 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned x; -SELECT f14 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyint zerofill x; -SELECT f15 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill x; -SELECT f15 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyint unsigned zerofill x; -SELECT f16 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill x; -SELECT f16 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare smallint x; -SELECT f17 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint x; -SELECT f17 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare smallint unsigned x; -SELECT f18 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned x; -SELECT f18 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare smallint zerofill x; -SELECT f19 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill x; -SELECT f19 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare smallint unsigned zerofill x; -SELECT f20 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill x; -SELECT f20 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumint x; -SELECT f21 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint x; -SELECT f21 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumint unsigned x; -SELECT f22 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned x; -SELECT f22 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumint zerofill x; -SELECT f23 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill x; -SELECT f23 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumint unsigned zerofill x; -SELECT f24 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill x; -SELECT f24 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare int x; -SELECT f25 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int x; -SELECT f25 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare int unsigned x; -SELECT f26 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned x; -SELECT f26 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare int zerofill x; -SELECT f27 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill x; -SELECT f27 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare int unsigned zerofill x; -SELECT f28 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill x; -SELECT f28 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint x; -SELECT f29 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint x; -SELECT f29 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint unsigned x; -elect f30 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned x; -elect f30 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint zerofill x; -SELECT f31 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill x; -SELECT f31 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint unsigned zerofill x; -SELECT f32 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill x; -SELECT f32 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal x; -SELECT f33 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal x; -SELECT f33 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal unsigned x; -SELECT f34 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned x; -SELECT f34 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal zerofill x; -SELECT f35 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill x; -SELECT f35 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal unsigned zerofill not null x; -SELECT f36 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill not null x; -SELECT f36 into x from tb1 limit 9998, 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (0) not null x; -SELECT f37 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) not null x; -SELECT f37 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (64) not null x; -SELECT f38 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) not null x; -SELECT f38 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (0) unsigned not null x; -SELECT f39 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned not null x; -SELECT f39 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (64) unsigned not null x; -SELECT f40 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned not null x; -SELECT f40 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (0) zerofill not null x; -SELECT f41 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) zerofill not null x; -SELECT f41 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (64) zerofill not null x; -SELECT f42 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x; -SELECT f42 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (0) unsigned zerofill not null x; -SELECT f43 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x; -SELECT f43 into x from tb1 limit 9998' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (64) unsigned zerofill not null x; -SELECT f44 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x; -SELECT f44 into x from tb1 limit 999' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (00) not null x; -SELECT f45 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) not null x; -SELECT f45 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (63, 30) not null x; -SELECT f46 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) not null x; -SELECT f46 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (00) unsigned not null x; -SELECT f47 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned not null x; -SELECT f47 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (63, 30) unsigned not null x; -SELECT f48 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned not null x; -SELECT f48 into x from tb1 limit 9998, 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (00) zerofill not null x; -SELECT f49 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) zerofill not null x; -SELECT f49 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (63, 30) zerofill not null x; -SELECT f50 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) zerofill not null x; -SELECT f50 into x from tb1 limit 9998, 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (00) unsigned zerofill not null x; -SELECT f51 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x; -SELECT f51 into x from tb1 limit 999' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal (63, 30) unsigned zerofill not null x; -SELECT f52 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x; -SELECT f52 into x from tb1 limit' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric not null x; -SELECT f53 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric not null x; -SELECT f53 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric unsigned not null x; -SELECT f54 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned not null x; -SELECT f54 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric zerofill not null x; -SELECT f55 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill not null x; -SELECT f55 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric unsigned zerofill not null x; -SELECT f56 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill not null x; -SELECT f56 into x from tb1 limit 9998, 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (0) not null x; -SELECT f57 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) not null x; -SELECT f57 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (64) not nul x; -SELECT f58 into x from tb1 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) not nul x; -SELECT f58 into x from tb1 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (0) unsigned x; -SELECT f59 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned x; -SELECT f59 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (64) unsigned x; -SELECT f60 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned x; -SELECT f60 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (0) zerofill x; -SELECT f61 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) zerofill x; -SELECT f61 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (64) zerofill x; -SELECT f62 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x; -SELECT f62 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (0) unsigned zerofill x; -SELECT f63 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned zerofill x; -SELECT f63 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (64) unsigned zerofill x; -SELECT f64 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned zerofill x; -SELECT f64 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (00) x; -SELECT f65 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) x; -SELECT f65 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (63, 30) x; -SELECT f66 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) x; -SELECT f66 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (00) unsigned x; -SELECT f67 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned x; -SELECT f67 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (63, 30) unsigned x; -SELECT f68 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned x; -SELECT f68 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (00) zerofill x; -SELECT f69 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x; -SELECT f69 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (63, 30) zerofill x; -SELECT f70 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) zerofill x; -SELECT f70 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (00) unsigned zerofill x; -SELECT f71 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned zerofill x; -SELECT f71 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric (63, 30) unsigned zerofill x; -SELECT f72 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x; -SELECT f72 into x from tb2 limit 9998, 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare real x; -SELECT f73 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x; -SELECT f73 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare real unsigned x; -SELECT f74 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned x; -SELECT f74 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare real zerofill x; -SELECT f75 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill x; -SELECT f75 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare real unsigned zerofill x; -SELECT f76 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill x; -SELECT f76 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare double x; -SELECT f77 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double x; -SELECT f77 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare double unsigned x; -SELECT f78 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned x; -SELECT f78 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare double zerofill x; -SELECT f79 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double zerofill x; -SELECT f79 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare double unsigned zerofill x; -SELECT f80 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x; -SELECT f80 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float not null x; -SELECT f81 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float not null x; -SELECT f81 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float unsigned not null x; -SELECT f82 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned not null x; -SELECT f82 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float zerofill not null x; -SELECT f83 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill not null x; -SELECT f83 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float unsigned zerofill not null x; -SELECT f84 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill not null x; -SELECT f84 into x from tb2 limit 9998, 1; -E' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(0) not null x; -SELECT f85 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) not null x; -SELECT f85 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(23) not null x; -SELECT f86 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) not null x; -SELECT f86 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(0) unsigned not null x; -SELECT f87 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned not null x; -SELECT f87 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(23) unsigned not null x; -SELECT f88 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned not null x; -SELECT f88 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(0) zerofill not null x; -SELECT f89 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) zerofill not null x; -SELECT f89 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(23) zerofill not null x; -SELECT f90 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) zerofill not null x; -SELECT f90 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(0) unsigned zerofill not null x; -SELECT f91 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned zerofill not null x; -SELECT f91 into x from tb2 limit 9998, 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(23) unsigned zerofill not null x; -SELECT f92 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned zerofill not null x; -SELECT f92 into x from tb2 limit 9998, ' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(24) not null x; -SELECT f93 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) not null x; -SELECT f93 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(53) not null x; -SELECT f94 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) not null x; -SELECT f94 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(24) unsigned not null x; -SELECT f95 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned not null x; -SELECT f95 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(53) unsigned not null x; -SELECT f96 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned not null x; -SELECT f96 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(24) zerofill not null x; -SELECT f97 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) zerofill not null x; -SELECT f97 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(53) zerofill not null x; -SELECT f98 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) zerofill not null x; -SELECT f98 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(24) unsigned zerofill not null x; -SELECT f99 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x; -SELECT f99 into x from tb2 limit 9998, ' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare float(53) unsigned zerofill not null x; -SELECT f100 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned zerofill not null x; -SELECT f100 into x from tb2 limit 9998,' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare date not null x; -SELECT f101 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x; -SELECT f101 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare time not null x; -SELECT f102 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x; -SELECT f102 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare datetime not null x; -SELECT f103 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x; -SELECT f103 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare timestamp not null x; -SELECT f104 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x; -SELECT f104 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare year not null x; -SELECT f105 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x; -SELECT f105 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare year(3) not null x; -SELECT f106 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) not null x; -SELECT f106 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare year(4) not null x; -SELECT f107 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) not null x; -SELECT f107 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare enum("1enum", "2enum") not null x; -SELECT f108 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x; -SELECT f108 into x from tb2 limit 9998, 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare set("1set", "2set") not nul x; -SELECT f109 into x from tb2 limit 9998, 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") not nul x; -SELECT f109 into x from tb2 limit 9998, 1; -END' at line 3 - -Testcase 4.2.14: ----------------- -Ensure that the handlers declared for a stored procedure (with the declare -statement) may only be defined in the correct order --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare continue handler for sqlstate '23000' set @x2 = 1; -declare x char; -END// -ERROR 42000: Variable or condition declaration after cursor or handler declaration -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare cursor1 cursor for SELECT f1 from tb1; -declare x char; -END// -ERROR 42000: Variable or condition declaration after cursor or handler declaration -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare cursor1 cursor for SELECT f1 from tb1; -declare sqlcondition condition for sqlstate '02000'; -END// -ERROR 42000: Variable or condition declaration after cursor or handler declaration -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare sqlcondition condition for sqlstate '02000'; -declare continue handler for sqlcondition set @x=1; -declare cursor1 cursor for SELECT f1 from tb1; -END// -ERROR 42000: Cursor declaration after handler declaration - -Testcase 4.2.15: ----------------- -Ensure that the declare statement can declare multiple variables both separately -and all at once from a variable list. (multiple declaration) --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -DECLARE x1 CHAR(100) DEFAULT 'outer'; -BEGIN -DECLARE x1 CHAR(100) DEFAULT x1; -END; -END// -CALL sp1(); -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z char default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z char ascii default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinytext default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z text default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumtext default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z longtext default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinyblob default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z blob default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumblob default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z longblob default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z binary default null; -SELECT x, y, z; -END// -CALL sp1(); -x y z -NULL NULL NULL -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinyint default -126; -SELECT x, y, z; -END// -CALL sp1(); -x y z --126 -126 -126 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinyint unsigned default 253; -SELECT x, y, z; -END// -CALL sp1(); -x y z -253 253 253 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinyint zerofill default -1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -000 000 000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z tinyint unsigned zerofill default 1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -001 001 001 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z smallint default -32768; -SELECT x, y, z; -END// -CALL sp1(); -x y z --32768 -32768 -32768 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z smallint unsigned default 65535; -SELECT x, y, z; -END// -CALL sp1(); -x y z -65535 65535 65535 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z smallint zerofill default -1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000 00000 00000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z smallint unsigned zerofill default 1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00001 00001 00001 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumint default -8388608; -SELECT x, y, z; -END// -CALL sp1(); -x y z --8388608 -8388608 -8388608 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumint unsigned default 16777215; -SELECT x, y, z; -END// -CALL sp1(); -x y z -16777215 16777215 16777215 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumint zerofill default -1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000000 00000000 00000000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z mediumint unsigned zerofill default 1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000001 00000001 00000001 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z int default -2147483648; -SELECT x, y, z; -END// -CALL sp1(); -x y z --2147483648 -2147483648 -2147483648 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z int unsigned default 4294967295; -SELECT x, y, z; -END// -CALL sp1(); -x y z -4294967295 4294967295 4294967295 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z int zerofill default -1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000000 0000000000 0000000000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z int unsigned zerofill default 1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000001 0000000001 0000000001 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z bigint default -9223372036854775808; -SELECT x, y, z; -END// -CALL sp1(); -x y z --9223372036854775808 -9223372036854775808 -9223372036854775808 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z bigint unsigned default 18446744073709551615; -SELECT x, y, z; -END// -CALL sp1(); -x y z -18446744073709551615 18446744073709551615 18446744073709551615 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z bigint zerofill default -1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000000000000000000 00000000000000000000 00000000000000000000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z bigint unsigned zerofill default 1; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000000000000000001 00000000000000000001 00000000000000000001 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z decimal default -34028234660123456789012345678901234567; -SELECT x, y, z; -END// -CALL sp1(); -x y z --9999999999 -9999999999 -9999999999 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z decimal unsigned default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0 0 0 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z decimal zerofill default -34028234660123456789012345678901234567; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000000 0000000000 0000000000 -Warnings: -Warning 1264 Out of range value for column 'x' at row 1 -Warning 1264 Out of range value for column 'y' at row 1 -Warning 1264 Out of range value for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z decimal unsigned zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000000 0000000000 0000000000 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z numeric default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0 0 0 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z numeric unsigned default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0 0 0 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z numeric zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000000 0000000000 0000000000 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z numeric unsigned zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -0000000000 0000000000 0000000000 -Warnings: -Note 1265 Data truncated for column 'x' at row 1 -Note 1265 Data truncated for column 'y' at row 1 -Note 1265 Data truncated for column 'z' at row 1 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z real default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -1.175494351e-38 1.175494351e-38 1.175494351e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z real unsigned default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -1.175494351e-38 1.175494351e-38 1.175494351e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z real zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z real unsigned zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z float default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -1.17549e-38 1.17549e-38 1.17549e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z float unsigned default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -1.17549e-38 1.17549e-38 1.17549e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z float zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -01.17549e-38 01.17549e-38 01.17549e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z float unsigned zerofill default 1.175494351e-38; -SELECT x, y, z; -END// -CALL sp1(); -x y z -01.17549e-38 01.17549e-38 01.17549e-38 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z date default '2005-02-02'; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005-02-02 2005-02-02 2005-02-02 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z time default '12:20:12'; -SELECT x, y, z; -END// -CALL sp1(); -x y z -12:20:12 12:20:12 12:20:12 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z datetime default '2005-02-02 12:20:12'; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z timestamp default '20050202122012'; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z year default 2005; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005 2005 2005 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z year(3) default 2005; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005 2005 2005 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z year(4) default 2005; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2005 2005 2005 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z enum("1enum", "2enum") default "2enum"; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2enum 2enum 2enum -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare x, y, z set("1set", "2set") default "2set"; -SELECT x, y, z; -END// -CALL sp1(); -x y z -2set 2set 2set -DROP PROCEDURE sp1; - -Testcase 4.2.16: ----------------- -Ensure that the declare statement can declare multiple variables both separately -and all at once from a variable list. (multiple declaration). --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp6; -CREATE PROCEDURE sp6( ) -BEGIN -declare a, b char default '2'; -declare c, d float default 1.3; -declare e, f text default 'text'; -declare g, h enum("value1", "value2" ) default 'value1'; -declare i, j datetime default '2005-02-02 12:12:12'; -declare k, l blob default 'blob'; -SELECT a, b, c, d, e, f, g, h, k, l; -END// -CALL sp6(); -a b c d e f g h k l -2 2 1.3 1.3 text text value1 value1 blob blob -DROP PROCEDURE sp6; - -Testcase 4.2.17: ----------------- -Ensure that the invalid variable declarations are rejected, with an appropriate -error message. --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare @x char; -SELECT f2 into x from t2 limit 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char; -SELECT f2 into x from t2 limit 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare accessible char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare add char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare all char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare alter char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare analyze char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare and char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare as char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare asc char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare asensitive char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare before char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare between char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare bigint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare binary char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare blob char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare both char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare by char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare call char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare cascade char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare case char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare change char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare char char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare character char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare check char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare collate char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare column char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare condition char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare constraint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare continue char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare convert char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare create char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare cross char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare current_date char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare current_time char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare current_timestamp char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare current_user char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare cursor char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare database char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare databases char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare day_hour char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare day_microsecond char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare day_minute char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare day_second char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare dec char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare decimal char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare declare char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare default char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare delayed char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare delete char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare desc char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare describe char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare deterministic char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare distinct char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare distinctrow char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare div char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare double char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare drop char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare dual char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare each char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare else char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare elseif char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare enclosed char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare escaped char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare exists char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare exit char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare explain char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare false char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare fetch char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare float char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare float4 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare float8 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare for char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare force char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare foreign char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare from char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare fulltext char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare grant char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare group char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare having char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare high_priority char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare hour_microsecond char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare hour_minute char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare hour_second char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare if char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare ignore char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare in char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare index char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare infile char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare inner char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare inout char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare insensitive char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare insert char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int1 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int2 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int3 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int4 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare int8 char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare integer char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare interval char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare into char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare is char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare iterate char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare join char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare key char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare keys char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare kill char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare leading char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare leave char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare left char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare like char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare limit char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare linear char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare lines char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare load char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare localtime char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare localtimestamp char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare lock char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare long char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare longblob char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare longtext char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare loop char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare low_priority char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare master_ssl_verify_server_cert char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare match char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare mediumblob char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare mediumint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare mediumtext char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare middleint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare minute_microsecond char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare minute_second char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare mod char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare modifies char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare natural char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare not char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare no_write_to_binlog char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare null char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare numeric char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare on char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare optimize char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare option char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare optionally char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare or char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare order char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare out char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare outer char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare outfile char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare precision char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare primary char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare procedure char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare purge char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare range char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare read char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare reads char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare read_only char; -END// -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare read_write char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare real char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare references char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare regexp char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare release char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare rename char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare repeat char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1() -BEGIN -declare replace char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare require char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare restrict char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare return char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare revoke char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare right char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare rlike char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare schema char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare schemas char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare second_microsecond char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare SELECT char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sensitive char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare separator char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare set char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare show char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare smallint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare spatial char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare specific char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sql char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sqlexception char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sqlstate char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sqlwarning char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sql_big_result char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sql_calc_found_rows char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare sql_small_result char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare ssl char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare starting char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare straight_join char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare table char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare terminated char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare then char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare tinyblob char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare tinyint char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare tinytext char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare to char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare trailing char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare trigger char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare true char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare undo char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare union char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare unique char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare unlock char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare unsigned char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare update char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare usage char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare use char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare using char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare utc_date char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare utc_time char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare utc_timestamp char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare values char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare varbinary char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare varchar char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare varcharacter char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare varying char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare when char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare where char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare while char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare with char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare write char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare xor char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare year_month char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare zerofill char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill char; -END' at line 3 - -Testcase : ----------- -Ensure that every possible type of condition may be declared for a stored procedure -( covered in more detail in handlers section.) --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare cond1 condition for sqlstate 'HY000'; -declare cond2 condition for sqlstate '23000'; -declare cond3 condition for sqlstate 'HY001'; -declare cond4 condition for sqlstate '08004'; -declare cond5 condition for sqlstate '08S01'; -declare cond6 condition for sqlstate '42000'; -declare cond7 condition for sqlstate '28000'; -declare cond8 condition for sqlstate '3D000'; -declare cond9 condition for sqlstate '42S01'; -declare cond10 condition for sqlstate '42S02'; -declare cond11 condition for sqlstate '42S22'; -declare cond12 condition for sqlstate '21S01'; -declare cond13 condition for sqlstate '42S21'; -declare cond14 condition for sqlstate '42S12'; -declare cond15 condition for sqlstate '22004'; -declare cond16 condition for sqlstate '25000'; -declare cond17 condition for sqlstate '40001'; -declare cond18 condition for sqlstate '21000'; -declare cond19 condition for sqlstate '01000'; -declare cond20 condition for sqlstate '22003'; -declare cond21 condition for sqlstate '22007'; -declare cond22 condition for sqlstate '0A000'; -declare cond23 condition for sqlstate '70100'; -declare cond24 condition for sqlstate '2F005'; -declare cond25 condition for sqlstate '24000'; -declare cond26 condition for sqlstate '02000'; -declare continue handler for cond2 set @x2 = 1; -declare continue handler for cond1 set @x2 = 1; -declare continue handler for cond3 set @x2 = 1; -declare continue handler for cond4 set @x2 = 1; -declare continue handler for cond5 set @x2 = 1; -declare continue handler for cond7 set @x2 = 1; -declare continue handler for cond6 set @x2 = 1; -declare continue handler for cond8 set @x2 = 1; -declare continue handler for cond9 set @x2 = 1; -declare continue handler for cond10 set @x2 = 1; -declare continue handler for cond11 set @x2 = 1; -declare continue handler for cond12 set @x2 = 1; -declare continue handler for cond13 set @x2 = 1; -declare continue handler for cond14 set @x2 = 1; -declare continue handler for cond15 set @x2 = 1; -declare continue handler for cond16 set @x2 = 1; -declare continue handler for cond17 set @x2 = 1; -declare continue handler for cond18 set @x2 = 1; -declare continue handler for cond19 set @x2 = 1; -declare continue handler for cond20 set @x2 = 1; -declare continue handler for cond21 set @x2 = 1; -declare continue handler for cond22 set @x2 = 1; -declare continue handler for cond23 set @x2 = 1; -declare continue handler for cond24 set @x2 = 1; -declare continue handler for cond25 set @x2 = 1; -declare continue handler for cond26 set @x2 = 1; -set @x = 1; -insert into t2 values (1); -set @x = 2; -insert into t2 values (1); -set @x = 3; -END// -CALL sp1(); -DROP PROCEDURE sp1; -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare @x char; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare x char1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare accessible condition for sqlstate '02000'; -declare exit handler for add set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible condition for sqlstate '02000'; -declare exit handler for add set @var' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare add condition for sqlstate '02000'; -declare exit handler for add set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add condition for sqlstate '02000'; -declare exit handler for add set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare all condition for sqlstate '02000'; -declare exit handler for all set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all condition for sqlstate '02000'; -declare exit handler for all set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare alter condition for sqlstate '02000'; -declare exit handler for alter set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter condition for sqlstate '02000'; -declare exit handler for alter set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare analyze condition for sqlstate '02000'; -declare exit handler for analyze set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze condition for sqlstate '02000'; -declare exit handler for analyze set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare and condition for sqlstate '02000'; -declare exit handler for and set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and condition for sqlstate '02000'; -declare exit handler for and set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare as condition for sqlstate '02000'; -declare exit handler for as set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as condition for sqlstate '02000'; -declare exit handler for as set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare asc condition for sqlstate '02000'; -declare exit handler for asc set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc condition for sqlstate '02000'; -declare exit handler for asc set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare asensitive condition for sqlstate '02000'; -declare exit handler for asensitive set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive condition for sqlstate '02000'; -declare exit handler for asensitive s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare before condition for sqlstate '02000'; -declare exit handler for before set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before condition for sqlstate '02000'; -declare exit handler for before set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare between condition for sqlstate '02000'; -declare exit handler for between set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between condition for sqlstate '02000'; -declare exit handler for between set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint condition for sqlstate '02000'; -declare exit handler for bigint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint condition for sqlstate '02000'; -declare exit handler for bigint set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare binary condition for sqlstate '02000'; -declare exit handler for binary set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary condition for sqlstate '02000'; -declare exit handler for binary set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare blob condition for sqlstate '02000'; -declare exit handler for blob set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob condition for sqlstate '02000'; -declare exit handler for blob set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare both condition for sqlstate '02000'; -declare exit handler for both set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both condition for sqlstate '02000'; -declare exit handler for both set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare by condition for sqlstate '02000'; -declare exit handler for by set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by condition for sqlstate '02000'; -declare exit handler for by set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare call condition for sqlstate '02000'; -declare exit handler for CALL set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call condition for sqlstate '02000'; -declare exit handler for CALL set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cascade condition for sqlstate '02000'; -declare exit handler for cascade set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade condition for sqlstate '02000'; -declare exit handler for cascade set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare case condition for sqlstate '02000'; -declare exit handler for case set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case condition for sqlstate '02000'; -declare exit handler for case set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare change condition for sqlstate '02000'; -declare exit handler for change set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change condition for sqlstate '02000'; -declare exit handler for change set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare char condition for sqlstate '02000'; -declare exit handler for char set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char condition for sqlstate '02000'; -declare exit handler for char set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare character condition for sqlstate '02000'; -declare exit handler for character set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character condition for sqlstate '02000'; -declare exit handler for character set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare check condition for sqlstate '02000'; -declare exit handler for check set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check condition for sqlstate '02000'; -declare exit handler for check set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare collate condition for sqlstate '02000'; -declare exit handler for collate set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate condition for sqlstate '02000'; -declare exit handler for collate set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare column condition for sqlstate '02000'; -declare exit handler for column set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column condition for sqlstate '02000'; -declare exit handler for column set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare condition condition for sqlstate '02000'; -declare exit handler for condition set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition condition for sqlstate '02000'; -declare exit handler for condition set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare connection condition for sqlstate '02000'; -declare exit handler for connection set @var2 = 1; -END// -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare constraint condition for sqlstate '02000'; -declare exit handler for constraint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint condition for sqlstate '02000'; -declare exit handler for constraint s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare continue condition for sqlstate '02000'; -declare exit handler for continue set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000'; -declare exit handler for continue set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare convert condition for sqlstate '02000'; -declare exit handler for convert set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000'; -declare exit handler for convert set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare create condition for sqlstate '02000'; -declare exit handler for create set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000'; -declare exit handler for create set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cross condition for sqlstate '02000'; -declare exit handler for cross set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000'; -declare exit handler for cross set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_date condition for sqlstate '02000'; -declare exit handler for current_date set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000'; -declare exit handler for current_da' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_time condition for sqlstate '02000'; -declare exit handler for current_time set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000'; -declare exit handler for current_ti' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_timestamp condition for sqlstate '02000'; -declare exit handler for current_timestamp set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000'; -declare exit handler for curre' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_user condition for sqlstate '02000'; -declare exit handler for current_user set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000'; -declare exit handler for current_us' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cursor condition for sqlstate '02000'; -declare exit handler for cursor set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor condition for sqlstate '02000'; -declare exit handler for cursor set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare database condition for sqlstate '02000'; -declare exit handler for database set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database condition for sqlstate '02000'; -declare exit handler for database set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare databases condition for sqlstate '02000'; -declare exit handler for databases set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases condition for sqlstate '02000'; -declare exit handler for databases set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_hour condition for sqlstate '02000'; -declare exit handler for day_hour set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour condition for sqlstate '02000'; -declare exit handler for day_hour set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_microsecond condition for sqlstate '02000'; -declare exit handler for day_microsecond set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000'; -declare exit handler for day_mic' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_minute condition for sqlstate '02000'; -declare exit handler for day_minute set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute condition for sqlstate '02000'; -declare exit handler for day_minute s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_second condition for sqlstate '02000'; -declare exit handler for day_second set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second condition for sqlstate '02000'; -declare exit handler for day_second s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare dec condition for sqlstate '02000'; -declare exit handler for dec set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec condition for sqlstate '02000'; -declare exit handler for dec set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal condition for sqlstate '02000'; -declare exit handler for decimal set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal condition for sqlstate '02000'; -declare exit handler for decimal set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare declare condition for sqlstate '02000'; -declare exit handler for declare set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare condition for sqlstate '02000'; -declare exit handler for declare set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare default condition for sqlstate '02000'; -declare exit handler for default set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default condition for sqlstate '02000'; -declare exit handler for default set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare delayed condition for sqlstate '02000'; -declare exit handler for delayed set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed condition for sqlstate '02000'; -declare exit handler for delayed set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare delete condition for sqlstate '02000'; -declare exit handler for delete set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete condition for sqlstate '02000'; -declare exit handler for delete set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare desc condition for sqlstate '02000'; -declare exit handler for desc set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc condition for sqlstate '02000'; -declare exit handler for desc set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare describe condition for sqlstate '02000'; -declare exit handler for describe set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe condition for sqlstate '02000'; -declare exit handler for describe set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare deterministic condition for sqlstate '02000'; -declare exit handler for deterministic set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic condition for sqlstate '02000'; -declare exit handler for determini' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare distinct condition for sqlstate '02000'; -declare exit handler for distinct set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct condition for sqlstate '02000'; -declare exit handler for distinct set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare distinctrow condition for sqlstate '02000'; -declare exit handler for distinctrow set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow condition for sqlstate '02000'; -declare exit handler for distinctrow' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare div condition for sqlstate '02000'; -declare exit handler for div set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div condition for sqlstate '02000'; -declare exit handler for div set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare double condition for sqlstate '02000'; -declare exit handler for double set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double condition for sqlstate '02000'; -declare exit handler for double set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare drop condition for sqlstate '02000'; -declare exit handler for drop set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop condition for sqlstate '02000'; -declare exit handler for drop set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare dual condition for sqlstate '02000'; -declare exit handler for dual set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual condition for sqlstate '02000'; -declare exit handler for dual set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare each condition for sqlstate '02000'; -declare exit handler for each set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each condition for sqlstate '02000'; -declare exit handler for each set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare else condition for sqlstate '02000'; -declare exit handler for else set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else condition for sqlstate '02000'; -declare exit handler for else set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare elseif condition for sqlstate '02000'; -declare exit handler for elseif set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif condition for sqlstate '02000'; -declare exit handler for elseif set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare enclosed condition for sqlstate '02000'; -declare exit handler for enclosed set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed condition for sqlstate '02000'; -declare exit handler for enclosed set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare escaped condition for sqlstate '02000'; -declare exit handler for escaped set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped condition for sqlstate '02000'; -declare exit handler for escaped set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare exists condition for sqlstate '02000'; -declare exit handler for exists set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists condition for sqlstate '02000'; -declare exit handler for exists set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare exit condition for sqlstate '02000'; -declare exit handler for exit set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000'; -declare exit handler for exit set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare explain condition for sqlstate '02000'; -declare exit handler for explain set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain condition for sqlstate '02000'; -declare exit handler for explain set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare false condition for sqlstate '02000'; -declare exit handler for false set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false condition for sqlstate '02000'; -declare exit handler for false set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare fetch condition for sqlstate '02000'; -declare exit handler for fetch set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch condition for sqlstate '02000'; -declare exit handler for fetch set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float condition for sqlstate '02000'; -declare exit handler for float set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float condition for sqlstate '02000'; -declare exit handler for float set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float4 condition for sqlstate '02000'; -declare exit handler for add set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 condition for sqlstate '02000'; -declare exit handler for add set @var2 = ' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float8 condition for sqlstate '02000'; -declare exit handler for add set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 condition for sqlstate '02000'; -declare exit handler for add set @var2 = ' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare for condition for sqlstate '02000'; -declare exit handler for for set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for condition for sqlstate '02000'; -declare exit handler for for set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare force condition for sqlstate '02000'; -declare exit handler for force set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force condition for sqlstate '02000'; -declare exit handler for force set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare foreign condition for sqlstate '02000'; -declare exit handler for foreign set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign condition for sqlstate '02000'; -declare exit handler for foreign set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare from condition for sqlstate '02000'; -declare exit handler for from set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from condition for sqlstate '02000'; -declare exit handler for from set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare fulltext condition for sqlstate '02000'; -declare exit handler for fulltext set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext condition for sqlstate '02000'; -declare exit handler for fulltext set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare grant condition for sqlstate '02000'; -declare exit handler for grant set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000'; -declare exit handler for grant set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare group condition for sqlstate '02000'; -declare exit handler for group set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group condition for sqlstate '02000'; -declare exit handler for group set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare having condition for sqlstate '02000'; -declare exit handler for having set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having condition for sqlstate '02000'; -declare exit handler for having set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare high_priority condition for sqlstate '02000'; -declare exit handler for high_priority set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority condition for sqlstate '02000'; -declare exit handler for high_prio' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_microsecond condition for sqlstate '02000'; -declare exit handler for hour_microsecond set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000'; -declare exit handler for hour_m' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_minute condition for sqlstate '02000'; -declare exit handler for hour_minute set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute condition for sqlstate '02000'; -declare exit handler for hour_minute' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_second condition for sqlstate '02000'; -declare exit handler for hour_second set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second condition for sqlstate '02000'; -declare exit handler for hour_second' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare if condition for sqlstate '02000'; -declare exit handler for if set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if condition for sqlstate '02000'; -declare exit handler for if set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare ignore condition for sqlstate '02000'; -declare exit handler for ignore set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore condition for sqlstate '02000'; -declare exit handler for ignore set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare in condition for sqlstate '02000'; -declare exit handler for in set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in condition for sqlstate '02000'; -declare exit handler for in set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare index condition for sqlstate '02000'; -declare exit handler for index set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index condition for sqlstate '02000'; -declare exit handler for index set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare infile condition for sqlstate '02000'; -declare exit handler for infile set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000'; -declare exit handler for infile set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare inner condition for sqlstate '02000'; -declare exit handler for inner set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner condition for sqlstate '02000'; -declare exit handler for inner set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare inout condition for sqlstate '02000'; -declare exit handler for inout set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout condition for sqlstate '02000'; -declare exit handler for inout set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare insensitive condition for sqlstate '02000'; -declare exit handler for insensitive set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive condition for sqlstate '02000'; -declare exit handler for insensitive' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare insert condition for sqlstate '02000'; -declare exit handler for insert set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert condition for sqlstate '02000'; -declare exit handler for insert set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int1 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int2 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int3 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int4 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int8 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1;' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare integer condition for sqlstate '02000'; -declare exit handler for integer set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer condition for sqlstate '02000'; -declare exit handler for integer set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare interval condition for sqlstate '02000'; -declare exit handler for interval set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval condition for sqlstate '02000'; -declare exit handler for interval set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare into condition for sqlstate '02000'; -declare exit handler for into set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into condition for sqlstate '02000'; -declare exit handler for into set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare is condition for sqlstate '02000'; -declare exit handler for is set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is condition for sqlstate '02000'; -declare exit handler for is set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare iterate condition for sqlstate '02000'; -declare exit handler for iterate set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate condition for sqlstate '02000'; -declare exit handler for iterate set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare join condition for sqlstate '02000'; -declare exit handler for join set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000'; -declare exit handler for join set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare key condition for sqlstate '02000'; -declare exit handler for key set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key condition for sqlstate '02000'; -declare exit handler for key set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare keys condition for sqlstate '02000'; -declare exit handler for keys set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys condition for sqlstate '02000'; -declare exit handler for keys set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare kill condition for sqlstate '02000'; -declare exit handler for kill set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill condition for sqlstate '02000'; -declare exit handler for kill set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare leading condition for sqlstate '02000'; -declare exit handler for leading set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading condition for sqlstate '02000'; -declare exit handler for leading set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare leave condition for sqlstate '02000'; -declare exit handler for leave set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave condition for sqlstate '02000'; -declare exit handler for leave set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare left condition for sqlstate '02000'; -declare exit handler for left set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left condition for sqlstate '02000'; -declare exit handler for left set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare like condition for sqlstate '02000'; -declare exit handler for like set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like condition for sqlstate '02000'; -declare exit handler for like set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare limit condition for sqlstate '02000'; -declare exit handler for limit set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000'; -declare exit handler for limit set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare linear condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear condition for sqlstate '02000'; -declare exit handler for int set @var2 = ' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare lines condition for sqlstate '02000'; -declare exit handler for lines set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines condition for sqlstate '02000'; -declare exit handler for lines set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare load condition for sqlstate '02000'; -declare exit handler for load set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load condition for sqlstate '02000'; -declare exit handler for load set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare localtime condition for sqlstate '02000'; -declare exit handler for localtime set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime condition for sqlstate '02000'; -declare exit handler for localtime set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare localtimestamp condition for sqlstate '02000'; -declare exit handler for localtimestamp set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000'; -declare exit handler for localtim' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare lock condition for sqlstate '02000'; -declare exit handler for lock set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock condition for sqlstate '02000'; -declare exit handler for lock set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare long condition for sqlstate '02000'; -declare exit handler for long set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long condition for sqlstate '02000'; -declare exit handler for long set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare longblob condition for sqlstate '02000'; -declare exit handler for longblob set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob condition for sqlstate '02000'; -declare exit handler for longblob set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare longtext condition for sqlstate '02000'; -declare exit handler for longtext set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000'; -declare exit handler for longtext set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare loop condition for sqlstate '02000'; -declare exit handler for loop set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop condition for sqlstate '02000'; -declare exit handler for loop set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare low_priority condition for sqlstate '02000'; -declare exit handler for low_priority set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority condition for sqlstate '02000'; -declare exit handler for low_priori' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare master_ssl_verify_server_cert condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert condition for sqlstate '02000'; -declare exit handl' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare match condition for sqlstate '02000'; -declare exit handler for match set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match condition for sqlstate '02000'; -declare exit handler for match set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumblob condition for sqlstate '02000'; -declare exit handler for mediumblob set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob condition for sqlstate '02000'; -declare exit handler for mediumblob s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumint condition for sqlstate '02000'; -declare exit handler for mediumint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint condition for sqlstate '02000'; -declare exit handler for mediumint set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare mediumtext condition for sqlstate '02000'; -declare exit handler for mediumtext set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext condition for sqlstate '02000'; -declare exit handler for mediumtext s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare middleint condition for sqlstate '02000'; -declare exit handler for middleint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint condition for sqlstate '02000'; -declare exit handler for middleint set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare minute_microsecond condition for sqlstate '02000'; -declare exit handler for minute_microsecond set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000'; -declare exit handler for minu' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare minute_second condition for sqlstate '02000'; -declare exit handler for minute_second set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second condition for sqlstate '02000'; -declare exit handler for minute_se' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare mod condition for sqlstate '02000'; -declare exit handler for mod set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod condition for sqlstate '02000'; -declare exit handler for mod set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare modifies condition for sqlstate '02000'; -declare exit handler for modifies set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies condition for sqlstate '02000'; -declare exit handler for modifies set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare natural condition for sqlstate '02000'; -declare exit handler for natural set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural condition for sqlstate '02000'; -declare exit handler for natural set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare not condition for sqlstate '02000'; -declare exit handler for not set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not condition for sqlstate '02000'; -declare exit handler for not set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare no_write_to_binlog condition for sqlstate '02000'; -declare exit handler for no_write_to_binlog set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000'; -declare exit handler for no_w' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare null condition for sqlstate '02000'; -declare exit handler for null set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000'; -declare exit handler for null set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare numeric condition for sqlstate '02000'; -declare exit handler for numeric set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric condition for sqlstate '02000'; -declare exit handler for numeric set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare on condition for sqlstate '02000'; -declare exit handler for on set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on condition for sqlstate '02000'; -declare exit handler for on set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare optimize condition for sqlstate '02000'; -declare exit handler for optimize set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize condition for sqlstate '02000'; -declare exit handler for optimize set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare option condition for sqlstate '02000'; -declare exit handler for option set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option condition for sqlstate '02000'; -declare exit handler for option set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare optionally condition for sqlstate '02000'; -declare exit handler for optionally set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally condition for sqlstate '02000'; -declare exit handler for optionally s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare or condition for sqlstate '02000'; -declare exit handler for or set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or condition for sqlstate '02000'; -declare exit handler for or set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare order condition for sqlstate '02000'; -declare exit handler for order set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000'; -declare exit handler for order set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare out condition for sqlstate '02000'; -declare exit handler for out set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out condition for sqlstate '02000'; -declare exit handler for out set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare outer condition for sqlstate '02000'; -declare exit handler for outer set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer condition for sqlstate '02000'; -declare exit handler for outer set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare outfile condition for sqlstate '02000'; -declare exit handler for outfile set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile condition for sqlstate '02000'; -declare exit handler for outfile set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare precision condition for sqlstate '02000'; -declare exit handler for precision set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision condition for sqlstate '02000'; -declare exit handler for precision set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare primary condition for sqlstate '02000'; -declare exit handler for primary set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary condition for sqlstate '02000'; -declare exit handler for primary set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare procedure condition for sqlstate '02000'; -declare exit handler for procedure set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure condition for sqlstate '02000'; -declare exit handler for procedure set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare purge condition for sqlstate '02000'; -declare exit handler for purge set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge condition for sqlstate '02000'; -declare exit handler for purge set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare range condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare read condition for sqlstate '02000'; -declare exit handler for read set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read condition for sqlstate '02000'; -declare exit handler for read set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare reads condition for sqlstate '02000'; -declare exit handler for reads set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads condition for sqlstate '02000'; -declare exit handler for reads set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare read_only condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int set @var2 = 1; -END' at line 4 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare read_write condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write condition for sqlstate '02000'; -declare exit handler for int set @var' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare real condition for sqlstate '02000'; -declare exit handler for real set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real condition for sqlstate '02000'; -declare exit handler for real set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare references condition for sqlstate '02000'; -declare exit handler for references set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references condition for sqlstate '02000'; -declare exit handler for references s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare regexp condition for sqlstate '02000'; -declare exit handler for regexp set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp condition for sqlstate '02000'; -declare exit handler for regexp set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare release condition for sqlstate '02000'; -declare exit handler for int set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release condition for sqlstate '02000'; -declare exit handler for int set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare rename condition for sqlstate '02000'; -declare exit handler for rename set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000'; -declare exit handler for rename set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare repeat condition for sqlstate '02000'; -declare exit handler for repeat set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat condition for sqlstate '02000'; -declare exit handler for repeat set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare replace condition for sqlstate '02000'; -declare exit handler for replace set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace condition for sqlstate '02000'; -declare exit handler for replace set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare require condition for sqlstate '02000'; -declare exit handler for require set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require condition for sqlstate '02000'; -declare exit handler for require set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare restrict condition for sqlstate '02000'; -declare exit handler for restrict set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict condition for sqlstate '02000'; -declare exit handler for restrict set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare return condition for sqlstate '02000'; -declare exit handler for return set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return condition for sqlstate '02000'; -declare exit handler for return set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare revoke condition for sqlstate '02000'; -declare exit handler for revoke set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke condition for sqlstate '02000'; -declare exit handler for revoke set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare right condition for sqlstate '02000'; -declare exit handler for right set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right condition for sqlstate '02000'; -declare exit handler for right set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare rlike condition for sqlstate '02000'; -declare exit handler for rlike set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike condition for sqlstate '02000'; -declare exit handler for rlike set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare schema condition for sqlstate '02000'; -declare exit handler for schema set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000'; -declare exit handler for schema set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare schemas condition for sqlstate '02000'; -declare exit handler for schemas set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas condition for sqlstate '02000'; -declare exit handler for schemas set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare second_microsecond condition for sqlstate '02000'; -declare exit handler for second_microsecond set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000'; -declare exit handler for seco' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare select condition for sqlstate '02000'; -declare exit handler for SELECT set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select condition for sqlstate '02000'; -declare exit handler for SELECT set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sensitive condition for sqlstate '02000'; -declare exit handler for sensitive set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive condition for sqlstate '02000'; -declare exit handler for sensitive set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare separator condition for sqlstate '02000'; -declare exit handler for separator set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator condition for sqlstate '02000'; -declare exit handler for separator set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare set condition for sqlstate '02000'; -declare exit handler for set set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set condition for sqlstate '02000'; -declare exit handler for set set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare show condition for sqlstate '02000'; -declare exit handler for show set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show condition for sqlstate '02000'; -declare exit handler for show set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare smallint condition for sqlstate '02000'; -declare exit handler for smallint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000'; -declare exit handler for smallint set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare spatial condition for sqlstate '02000'; -declare exit handler for spatial set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial condition for sqlstate '02000'; -declare exit handler for spatial set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare specific condition for sqlstate '02000'; -declare exit handler for specific set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific condition for sqlstate '02000'; -declare exit handler for specific set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sql condition for sqlstate '02000'; -declare exit handler for sql set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql condition for sqlstate '02000'; -declare exit handler for sql set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sqlexception condition for sqlstate '02000'; -declare exit handler for sqlexception set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception condition for sqlstate '02000'; -declare exit handler for sqlexcepti' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sqlstate condition for sqlstate '02000'; -declare exit handler for sqlstate set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate condition for sqlstate '02000'; -declare exit handler for sqlstate set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sqlwarning condition for sqlstate '02000'; -declare exit handler for sqlwarning set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000'; -declare exit handler for sqlwarning s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sql_big_result condition for sqlstate '02000'; -declare exit handler for sql_big_result set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000'; -declare exit handler for sql_big_' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sql_calc_found_rows condition for sqlstate '02000'; -declare exit handler for sql_calc_found_rows set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000'; -declare exit handler for sql' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare sql_small_result condition for sqlstate '02000'; -declare exit handler for sql_small_result set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000'; -declare exit handler for sql_sm' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare ssl condition for sqlstate '02000'; -declare exit handler for ssl set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl condition for sqlstate '02000'; -declare exit handler for ssl set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare starting condition for sqlstate '02000'; -declare exit handler for starting set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting condition for sqlstate '02000'; -declare exit handler for starting set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare straight_join condition for sqlstate '02000'; -declare exit handler for straight_join set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join condition for sqlstate '02000'; -declare exit handler for straight_' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare table condition for sqlstate '02000'; -declare exit handler for table set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table condition for sqlstate '02000'; -declare exit handler for table set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare terminated condition for sqlstate '02000'; -declare exit handler for terminated set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated condition for sqlstate '02000'; -declare exit handler for terminated s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare then condition for sqlstate '02000'; -declare exit handler for then set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then condition for sqlstate '02000'; -declare exit handler for then set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyblob condition for sqlstate '02000'; -declare exit handler for tinyblob set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000'; -declare exit handler for tinyblob set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare tinyint condition for sqlstate '02000'; -declare exit handler for tinyint set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint condition for sqlstate '02000'; -declare exit handler for tinyint set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare tinytext condition for sqlstate '02000'; -declare exit handler for tinytext set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext condition for sqlstate '02000'; -declare exit handler for tinytext set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare to condition for sqlstate '02000'; -declare exit handler for to set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to condition for sqlstate '02000'; -declare exit handler for to set @var2 = 1; -EN' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare trailing condition for sqlstate '02000'; -declare exit handler for trailing set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing condition for sqlstate '02000'; -declare exit handler for trailing set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare trigger condition for sqlstate '02000'; -declare exit handler for trigger set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger condition for sqlstate '02000'; -declare exit handler for trigger set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare true condition for sqlstate '02000'; -declare exit handler for true set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true condition for sqlstate '02000'; -declare exit handler for true set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare undo condition for sqlstate '02000'; -declare exit handler for undo set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo condition for sqlstate '02000'; -declare exit handler for undo set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare union condition for sqlstate '02000'; -declare exit handler for union set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000'; -declare exit handler for union set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare unique condition for sqlstate '02000'; -declare exit handler for unique set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique condition for sqlstate '02000'; -declare exit handler for unique set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare unlock condition for sqlstate '02000'; -declare exit handler for unlock set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock condition for sqlstate '02000'; -declare exit handler for unlock set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare unsigned condition for sqlstate '02000'; -declare exit handler for unsigned set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned condition for sqlstate '02000'; -declare exit handler for unsigned set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare update condition for sqlstate '02000'; -declare exit handler for update set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update condition for sqlstate '02000'; -declare exit handler for update set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare usage condition for sqlstate '02000'; -declare exit handler for usage set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage condition for sqlstate '02000'; -declare exit handler for usage set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare use condition for sqlstate '02000'; -declare exit handler for USE set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use condition for sqlstate '02000'; -declare exit handler for USE set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare using condition for sqlstate '02000'; -declare exit handler for using set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using condition for sqlstate '02000'; -declare exit handler for using set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare utc_date condition for sqlstate '02000'; -declare exit handler for utc_date set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000'; -declare exit handler for utc_date set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare utc_time condition for sqlstate '02000'; -declare exit handler for utc_time set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time condition for sqlstate '02000'; -declare exit handler for utc_time set @' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare utc_timestamp condition for sqlstate '02000'; -declare exit handler for utc_timestamp set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000'; -declare exit handler for utc_times' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare values condition for sqlstate '02000'; -declare exit handler for values set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values condition for sqlstate '02000'; -declare exit handler for values set @var2' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare varbinary condition for sqlstate '02000'; -declare exit handler for varbinary set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary condition for sqlstate '02000'; -declare exit handler for varbinary set' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare varchar condition for sqlstate '02000'; -declare exit handler for varchar set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar condition for sqlstate '02000'; -declare exit handler for varchar set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare varcharacter condition for sqlstate '02000'; -declare exit handler for varcharacter set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter condition for sqlstate '02000'; -declare exit handler for varcharact' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare varying condition for sqlstate '02000'; -declare exit handler for varying set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying condition for sqlstate '02000'; -declare exit handler for varying set @va' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare when condition for sqlstate '02000'; -declare exit handler for when set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when condition for sqlstate '02000'; -declare exit handler for when set @var2 = 1' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare where condition for sqlstate '02000'; -declare exit handler for where set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000'; -declare exit handler for where set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare while condition for sqlstate '02000'; -declare exit handler for while set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while condition for sqlstate '02000'; -declare exit handler for while set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare with condition for sqlstate '02000'; -declare exit handler for with set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000'; -declare exit handler for with set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare write condition for sqlstate '02000'; -declare exit handler for write set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write condition for sqlstate '02000'; -declare exit handler for write set @var2 =' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare xor condition for sqlstate '02000'; -declare exit handler for xor set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor condition for sqlstate '02000'; -declare exit handler for xor set @var2 = 1; -' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare year_month condition for sqlstate '02000'; -declare exit handler for year_month set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month condition for sqlstate '02000'; -declare exit handler for year_month s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare zerofill condition for sqlstate '02000'; -declare exit handler for zerofill set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill condition for sqlstate '02000'; -declare exit handler for zerofill set @' at line 3 - -Testcase : ----------- -Ensure that every possible type of handler may be declared for -a stored procedure (continue- handler_type ). --------------------------------------------------------------------------------- -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1() -BEGIN -declare continue handler for sqlstate '23000' set @x2 = 1; -set @x = 1; -insert into t2(f1) values (1); -set @x = 2; -insert into t2(f1) values (1); -set @x = 3; -END// -CALL sp1(); -DROP PROCEDURE sp1; -DROP PROCEDURE IF EXISTS handler1; -Warnings: -Note 1305 PROCEDURE db_storedproc.handler1 does not exist -CREATE PROCEDURE handler1() -BEGIN -declare undo handler for sqlstate '23000' set @x2 = 1; -set @x = 1; -insert into t values (1); -set @x = 2; -insert into t values (1); -set @x = 3; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1; -set @x = 1; -insert into t values ' at line 3 -DROP PROCEDURE IF EXISTS handler1; -Warnings: -Note 1305 PROCEDURE db_storedproc.handler1 does not exist -CREATE PROCEDURE handler1() -BEGIN -declare continueinv handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -set @x = 2; -insert into t values (1); -set @x = 3; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -s' at line 3 -DROP PROCEDURE IF EXISTS handler1; -Warnings: -Note 1305 PROCEDURE db_storedproc.handler1 does not exist -CREATE PROCEDURE handler1() -BEGIN -declare undoinv handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -set @x = 2; -insert into t values (1); -set @x = 3; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -s' at line 3 -DROP PROCEDURE IF EXISTS handler1; -Warnings: -Note 1305 PROCEDURE db_storedproc.handler1 does not exist -CREATE PROCEDURE handler1 () -BEGIN -declare exitinv handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -set @x = 2; -insert into t values (1); -set @x = 3; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1; -set @x = 1; -insert into t values (1); -s' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare accessible handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare add handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare all handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare alter handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare analyze handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare and handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare as handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare asc handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare asensitive handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare before handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare between handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare bigint handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare binary handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare blob handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare both handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare by handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare call handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cascade handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare case handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare change handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare char handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare character handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare check handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare collate handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare column handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare condition handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare constraint handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare continue handler for sqlstate '02000' set @var2 = 1; -END// -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare convert handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare create handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cross handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_date handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_time handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_timestamp handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare current_user handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare cursor handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare database handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare databases handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_hour handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_microsecond handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_minute handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare day_second handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare dec handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare decimal handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare declare handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare default handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare delayed handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare delete handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare desc handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare describe handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare deterministic handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare distinct handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare distinctrow handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare div handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare double handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare drop handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare dual handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare each handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare else handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare elseif handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare enclosed handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare escaped handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare exists handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare exit handler for sqlstate '02000' set @var2 = 1; -END// -DROP PROCEDURE IF EXISTS sp1; -CREATE PROCEDURE sp1( ) -BEGIN -declare explain handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare false handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare fetch handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float4 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare float8 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare for handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare force handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare foreign handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare from handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare fulltext handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare grant handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare group handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare having handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare high_priority handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_microsecond handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_minute handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare hour_second handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare if handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare ignore handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare in handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare index handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare infile handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare inner handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare inout handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare insensitive handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare insert handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int1 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int2 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int3 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int4 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare int8 handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare integer handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare interval handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare into handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare is handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare iterate handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare join handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare key handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare keys handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare kill handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare leading handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare leave handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare left handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare like handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare limit handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare linear handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare lines handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare load handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare localtime handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare localtimestamp handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare lock handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare long handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1; -END' at line 3 -DROP PROCEDURE IF EXISTS sp1; -Warnings: -Note 1305 PROCEDURE db_storedproc.sp1 does not exist -CREATE PROCEDURE sp1( ) -BEGIN -declare longblob handler for sqlstate '02000' set @var2 = 1; -END// -ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1; -END' at