#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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/std_data_ln/funcs_1/t4.txt' into table t2;
-create table t3(f1 char(20),f2 char(20),f3 integer) engine = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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 = <engine_to_be_tested>;
-load data infile '<MYSQLTEST_VARDIR>/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; ch