summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alff <marc.alff@sun.com>2008-10-07 20:19:32 -0600
committerMarc Alff <marc.alff@sun.com>2008-10-07 20:19:32 -0600
commit9846ab0a70241945f59e1f474137546dcbd66ed8 (patch)
tree9e65beac58210790fbf0cd244af79793fbe044c3
parent3d514511436f5f9f8ab28a1223e06e59fbc58cc1 (diff)
parent4d7ad72e52db47b6d8364c34dbfb206c40cb4aad (diff)
downloadmariadb-git-9846ab0a70241945f59e1f474137546dcbd66ed8.tar.gz
Merge 5.1-bugteam -> local bugfix branch
-rw-r--r--configure.in34
-rw-r--r--mysql-test/extra/binlog_tests/binlog.test39
-rw-r--r--mysql-test/extra/binlog_tests/blackhole.test9
-rw-r--r--mysql-test/extra/rpl_tests/rpl_blackhole.test32
-rw-r--r--mysql-test/include/mix1.inc1
-rw-r--r--mysql-test/lib/mtr_report.pl2
-rw-r--r--mysql-test/r/ctype_cp932_binlog_stm.result6
-rw-r--r--mysql-test/r/federated_bug_25714.result7
-rw-r--r--mysql-test/r/func_group.result37
-rw-r--r--mysql-test/r/innodb-semi-consistent.result2
-rw-r--r--mysql-test/r/innodb.result17
-rw-r--r--mysql-test/r/innodb_mysql.result1
-rw-r--r--mysql-test/r/join.result8
-rw-r--r--mysql-test/r/log_basic.result4
-rw-r--r--mysql-test/r/log_bin_trust_routine_creators_basic.result26
-rw-r--r--mysql-test/r/log_state.result28
-rw-r--r--mysql-test/r/partition.result93
-rw-r--r--mysql-test/r/slow_launch_time_func.result40
-rw-r--r--mysql-test/r/trigger-trans.result29
-rw-r--r--mysql-test/r/tx_isolation_func.result2
-rw-r--r--mysql-test/r/warnings.result2
-rw-r--r--mysql-test/suite/binlog/r/binlog_multi_engine.result11
-rw-r--r--mysql-test/suite/binlog/r/binlog_row_binlog.result47
-rw-r--r--mysql-test/suite/binlog/r/binlog_stm_binlog.result50
-rw-r--r--mysql-test/suite/binlog/r/binlog_stm_blackhole.result1
-rw-r--r--mysql-test/suite/binlog/t/binlog_multi_engine.test7
-rw-r--r--mysql-test/suite/funcs_1/r/memory_storedproc.result23608
-rw-r--r--mysql-test/suite/funcs_1/r/myisam_storedproc.result23608
-rw-r--r--mysql-test/suite/funcs_1/r/ndb_storedproc.result23607
-rw-r--r--mysql-test/suite/funcs_1/r/storedproc.result (renamed from mysql-test/suite/funcs_1/r/innodb_storedproc.result)3159
-rw-r--r--mysql-test/suite/funcs_1/storedproc/param_check.inc33
-rw-r--r--mysql-test/suite/funcs_1/t/innodb_storedproc.test13
-rw-r--r--mysql-test/suite/funcs_1/t/memory_storedproc.test13
-rw-r--r--mysql-test/suite/funcs_1/t/myisam_storedproc.test13
-rw-r--r--mysql-test/suite/funcs_1/t/ndb_storedproc.test13
-rw-r--r--mysql-test/suite/funcs_1/t/storedproc.test (renamed from mysql-test/suite/funcs_1/storedproc/storedproc_master.inc)536
-rw-r--r--mysql-test/suite/funcs_1/views/func_view.inc8
-rw-r--r--mysql-test/suite/ndb/t/disabled.def1
-rw-r--r--mysql-test/suite/parts/inc/partition_auto_increment.inc600
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_archive.result747
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_blackhole.result570
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_innodb.result747
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_memory.result775
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_myisam.result794
-rw-r--r--mysql-test/suite/parts/r/partition_auto_increment_ndb.result769
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_archive.test40
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_blackhole.test35
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_innodb.test35
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_memory.test34
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_myisam.test34
-rw-r--r--mysql-test/suite/parts/t/partition_auto_increment_ndb.test41
-rw-r--r--mysql-test/suite/rpl/r/rpl_blackhole.result100
-rw-r--r--mysql-test/suite/rpl/r/rpl_sp.result6
-rw-r--r--mysql-test/suite/rpl/r/rpl_temporary.result3
-rw-r--r--mysql-test/suite/rpl/t/disabled.def1
-rw-r--r--mysql-test/suite/rpl/t/rpl_blackhole.test80
-rw-r--r--mysql-test/suite/rpl/t/rpl_temporary.test2
-rw-r--r--mysql-test/t/federated_bug_25714.test12
-rw-r--r--mysql-test/t/func_group.test40
-rw-r--r--mysql-test/t/innodb-semi-consistent.test2
-rw-r--r--mysql-test/t/innodb.test17
-rw-r--r--mysql-test/t/join.test4
-rw-r--r--mysql-test/t/log_basic.test4
-rw-r--r--mysql-test/t/log_state.test26
-rw-r--r--mysql-test/t/partition.test76
-rw-r--r--mysql-test/t/slow_launch_time_func.test129
-rw-r--r--mysql-test/t/trigger-trans.test15
-rw-r--r--mysql-test/t/tx_isolation_func.test2
-rw-r--r--sql/ha_partition.cc391
-rw-r--r--sql/ha_partition.h62
-rw-r--r--sql/handler.cc27
-rw-r--r--sql/handler.h21
-rw-r--r--sql/item.cc9
-rw-r--r--sql/item.h2
-rw-r--r--sql/log.cc5
-rw-r--r--sql/log_event.cc19
-rw-r--r--sql/mysqld.cc60
-rw-r--r--sql/opt_range.cc8
-rw-r--r--sql/partition_info.h5
-rw-r--r--sql/set_var.cc17
-rw-r--r--sql/sp_head.cc3
-rw-r--r--sql/sql_class.h3
-rw-r--r--sql/sql_partition.cc283
-rw-r--r--sql/sql_select.cc11
-rw-r--r--sql/table.h4
-rw-r--r--storage/blackhole/ha_blackhole.cc31
-rw-r--r--storage/blackhole/ha_blackhole.h7
-rw-r--r--support-files/my-huge.cnf.sh3
-rw-r--r--support-files/my-innodb-heavy-4G.cnf.sh3
-rw-r--r--support-files/my-large.cnf.sh3
-rw-r--r--support-files/my-medium.cnf.sh3
-rw-r--r--support-files/my-small.cnf.sh3
92 files changed, 9442 insertions, 72428 deletions
diff --git a/configure.in b/configure.in
index 6ef3ce2c6b7..c75bd617f8f 100644
--- a/configure.in
+++ b/configure.in
@@ -455,46 +455,50 @@ fi
AC_SUBST(ABI_CHECK)
-# Lock for PS
+# Look for PS usage. We use double dollar-signs in FIND_PROC because this
+# value is written to a makefile, which interprets away one level of
+# dollar-signs. So, interpretation stages are m4 and then shell in autoconf,
+# then Make, then shell. The autoconf substitution uses single quotes, so
+# no unprotected single quotes should appear in the expression.
AC_PATH_PROG(PS, ps, ps)
AC_MSG_CHECKING("how to check if pid exists")
PS=$ac_cv_path_PS
# Linux style
-if $PS p $$ 2> /dev/null | grep `echo $0 | sed s/\-//` > /dev/null
+if $PS wwwp $$ 2> /dev/null | grep -- "$0" > /dev/null
then
- FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ FIND_PROC="$PS wwwp \$\$PID | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" > /dev/null"
# Solaris
-elif $PS -fp $$ 2> /dev/null | grep $0 > /dev/null
+elif $PS -fp $$ 2> /dev/null | grep -- $0 > /dev/null
then
- FIND_PROC="$PS -p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ FIND_PROC="$PS -p \$\$PID | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" > /dev/null"
# BSD style
-elif $PS -uaxww 2> /dev/null | grep $0 > /dev/null
+elif $PS -uaxww 2> /dev/null | grep -- $0 > /dev/null
then
- FIND_PROC="$PS -uaxww | grep -v grep | grep \$\$MYSQLD | grep \" \$\$PID \" > /dev/null"
+ FIND_PROC="$PS -uaxww | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" | grep \" \$\$PID \" > /dev/null"
# SysV style
-elif $PS -ef 2> /dev/null | grep $0 > /dev/null
+elif $PS -ef 2> /dev/null | grep -- $0 > /dev/null
then
- FIND_PROC="$PS -ef | grep -v grep | grep \$\$MYSQLD | grep \" \$\$PID \" > /dev/null"
+ FIND_PROC="$PS -ef | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" | grep \" \$\$PID \" > /dev/null"
# Do anybody use this?
-elif $PS $$ 2> /dev/null | grep $0 > /dev/null
+elif $PS $$ 2> /dev/null | grep -- $0 > /dev/null
then
- FIND_PROC="$PS \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ FIND_PROC="$PS \$\$PID | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" > /dev/null"
else
case $SYSTEM_TYPE in
*freebsd*|*dragonfly*)
- FIND_PROC="$PS p \$\$PID | grep -v grep | grep \$\$MYSQLD > /dev/null"
+ FIND_PROC="$PS p \$\$PID | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" > /dev/null"
;;
*darwin*)
- FIND_PROC="$PS -uaxww | grep -v grep | grep \$\$MYSQLD | grep \" \$\$PID \" > /dev/null"
+ FIND_PROC="$PS -uaxww | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" | grep \" \$\$PID \" > /dev/null"
;;
*cygwin*)
- FIND_PROC="$PS -e | grep -v grep | grep \$\$MYSQLD | grep \" \$\$PID \" > /dev/null"
+ FIND_PROC="$PS -e | grep -v \" grep\" | grep -v mysqld_safe | grep -- \"\$\$MYSQLD\" | grep \" \$\$PID \" > /dev/null"
;;
*netware*)
FIND_PROC=
;;
*)
- AC_MSG_ERROR([Could not find the right ps switches. Which OS is this ?. See the Installation chapter in the Reference Manual.])
+ AC_MSG_ERROR([Could not find the right ps and/or grep switches. Which OS is this? See the Installation chapter in the Reference Manual.])
esac
fi
AC_SUBST(FIND_PROC)
diff --git a/mysql-test/extra/binlog_tests/binlog.test b/mysql-test/extra/binlog_tests/binlog.test
index 48fc5a81c7b..98bd116ba29 100644
--- a/mysql-test/extra/binlog_tests/binlog.test
+++ b/mysql-test/extra/binlog_tests/binlog.test
@@ -125,6 +125,45 @@ drop table t1;
--replace_regex /\/\* xid=.* \*\//\/* XID *\// /table_id: [0-9]+/table_id: #/ /Server ver: [^,]*,/Server version,/
show binlog events from 0;
+
+#
+# Bug #39182: Binary log producing incompatible character set query from
+# stored procedure.
+#
+reset master;
+CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
+USE bug39182;
+CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
+ DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+
+DELIMITER //;
+
+CREATE PROCEDURE p1()
+BEGIN
+ DECLARE s1 VARCHAR(255);
+ SET s1= "test";
+ CREATE TEMPORARY TABLE tmp1
+ SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
+ SELECT
+ COLLATION(NAME_CONST('s1', _utf8'test')) c1,
+ COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
+ COLLATION(s1) c3,
+ COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
+ COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
+ COERCIBILITY(s1) d3;
+ DROP TEMPORARY TABLE tmp1;
+END//
+
+DELIMITER ;//
+
+CALL p1();
+source include/show_binlog_events.inc;
+
+DROP PROCEDURE p1;
+DROP TABLE t1;
+DROP DATABASE bug39182;
+USE test;
+
--echo End of 5.0 tests
# Test of a too big SET INSERT_ID: see if the truncated value goes
diff --git a/mysql-test/extra/binlog_tests/blackhole.test b/mysql-test/extra/binlog_tests/blackhole.test
index 2d63ae27aa3..e8671ed2da0 100644
--- a/mysql-test/extra/binlog_tests/blackhole.test
+++ b/mysql-test/extra/binlog_tests/blackhole.test
@@ -139,15 +139,6 @@ drop table t1,t2,t3;
# table
#
CREATE TABLE t1(a INT) ENGINE=BLACKHOLE;
-# NOTE: After exchanging open_ltable() by open_and_lock_tables() in
-# handle_delayed_insert() to fix problems with MERGE tables (Bug#26379),
-# problems with INSERT DELAYED and BLACKHOLE popped up. open_ltable()
-# does not check if the binlogging capabilities of the statement and the
-# table match. So the below used to succeed. But since INSERT DELAYED
-# switches to row-based logging in mixed-mode and BLACKHOLE cannot do
-# row-based logging, it could not really work. Until this problem is
-# correctly fixed, we have that error here.
---error ER_BINLOG_LOGGING_IMPOSSIBLE
INSERT DELAYED INTO t1 VALUES(1);
DROP TABLE t1;
diff --git a/mysql-test/extra/rpl_tests/rpl_blackhole.test b/mysql-test/extra/rpl_tests/rpl_blackhole.test
new file mode 100644
index 00000000000..1a0eeb3cf15
--- /dev/null
+++ b/mysql-test/extra/rpl_tests/rpl_blackhole.test
@@ -0,0 +1,32 @@
+# Check replication of one statement assuming that the engine on the
+# slave is a blackhole engine.
+
+# Input:
+# $statement Statement to evaluate, it is assumed to change t1
+
+# 1. Evaluate statement on master, it is assumed to change t1
+# 2. Wait for statement to be processed on slave
+# 3. SELECT from table t1 to see what was written
+# 4. Compare position on slave before executing statement and after
+# executing statement. If difference is >0, then something was
+# written to the binary log on the slave.
+
+connection slave;
+let $before = query_get_value("SHOW MASTER STATUS", Position, 1);
+
+--echo [on master]
+connection master;
+eval $statement;
+
+--echo [on slave]
+sync_slave_with_master;
+--echo # Expect 0
+SELECT COUNT(*) FROM t1;
+let $after = query_get_value("SHOW MASTER STATUS", Position, 1);
+let $something_written = `select $after - $before != 0`;
+if ($something_written) {
+ --echo >>> Something was written to binary log <<<
+}
+if (!$something_written) {
+ --echo >>> Nothing was written to binary log <<<
+}
diff --git a/mysql-test/include/mix1.inc b/mysql-test/include/mix1.inc
index f4e9cf74b72..d2332edd5dc 100644
--- a/mysql-test/include/mix1.inc
+++ b/mysql-test/include/mix1.inc
@@ -1256,6 +1256,7 @@ connect (con1,localhost,root,,);
connect (con2,localhost,root,,);
SET SESSION AUTOCOMMIT = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
+set binlog_format=mixed;
--echo # Switch to connection con1
connection con1;
diff --git a/mysql-test/lib/mtr_report.pl b/mysql-test/lib/mtr_report.pl
index 3d593697ef6..3c78c3ca064 100644
--- a/mysql-test/lib/mtr_report.pl
+++ b/mysql-test/lib/mtr_report.pl
@@ -312,7 +312,7 @@ sub mtr_report_stats ($) {
/Slave: According to the master's version/ or
/Slave: Column [0-9]* type mismatch/ or
/Slave: Error .* doesn't exist/ or
- /Slave: Error .*Deadlock found/ or
+ /Slave: Deadlock found/ or
/Slave: Error .*Unknown table/ or
/Slave: Error in Write_rows event: / or
/Slave: Field .* of table .* has no default value/ or
diff --git a/mysql-test/r/ctype_cp932_binlog_stm.result b/mysql-test/r/ctype_cp932_binlog_stm.result
index ff6957202d7..0cd2d395ebc 100644
--- a/mysql-test/r/ctype_cp932_binlog_stm.result
+++ b/mysql-test/r/ctype_cp932_binlog_stm.result
@@ -40,9 +40,9 @@ IN ind DECIMAL(10,2))
BEGIN
INSERT INTO t4 VALUES (ins1, ins2, ind);
END
-master-bin.000001 784 Query 1 992 use `test`; INSERT INTO t4 VALUES ( NAME_CONST('ins1',_latin1 0x466F6F2773206120426172), NAME_CONST('ins2',_cp932 0xED40ED41ED42), NAME_CONST('ind',47.93))
-master-bin.000001 992 Query 1 1081 use `test`; DROP PROCEDURE bug18293
-master-bin.000001 1081 Query 1 1160 use `test`; DROP TABLE t4
+master-bin.000001 784 Query 1 1048 use `test`; INSERT INTO t4 VALUES ( NAME_CONST('ins1',_latin1 0x466F6F2773206120426172 COLLATE 'latin1_swedish_ci'), NAME_CONST('ins2',_cp932 0xED40ED41ED42 COLLATE 'cp932_japanese_ci'), NAME_CONST('ind',47.93))
+master-bin.000001 1048 Query 1 1137 use `test`; DROP PROCEDURE bug18293
+master-bin.000001 1137 Query 1 1216 use `test`; DROP TABLE t4
End of 5.0 tests
SHOW BINLOG EVENTS FROM 364;
ERROR HY000: Error when executing command SHOW BINLOG EVENTS: Wrong offset or I/O error
diff --git a/mysql-test/r/federated_bug_25714.result b/mysql-test/r/federated_bug_25714.result
index cad487ec791..5730eedc246 100644
--- a/mysql-test/r/federated_bug_25714.result
+++ b/mysql-test/r/federated_bug_25714.result
@@ -9,7 +9,9 @@ DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
DROP DATABASE IF EXISTS federated;
CREATE DATABASE federated;
-SET @OLD_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
+SET @OLD_MASTER_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
+SET @@GLOBAL.CONCURRENT_INSERT= 0;
+SET @OLD_SLAVE_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
DROP TABLE IF EXISTS federated.bug_13118_table;
CREATE TABLE federated.t1 (
@@ -51,9 +53,10 @@ id value
7 54
8 55
DROP TABLE federated.t1;
+SET @@GLOBAL.CONCURRENT_INSERT= @OLD_MASTER_CONCURRENT_INSERT;
DROP TABLE federated.t1;
+SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
DROP TABLE IF EXISTS federated.t1;
DROP DATABASE IF EXISTS federated;
-SET @@GLOBAL.CONCURRENT_INSERT= @OLD_CONCURRENT_INSERT;
diff --git a/mysql-test/r/func_group.result b/mysql-test/r/func_group.result
index c198176532f..fd9cf69907c 100644
--- a/mysql-test/r/func_group.result
+++ b/mysql-test/r/func_group.result
@@ -1416,4 +1416,41 @@ SELECT AVG(a), CAST(AVG(a) AS DECIMAL) FROM t1;
AVG(a) CAST(AVG(a) AS DECIMAL)
15 15
DROP TABLE t1;
+CREATE TABLE derived1 (a bigint(21));
+INSERT INTO derived1 VALUES (2);
+CREATE TABLE D (
+pk int(11) NOT NULL AUTO_INCREMENT,
+int_nokey int(11) DEFAULT NULL,
+int_key int(11) DEFAULT NULL,
+filler blob,
+PRIMARY KEY (pk),
+KEY int_key (int_key)
+);
+INSERT INTO D VALUES
+(39,40,4,repeat(' X', 42)),
+(43,56,4,repeat(' X', 42)),
+(47,12,4,repeat(' X', 42)),
+(71,28,4,repeat(' X', 42)),
+(76,54,4,repeat(' X', 42)),
+(83,45,4,repeat(' X', 42)),
+(105,53,12,NULL);
+SELECT
+(SELECT COUNT( int_nokey )
+FROM derived1 AS X
+WHERE
+X.int_nokey < 61
+GROUP BY pk
+LIMIT 1)
+FROM D AS X
+WHERE X.int_key < 13
+GROUP BY int_nokey LIMIT 1;
+(SELECT COUNT( int_nokey )
+FROM derived1 AS X
+WHERE
+X.int_nokey < 61
+GROUP BY pk
+LIMIT 1)
+1
+DROP TABLE derived1;
+DROP TABLE D;
End of 5.0 tests
diff --git a/mysql-test/r/innodb-semi-consistent.result b/mysql-test/r/innodb-semi-consistent.result
index f1139390f20..6173048c320 100644
--- a/mysql-test/r/innodb-semi-consistent.result
+++ b/mysql-test/r/innodb-semi-consistent.result
@@ -1,4 +1,5 @@
drop table if exists t1;
+set binlog_format=mixed;
set session transaction isolation level read committed;
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
@@ -6,6 +7,7 @@ set autocommit=0;
select * from t1 where a=3 lock in share mode;
a
3
+set binlog_format=mixed;
set session transaction isolation level read committed;
set autocommit=0;
update t1 set a=10 where a=5;
diff --git a/mysql-test/r/innodb.result b/mysql-test/r/innodb.result
index 84760e1720c..5f8c59b9a0c 100644
--- a/mysql-test/r/innodb.result
+++ b/mysql-test/r/innodb.result
@@ -1024,6 +1024,7 @@ id code name
4 2 Erik
5 3 Sasha
COMMIT;
+SET binlog_format='MIXED';
BEGIN;
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
insert into t1 (code, name) values (3, 'Jeremy'), (4, 'Matt');
@@ -2961,9 +2962,11 @@ drop table t1,t2;
create table t1(a int not null, b int, primary key(a)) engine=innodb;
insert into t1 values(1,1),(2,2),(3,1),(4,2),(5,1),(6,2),(7,3);
commit;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
update t1 set b = 5 where b = 1;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
select * from t1 where a = 7 and b = 3 for update;
@@ -3002,6 +3005,7 @@ d e
3 1
8 6
12 1
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
insert into t1 select * from t2;
@@ -3032,30 +3036,39 @@ a b
3 1
8 6
12 1
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
insert into t1 select * from t2;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
update t3 set b = (select b from t2 where a = d);
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
create table t4(a int not null, b int, primary key(a)) engine=innodb select * from t2;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
insert into t5 (select * from t2 lock in share mode);
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
update t6 set e = (select b from t2 where a = d lock in share mode);
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
create table t7(a int not null, b int, primary key(a)) engine=innodb select * from t2 lock in share mode;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
insert into t8 (select * from t2 for update);
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
update t9 set e = (select b from t2 where a = d for update);
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
create table t10(a int not null, b int, primary key(a)) engine=innodb select * from t2 for update;
@@ -3202,6 +3215,7 @@ id
-10
1
DROP TABLE t1;
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
DROP TABLE IF EXISTS t1, t2;
@@ -3212,6 +3226,7 @@ CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
CREATE TABLE t2 LIKE t1;
SELECT * FROM t2;
a
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
INSERT INTO t1 VALUES (1);
@@ -3219,10 +3234,12 @@ COMMIT;
SELECT * FROM t1 WHERE a=1;
a
1
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
SELECT * FROM t2;
a
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
INSERT INTO t1 VALUES (2);
diff --git a/mysql-test/r/innodb_mysql.result b/mysql-test/r/innodb_mysql.result
index 0b33e51ea35..985f4d2b464 100644
--- a/mysql-test/r/innodb_mysql.result
+++ b/mysql-test/r/innodb_mysql.result
@@ -1512,6 +1512,7 @@ ok
drop table t1;
SET SESSION AUTOCOMMIT = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
+set binlog_format=mixed;
# Switch to connection con1
CREATE TABLE t1 (a INT PRIMARY KEY, b VARCHAR(256))
ENGINE = InnoDB;
diff --git a/mysql-test/r/join.result b/mysql-test/r/join.result
index eef7e89c61e..736ecf1d90e 100644
--- a/mysql-test/r/join.result
+++ b/mysql-test/r/join.result
@@ -748,12 +748,12 @@ ERROR 42S22: Unknown column 't1.b' in 'field list'
select * from v1a join v1b on t1.b = t2.b;
ERROR 42S22: Unknown column 't1.b' in 'on clause'
select
-statistics.TABLE_NAME, statistics.COLUMN_NAME, statistics.TABLE_CATALOG, statistics.TABLE_SCHEMA, statistics.NON_UNIQUE, statistics.INDEX_SCHEMA, statistics.INDEX_NAME, statistics.SEQ_IN_INDEX, statistics.COLLATION, statistics.CARDINALITY, statistics.SUB_PART, statistics.PACKED, statistics.NULLABLE, statistics.INDEX_TYPE, statistics.COMMENT,
+statistics.TABLE_NAME, statistics.COLUMN_NAME, statistics.TABLE_CATALOG, statistics.TABLE_SCHEMA, statistics.NON_UNIQUE, statistics.INDEX_SCHEMA, statistics.INDEX_NAME, statistics.SEQ_IN_INDEX, statistics.COLLATION, statistics.SUB_PART, statistics.PACKED, statistics.NULLABLE, statistics.INDEX_TYPE, statistics.COMMENT,
columns.TABLE_CATALOG, columns.TABLE_SCHEMA, columns.COLUMN_DEFAULT, columns.IS_NULLABLE, columns.DATA_TYPE, columns.CHARACTER_MAXIMUM_LENGTH, columns.CHARACTER_OCTET_LENGTH, columns.NUMERIC_PRECISION, columns.NUMERIC_SCALE, columns.CHARACTER_SET_NAME, columns.COLLATION_NAME, columns.COLUMN_TYPE, columns.COLUMN_KEY, columns.EXTRA, columns.COLUMN_COMMENT
from information_schema.statistics join information_schema.columns using(table_name,column_name) where table_name='user';
-TABLE_NAME COLUMN_NAME TABLE_CATALOG TABLE_SCHEMA NON_UNIQUE INDEX_SCHEMA INDEX_NAME SEQ_IN_INDEX COLLATION CARDINALITY SUB_PART PACKED NULLABLE INDEX_TYPE COMMENT TABLE_CATALOG TABLE_SCHEMA COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA COLUMN_COMMENT
-user Host NULL mysql 0 mysql PRIMARY 1 A NULL NULL NULL BTREE NULL mysql NO char 60 180 NULL NULL utf8 utf8_bin char(60) PRI
-user User NULL mysql 0 mysql PRIMARY 2 A 3 NULL NULL BTREE NULL mysql NO char 16 48 NULL NULL utf8 utf8_bin char(16) PRI
+TABLE_NAME COLUMN_NAME TABLE_CATALOG TABLE_SCHEMA NON_UNIQUE INDEX_SCHEMA INDEX_NAME SEQ_IN_INDEX COLLATION SUB_PART PACKED NULLABLE INDEX_TYPE COMMENT TABLE_CATALOG TABLE_SCHEMA COLUMN_DEFAULT IS_NULLABLE DATA_TYPE CHARACTER_MAXIMUM_LENGTH CHARACTER_OCTET_LENGTH NUMERIC_PRECISION NUMERIC_SCALE CHARACTER_SET_NAME COLLATION_NAME COLUMN_TYPE COLUMN_KEY EXTRA COLUMN_COMMENT
+user Host NULL mysql 0 mysql PRIMARY 1 A NULL NULL BTREE NULL mysql NO char 60 180 NULL NULL utf8 utf8_bin char(60) PRI
+user User NULL mysql 0 mysql PRIMARY 2 A NULL NULL BTREE NULL mysql NO char 16 48 NULL NULL utf8 utf8_bin char(16) PRI
drop table t1;
drop table t2;
drop table t3;
diff --git a/mysql-test/r/log_basic.result b/mysql-test/r/log_basic.result
index 44d0ff48f1d..edda72fa91e 100644
--- a/mysql-test/r/log_basic.result
+++ b/mysql-test/r/log_basic.result
@@ -5,8 +5,8 @@ INIT_VALUE
SELECT @@log AS INIT_VALUE;
INIT_VALUE
1
-SET @@global.log = ON;
-SET global log = 0;
+SET @@global.general_log = ON;
+SET global general_log = 0;
'Bug# 34832: log is a system but it is not accessible using SET @@global.log;'
'SET GLOBAL log; and SELECT @@global.log. SHOW VARIABLES shows the value of log.'
'#--------------------FN_DYNVARS_062_02-------------------------#'
diff --git a/mysql-test/r/log_bin_trust_routine_creators_basic.result b/mysql-test/r/log_bin_trust_routine_creators_basic.result
index 2b7fb548f36..cfcbcddfca3 100644
--- a/mysql-test/r/log_bin_trust_routine_creators_basic.result
+++ b/mysql-test/r/log_bin_trust_routine_creators_basic.result
@@ -5,17 +5,17 @@ SELECT @start_global_value;
'#--------------------FN_DYNVARS_064_01-------------------------#'
SET @@global.log_bin_trust_routine_creators = TRUE;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SET @@global.log_bin_trust_routine_creators = DEFAULT;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
0
'#--------------------FN_DYNVARS_064_02-------------------------#'
SET @@global.log_bin_trust_routine_creators = DEFAULT;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators = 'FALSE';
@@global.log_bin_trust_routine_creators = 'FALSE'
1
@@ -24,37 +24,37 @@ Warning 1292 Truncated incorrect DOUBLE value: 'FALSE'
'#--------------------FN_DYNVARS_064_03-------------------------#'
SET @@global.log_bin_trust_routine_creators = ON;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
1
SET @@global.log_bin_trust_routine_creators = OFF;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
0
SET @@global.log_bin_trust_routine_creators = 0;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
0
SET @@global.log_bin_trust_routine_creators = 1;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
1
SET @@global.log_bin_trust_routine_creators = TRUE;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
1
SET @@global.log_bin_trust_routine_creators = FALSE;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
0
@@ -70,7 +70,7 @@ SET @@global.log_bin_trust_routine_creators = "OFFF";
ERROR 42000: Variable 'log_bin_trust_routine_creators' can't be set to the value of 'OFFF'
SET @@global.log_bin_trust_routine_creators = OF;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
0
@@ -96,14 +96,14 @@ ERROR HY000: Variable 'log_bin_trust_routine_creators' is a GLOBAL variable
'#---------------------FN_DYNVARS_064_07----------------------#'
SET @@global.log_bin_trust_routine_creators = TRUE;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators;
@@log_bin_trust_routine_creators = @@global.log_bin_trust_routine_creators
1
'#---------------------FN_DYNVARS_064_08----------------------#'
SET @@global.log_bin_trust_routine_creators = TRUE;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@log_bin_trust_routine_creators;
@@log_bin_trust_routine_creators
1
@@ -115,7 +115,7 @@ SELECT log_bin_trust_routine_creators = @@session.log_bin_trust_routine_creators
ERROR 42S22: Unknown column 'log_bin_trust_routine_creators' in 'field list'
SET @@global.log_bin_trust_routine_creators = @start_global_value;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
SELECT @@global.log_bin_trust_routine_creators;
@@global.log_bin_trust_routine_creators
1
diff --git a/mysql-test/r/log_state.result b/mysql-test/r/log_state.result
index c293956148f..63903a034d2 100644
--- a/mysql-test/r/log_state.result
+++ b/mysql-test/r/log_state.result
@@ -187,6 +187,8 @@ SELECT @@general_log, @@log;
@@general_log @@log
1 1
SET GLOBAL log = 0;
+Warnings:
+Warning 1287 The syntax '@@log' is deprecated and will be removed in MySQL 7.0. Please use '@@general_log' instead
SHOW VARIABLES LIKE 'general_log';
Variable_name Value
general_log OFF
@@ -216,6 +218,8 @@ SELECT @@slow_query_log, @@log_slow_queries;
@@slow_query_log @@log_slow_queries
0 0
SET GLOBAL log_slow_queries = 0;
+Warnings:
+Warning 1287 The syntax '@@log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '@@slow_query_log' instead
SHOW VARIABLES LIKE 'slow_query_log';
Variable_name Value
slow_query_log OFF
@@ -270,4 +274,28 @@ SET GLOBAL general_log_file = @general_log_file_saved;
SET GLOBAL slow_query_log_file = @slow_query_log_file_saved;
# -- End of Bug#32748.
+deprecated:
+SET GLOBAL log = 0;
+Warnings:
+Warning 1287 The syntax '@@log' is deprecated and will be removed in MySQL 7.0. Please use '@@general_log' instead
+SET GLOBAL log_slow_queries = 0;
+Warnings:
+Warning 1287 The syntax '@@log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '@@slow_query_log' instead
+SET GLOBAL log = DEFAULT;
+Warnings:
+Warning 1287 The syntax '@@log' is deprecated and will be removed in MySQL 7.0. Please use '@@general_log' instead
+SET GLOBAL log_slow_queries = DEFAULT;
+Warnings:
+Warning 1287 The syntax '@@log_slow_queries' is deprecated and will be removed in MySQL 7.0. Please use '@@slow_query_log' instead
+not deprecated:
+SELECT @@global.general_log_file INTO @my_glf;
+SELECT @@global.slow_query_log_file INTO @my_sqlf;
+SET GLOBAL general_log = 0;
+SET GLOBAL slow_query_log = 0;
+SET GLOBAL general_log_file = 'WL4403_G.log';
+SET GLOBAL slow_query_log_file = 'WL4403_SQ.log';
+SET GLOBAL general_log_file = @my_glf;
+SET GLOBAL slow_query_log_file = @my_sqlf;
+SET GLOBAL general_log = DEFAULT;
+SET GLOBAL slow_query_log = DEFAULT;
End of 5.1 tests
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result
index a441a841a07..e76c874324e 100644
--- a/mysql-test/r/partition.result
+++ b/mysql-test/r/partition.result
@@ -1448,13 +1448,15 @@ create trigger t_ad after delete on t for each row insert into t values (old.s1)
insert into t values (1);
drop table t;
USE mysql;
+TRUNCATE TABLE general_log;
+SET @old_general_log_state = @@global.general_log;
SET GLOBAL general_log = 0;
ALTER TABLE general_log ENGINE = MyISAM;
ALTER TABLE general_log PARTITION BY RANGE (TO_DAYS(event_time))
(PARTITION p0 VALUES LESS THAN (733144), PARTITION p1 VALUES LESS THAN (3000000));
ERROR HY000: Incorrect usage of PARTITION and log table
ALTER TABLE general_log ENGINE = CSV;
-SET GLOBAL general_log = default;
+SET GLOBAL general_log = @old_general_log_state;
use test;
create table t2 (b int);
create table t1 (b int)
@@ -1637,4 +1639,93 @@ select count(*) from t1, t2 where t1.createdDate = t2.createdDate;
count(*)
1
drop table t1, t2;
+SET @orig_sql_mode = @@SQL_MODE;
+SET SQL_MODE='STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO';
+CREATE TABLE t1 (c1 INT)
+PARTITION BY LIST(1 DIV c1) (
+PARTITION p0 VALUES IN (NULL),
+PARTITION p1 VALUES IN (1)
+);
+INSERT INTO t1 VALUES (0);
+ERROR 22012: Division by 0
+SELECT * FROM t1;
+c1
+TRUNCATE t1;
+INSERT INTO t1 VALUES (NULL), (0), (1), (2);
+ERROR 22012: Division by 0
+SELECT * FROM t1;
+c1
+NULL
+DROP TABLE t1;
+SET SQL_MODE= @orig_sql_mode;
+create table t1 (s1 int) partition by hash(s1) partitions 2;
+create index i on t1 (s1);
+insert into t1 values (1);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+s1
+1
+1
+1
+1
+1
+1
+1
+1
+drop table t1;
+create table t1 (s1 int) partition by range(s1)
+(partition pa1 values less than (10),
+partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (1);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+s1
+1
+1
+1
+1
+1
+1
+1
+1
+drop table t1;
+create table t1 (s1 int) partition by range(s1)
+(partition pa1 values less than (10),
+partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (20);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+s1
+20
+20
+20
+20
+20
+20
+20
+20
+drop table t1;
+create table t1 (s1 int) partition by range(s1)
+(partition pa1 values less than (10),
+partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (1), (2), (3), (4), (5), (6), (7), (8);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+insert into t1 select s1 from t1 where s1=3;
+select count(*) from t1;
+count(*)
+288
+drop table t1;
End of 5.1 tests
diff --git a/mysql-test/r/slow_launch_time_func.result b/mysql-test/r/slow_launch_time_func.result
index 766d7fb4dd9..7665166ff29 100644
--- a/mysql-test/r/slow_launch_time_func.result
+++ b/mysql-test/r/slow_launch_time_func.result
@@ -1,37 +1,17 @@
SET @global_slow_launch_time = @@GLOBAL.slow_launch_time;
-'#--------------------FN_DYNVARS_124_01-------------------------#'
** Connection default **
+'#--------------------FN_DYNVARS_124_01-------------------------#'
SET @@GLOBAL.slow_launch_time=0;
SELECT @@GLOBAL.slow_launch_time;
@@GLOBAL.slow_launch_time
0
-** Connecting conn5 using username 'root' **
-** Connecting conn6 using username 'root' **
-** Connecting conn7 using username 'root' **
-** Connecting conn8 using username 'root' **
-** Connecting conn9 using username 'root' **
-** Connecting conn10 using username 'root' **
-** Connecting conn11 using username 'root' **
-** Connecting conn12 using username 'root' **
-** Connecting conn13 using username 'root' **
-** Connecting conn14 using username 'root' **
-** Connecting conn15 using username 'root' **
-** Connecting conn16 using username 'root' **
-show status like 'slow_launch_threads';
-Variable_name Value
-Slow_launch_threads 12
-12 Expected
-** Connection default **
-** Disconnecting conn5 **
-** Disconnecting conn6 **
-** Disconnecting conn7 **
-** Disconnecting conn8 **
-** Disconnecting conn9 **
-** Disconnecting conn10 **
-** Disconnecting conn11 **
-** Disconnecting conn12 **
-** Disconnecting conn13 **
-** Disconnecting conn14 **
-** Disconnecting conn15 **
-** Disconnecting conn16 **
+** Connecting conn1 using username 'root' **
+** Switch to connection default and disconnect conn1 **
+'#--------------------FN_DYNVARS_124_02-------------------------#'
+SET @@GLOBAL.slow_launch_time= 1000;
+SELECT @@GLOBAL.slow_launch_time;
+@@GLOBAL.slow_launch_time
+1000
+** Connecting conn2 using username 'root' **
+** Switch to connection default and disconnect conn2 **
SET @@GLOBAL.slow_launch_time = @global_slow_launch_time;
diff --git a/mysql-test/r/trigger-trans.result b/mysql-test/r/trigger-trans.result
index 9e0f1e2c351..2c4e355af9d 100644
--- a/mysql-test/r/trigger-trans.result
+++ b/mysql-test/r/trigger-trans.result
@@ -161,3 +161,32 @@ SELECT @a, @b;
1 1
DROP TABLE t2, t1;
End of 5.0 tests
+BUG#31612
+Trigger fired multiple times leads to gaps in auto_increment sequence
+create table t1 (a int, val char(1)) engine=InnoDB;
+create table t2 (b int auto_increment primary key,
+val char(1)) engine=InnoDB;
+create trigger t1_after_insert after
+insert on t1 for each row insert into t2 set val=NEW.val;
+insert into t1 values ( 123, 'a'), ( 123, 'b'), ( 123, 'c'),
+(123, 'd'), (123, 'e'), (123, 'f'), (123, 'g');
+insert into t1 values ( 654, 'a'), ( 654, 'b'), ( 654, 'c'),
+(654, 'd'), (654, 'e'), (654, 'f'), (654, 'g');
+select * from t2 order by b;
+b val
+1 a
+2 b
+3 c
+4 d
+5 e
+6 f
+7 g
+8 a
+9 b
+10 c
+11 d
+12 e
+13 f
+14 g
+drop trigger t1_after_insert;
+drop table t1,t2;
diff --git a/mysql-test/r/tx_isolation_func.result b/mysql-test/r/tx_isolation_func.result
index 8b763edd70c..2242525f14b 100644
--- a/mysql-test/r/tx_isolation_func.result
+++ b/mysql-test/r/tx_isolation_func.result
@@ -21,8 +21,10 @@ INSERT INTO t1 VALUES(24, 24);
'#----------------------------FN_DYNVARS_184_01--------------------------------------#'
** Connection con0 **
SET SESSION tx_isolation = 'READ-UNCOMMITTED';
+set binlog_format=mixed;
** Connection con1 **
SET SESSION tx_isolation = 'READ-UNCOMMITTED';
+set binlog_format=mixed;
** Connection con0 **
START TRANSACTION;
SELECT * FROM t1 WHERE a IN (2,4,6,8) FOR UPDATE;
diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result
index aad8a33ea61..090ac1340ea 100644
--- a/mysql-test/r/warnings.result
+++ b/mysql-test/r/warnings.result
@@ -167,7 +167,7 @@ max_error_count 10
drop table t1;
set table_type=MYISAM;
Warnings:
-Warning 1287 The syntax 'table_type' is deprecated and will be removed in MySQL 5.2. Please use 'storage_engine' instead
+Warning 1287 The syntax '@@table_type' is deprecated and will be removed in MySQL 5.2. Please use '@@storage_engine' instead
create table t1 (a int);
insert into t1 (a) values (1), (2), (3), (4), (5), (6), (7), (8), (9), (10);
update t1 set a='abc';
diff --git a/mysql-test/suite/binlog/r/binlog_multi_engine.result b/mysql-test/suite/binlog/r/binlog_multi_engine.result
index ffe7915f1f8..a295657b8f8 100644
--- a/mysql-test/suite/binlog/r/binlog_multi_engine.result
+++ b/mysql-test/suite/binlog/r/binlog_multi_engine.result
@@ -43,8 +43,6 @@ INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;
UPDATE t1m, t1n SET m = 2, e = 3 WHERE n = f;
ERROR HY000: Binary logging not possible. Message: Statement cannot be written atomically since more than one engine involved and at least one engine is self-logging
-UPDATE t1n, t1b SET e = 2, b = 3 WHERE f = c;
-ERROR HY000: Binary logging not possible. Message: Statement cannot be written atomically since more than one engine involved and at least one engine is self-logging
TRUNCATE t1m;
TRUNCATE t1b;
TRUNCATE t1n;
@@ -68,20 +66,21 @@ RESET MASTER;
SET SESSION BINLOG_FORMAT=ROW;
INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2);
INSERT INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
-ERROR HY000: Binary logging not possible. Message: Row-based format required for this statement, but not allowed by this combination of engines
INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
-UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;
-ERROR HY000: Binary logging not possible. Message: Row-based format required for this statement, but not allowed by this combination of engines
UPDATE t1m, t1n SET m = 2, e = 3 WHERE n = f;
ERROR HY000: Binary logging not possible. Message: Statement cannot be written atomically since more than one engine involved and at least one engine is self-logging
UPDATE t1n, t1b SET e = 2, b = 3 WHERE f = c;
-ERROR HY000: Binary logging not possible. Message: Row-based format required for this statement, but not allowed by this combination of engines
+ERROR HY000: Binary logging not possible. Message: Statement cannot be written atomically since more than one engine involved and at least one engine is self-logging
show binlog events from <binlog_start>;
Log_name Pos Event_type Server_id End_log_pos Info
master-bin.000001 # Query # # use `test`; BEGIN
master-bin.000001 # Table_map # # table_id: # (test.t1m)
master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
master-bin.000001 # Query # # use `test`; COMMIT
+master-bin.000001 # Query # # use `test`; BEGIN
+master-bin.000001 # Table_map # # table_id: # (test.t1b)
+master-bin.000001 # Write_rows # # table_id: # flags: STMT_END_F
+master-bin.000001 # Query # # use `test`; COMMIT
master-bin.000001 # Query # # BEGIN
master-bin.000001 # Table_map # # table_id: # (test.t1n)
master-bin.000001 # Table_map # # table_id: # (mysql.ndb_apply_status)
diff --git a/mysql-test/suite/binlog/r/binlog_row_binlog.result b/mysql-test/suite/binlog/r/binlog_row_binlog.result
index 9668c7ce5ea..1a56e048b27 100644
--- a/mysql-test/suite/binlog/r/binlog_row_binlog.result
+++ b/mysql-test/suite/binlog/r/binlog_row_binlog.result
@@ -1090,6 +1090,53 @@ master-bin.000001 295 Table_map 1 337 table_id: # (test.t1)
master-bin.000001 337 Write_rows 1 383 table_id: # flags: STMT_END_F
master-bin.000001 383 Query 1 452 use `test`; COMMIT
master-bin.000001 452 Query 1 528 use `test`; drop table t1
+reset master;
+CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
+USE bug39182;
+CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
+DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+CREATE PROCEDURE p1()
+BEGIN
+DECLARE s1 VARCHAR(255);
+SET s1= "test";
+CREATE TEMPORARY TABLE tmp1
+SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
+SELECT
+COLLATION(NAME_CONST('s1', _utf8'test')) c1,
+COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
+COLLATION(s1) c3,
+COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
+COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
+COERCIBILITY(s1) d3;
+DROP TEMPORARY TABLE tmp1;
+END//
+CALL p1();
+c1 c2 c3 d1 d2 d3
+utf8_general_ci utf8_unicode_ci utf8_unicode_ci 2 2 2
+show binlog events from <binlog_start>;
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Query # # CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
+master-bin.000001 # Query # # use `bug39182`; CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
+DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
+master-bin.000001 # Query # # use `bug39182`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`()
+BEGIN
+DECLARE s1 VARCHAR(255);
+SET s1= "test";
+CREATE TEMPORARY TABLE tmp1
+SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
+SELECT
+COLLATION(NAME_CONST('s1', _utf8'test')) c1,
+COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
+COLLATION(s1) c3,
+COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
+COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
+COERCIBILITY(s1) d3;
+DROP TEMPORARY TABLE tmp1;
+END
+DROP PROCEDURE p1;
+DROP TABLE t1;
+DROP DATABASE bug39182;
+USE test;
End of 5.0 tests
reset master;
create table t1 (id tinyint auto_increment primary key);
diff --git a/mysql-test/suite/binlog/r/binlog_stm_binlog.result b/mysql-test/suite/binlog/r/binlog_stm_binlog.result
index ae8c1e11737..aadbf950b21 100644
--- a/mysql-test/suite/binlog/r/binlog_stm_binlog.result
+++ b/mysql-test/suite/binlog/r/binlog_stm_binlog.result
@@ -594,6 +594,56 @@ master-bin.000001 4 Format_desc 1 106 Server version, Binlog ver: 4
master-bin.000001 106 Query 1 227 use `test`; create table t1 (a bigint unsigned, b bigint(20) unsigned)
master-bin.000001 227 Query 1 351 use `test`; insert into t1 values (9999999999999999,14632475938453979136)
master-bin.000001 351 Query 1 427 use `test`; drop table t1
+reset master;
+CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci;
+USE bug39182;
+CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
+DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
+CREATE PROCEDURE p1()
+BEGIN
+DECLARE s1 VARCHAR(255);
+SET s1= "test";
+CREATE TEMPORARY TABLE tmp1
+SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
+SELECT
+COLLATION(NAME_CONST('s1', _utf8'test')) c1,
+COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
+COLLATION(s1) c3,
+COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
+COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
+COERCIBILITY(s1) d3;
+DROP TEMPORARY TABLE tmp1;
+END//
+CALL p1();
+c1 c2 c3 d1 d2 d3
+utf8_general_ci utf8_unicode_ci utf8_unicode_ci 2 2 2
+show binlog events from <binlog_start>;
+Log_name Pos Event_type Server_id End_log_pos Info
+master-bin.000001 # Query # # CREATE DATABASE bug39182 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci
+master-bin.000001 # Query # # use `bug39182`; CREATE TABLE t1 (a VARCHAR(255) COLLATE utf8_unicode_ci)
+DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
+master-bin.000001 # Query # # use `bug39182`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`()
+BEGIN
+DECLARE s1 VARCHAR(255);
+SET s1= "test";
+CREATE TEMPORARY TABLE tmp1
+SELECT * FROM t1 WHERE a LIKE CONCAT("%", s1, "%");
+SELECT
+COLLATION(NAME_CONST('s1', _utf8'test')) c1,
+COLLATION(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) c2,
+COLLATION(s1) c3,
+COERCIBILITY(NAME_CONST('s1', _utf8'test')) d1,
+COERCIBILITY(NAME_CONST('s1', _utf8'test' COLLATE utf8_unicode_ci)) d2,
+COERCIBILITY(s1) d3;
+DROP TEMPORARY TABLE tmp1;
+END
+master-bin.000001 # Query # # use `bug39182`; CREATE TEMPORARY TABLE tmp1
+SELECT * FROM t1 WHERE a LIKE CONCAT("%", NAME_CONST('s1',_utf8'test' COLLATE 'utf8_unicode_ci'), "%")
+master-bin.000001 # Query # # use `bug39182`; DROP TEMPORARY TABLE tmp1
+DROP PROCEDURE p1;
+DROP TABLE t1;
+DROP DATABASE bug39182;
+USE test;
End of 5.0 tests
reset master;
create table t1 (id tinyint auto_increment primary key);
diff --git a/mysql-test/suite/binlog/r/binlog_stm_blackhole.result b/mysql-test/suite/binlog/r/binlog_stm_blackhole.result
index 619fd39a2a9..30f298488fc 100644
--- a/mysql-test/suite/binlog/r/binlog_stm_blackhole.result
+++ b/mysql-test/suite/binlog/r/binlog_stm_blackhole.result
@@ -141,7 +141,6 @@ master-bin.000001 # Query # # use `test`; COMMIT
drop table t1,t2,t3;
CREATE TABLE t1(a INT) ENGINE=BLACKHOLE;
INSERT DELAYED INTO t1 VALUES(1);
-ERROR HY000: Binary logging not possible. Message: Row-based format required for this statement, but not allowed by this combination of engines
DROP TABLE t1;
CREATE TABLE t1(a INT, b INT) ENGINE=BLACKHOLE;
DELETE FROM t1 WHERE a=10;
diff --git a/mysql-test/suite/binlog/t/binlog_multi_engine.test b/mysql-test/suite/binlog/t/binlog_multi_engine.test
index bf84eed6ec1..c8136d669e4 100644
--- a/mysql-test/suite/binlog/t/binlog_multi_engine.test
+++ b/mysql-test/suite/binlog/t/binlog_multi_engine.test
@@ -69,9 +69,6 @@ UPDATE t1m, t1n SET m = 2, e = 3 WHERE n = f;
#UPDATE t1m, t1n SET m = 2, e = 3 WHERE n = f;
-error ER_BINLOG_LOGGING_IMPOSSIBLE;
-UPDATE t1n, t1b SET e = 2, b = 3 WHERE f = c;
-
TRUNCATE t1m;
TRUNCATE t1b;
TRUNCATE t1n;
@@ -83,13 +80,11 @@ RESET MASTER;
SET SESSION BINLOG_FORMAT=ROW;
INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2);
-error ER_BINLOG_LOGGING_IMPOSSIBLE;
+
INSERT INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
error ER_BINLOG_LOGGING_IMPOSSIBLE;
-UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;
-error ER_BINLOG_LOGGING_IMPOSSIBLE;
UPDATE t1m, t1n SET m = 2, e = 3 WHERE n = f;
# Not possible to test this since NDB writes its own binlog, which
diff --git a/mysql-test/suite/funcs_1/r/memory_storedproc.result b/mysql-test/suite/funcs_1/r/memory_storedproc.result
deleted file mode 100644
index 47e8ab24a01..00000000000
--- a/mysql-test/suite/funcs_1/r/memory_storedproc.result
+++ /dev/null
@@ -1,23608 +0,0 @@
-SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
-
---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 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 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 );
-ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
-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
-123456789098765400000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.400000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.540000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.654000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-13 );
-@v1
-0.000000000000012345678909876540
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+12 );
-@v1
-123456789098.765400000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-12 );
-@v1
-0.000000000000123456789098765400
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+11 );
-@v1
-12345678909.876540000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-11 );
-@v1
-0.000000000001234567890987654000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+10 );
-@v1
-1234567890.987654000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-10 );
-@v1
-0.000000000012345678909876540000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+9 );
-@v1
-123456789.098765400000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-9 );
-@v1
-0.000000000123456789098765400000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+8 );
-@v1
-12345678.909876540000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-8 );
-@v1
-0.000000001234567890987654000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+7 );
-@v1
-1234567.890987654000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-7 );
-@v1
-0.000000012345678909876540000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+6 );
-@v1
-123456.789098765400000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-6 );
-@v1
-0.000000123456789098765400000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+5 );
-@v1
-12345.678909876540000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-5 );
-@v1
-0.000001234567890987654000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+4 );
-@v1
-1234.567890987654000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-4 );
-@v1
-0.000012345678909876550000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+3 );
-@v1
-123.456789098765400000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-3 );
-@v1
-0.000123456789098765400000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+2 );
-@v1
-12.345678909876540000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-2 );
-@v1
-0.001234567890987654000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+1 );
-@v1
-1.234567890987654000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-1 );
-@v1
-0.012345678909876540000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 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 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 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 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 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 'with()
-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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION sp1 does not exist
-DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 FUNCTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 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 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 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 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 'with:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-write:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-xor:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-year_month:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-zerofill:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill:BEGIN
-SELECT @x;
-END' at line 2
-
-Testcase 4.2.6:
----------------
-Ensure that the labels for multiple BEGIN an END work properly
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-set x = '1';
-set y = '2';
-label1: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END label1;
-set @v1 = x;
-set @v2 = y;
-SELECT @v1, @v2;
-END begin_label//
-CALL sp1();
-@v1 @v2
-1 2
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.7:
----------------
-Ensure that the labels enclosing each BEGIN/END compound statement must match.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin1_label: BEGIN
-declare x char;
-declare y char;
-SELECT lf1, f1 into x, y from t2 limit 1;
-begin2_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin2_changed;
-END begin1_changed//
-ERROR 42000: End-label begin2_changed without match
-
-Testcase 4.2.8:
----------------
-Ensure that it is possible to put a beginning label at the start of a
-BEGIN/END compound statement without also requiring an ending label
-at the END of the same statement.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.9:
----------------
-Ensure that it is not possible to put an ending label at the END of
-a BEGIN/END compound statement without also requiring a matching
-beginning label at the start of the same statement
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'begin_label' at line 6
-
-Testcase 4.2.10:
-----------------
-Ensure that every beginning label must END with a colon(:)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-E' at line 2
-
-Testcase 4.2.11:
-----------------
-Ensure that every beginning label with the same scope must be unique. (same label names)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-END begin_samelabel//
-ERROR 42000: Redefining label begin_samelabel
-
-Testcase 4.2.12:
-----------------
-Ensure that the variables, cursors, conditions, and handlers declared for
-a stored procedure (with the declare statement) may only be properly defined
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char default 'a';
-declare y integer default 1;
-declare z float default 1.1;
-declare a enum("value1", "value2") default 'value1';
-declare b decimal(255, 255) default 1.2e+12;
-declare c mediumtext default 'mediumtext';
-declare d datetime default '2005-02-02 12:12:12';
-declare e char default 'b';
-declare cur1 cursor for SELECT f1 from db_storedproc.t2;
-declare continue handler for sqlstate '02000' set @x2 = 1;
-open cur1;
-fetch cur1 into e;
-SELECT x, y, z, a, b, c, d, e;
-close cur1;
-END//
-ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
-CALL sp6();
-ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
-SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
-END//
-CALL sp6();
-x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
-0
-DROP PROCEDURE sp6;
-
-Testcase 4.2.13:
-----------------
-Ensure that the variables declared for a stored procedure (with the declare
-statement) may only be defined in the correct order.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default '0' char;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default '0' char;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char, integer default '0';
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0';
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x1, x2 char, integer default '0', 1;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0', 1;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 li' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default 'a' char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default 'a' char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition notable for sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition notable for sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for notable sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for notable sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate notable '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate notable '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate '42s22' notable;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '42s22' notable;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor cur1 for SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for cur1 SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for SELECT cur1 f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler continue for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler exit for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler undo for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x;
-SELECT f5 text into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
-SELECT f5 text into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-E' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998,' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare date not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare time not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare datetime not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare timestamp not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enum("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END' at line 3
-
-Testcase 4.2.14:
-----------------
-Ensure that the handlers declared for a stored procedure (with the declare
-statement) may only be defined in the correct order
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare sqlcondition condition for sqlstate '02000';
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare sqlcondition condition for sqlstate '02000';
-declare continue handler for sqlcondition set @x=1;
-declare cursor1 cursor for SELECT f1 from tb1;
-END//
-ERROR 42000: Cursor declaration after handler declaration
-
-Testcase 4.2.15:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT 'outer';
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT x1;
-END;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char ascii default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinytext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z text default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z blob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z binary default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint default -126;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--126 -126 -126
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned default 253;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-253 253 253
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-000 000 000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-001 001 001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint default -32768;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--32768 -32768 -32768
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned default 65535;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-65535 65535 65535
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000 00000 00000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00001 00001 00001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint default -8388608;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--8388608 -8388608 -8388608
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned default 16777215;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-16777215 16777215 16777215
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000 00000000 00000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001 00000001 00000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int default -2147483648;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--2147483648 -2147483648 -2147483648
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned default 4294967295;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-4294967295 4294967295 4294967295
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000001 0000000001 0000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint default -9223372036854775808;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9223372036854775808 -9223372036854775808 -9223372036854775808
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned default 18446744073709551615;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-18446744073709551615 18446744073709551615 18446744073709551615
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000000 00000000000000000000 00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000001 00000000000000000001 00000000000000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9999999999 -9999999999 -9999999999
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z date default '2005-02-02';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 2005-02-02 2005-02-02
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z time default '12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-12:20:12 12:20:12 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z datetime default '2005-02-02 12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z timestamp default '20050202122012';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(3) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(4) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z enum("1enum", "2enum") default "2enum";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2enum 2enum 2enum
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z set("1set", "2set") default "2set";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2set 2set 2set
-DROP PROCEDURE sp1;
-
-Testcase 4.2.16:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare a, b char default '2';
-declare c, d float default 1.3;
-declare e, f text default 'text';
-declare g, h enum("value1", "value2" ) default 'value1';
-declare i, j datetime default '2005-02-02 12:12:12';
-declare k, l blob default 'blob';
-SELECT a, b, c, d, e, f, g, h, k, l;
-END//
-CALL sp6();
-a b c d e f g h k l
-2 2 1.3 1.3 text text value1 value1 blob blob
-DROP PROCEDURE sp6;
-
-Testcase 4.2.17:
-----------------
-Ensure that the invalid variable declarations are rejected, with an appropriate
-error message.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-SELECT f2 into x from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-SELECT f2 into x from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare accessible char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare add char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare all char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare alter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare analyze char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare and char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare as char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare before char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare between char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare bigint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare binary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare blob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare both char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare by char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare call char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cascade char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare case char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare change char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare char char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare character char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare check char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare collate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare column char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare condition char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare constraint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare convert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare create char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cross char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_user char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cursor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare database char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare databases char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_hour char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dec char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare decimal char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare declare char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare default char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delayed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delete char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare desc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare describe char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare deterministic char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinct char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinctrow char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare div char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare double char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare drop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dual char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare each char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare else char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare elseif char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare enclosed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare escaped char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exists char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare explain char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare false char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fetch char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare for char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare force char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare foreign char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare from char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fulltext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare grant char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare group char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare having char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare high_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare if char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare ignore char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare in char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare index char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare infile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inner char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inout char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int1 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int2 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int3 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare integer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare interval char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare into char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare is char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare iterate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare key char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare keys char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare kill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leading char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leave char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare left char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare like char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare limit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare linear char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lines char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare load char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtime char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtimestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare long char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare loop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare low_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare master_ssl_verify_server_cert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare match char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare middleint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mod char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare modifies char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare natural char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare not char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare no_write_to_binlog char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare null char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare numeric char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare on char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optimize char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare option char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optionally char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare or char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare order char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare out char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outfile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare precision char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare primary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare procedure char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare purge char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare range char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare reads char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_only char;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare real char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare references char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare regexp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare release char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare rename char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare repeat char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare replace char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare require char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare restrict char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare return char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare revoke char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare right char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare rlike char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schema char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schemas char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare second_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare SELECT char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare separator char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare set char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare show char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare smallint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare spatial char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare specific char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlexception char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlstate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlwarning char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_big_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_calc_found_rows char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_small_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare ssl char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare starting char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare straight_join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare table char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare terminated char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare then char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinytext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare to char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trailing char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trigger char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare true char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare undo char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare union char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unique char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unlock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unsigned char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare update char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare usage char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare use char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare using char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare values char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varbinary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varchar char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varcharacter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varying char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare when char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare where char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare while char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare with char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare year_month char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare zerofill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill char;
-END' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of condition may be declared for a stored procedure
-( covered in more detail in handlers section.)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'HY000';
-declare cond2 condition for sqlstate '23000';
-declare cond3 condition for sqlstate 'HY001';
-declare cond4 condition for sqlstate '08004';
-declare cond5 condition for sqlstate '08S01';
-declare cond6 condition for sqlstate '42000';
-declare cond7 condition for sqlstate '28000';
-declare cond8 condition for sqlstate '3D000';
-declare cond9 condition for sqlstate '42S01';
-declare cond10 condition for sqlstate '42S02';
-declare cond11 condition for sqlstate '42S22';
-declare cond12 condition for sqlstate '21S01';
-declare cond13 condition for sqlstate '42S21';
-declare cond14 condition for sqlstate '42S12';
-declare cond15 condition for sqlstate '22004';
-declare cond16 condition for sqlstate '25000';
-declare cond17 condition for sqlstate '40001';
-declare cond18 condition for sqlstate '21000';
-declare cond19 condition for sqlstate '01000';
-declare cond20 condition for sqlstate '22003';
-declare cond21 condition for sqlstate '22007';
-declare cond22 condition for sqlstate '0A000';
-declare cond23 condition for sqlstate '70100';
-declare cond24 condition for sqlstate '2F005';
-declare cond25 condition for sqlstate '24000';
-declare cond26 condition for sqlstate '02000';
-declare continue handler for cond2 set @x2 = 1;
-declare continue handler for cond1 set @x2 = 1;
-declare continue handler for cond3 set @x2 = 1;
-declare continue handler for cond4 set @x2 = 1;
-declare continue handler for cond5 set @x2 = 1;
-declare continue handler for cond7 set @x2 = 1;
-declare continue handler for cond6 set @x2 = 1;
-declare continue handler for cond8 set @x2 = 1;
-declare continue handler for cond9 set @x2 = 1;
-declare continue handler for cond10 set @x2 = 1;
-declare continue handler for cond11 set @x2 = 1;
-declare continue handler for cond12 set @x2 = 1;
-declare continue handler for cond13 set @x2 = 1;
-declare continue handler for cond14 set @x2 = 1;
-declare continue handler for cond15 set @x2 = 1;
-declare continue handler for cond16 set @x2 = 1;
-declare continue handler for cond17 set @x2 = 1;
-declare continue handler for cond18 set @x2 = 1;
-declare continue handler for cond19 set @x2 = 1;
-declare continue handler for cond20 set @x2 = 1;
-declare continue handler for cond21 set @x2 = 1;
-declare continue handler for cond22 set @x2 = 1;
-declare continue handler for cond23 set @x2 = 1;
-declare continue handler for cond24 set @x2 = 1;
-declare continue handler for cond25 set @x2 = 1;
-declare continue handler for cond26 set @x2 = 1;
-set @x = 1;
-insert into t2 values (1);
-set @x = 2;
-insert into t2 values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible condition for sqlstate '02000';
-declare exit handler for add set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze condition for sqlstate '02000';
-declare exit handler for analyze set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze condition for sqlstate '02000';
-declare exit handler for analyze set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive condition for sqlstate '02000';
-declare exit handler for asensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive condition for sqlstate '02000';
-declare exit handler for asensitive s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before condition for sqlstate '02000';
-declare exit handler for before set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before condition for sqlstate '02000';
-declare exit handler for before set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between condition for sqlstate '02000';
-declare exit handler for between set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between condition for sqlstate '02000';
-declare exit handler for between set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary condition for sqlstate '02000';
-declare exit handler for binary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary condition for sqlstate '02000';
-declare exit handler for binary set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade condition for sqlstate '02000';
-declare exit handler for cascade set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade condition for sqlstate '02000';
-declare exit handler for cascade set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change condition for sqlstate '02000';
-declare exit handler for change set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change condition for sqlstate '02000';
-declare exit handler for change set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character condition for sqlstate '02000';
-declare exit handler for character set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character condition for sqlstate '02000';
-declare exit handler for character set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check condition for sqlstate '02000';
-declare exit handler for check set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check condition for sqlstate '02000';
-declare exit handler for check set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate condition for sqlstate '02000';
-declare exit handler for collate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate condition for sqlstate '02000';
-declare exit handler for collate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column condition for sqlstate '02000';
-declare exit handler for column set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column condition for sqlstate '02000';
-declare exit handler for column set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition condition for sqlstate '02000';
-declare exit handler for condition set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition condition for sqlstate '02000';
-declare exit handler for condition set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare connection condition for sqlstate '02000';
-declare exit handler for connection set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint condition for sqlstate '02000';
-declare exit handler for constraint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint condition for sqlstate '02000';
-declare exit handler for constraint s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert condition for sqlstate '02000';
-declare exit handler for convert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000';
-declare exit handler for convert set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create condition for sqlstate '02000';
-declare exit handler for create set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000';
-declare exit handler for create set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date condition for sqlstate '02000';
-declare exit handler for current_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000';
-declare exit handler for current_da' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time condition for sqlstate '02000';
-declare exit handler for current_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000';
-declare exit handler for current_ti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp condition for sqlstate '02000';
-declare exit handler for current_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
-declare exit handler for curre' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user condition for sqlstate '02000';
-declare exit handler for current_user set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000';
-declare exit handler for current_us' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database condition for sqlstate '02000';
-declare exit handler for database set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database condition for sqlstate '02000';
-declare exit handler for database set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases condition for sqlstate '02000';
-declare exit handler for databases set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases condition for sqlstate '02000';
-declare exit handler for databases set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond condition for sqlstate '02000';
-declare exit handler for day_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000';
-declare exit handler for day_mic' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute condition for sqlstate '02000';
-declare exit handler for day_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute condition for sqlstate '02000';
-declare exit handler for day_minute s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second condition for sqlstate '02000';
-declare exit handler for day_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second condition for sqlstate '02000';
-declare exit handler for day_second s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal condition for sqlstate '02000';
-declare exit handler for decimal set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal condition for sqlstate '02000';
-declare exit handler for decimal set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare condition for sqlstate '02000';
-declare exit handler for declare set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare condition for sqlstate '02000';
-declare exit handler for declare set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default condition for sqlstate '02000';
-declare exit handler for default set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default condition for sqlstate '02000';
-declare exit handler for default set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed condition for sqlstate '02000';
-declare exit handler for delayed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed condition for sqlstate '02000';
-declare exit handler for delayed set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete condition for sqlstate '02000';
-declare exit handler for delete set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete condition for sqlstate '02000';
-declare exit handler for delete set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe condition for sqlstate '02000';
-declare exit handler for describe set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe condition for sqlstate '02000';
-declare exit handler for describe set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic condition for sqlstate '02000';
-declare exit handler for deterministic set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic condition for sqlstate '02000';
-declare exit handler for determini' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct condition for sqlstate '02000';
-declare exit handler for distinct set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct condition for sqlstate '02000';
-declare exit handler for distinct set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double condition for sqlstate '02000';
-declare exit handler for double set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double condition for sqlstate '02000';
-declare exit handler for double set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped condition for sqlstate '02000';
-declare exit handler for escaped set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped condition for sqlstate '02000';
-declare exit handler for escaped set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists condition for sqlstate '02000';
-declare exit handler for exists set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists condition for sqlstate '02000';
-declare exit handler for exists set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain condition for sqlstate '02000';
-declare exit handler for explain set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain condition for sqlstate '02000';
-declare exit handler for explain set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false condition for sqlstate '02000';
-declare exit handler for false set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false condition for sqlstate '02000';
-declare exit handler for false set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float condition for sqlstate '02000';
-declare exit handler for float set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float condition for sqlstate '02000';
-declare exit handler for float set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force condition for sqlstate '02000';
-declare exit handler for force set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force condition for sqlstate '02000';
-declare exit handler for force set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign condition for sqlstate '02000';
-declare exit handler for foreign set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign condition for sqlstate '02000';
-declare exit handler for foreign set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group condition for sqlstate '02000';
-declare exit handler for group set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group condition for sqlstate '02000';
-declare exit handler for group set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having condition for sqlstate '02000';
-declare exit handler for having set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having condition for sqlstate '02000';
-declare exit handler for having set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority condition for sqlstate '02000';
-declare exit handler for high_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority condition for sqlstate '02000';
-declare exit handler for high_prio' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_m' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second condition for sqlstate '02000';
-declare exit handler for hour_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second condition for sqlstate '02000';
-declare exit handler for hour_second' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index condition for sqlstate '02000';
-declare exit handler for index set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index condition for sqlstate '02000';
-declare exit handler for index set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile condition for sqlstate '02000';
-declare exit handler for infile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000';
-declare exit handler for infile set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive condition for sqlstate '02000';
-declare exit handler for insensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive condition for sqlstate '02000';
-declare exit handler for insensitive' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert condition for sqlstate '02000';
-declare exit handler for insert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert condition for sqlstate '02000';
-declare exit handler for insert set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer condition for sqlstate '02000';
-declare exit handler for integer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer condition for sqlstate '02000';
-declare exit handler for integer set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval condition for sqlstate '02000';
-declare exit handler for interval set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval condition for sqlstate '02000';
-declare exit handler for interval set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate condition for sqlstate '02000';
-declare exit handler for iterate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate condition for sqlstate '02000';
-declare exit handler for iterate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading condition for sqlstate '02000';
-declare exit handler for leading set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading condition for sqlstate '02000';
-declare exit handler for leading set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime condition for sqlstate '02000';
-declare exit handler for localtime set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime condition for sqlstate '02000';
-declare exit handler for localtime set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp condition for sqlstate '02000';
-declare exit handler for localtimestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000';
-declare exit handler for localtim' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob condition for sqlstate '02000';
-declare exit handler for longblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob condition for sqlstate '02000';
-declare exit handler for longblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext condition for sqlstate '02000';
-declare exit handler for longtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000';
-declare exit handler for longtext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority condition for sqlstate '02000';
-declare exit handler for low_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority condition for sqlstate '02000';
-declare exit handler for low_priori' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handl' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match condition for sqlstate '02000';
-declare exit handler for match set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match condition for sqlstate '02000';
-declare exit handler for match set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint condition for sqlstate '02000';
-declare exit handler for middleint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint condition for sqlstate '02000';
-declare exit handler for middleint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond condition for sqlstate '02000';
-declare exit handler for minute_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
-declare exit handler for minu' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second condition for sqlstate '02000';
-declare exit handler for minute_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second condition for sqlstate '02000';
-declare exit handler for minute_se' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies condition for sqlstate '02000';
-declare exit handler for modifies set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies condition for sqlstate '02000';
-declare exit handler for modifies set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural condition for sqlstate '02000';
-declare exit handler for natural set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural condition for sqlstate '02000';
-declare exit handler for natural set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_write_to_binlog set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_w' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric condition for sqlstate '02000';
-declare exit handler for numeric set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric condition for sqlstate '02000';
-declare exit handler for numeric set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize condition for sqlstate '02000';
-declare exit handler for optimize set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize condition for sqlstate '02000';
-declare exit handler for optimize set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option condition for sqlstate '02000';
-declare exit handler for option set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option condition for sqlstate '02000';
-declare exit handler for option set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally condition for sqlstate '02000';
-declare exit handler for optionally set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally condition for sqlstate '02000';
-declare exit handler for optionally s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order condition for sqlstate '02000';
-declare exit handler for order set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000';
-declare exit handler for order set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile condition for sqlstate '02000';
-declare exit handler for outfile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile condition for sqlstate '02000';
-declare exit handler for outfile set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision condition for sqlstate '02000';
-declare exit handler for precision set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision condition for sqlstate '02000';
-declare exit handler for precision set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary condition for sqlstate '02000';
-declare exit handler for primary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary condition for sqlstate '02000';
-declare exit handler for primary set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure condition for sqlstate '02000';
-declare exit handler for procedure set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure condition for sqlstate '02000';
-declare exit handler for procedure set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int set @var2 = 1;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write condition for sqlstate '02000';
-declare exit handler for int set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references condition for sqlstate '02000';
-declare exit handler for references set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references condition for sqlstate '02000';
-declare exit handler for references s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release condition for sqlstate '02000';
-declare exit handler for int set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename condition for sqlstate '02000';
-declare exit handler for rename set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000';
-declare exit handler for rename set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace condition for sqlstate '02000';
-declare exit handler for replace set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace condition for sqlstate '02000';
-declare exit handler for replace set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require condition for sqlstate '02000';
-declare exit handler for require set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require condition for sqlstate '02000';
-declare exit handler for require set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict condition for sqlstate '02000';
-declare exit handler for restrict set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict condition for sqlstate '02000';
-declare exit handler for restrict set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return condition for sqlstate '02000';
-declare exit handler for return set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return condition for sqlstate '02000';
-declare exit handler for return set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right condition for sqlstate '02000';
-declare exit handler for right set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right condition for sqlstate '02000';
-declare exit handler for right set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema condition for sqlstate '02000';
-declare exit handler for schema set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000';
-declare exit handler for schema set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas condition for sqlstate '02000';
-declare exit handler for schemas set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas condition for sqlstate '02000';
-declare exit handler for schemas set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond condition for sqlstate '02000';
-declare exit handler for second_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000';
-declare exit handler for seco' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator condition for sqlstate '02000';
-declare exit handler for separator set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator condition for sqlstate '02000';
-declare exit handler for separator set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint condition for sqlstate '02000';
-declare exit handler for smallint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000';
-declare exit handler for smallint set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial condition for sqlstate '02000';
-declare exit handler for spatial set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial condition for sqlstate '02000';
-declare exit handler for spatial set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific condition for sqlstate '02000';
-declare exit handler for specific set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific condition for sqlstate '02000';
-declare exit handler for specific set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexception set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexcepti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql_calc_found_rows set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_small_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_sm' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting condition for sqlstate '02000';
-declare exit handler for starting set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting condition for sqlstate '02000';
-declare exit handler for starting set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join condition for sqlstate '02000';
-declare exit handler for straight_join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join condition for sqlstate '02000';
-declare exit handler for straight_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table condition for sqlstate '02000';
-declare exit handler for table set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table condition for sqlstate '02000';
-declare exit handler for table set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated condition for sqlstate '02000';
-declare exit handler for terminated set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated condition for sqlstate '02000';
-declare exit handler for terminated s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing condition for sqlstate '02000';
-declare exit handler for trailing set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing condition for sqlstate '02000';
-declare exit handler for trailing set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger condition for sqlstate '02000';
-declare exit handler for trigger set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger condition for sqlstate '02000';
-declare exit handler for trigger set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union condition for sqlstate '02000';
-declare exit handler for union set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000';
-declare exit handler for union set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique condition for sqlstate '02000';
-declare exit handler for unique set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique condition for sqlstate '02000';
-declare exit handler for unique set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update condition for sqlstate '02000';
-declare exit handler for update set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update condition for sqlstate '02000';
-declare exit handler for update set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using condition for sqlstate '02000';
-declare exit handler for using set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using condition for sqlstate '02000';
-declare exit handler for using set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_times' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values condition for sqlstate '02000';
-declare exit handler for values set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values condition for sqlstate '02000';
-declare exit handler for values set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar condition for sqlstate '02000';
-declare exit handler for varchar set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar condition for sqlstate '02000';
-declare exit handler for varchar set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter condition for sqlstate '02000';
-declare exit handler for varcharacter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter condition for sqlstate '02000';
-declare exit handler for varcharact' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying condition for sqlstate '02000';
-declare exit handler for varying set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying condition for sqlstate '02000';
-declare exit handler for varying set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where condition for sqlstate '02000';
-declare exit handler for where set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000';
-declare exit handler for where set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while condition for sqlstate '02000';
-declare exit handler for while set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while condition for sqlstate '02000';
-declare exit handler for while set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write condition for sqlstate '02000';
-declare exit handler for write set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write condition for sqlstate '02000';
-declare exit handler for write set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month condition for sqlstate '02000';
-declare exit handler for year_month set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month condition for sqlstate '02000';
-declare exit handler for year_month s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of handler may be declared for
-a stored procedure (continue- handler_type ).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values ' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare continueinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undoinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare exitinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare privileges handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-USE db_storedproc;
-
-Testcase 4.2.26:
---------------------------------------------------------------------------------
-set @v1='0';
-set @v2='0';
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char;
-declare y char;
-declare cond1 condition for sqlstate '42000';
-declare cur1 cursor for SELECT f1 from t2 limit 1;
-declare continue handler for cond1 set @x = 4;
-set @x = '1';
-set @y = '2';
-BEGIN
-declare x char;
-declare y char;
-declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
-declare continue handler for sqlstate '42000' set @x = 3;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-SELECT x, y, @x;
-END;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-set @v1 = @x;
-set @v2 = y;
-END//
-CALL sp1();
-x y @x
-NULL a 3
-Warnings:
-Warning 1265 Data truncated for column 'y' at row 3
-Warning 1265 Data truncated for column 'y' at row 1
-SELECT @v1, @v2;
-@v1 @v2
-4 a
-DROP PROCEDURE sp1;
-
-Testcase 4.2.28:
---------------------------------------------------------------------------------
-set @x=0;
-set @y=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set session sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @x = 4;
-set @y = 3;
-set global sort_buffer_size = 2 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @@sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-END//
-CALL sp1();
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-SELECT @x, @y;
-@x @y
-4 3
-
-Testcase 4.2.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char default 'x';
-declare xy char default 'y';
-declare xz char default 'z';
-set @xx = xx, @xy = xy;
-set @xz = xz;
-SELECT @xx, @xy, @xz;
-END//
-CALL sp1();
-@xx @xy @xz
-x y z
-DROP PROCEDURE sp1;
-
-Testcase 4.2.30:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 'asd';
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 5;
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-5
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - a:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char;
-set xx = 'temp';
-set @xx = xx;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-SELECT @xx;
-@xx
-t
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - b:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 1.6;
-SELECT xx;
-END//
-CALL sp1();
-xx
-1.6
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - c:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0000-00-00 00:00:00
-Warnings:
-Warning 1264 Out of range value for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = '2006-06-06 01:01:01';
-SELECT xx;
-END//
-CALL sp1();
-xx
-2006-06-06 01:01:01
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - d:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx varchar(20);
-set xx = "abcdefghijk";
-SELECT xx;
-END//
-CALL sp1();
-xx
-abcdefghijk
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - e:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = -125;
-SELECT xx;
-END//
-CALL sp1();
-xx
--125
-DROP PROCEDURE sp1;
-
-Testcase 4.2.37:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x integer; declare y integer;
-SELECT sal, f2 into x, y from t2 limit 1;
-set @x=x; set @y=y;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char ascii;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinytext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x text;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x blob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x binary;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x date;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x time;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x datetime;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x timestamp;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(3);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(4);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x enum("1enum", "2enum");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x set("1set", "2set");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.38:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare notable condition for sqlstate '42S02';
-declare continue handler for notable set @x2=1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.39:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000';
-declare cond1 condition for sqlstate '23000';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values(1);
-END//
-ERROR 42000: Duplicate condition: cond1
-
-Testcase 4.2.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '12';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1234';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.42:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'abcdefghi';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'abcdefghi'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000test';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '42000test'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000@#$%^&';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'null';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'null'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate ' ';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: ' '
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '2005-03-03';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '2005-03-03'
-
-Testcase 4.2.43:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-expect failure, SQLSTATE 00000 is not an acceptable value
-for an SP's handler
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000';
-declare continue handler for cond1 set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-ensure SP doesn't exist
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-
-Testcase 4.2.45:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare continue handler for sqlstate '23000' set @varr1 = 5;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare mycondition condition for sqlstate '23000';
-declare continue handler for mycondition set @varr3 = 7;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-
-Testcase 4.2.46:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '12' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1234' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123456' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.47:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42s0200test' set @var2 = 1;
-insert into tnull values( 1);
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '42s0200test'
-
-Testcase 4.2.48:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-This creation should fail, SQLSTATE 00000 is unacceptable
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '00000' set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-Verify SP wasn't created
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTSsp1;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXISTSsp1' at line 1
-
-Testcase 4.2.52:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare cur1 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Duplicate cursor: cur1
-
-Testcase 4.2.53:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Cursor SELECT must not have INTO
-
-Testcase 4.2.54:
---------------------------------------------------------------------------------
-
-Testcase 4.2.55:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Undefined CURSOR: cur1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-END;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-
-Testcase 4.2.56:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.57:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare cur2 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.59:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 10;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.60:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-close cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-close cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-fetch cur1 into newf1, newf2, newf3, newf4;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.62:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf2 char(20);
-declare newf1 int1;
-declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2;
-set @x = newf1;
-set @y = newf2;
-SELECT @x, @y;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-DROP PROCEDURE sp1;
-
-Testcase 4.2.63:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-close cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.64:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-start transaction;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.65:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-rollback;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.66:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.67:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-# set count = count - 1;
-# while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-# set count = count - 1;
-# END while;
-END;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.70:
---------------------------------------------------------------------------------
-create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare newf21 char(20);
-declare newf22 char(20);
-declare newf23 char(20);
-declare newf24 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
-declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-set count = 10;
-BEGIN
-open cur2;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-insert into temp1 values(newf1, newf2, newf4, newf3);
-close cur1;
-END;
-BEGIN
-set count = 10;
-while count > 0 do
-fetch cur2 into newf21, newf22, newf24, newf23;
-set count = count - 1;
-END while;
-END;
-insert into temp2 values(newf21, newf22, newf24, newf23);
-close cur2;
-END//
-CALL sp1();
-SELECT count(*) from temp1;
-count(*)
-1
-SELECT * from temp2;
-f1 f2 f3 f4
-NULL NULL NULL NULL
-DROP PROCEDURE sp1;
-drop table temp1;
-drop table temp2;
-
-Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
-. IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.3.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP TABLE IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
-middleinitial CHAR, lastname VARCHAR(50),
-age_averylongfieldname_averylongname_1234569 INT, COMMENT VARCHAR(100))
-ENGINE=<engine_to_be_tested>;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
-CREATE PROCEDURE sp1(a INT)
-BEGIN
-DECLARE itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx CHAR;
-DECLARE itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx VARCHAR(100);
-DECLARE itisjustamediumsizeintintegervariablename INTEGER;
-SET itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
-SET itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx
-= 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
-SET itisjustamediumsizeintintegervariablename = 5;
-SET @comment='a';
-label1: LOOP
-IF a > 100 THEN
-SET @comment = 'value of a is greater than 100';
-ELSEIF a < 100 THEN
-IF a < 50 THEN
-SET @comment = 'value of a is less than 50';
-ELSEIF a < 25 THEN
-SET @comment = 'value of a is less than 25';
-ELSE
-SET @comment = 'value of a is greater than 50 and less than 100';
-END IF;
-ELSE
-SET @comment = 'value of a is 100';
-END IF;
-IF itisjustamediumsizeintintegervariablename = 0 THEN LEAVE label1;
-END IF;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES(itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
-CONCAT(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx,
-' ', a), a, @comment);
-SET itisjustamediumsizeintintegervariablename
-= itisjustamediumsizeintintegervariablename - 1;
-ITERATE label1;
-END LOOP label1;
-END//
-CALL sp1(101);
-CALL sp1(100);
-CALL sp1(75);
-CALL sp1(40);
-CALL sp1(20);
-CALL sp1(-1);
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
-ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
-middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
-a aaaaaaaaaabbbbbbbbc 0 default
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE sp1;
-
-Testcase 4.3.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2 = 'address';
-set count = 1;
-case when action = 'delete' then
-insert into t3 values(v1, v2, count);
-delete from t3 where f1=v1;
-when action = 'insert' then
-repeat
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-label1: repeat
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-while count < 5 do
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-END while;
-set count = 1;
-label1: while count < 5 do
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-END while;
-else
-set @dummystring = 'temp value';
-END case;
-END//
-CALL sp2( 'insert' );
-SELECT * from t3 where f3 <=5 && f3 >= 0;
-f1 f2 f3
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 5
-f1 address 5
-SELECT count(*) from t3;
-count(*)
-28
-CALL sp2( 'delete' );
-SELECT count(*) from t3;
-count(*)
-10
-CALL sp2 ('test');
-SELECT @dummystring;
-@dummystring
-temp value
-DROP PROCEDURE sp2;
-
-Testcase 4.1.2:
----------------
-Ensure that all sub-clauses that should not be supported are disallowed with
-an appropriate error message. (case)
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp3;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case label1;
-END//
-ERROR 42000: You 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
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsav' at line 3
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: BEGIN
-case
-action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END label1;
-END//
-ERROR 42000: You 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
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set' at line 5
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsave' at line 6
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2= 'address';
-set count = 1;
-case action
-when 'delete' then
-when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 11
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare count int default 1;
-declare done int default 0;
-declare continue handler for sqlstate 'HY000' set done=1;
-label1: loop
-case
-when action = 'delete' then
-label3:BEGIN
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END label3;
-when action = 'insert' then
-label2: while count < 10 do
-BEGIN
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
-values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
-set count = count + 1;
-if count= 10 then
-set done=1;
-END if;
-END;
-END while label2;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-if done=1 then
-leave label1;
-END if;
-END loop label1;
-SELECT count, done;
-END//
-CALL sp3('insert');
-count done
-10 1
-Warnings:
-Warning 1265 Data truncated for column 'name' at row 1
-Warning 1265 Data truncated for column 'name' at row 2
-Warning 1265 Data truncated for column 'name' at row 3
-Warning 1265 Data truncated for column 'name' at row 4
-Warning 1265 Data truncated for column 'name' at row 5
-Warning 1265 Data truncated for column 'name' at row 6
-Warning 1265 Data truncated for column 'name' at row 7
-Warning 1265 Data truncated for column 'name' at row 8
-Warning 1265 Data truncated for column 'name' at row 9
-DROP PROCEDURE sp3;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-if count > 10 then leave label1;
-else
-set count = count + 1;
-elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-EN' at line 9
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-else
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You 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
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare i int default 10;
-if i > 20 then
-set i=25;
-END if
-declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-' at line 7
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare idummy int default 10;
-declare count int;
-set count = 1;
-label1: loop
-BEGIN
-if count < 20 then
-BEGIN
-declare idummy2 int default 10;
-set count=count+1;
-END;
-else
-BEGIN
-SELECT idummy2;
-leave label1;
-END;
-END if;
-iterate label1;
-END;
-END loop label1;
-END//
-CALL sp4();
-ERROR 42S22: Unknown column 'idummy2' in 'field list'
-DROP PROCEDURE sp4;
-
-Testcase 4.3.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-BEGIN
-declare count integer default 1;
-set count = 1;
-case
-else
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END' at line 6
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-END case;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = coun' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count' at line 3
-
-Testcase 4.3.6:
----------------
-Ensure that all supported sub-clauses are supported only in the correct order (repeat).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-until count1 > 5
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-until count1 > 5
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 5
-repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-unt' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 10;
-SELECT count1;
-END repeat;
-END//
-ERROR 42000: You 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 count1;
-END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1-1;
-until count1 < 0
-END repeat label1;
-SELECT count1;
-END//
-CALL sp6();
-count1
--1
-DROP PROCEDURE sp6;
-
-Testcase 4.3.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-label1 iterate;
-END label1 loop;
-END//
-ERROR 42000: You 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;
-END label1 loop;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-iterate label1;
-loop;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END ' at line 3
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave l' at line 3
-
-Testcase 4.3.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do while v1 > 0
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while v1 > 0
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do v1 > 0 while
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You 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
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-END while;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END//
-ERROR 42000: You 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;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END' at line 4
-
-Testcase 4.3.12:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp12;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp12( )
-BEGIN
-declare count1 integer default 1;
-declare count2 int;
-label1: loop
-if count1 > 2 then leave label1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-label2: loop
-if count2 > 2 then leave label2;
-END if;
-set count2 = count2 + 1;
-END loop label1;
-set count1 = count1 + 1;
-iterate label1;
-END loop label2;
-END//
-ERROR 42000: End-label label1 without match
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.13:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp13;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp13( )
-BEGIN
-declare count1 integer default 1;
-lable1: loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop;
-END//
-CALL sp13();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 1
-xyz pqr 2
-DROP PROCEDURE sp13;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.14:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp14;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp14( )
-BEGIN
-declare count1 integer default 1;
-loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: LEAVE with no matching label: lable1
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.15:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp15;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp15( )
-BEGIN
-declare count1 integer default 1;
-label1 loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: You 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
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1' at line 4
-
-Testcase 4.3.16:
-----------------
-Ensure that every beginning label with the same scope must be unique.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp16;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-set count2 = 1;
-label1: repeat
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
-until count2 > 3
-END repeat label1;
-until count1 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-declare count3 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-label1: repeat
-set count2 = count2 + 1;
-SELECT count2;
-until count2 > 3
-END repeat label1;
-SELECT count1;
-until count1 > 3
-END repeat label1;
-label1: repeat
-set count3 = count3 + 1;
-SELECT count3;
-until count3 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-
-Testcase 4.3.17:
---------------------------------------------------------------------------------
-
-Testcase 4.3.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp18;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp18( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label2;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.19:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat;
-END//
-CALL sp19();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-DROP PROCEDURE sp19;
-
-Testcase 4.3.20:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( )
-BEGIN
-declare count1 integer default 1;
-repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END' at line 8
-
-Testcase 4.3.21:
---------------------------------------------------------------------------------
-
-Testcase 4.3.22:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label2;
-END while;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.23:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END while;
-END' at line 11
-
-Testcase 4.3.25:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while;
-END while;
-END//
-CALL sp25 ();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-xyz pqr 2
-xyz pqr 3
-xyz pqr 3
-DROP PROCEDURE sp25;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Section 3.1.4 - Checks for the global nature of stored procedures:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.4.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP DATABASE IF EXISTS d40401;
-CREATE PROCEDURE sp1 ( n char(20) )
-BEGIN
-SELECT n;
-END//
-CREATE DATABASE d40401;
-USE d40401;
-CALL db_storedproc.sp1('abcd');
-n
-abcd
-USE db_storedproc;
-DROP PROCEDURE sp1;
-DROP DATABASE d40401;
-
-Testcase 4.4.2:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-DROP DATABASE IF EXISTS d40402;
-CREATE FUNCTION fn1(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-CREATE DATABASE d40402;
-USE d40402;
-SELECT db_storedproc.fn1(100);
-db_storedproc.fn1(100)
-900
-SELECT db_storedproc.fn1(1000);
-db_storedproc.fn1(1000)
-9000
-CREATE FUNCTION db_storedproc.fn11(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-SELECT db_storedproc.fn11(100);
-db_storedproc.fn11(100)
-900
-SELECT db_storedproc.fn11(1000);
-db_storedproc.fn11(1000)
-9000
-USE db_storedproc;
-DROP FUNCTION fn1;
-DROP FUNCTION fn11;
-DROP DATABASE d40402;
-
-Testcase 4.4.3:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-create table res_t41(a char(5), b char(10));
-insert into res_t41 values('abcde', 'a!@#$%^&*(');
-USE d2;
-create table res_t42(a char(5), b char(10));
-USE d1;
-CREATE PROCEDURE sp2(n char (20))
-BEGIN
-SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
-insert into d2.res_t42 values (@a, @b);
-END//
-USE d2;
-CALL d1.sp2('a!@#$%^&*(');
-show warnings;
-Level Code Message
-SELECT * from d1.res_t41;
-a b
-abcde a!@#$%^&*(
-SELECT * from res_t42;
-a b
-abcde a!@#$%^&*(
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Testcase 4.4.4:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-CREATE PROCEDURE sp3()
-BEGIN
-USE d1;
-END//
-ERROR 0A000: USE is not allowed in stored procedures
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.5:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-create table t43(a char(5), b char(10));
-insert into t43 values('abcde', 'a!@#$%^&*(');
-CREATE PROCEDURE d1.sp4()
-SELECT * from d1.t43;
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created NO_ENGINE_SUBSTITUTION latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from d1.t43
-USE db_storedproc;
-DROP DATABASE d1;
-CREATE DATABASE d1;
-USE d1;
-create table t44(a char(5), b char(10));
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.6:
---------------------------------------------------------------------------------
-USE db_storedproc;
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp5';
-db
-db_storedproc
-DROP PROCEDURE sp5;
-
-Testcase 4.4.7:
---------------------------------------------------------------------------------
-USE db_storedproc;
-drop table IF EXISTS t46;
-DROP PROCEDURE IF EXISTS sp6;
-create table t46(f1 char(20), f2 char(20));
-insert into t46 values ('abcd', 'wxyz');
-CREATE PROCEDURE db_storedproc.sp6()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp6';
-db
-db_storedproc
-drop table t46;
-DROP PROCEDURE sp6;
-
-Testcase 4.4.8:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
- SELECT * from t1 where t1.f1 = n;
-USE d2;
-alter procedure d1.sp8 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='sp8' and db='d1';
-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
-d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created NO_ENGINE_SUBSTITUTION updated latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 where t1.f1 = n
-
-Testcase 4.4.9:
---------------------------------------------------------------------------------
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-alter function d1.fn2 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='fn2' and db='d1';
-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
-d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END root@localhost modified created NO_ENGINE_SUBSTITUTION updated latin1 latin1_swedish_ci latin1_swedish_ci BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END
-
-Testcase 4.4.10:
---------------------------------------------------------------------------------
-USE d1;
-CREATE PROCEDURE sp9 ( n char(20) )
-SELECT * from t1 where t1.f1 = n;
-USE d2;
-DROP PROCEDURE d1.sp9;
-SELECT * from mysql.proc where specific_name='sp9' and db='d1';
-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.4.11:
---------------------------------------------------------------------------------
-USE d1;
-CREATE FUNCTION d1.fn3(n int) returns int
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-DROP FUNCTION d1.fn3;
-SELECT * from mysql.proc where specific_name='fn3' and db='d1';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Section 3.1.5 - Parameter use checks:
-Functions with all data types
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1( f1 bigint) returns bigint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn1(-9.22e+18);
-fn1(-9.22e+18)
--9220000000000000000
-DROP FUNCTION IF EXISTS fn2;
-CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn2(1.84e+19);
-fn2(1.84e+19)
-18400000000000000000
-DROP FUNCTION IF EXISTS fn3;
-CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn3(1.84e+17);
-fn3(1.84e+17)
-184000000000000000
-DROP FUNCTION IF EXISTS fn4;
-CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn4(-9.22e+15);
-fn4(-9.22e+15)
-0
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn5;
-CREATE FUNCTION fn5( f1 decimal) returns decimal
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn5(-1.00e+09);
-fn5(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn6;
-CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn6(-1.00e+09);
-fn6(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn7;
-CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn7(99999999999);
-fn7(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn8;
-CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn8(999999999);
-fn8(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn9;
-CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn9(-1.00e+09);
-fn9(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn10;
-CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn10(-1.00e+09);
-fn10(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn11(99999999999);
-fn11(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn12;
-CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn12(999999999);
-fn12(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn13;
-CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn13(-1.00e+09);
-fn13(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn14;
-CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn14(-1.00e+21);
-fn14(-1.00e+21)
--1000000000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn15;
-CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn15(1.00e+16);
-fn15(1.00e+16)
-10000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn16;
-CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn16(1.00e+16);
-fn16(1.00e+16)
-000000000000000010000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn17;
-CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn17(-1.00e+21);
-fn17(-1.00e+21)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn18_d;
-CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn18_d( -1000000000000000000000000000000 );
-fn18_d( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn19_du;
-CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn19_du( 100000000000000000000 );
-fn19_du( 100000000000000000000 )
-100000000000000000000
-DROP FUNCTION IF EXISTS fn20_duz;
-CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn20_duz( 1000000000000000000000000 );
-fn20_duz( 1000000000000000000000000 )
-0000000000000000000000000000000000000001000000000000000000000000
-DROP FUNCTION IF EXISTS fn21_d_z;
-CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn21_d_z(1.00e+00);
-fn21_d_z(1.00e+00)
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn22;
-CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn22(1.00e+00);
-fn22(1.00e+00)
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn23;
-CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn23(1.00e+00);
-fn23(1.00e+00)
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn24;
-CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn24(-1.00e+09);
-fn24(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn25;
-CREATE FUNCTION fn25( f1 double) returns double
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn25(1.00e+00);
-fn25(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn26;
-CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn26(1.00e+00);
-fn26(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn27;
-CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn27(1.00e+00);
-fn27(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn28;
-CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn28(1.00e+00);
-fn28(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn29;
-CREATE FUNCTION fn29( f1 float) returns float
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn29(1.00e+00);
-fn29(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn30;
-CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn30(1.00e+00);
-fn30(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn31;
-CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn31(1.00e+00);
-fn31(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn32;
-CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn32(1.00e+00);
-fn32(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn33;
-CREATE FUNCTION fn33( f1 float(0)) returns float(0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn33(1.00e+00);
-fn33(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn34;
-CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn34(1.00e+00);
-fn34(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn35;
-CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn35(1.00e+00);
-fn35(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn36;
-CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn36(1.00e+00);
-fn36(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn37;
-CREATE FUNCTION fn37( f1 float(23)) returns float(23)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn37(1.00e+00);
-fn37(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn38;
-CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn38(1.00e+00);
-fn38(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn39;
-CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn39(1.00e+00);
-fn39(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn40;
-CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn40(1.00e+00);
-fn40(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn41;
-CREATE FUNCTION fn41( f1 float(24)) returns float(24)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn41(1.00e+00);
-fn41(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn42;
-CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn42(1.00e+00);
-fn42(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn43;
-CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn43(1.00e+00);
-fn43(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn44;
-CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn44(1.00e+00);
-fn44(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn45;
-CREATE FUNCTION fn45( f1 float(53)) returns float(53)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn45(1.00e+00);
-fn45(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn46;
-CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn46(1.00e+00);
-fn46(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn47;
-CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn47(1.00e+00);
-fn47(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn48;
-CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn48(1.00e+00);
-fn48(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn49;
-CREATE FUNCTION fn49( f1 int) returns int
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn49(-2.15e+09);
-fn49(-2.15e+09)
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn50;
-CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn50(4.29e+09);
-fn50(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn51;
-CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn51(4.29e+09);
-fn51(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn52;
-CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn52(2.15e+08);
-fn52(2.15e+08)
-215000000
-DROP FUNCTION IF EXISTS fn53;
-CREATE FUNCTION fn53( f1 mediumint) returns mediumint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn53(-8388600);
-fn53(-8388600)
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn54;
-CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn54(16777201);
-fn54(16777201)
-16777202
-DROP FUNCTION IF EXISTS fn55;
-CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn55(16777210);
-fn55(16777210)
-16777210
-DROP FUNCTION IF EXISTS fn56;
-CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn56(-8388601);
-fn56(-8388601)
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn57;
-CREATE FUNCTION fn57( f1 numeric) returns numeric
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn57(-999999999);
-fn57(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn58;
-CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn58(-999999999);
-fn58(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn59;
-CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn59(9999999999);
-fn59(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn60;
-CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn60(99999999);
-fn60(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn61;
-CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn61(-99999999);
-fn61(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn62;
-CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn62(-999999999);
-fn62(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn63;
-CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn63(9999999999);
-fn63(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn64;
-CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn64(99999999);
-fn64(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn65;
-CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn65(-99999999);
-fn65(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn66;
-CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn66(-1e+36);
-fn66(-1e+36)
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn67;
-CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn67(1e+36);
-fn67(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn68;
-CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn68(1e+36);
-fn68(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn69;
-CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn69(-1e+36);
-fn69(-1e+36)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn70_n;
-CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn70_n( -1000000000000000000000000000000 );
-fn70_n( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-SELECT fn70_n( -10000000000000000000000000000000000000000 );
-fn70_n( -10000000000000000000000000000000000000000 )
--10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn71_nu;
-CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn71_nu( 10000000000000000000000000000000000000000 );
-fn71_nu( 10000000000000000000000000000000000000000 )
-10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn72_nuz;
-CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
-fn72_nuz( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn73_n_z;
-CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
-fn73_n_z( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn74;
-CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn74(999999999);
-fn74(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn75;
-CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn75(999999999);
-fn75(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn76;
-CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn76(-999999999);
-fn76(-999999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn77;
-CREATE FUNCTION fn77( f1 real) returns real
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn77(1.1);
-fn77(1.1)
-1.1
-DROP FUNCTION IF EXISTS fn78;
-CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn78(1.1);
-fn78(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn79;
-CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn79(1.1);
-fn79(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn80;
-CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn80(1.1);
-fn80(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn81;
-CREATE FUNCTION fn81( f1 smallint) returns smallint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn81(-32701);
-fn81(-32701)
--32702
-DROP FUNCTION IF EXISTS fn82;
-CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn82(65531);
-fn82(65531)
-65532
-DROP FUNCTION IF EXISTS fn83;
-CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn83(65531);
-fn83(65531)
-65532
-DROP FUNCTION IF EXISTS fn84;
-CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn84(-32601);
-fn84(-32601)
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn85;
-CREATE FUNCTION fn85( f1 tinyint) returns tinyint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn85(-115);
-fn85(-115)
--116
-DROP FUNCTION IF EXISTS fn86;
-CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn86(251);
-fn86(251)
-252
-DROP FUNCTION IF EXISTS fn87;
-CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn87(201);
-fn87(201)
-202
-DROP FUNCTION IF EXISTS fn88;
-CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn88(-101);
-fn88(-101)
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn89;
-CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
-BEGIN
-IF f1 = '1enum' THEN
-SET f1 = '2enum';
-ELSE
-SET f1 = '1enum';
-END IF;
-RETURN f1;
-END//
-SELECT fn89( '1enum');
-fn89( '1enum')
-2enum
-DROP FUNCTION IF EXISTS fn90;
-CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
-BEGIN
-IF f1 = '1set' THEN
-SET f1 = '2set';
-ELSE
-SET f1 = '1set';
-END IF;
-RETURN f1;
-END//
-SELECT fn90( '1set');
-fn90( '1set')
-2set
-DROP FUNCTION IF EXISTS fn91;
-CREATE FUNCTION fn91( f1 date) returns date
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-return f1;
-END//
-SELECT fn91('1997-12-31');
-fn91('1997-12-31')
-1998-01-31
-DROP FUNCTION IF EXISTS fn92;
-CREATE FUNCTION fn92( f1 time) returns time
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-return f1;
-END//
-SELECT fn92( '23:59:59.999999');
-fn92( '23:59:59.999999')
-25:59:59
-DROP FUNCTION IF EXISTS fn93;
-CREATE FUNCTION fn93( f1 datetime) returns datetime
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-return f1;
-END//
-SELECT fn93('1997-12-31 23:59:59.999999');
-fn93('1997-12-31 23:59:59.999999')
-1998-01-02 01:01:00
-DROP FUNCTION IF EXISTS fn94;
-CREATE FUNCTION fn94( f1 char) returns char
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn94( 'h');
-fn94( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn95;
-CREATE FUNCTION fn95( f1 char ascii) returns char ascii
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn95('h');
-fn95('h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn96;
-CREATE FUNCTION fn96( f1 binary) returns binary(2)
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn96( 'h');
-fn96( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn97;
-CREATE FUNCTION fn97( f1 longtext) returns longtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn97( 'world');
-fn97( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn98;
-CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn98( 'world');
-fn98( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn99;
-CREATE FUNCTION fn99( f1 text) returns text
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn99( 'world');
-fn99( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn100;
-CREATE FUNCTION fn100( f1 tinytext) returns tinytext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn100( 'world');
-fn100( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn101;
-CREATE FUNCTION fn101( f1 year) returns year
-BEGIN
-set f1 = f1 + 10;
-return f1;
-END//
-SELECT fn101(51);
-fn101(51)
-2061
-DROP FUNCTION IF EXISTS fn102;
-CREATE FUNCTION fn102( f1 year(4)) returns year(4)
-BEGIN
-set f1 = f1 + 51;
-return f1;
-END//
-SELECT fn102(1982);
-fn102(1982)
-2033
-DROP FUNCTION IF EXISTS fn103;
-CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn104;
-CREATE FUNCTION fn104( f1 linestring) returns linestring
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@')
-
-DROP FUNCTION IF EXISTS fn105;
-CREATE FUNCTION fn105( f1 point) returns point
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@')
-
-DROP FUNCTION IF EXISTS fn106;
-CREATE FUNCTION fn106( f1 polygon) returns polygon
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn107;
-CREATE FUNCTION fn107( f1 timestamp) returns timestamp
-BEGIN
-set f1 = now();
-return f1;
-END//
-SELECT fn107(20050510080451);
-fn107(20050510080451)
-returned
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( f1 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp1(-9.22e+18);
-f1
--9220000000000000000
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( f1 bigint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp2(1.84e+19);
-f1
-18400000000000000000
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( f1 bigint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp3(1.84e+17);
-f1
-00184000000000000000
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( f1 bigint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp4(-9.22e+15);
-f1
-00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5( f1 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp5(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( f1 decimal (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp6(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7( f1 decimal (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp7(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( f1 decimal (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp8(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( f1 decimal (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp9(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( f1 decimal (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp10(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( f1 decimal (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp11(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( f1 decimal (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp12(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( f1 decimal (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp13(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( f1 decimal (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp14(-1.00e+21);
-f1
--1000000000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( f1 decimal (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp15(1.00e+16);
-f1
-10000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( f1 decimal (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp16(1.00e+16);
-f1
-000000000000000010000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( f1 decimal (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp17(-1.00e+21);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp18_d;
-CREATE PROCEDURE sp18_d( f1 decimal (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp18_d(-1.00e+30);
-f1
--1000000000000000000000000000000
-CALL sp18_d( -1000000000000000000000000000000 );
-f1
--1000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp19_du;
-CREATE PROCEDURE sp19_du( f1 decimal (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp19_du(1.00e+20);
-f1
-100000000000000000000
-CALL sp19_du( 100000000000000000000 );
-f1
-100000000000000000000
-CALL sp19_du(1.00e+24);
-f1
-1000000000000000000000000
-CALL sp19_du( 1000000000000000000000000 );
-f1
-1000000000000000000000000
-DROP PROCEDURE IF EXISTS sp20_duz;
-CREATE PROCEDURE sp20_duz( f1 decimal (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp20_duz(1.00e+20);
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz( 100000000000000000000 );
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz(1.00e+24);
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-CALL sp20_duz( 1000000000000000000000000 );
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( f1 decimal (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp21(1.00e+00);
-f1
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( f1 decimal unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp22(1.00e+00);
-f1
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( f1 decimal unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp23(1.00e+00);
-f1
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( f1 decimal zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp24(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( f1 double)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp25(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( f1 double unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp26(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( f1 double unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp27(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( f1 double zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp28(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( f1 float)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp29(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( f1 float unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp30(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( f1 float unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp31(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( f1 float zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp32(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( f1 float(0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp33(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( f1 float(0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp34(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( f1 float(0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp35(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( f1 float(0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp36(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( f1 float(23))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp37(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( f1 float(23) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp38(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( f1 float(23) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp39(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( f1 float(23) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp40(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( f1 float(24))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp41(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( f1 float(24) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp42(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( f1 float(24) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp43(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( f1 float(24) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp44(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( f1 float(53))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp45(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( f1 float(53) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp46(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( f1 float(53) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp47(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( f1 float(53) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp48(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( f1 int)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp49(-2.15e+09);
-f1
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( f1 int unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp50(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( f1 int unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp51(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( f1 int zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp52(2.15e+08);
-f1
-0215000000
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( f1 mediumint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp53(-8388600);
-f1
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( f1 mediumint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp54(16777201);
-f1
-16777202
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( f1 mediumint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp55(16777210);
-f1
-16777210
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( f1 mediumint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp56(-8388601);
-f1
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( f1 numeric)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp57(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( f1 numeric (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp58(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( f1 numeric (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp59(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( f1 numeric (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp60(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( f1 numeric (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp61(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( f1 numeric (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp62(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( f1 numeric (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp63(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( f1 numeric (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp64(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( f1 numeric (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp65(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp66_n;
-CREATE PROCEDURE sp66_n( f1 numeric (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp66_n(-1e+36);
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp66_n( -1000000000000000000000000000000000000 );
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp67_nu;
-CREATE PROCEDURE sp67_nu( f1 numeric (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp67_nu(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp67_nu( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp68_nuz;
-CREATE PROCEDURE sp68_nuz( f1 numeric (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp68_nuz(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp68_nuz( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp69_n_z;
-CREATE PROCEDURE sp69_n_z( f1 numeric (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp69_n_z(-1e+36);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp69_n_z( -1000000000000000000000000000000000000 );
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp70_n;
-CREATE PROCEDURE sp70_n( f1 numeric (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp70_n(-1e+40);
-f1
--10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp70_n( -10000000000000000000000000000000000000000 );
-f1
--10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp71_nu;
-CREATE PROCEDURE sp71_nu( f1 numeric (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp71_nu(1.00e+40);
-f1
-10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp71_nu( 10000000000000000000000000000000000000000 );
-f1
-10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp72_nuz;
-CREATE PROCEDURE sp72_nuz( f1 numeric (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp72_nuz(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp72_nuz( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp73_n_z;
-CREATE PROCEDURE sp73_n_z( f1 numeric (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp73_n_z(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp73_n_z( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( f1 numeric unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp74(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( f1 numeric unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp75(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( f1 numeric zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp76(-999999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( f1 real)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp77(1.1);
-f1
-1.1
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( f1 real unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp78(1.1);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( f1 real unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp79(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( f1 real zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp80(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( f1 smallint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp81(-32701);
-f1
--32702
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( f1 smallint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp82(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( f1 smallint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp83(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( f1 smallint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp84(-32601);
-f1
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( f1 tinyint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp85(-115);
-f1
--116
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( f1 tinyint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp86(251);
-f1
-252
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( f1 tinyint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp87(201);
-f1
-202
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( f1 tinyint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp88(-101);
-f1
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( f1 enum('1enum', '2enum'))
-BEGIN
-IF f1 = '1enum' THEN set f1 = '2enum'; ELSE set f1 = '1enum'; END IF;
-END//
-CALL sp89( '1enum');
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( f1 set('1set', '2set'))
-BEGIN
-IF f1 = '1set' THEN set f1 = '2set'; ELSE set f1 = '1set'; END IF;
-END//
-CALL sp90( '1set');
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( f1 date)
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-SELECT f1;
-END//
-CALL sp91( '1997-12-31');
-f1
-1998-01-31
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( f1 time)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-SELECT f1;
-END//
-CALL sp92( '23:59:59.999999');
-f1
-25:59:59
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( f1 datetime)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-SELECT f1;
-END//
-CALL sp93('1997-12-31 23:59:59.999999');
-f1
-1998-01-02 01:01:00
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( f1 char)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp94( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( f1 char ascii)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp95( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( f1 char binary)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp96( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( f1 longtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp97( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( f1 mediumtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp98( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( f1 text)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp99( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( f1 tinytext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp100( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( f1 year)
-BEGIN
-set f1 = f1 + 10;
-SELECT f1;
-END//
-CALL sp101(51);
-f1
-2061
-DROP PROCEDURE IF EXISTS sp102;
-CREATE PROCEDURE sp102( f1 year(4))
-BEGIN
-set f1 = f1 + 51;
-SELECT f1;
-END//
-CALL sp102(1982);
-f1
-2033
-DROP PROCEDURE IF EXISTS sp103;
-CREATE PROCEDURE sp103( f1 geometrycollection)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp104;
-CREATE PROCEDURE sp104( f1 linestring)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp105;
-CREATE PROCEDURE sp105( f1 point)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-f1
-
-DROP PROCEDURE IF EXISTS sp106;
-CREATE PROCEDURE sp106( f1 polygon)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp107;
-CREATE PROCEDURE sp107( f1 timestamp)
-BEGIN
-set f1 = now() + 0 + f1;
-SELECT f1;
-END//
-CALL sp107(2.00e+13);
-f1
-returned
-Warnings:
-returned 1265 Data truncated for column 'f1' at row 1
-USE db_storedproc;
-DROP DATABASE db1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( in f1 year, inout f2 year, out f3 year, in f4 year,
-inout f5 year, out f6 year, in f7 year(4), inout f8 year(4),
-out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute01;
-CREATE PROCEDURE spexecute01()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 51;
-set var3 = 51;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp1(51, var1, var2, 51, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute01();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2033 2084 2033 2084
-DROP PROCEDURE spexecute01;
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text,
-out f6 text, in f7 tinytext, inout f8 tinytext, out f9 tinytext,
-in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute02;
-CREATE PROCEDURE spexecute02()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp2( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute02();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute02;
-DROP PROCEDURE sp2;
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( in f1 char, inout f2 char, out f3 char, in f4 char ascii,
-inout f5 char ascii, out f6 char ascii, in f7 longtext,
-inout f8 longtext, out f9 longtext, in f10 mediumtext,
-inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f9);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute03;
-CREATE PROCEDURE spexecute03()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp3( 'h', var1, var2, 'h', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute03();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a helloworld helloworld NULL helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a helloworld NULL helloworld hellohelloworld
-DROP PROCEDURE spexecute03;
-DROP PROCEDURE sp3;
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( in f1 bigint, inout f2 bigint, out f3 bigint,
-in f4 bigint, inout f5 bigint, out f6 bigint,
-in f7 bigint, inout f8 bigint, out f9 bigint,
-in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute04;
-CREATE PROCEDURE spexecute04()
-BEGIN
-declare var1 bigint;
-declare var2 bigint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+18;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp4(-9.22e+18, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute04();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-6744073709551616 6744073709551616 -9220000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute04;
-DROP PROCEDURE sp4;
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( in f1 timestamp, inout f2 timestamp, out f3 timestamp, in f4 timestamp, inout f5 timestamp, out f6 timestamp, in f7 timestamp, inout f8 timestamp, out f9 timestamp, in f10 timestamp, inout f11 timestamp, out f12 timestamp)
-BEGIN
-set f1 = now() + 0 + f1; set f2 = now() + 0 + f2; set f3 = now() + 0 + f1;
-set f4 = now() + 0 + f4; set f5 = now() + 0 + f5; set f6 = now() + 0 + f5;
-set f7 = now() + 0 + f7; set f8 = now() + 0 + f8; set f9 = now() + 0 + f8;
-set f10 = now() + 0 + f10; set f11 = now() + 0 + f11; set f12 = now() + 0 + f11;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute06;
-CREATE PROCEDURE spexecute06()
-BEGIN
-declare var1 timestamp;
-declare var2 timestamp;
-declare var3 timestamp;
-declare var4 timestamp;
-declare var5 timestamp;
-declare var6 timestamp;
-declare var7 timestamp;
-declare var8 timestamp;
-set var1 = 2.00e+13;
-set var3 = 2.00e+13;
-set var5 = 2.00e+13;
-set var7 = 2.00e+13;
-CALL sp6(2.00e+13, var1, var2, 2.00e+13, var3, var4, 2.00e+13, var5, var6, 2.00e+13, var7, var8);
-END//
-CALL spexecute06();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-returned returned returned returned returned returned returned returned returned returned returned returned
-DROP PROCEDURE spexecute06;
-DROP PROCEDURE sp6;
-DROP PROCEDURE IF EXISTS sp07;
-CREATE PROCEDURE sp07( IN f1 BIGINT UNSIGNED,
-INOUT f2 BIGINT UNSIGNED,
-OUT f3 BIGINT UNSIGNED,
-IN f4 BIGINT,
-INOUT f5 BIGINT,
-OUT f6 BIGINT,
-IN f7 BIGINT,
-INOUT f8 BIGINT,
-OUT f9 BIGINT,
-IN f10 BIGINT,
-INOUT f11 BIGINT,
-OUT f12 BIGINT)
-BEGIN
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f3 * 2); set f3 = (f3 - 10); set f3 = (f3 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute07;
-CREATE PROCEDURE spexecute07()
-BEGIN
-declare var1 bigint unsigned;
-declare var2 bigint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+19;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-CALL sp07( var1, var1, var2, var3, var3, var4,
-var5, var5, var6, var7, var7, var8 );
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-END//
-CALL spexecute07();
-var1 var2
-18400000000000000000 NULL
-var3 var4
--9220000000000000000 NULL
-var5 var6
--9220000000000000000 NULL
-var7 var8
--9220000000000000000 NULL
-f1 f2 f3
-18400000000000000000 18400000000000000000 NULL
-f4 f5 f6
--9220000000000000000 -9220000000000000000 NULL
-f7 f8 f9
--9220000000000000000 -9220000000000000000 NULL
-f10 f11 f12
--9220000000000000000 -9220000000000000000 NULL
-f1 f2 f3
-18353255926290448384 18353255926290448384 18353255926290448384
-f4 f5 f6
--9220000000000000000 6744073709551616 6744073709551616
-f7 f8 f9
--9220000000000000000 6744073709551616 6744073709551616
-f10 f11 f12
--9220000000000000000 6744073709551616 6744073709551616
-var1 var2
-18353255926290448384 18353255926290448384
-var3 var4
-6744073709551616 6744073709551616
-var5 var6
-6744073709551616 6744073709551616
-var7 var8
-6744073709551616 6744073709551616
-DROP PROCEDURE spexecute07;
-DROP PROCEDURE sp07;
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( in f1 bigint unsigned zerofill,
-inout f2 bigint unsigned zerofill,
-out f3 bigint unsigned zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute08;
-CREATE PROCEDURE spexecute08()
-BEGIN
-declare var1 bigint unsigned zerofill;
-declare var2 bigint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+17;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp8(1.84e+17, var1, var2, -9.22e+18, var3, var4,
--9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute08();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00368000000000000000 00368000000000000000 00368000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00368000000000000000 00368000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute08;
-DROP PROCEDURE sp8;
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( in f1 bigint zerofill,
-inout f2 bigint zerofill,
-out f3 bigint zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute09;
-CREATE PROCEDURE spexecute09()
-BEGIN
-declare var1 bigint zerofill;
-declare var2 bigint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+15;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp9(-9.22e+15, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute09();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00000000000000000000 00000000000000000000 00000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00000000000000000000 00000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute09;
-DROP PROCEDURE sp9;
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( in f1 decimal,
-inout f2 decimal,
-out f3 decimal,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute10;
-CREATE PROCEDURE spexecute10()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp10(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute10();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute10;
-DROP PROCEDURE sp10;
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( in f1 decimal (0), inout f2 decimal (0), out f3 decimal (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute11;
-CREATE PROCEDURE spexecute11()
-BEGIN
-declare var1 decimal (0);
-declare var2 decimal (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = --1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp11(--1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute11();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute11;
-DROP PROCEDURE sp11;
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( in f1 decimal (0) unsigned, inout f2 decimal (0) unsigned, out f3 decimal (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute12;
-CREATE PROCEDURE spexecute12()
-BEGIN
-declare var1 decimal (0) unsigned;
-declare var2 decimal (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp12(99999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute12();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute12;
-DROP PROCEDURE sp12;
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( in f1 decimal (0, 0) zerofill, inout f2 decimal (0, 0) zerofill, out f3 decimal (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute13;
-CREATE PROCEDURE spexecute13()
-BEGIN
-declare var1 decimal (0, 0) zerofill;
-declare var2 decimal (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp13(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute13();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute13;
-DROP PROCEDURE sp13;
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( in f1 decimal (63, 30), inout f2 decimal (63, 30), out f3 decimal (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute14;
-CREATE PROCEDURE spexecute14()
-BEGIN
-declare var1 decimal (63, 30);
-declare var2 decimal (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp14(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute14();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000000000000000.000000000000000000000000000000 -1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute14;
-DROP PROCEDURE sp14;
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( in f1 double, inout f2 double, out f3 double, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute15;
-CREATE PROCEDURE spexecute15()
-BEGIN
-declare var1 double;
-declare var2 double;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp15(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute15();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute15;
-DROP PROCEDURE sp15;
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( in f1 double zerofill, inout f2 double zerofill, out f3 double zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute16;
-CREATE PROCEDURE spexecute16()
-BEGIN
-declare var1 double zerofill;
-declare var2 double zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp16(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute16();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute16;
-DROP PROCEDURE sp16;
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( in f1 double unsigned, inout f2 double unsigned, out f3 double unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute17;
-CREATE PROCEDURE spexecute17()
-BEGIN
-declare var1 double unsigned;
-declare var2 double unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp17(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute17();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute17;
-DROP PROCEDURE sp17;
-DROP PROCEDURE IF EXISTS sp18;
-CREATE PROCEDURE sp18( in f1 double unsigned zerofill, inout f2 double unsigned zerofill, out f3 double unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute18;
-CREATE PROCEDURE spexecute18()
-BEGIN
-declare var1 double unsigned zerofill;
-declare var2 double unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp18(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute18();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute18;
-DROP PROCEDURE sp18;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( in f1 float unsigned, inout f2 float unsigned, out f3 float unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute19;
-CREATE PROCEDURE spexecute19()
-BEGIN
-declare var1 float unsigned;
-declare var2 float unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp19(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute19();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute19;
-DROP PROCEDURE sp19;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( in f1 float unsigned zerofill, inout f2 float unsigned zerofill, out f3 float unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute20;
-CREATE PROCEDURE spexecute20()
-BEGIN
-declare var1 float unsigned zerofill;
-declare var2 float unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp20(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute20();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute20;
-DROP PROCEDURE sp20;
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( in f1 float zerofill, inout f2 float zerofill, out f3 float zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute21;
-CREATE PROCEDURE spexecute21()
-BEGIN
-declare var1 float zerofill;
-declare var2 float zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp21(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute21();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute21;
-DROP PROCEDURE sp21;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( in f1 float(0), inout f2 float(0), out f3 float(0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute22;
-CREATE PROCEDURE spexecute22()
-BEGIN
-declare var1 float(0);
-declare var2 float(0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp22(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute22();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute22;
-DROP PROCEDURE sp22;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( in f1 numeric, inout f2 numeric, out f3 numeric, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute23;
-CREATE PROCEDURE spexecute23()
-BEGIN
-declare var1 numeric;
-declare var2 numeric;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp23(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute23();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute23;
-DROP PROCEDURE sp23;
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( in f1 real, inout f2 real, out f3 real, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute24;
-CREATE PROCEDURE spexecute24()
-BEGIN
-declare var1 real;
-declare var2 real;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp24(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute24();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1.1 1.1 11.1 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1.1 11.1 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute24;
-DROP PROCEDURE sp24;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute25;
-CREATE PROCEDURE spexecute25()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp25(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute25();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32758 -32758 -32748 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32758 -32748 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute25;
-DROP PROCEDURE sp25;
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( in f1 date, inout f2 date, out f3 date, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = adddate(f1, interval 31 day); set f2 = adddate(f2, interval 31 day); set f3 = adddate(f2, interval 31 day);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute26;
-CREATE PROCEDURE spexecute26()
-BEGIN
-declare var1 date;
-declare var2 date;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp26( '1997-12-31', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute26();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-31 1998-01-31 1998-03-03 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-31 1998-03-03 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute26;
-DROP PROCEDURE sp26;
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( in f1 time, inout f2 time, out f3 time, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998'); set f2 = addtime(f2, '02:00:00.999998'); set f3 = addtime(f2, '02:00:00.999998');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute27;
-CREATE PROCEDURE spexecute27()
-BEGIN
-declare var1 time;
-declare var2 time;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp27( '23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute27();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-25:59:59 25:59:59 27:59:59 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-25:59:59 27:59:59 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute27;
-DROP PROCEDURE sp27;
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( in f1 datetime, inout f2 datetime, out f3 datetime, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002'); set f2 = addtime(f2, '1 1:1:1.000002'); set f3 = addtime(f1, '1 1:1:1.000002');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute28;
-CREATE PROCEDURE spexecute28()
-BEGIN
-declare var1 datetime;
-declare var2 datetime;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31 23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp28('1997-12-31 23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute28();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-02 01:01:00 1998-01-02 01:01:00 1998-01-03 02:02:01 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-02 01:01:00 1998-01-03 02:02:01 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute28;
-DROP PROCEDURE sp28;
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( in f1 float(0) unsigned, inout f2 float(0) unsigned, out f3 float(0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute29;
-CREATE PROCEDURE spexecute29()
-BEGIN
-declare var1 float(0) unsigned;
-declare var2 float(0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp29(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute29();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute29;
-DROP PROCEDURE sp29;
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( in f1 float(0) zerofill, inout f2 float(0) zerofill, out f3 float(0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute30;
-CREATE PROCEDURE spexecute30()
-BEGIN
-declare var1 float(0) zerofill;
-declare var2 float(0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp30(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute30();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute30;
-DROP PROCEDURE sp30;
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( in f1 float(23), inout f2 float(23), out f3 float(23), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute31;
-CREATE PROCEDURE spexecute31()
-BEGIN
-declare var1 float(23);
-declare var2 float(23);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp31(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute31();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute31;
-DROP PROCEDURE sp31;
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( in f1 float(23) unsigned, inout f2 float(23) unsigned, out f3 float(23) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute32;
-CREATE PROCEDURE spexecute32()
-BEGIN
-declare var1 float(23) unsigned;
-declare var2 float(23) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp32(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute32();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute32;
-DROP PROCEDURE sp32;
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( in f1 float(23) zerofill, inout f2 float(23) zerofill, out f3 float(23) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute33;
-CREATE PROCEDURE spexecute33()
-BEGIN
-declare var1 float(23) zerofill;
-declare var2 float(23) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp33(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute33();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute33;
-DROP PROCEDURE sp33;
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( in f1 float(24), inout f2 float(24), out f3 float(24), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute34;
-CREATE PROCEDURE spexecute34()
-BEGIN
-declare var1 float(24);
-declare var2 float(24);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp34(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute34();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute34;
-DROP PROCEDURE sp34;
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( in f1 float(24) unsigned, inout f2 float(24) unsigned, out f3 float(24) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute35;
-CREATE PROCEDURE spexecute35()
-BEGIN
-declare var1 float(24) unsigned;
-declare var2 float(24) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp35(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute35();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute35;
-DROP PROCEDURE sp35;
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( in f1 float(24) zerofill, inout f2 float(24) zerofill, out f3 float(24) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute36;
-CREATE PROCEDURE spexecute36()
-BEGIN
-declare var1 float(24) zerofill;
-declare var2 float(24) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp36(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute36();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute36;
-DROP PROCEDURE sp36;
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( in f1 float(53), inout f2 float(53), out f3 float(53), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute37;
-CREATE PROCEDURE spexecute37()
-BEGIN
-declare var1 float(53);
-declare var2 float(53);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp37(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute37();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute37;
-DROP PROCEDURE sp37;
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( in f1 float(53) unsigned, inout f2 float(53) unsigned, out f3 float(53) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute38;
-CREATE PROCEDURE spexecute38()
-BEGIN
-declare var1 float(53) unsigned;
-declare var2 float(53) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp38(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute38();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute38;
-DROP PROCEDURE sp38;
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( in f1 float(53) zerofill, inout f2 float(53) zerofill, out f3 float(53) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute39;
-CREATE PROCEDURE spexecute39()
-BEGIN
-declare var1 float(53) zerofill;
-declare var2 float(53) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp39(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute39();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute39;
-DROP PROCEDURE sp39;
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( in f1 real unsigned, inout f2 real unsigned, out f3 real unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute40;
-CREATE PROCEDURE spexecute40()
-BEGIN
-declare var1 real unsigned;
-declare var2 real unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp40(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute40();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute40;
-DROP PROCEDURE sp40;
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( in f1 real unsigned zerofill, inout f2 real unsigned zerofill, out f3 real unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute41;
-CREATE PROCEDURE spexecute41()
-BEGIN
-declare var1 real unsigned zerofill;
-declare var2 real unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp41(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute41();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute41;
-DROP PROCEDURE sp41;
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( in f1 real zerofill, inout f2 real zerofill, out f3 real zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute42;
-CREATE PROCEDURE spexecute42()
-BEGIN
-declare var1 real zerofill;
-declare var2 real zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp42(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute42();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute42;
-DROP PROCEDURE sp42;
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( in f1 numeric (0), inout f2 numeric (0), out f3 numeric (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute43;
-CREATE PROCEDURE spexecute43()
-BEGIN
-declare var1 numeric (0);
-declare var2 numeric (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp43(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute43();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute43;
-DROP PROCEDURE sp43;
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( in f1 numeric (0) unsigned, inout f2 numeric (0) unsigned, out f3 numeric (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute44;
-CREATE PROCEDURE spexecute44()
-BEGIN
-declare var1 numeric (0) unsigned;
-declare var2 numeric (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp44(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute44();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute44;
-DROP PROCEDURE sp44;
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( in f1 numeric (0) zerofill, inout f2 numeric (0) zerofill, out f3 numeric (0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute45;
-CREATE PROCEDURE spexecute45()
-BEGIN
-declare var1 numeric (0) zerofill;
-declare var2 numeric (0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp45(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute45();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute45;
-DROP PROCEDURE sp45;
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( in f1 numeric (0, 0), inout f2 numeric (0, 0), out f3 numeric (0, 0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute46;
-CREATE PROCEDURE spexecute46()
-BEGIN
-declare var1 numeric (0, 0);
-declare var2 numeric (0, 0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp46(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute46();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute46;
-DROP PROCEDURE sp46;
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( in f1 numeric (0, 0) unsigned, inout f2 numeric (0, 0) unsigned, out f3 numeric (0, 0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute47;
-CREATE PROCEDURE spexecute47()
-BEGIN
-declare var1 numeric (0, 0) unsigned;
-declare var2 numeric (0, 0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp47(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute47();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute47;
-DROP PROCEDURE sp47;
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( in f1 numeric (0, 0) zerofill, inout f2 numeric (0, 0) zerofill, out f3 numeric (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute48;
-CREATE PROCEDURE spexecute48()
-BEGIN
-declare var1 numeric (0, 0) zerofill;
-declare var2 numeric (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp48(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute48();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute48;
-DROP PROCEDURE sp48;
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( in f1 numeric unsigned, inout f2 numeric unsigned, out f3 numeric unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute49;
-CREATE PROCEDURE spexecute49()
-BEGIN
-declare var1 numeric unsigned;
-declare var2 numeric unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp49(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute49();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute49;
-DROP PROCEDURE sp49;
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( in f1 numeric unsigned zerofill, inout f2 numeric unsigned zerofill, out f3 numeric unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute50;
-CREATE PROCEDURE spexecute50()
-BEGIN
-declare var1 numeric unsigned zerofill;
-declare var2 numeric unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp50(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute50();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute50;
-DROP PROCEDURE sp50;
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( in f1 numeric zerofill, inout f2 numeric zerofill, out f3 numeric zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute51;
-CREATE PROCEDURE spexecute51()
-BEGIN
-declare var1 numeric zerofill;
-declare var2 numeric zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp51(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute51();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute51;
-DROP PROCEDURE sp51;
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( in f1 numeric (63, 30), inout f2 numeric (63, 30), out f3 numeric (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute52;
-CREATE PROCEDURE spexecute52()
-BEGIN
-declare var1 numeric (63, 30);
-declare var2 numeric (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp52(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute52();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000.000000000000000000000000000000 -10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute52;
-DROP PROCEDURE sp52;
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( in f1 numeric (64), inout f2 numeric (64), out f3 numeric (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute53;
-CREATE PROCEDURE spexecute53()
-BEGIN
-declare var1 numeric (64);
-declare var2 numeric (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp53(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute53();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute53;
-DROP PROCEDURE sp53;
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( in f1 numeric (64) unsigned, inout f2 numeric (64) unsigned, out f3 numeric (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute54;
-CREATE PROCEDURE spexecute54()
-BEGIN
-declare var1 numeric (64) unsigned;
-declare var2 numeric (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp54(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute54();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute54;
-DROP PROCEDURE sp54;
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( in f1 numeric (64) zerofill, inout f2 numeric (64) zerofill, out f3 numeric (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute55;
-CREATE PROCEDURE spexecute55()
-BEGIN
-declare var1 numeric (64) zerofill;
-declare var2 numeric (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp55(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute55();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute55;
-DROP PROCEDURE sp55;
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( in f1 year, inout f2 year, out f3 year, in f4 year, inout f5 year, out f6 year, in f7 year, inout f8 year, out f9 year, in f10 year, inout f11 year, out f12 year)
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 10; set f8 = f8 + 10; set f9 = f8 + 10;
-set f10= f10+ 10; set f11 = f11 + 10; set f12 = f11 + 10;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute56;
-CREATE PROCEDURE spexecute56()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year;
-declare var6 year;
-declare var7 year;
-declare var8 year;
-set var1 = 51;
-set var3 = 51;
-set var5 = 51;
-set var7 = 51;
-CALL sp56(51, var1, var2, 51, var3, var4, 51, var5, var6, 51, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute56();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2061 2061 2071 2061 2061 2071
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2061 2071 2061 2071
-DROP PROCEDURE spexecute56;
-DROP PROCEDURE sp56;
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( in f1 year(4), inout f2 year(4), out f3 year(4), in f4 year(4), inout f5 year(4), out f6 year(4), in f7 year(4), inout f8 year(4), out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 51; set f2 = f2 + 51; set f3 = f2 + 51;
-set f4 = f4 + 51; set f5 = f5 + 51; set f6 = f5 + 51;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute57;
-CREATE PROCEDURE spexecute57()
-BEGIN
-declare var1 year(4);
-declare var2 year(4);
-declare var3 year(4);
-declare var4 year(4);
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 1982;
-set var3 = 1982;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp57(1982, var1, var2, 1982, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute57();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2033 2033 2084 2033 2033 2084 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2033 2084 2033 2084 2033 2084 2033 2084
-DROP PROCEDURE spexecute57;
-DROP PROCEDURE sp57;
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text, out f6 text, in f7 text, inout f8 text, out f9 text, in f10 text, inout f11 text, out f12 text)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute58;
-CREATE PROCEDURE spexecute58()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 text;
-declare var6 text;
-declare var7 text;
-declare var8 text;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp58( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute58();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute58;
-DROP PROCEDURE sp58;
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( in f1 tinytext, inout f2 tinytext, out f3 tinytext, in f4 tinytext, inout f5 tinytext, out f6 tinytext, in f7 tinytext, inout f8 tinytext, out f9 tinytext, in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute59;
-CREATE PROCEDURE spexecute59()
-BEGIN
-declare var1 tinytext;
-declare var2 tinytext;
-declare var3 tinytext;
-declare var4 tinytext;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp59( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute59();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute59;
-DROP PROCEDURE sp59;
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( in f1 char, inout f2 char, out f3 char, in f4 char, inout f5 char, out f6 char, in f7 char, inout f8 char, out f9 char, in f10 char, inout f11 char, out f12 char)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f5);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f8);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute60;
-CREATE PROCEDURE spexecute60()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char;
-declare var4 char;
-declare var5 char;
-declare var6 char;
-declare var7 char;
-declare var8 char;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp60( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute60();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a a a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a a a a
-DROP PROCEDURE spexecute60;
-DROP PROCEDURE sp60;
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( in f1 char ascii, inout f2 char ascii, out f3 char ascii, in f4 char ascii, inout f5 char ascii, out f6 char ascii, in f7 char ascii, inout f8 char ascii, out f9 char ascii, in f10 char ascii, inout f11 char ascii, out f12 char ascii)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f2);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f9);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute61;
-CREATE PROCEDURE spexecute61()
-BEGIN
-declare var1 char ascii;
-declare var2 char ascii;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 char ascii;
-declare var6 char ascii;
-declare var7 char ascii;
-declare var8 char ascii;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp61( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute61();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a NULL a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a NULL a a
-DROP PROCEDURE spexecute61;
-DROP PROCEDURE sp61;
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( in f1 longtext, inout f2 longtext, out f3 longtext, in f4 longtext, inout f5 longtext, out f6 longtext, in f7 longtext, inout f8 longtext, out f9 longtext, in f10 longtext, inout f11 longtext, out f12 longtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute62;
-CREATE PROCEDURE spexecute62()
-BEGIN
-declare var1 longtext;
-declare var2 longtext;
-declare var3 longtext;
-declare var4 longtext;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 longtext;
-declare var8 longtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp62( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute62();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute62;
-DROP PROCEDURE sp62;
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( in f1 mediumtext, inout f2 mediumtext, out f3 mediumtext, in f4 mediumtext, inout f5 mediumtext, out f6 mediumtext, in f7 mediumtext, inout f8 mediumtext, out f9 mediumtext, in f10 mediumtext, inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f3);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute63;
-CREATE PROCEDURE spexecute63()
-BEGIN
-declare var1 mediumtext;
-declare var2 mediumtext;
-declare var3 mediumtext;
-declare var4 mediumtext;
-declare var5 mediumtext;
-declare var6 mediumtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp63( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute63();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld NULL helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld NULL helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute63;
-DROP PROCEDURE sp63;
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( in f1 decimal, inout f2 decimal, out f3 decimal, in f4 decimal, inout f5 decimal, out f6 decimal, in f7 decimal, inout f8 decimal, out f9 decimal, in f10 decimal, inout f11 decimal, out f12 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f4 = (f4 / 2); set f4 = (f4 * 2); set f4 = (f4 - 10); set f4 = (f4 + 10); set f5 = (f5 / 2); set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f5 / 2); set f6 = (f5 * 2); set f6 = (f5 - 10); set f6 = (f5 + 10);
-set f7 = (f7 / 2); set f7 = (f7 * 2); set f7 = (f7 - 10); set f7 = (f7 + 10); set f8 = (f8 / 2); set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f8 / 2); set f9 = (f8 * 2); set f9 = (f8 - 10); set f9 = (f8 + 10);
-set f10 = (f10 / 2); set f10 = (f10 * 2); set f10 = (f10 - 10); set f10 = (f10 + 10); set f11 = (f11 / 2); set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f11 / 2); set f12 = (f11 * 2); set f12 = (f11 - 10); set f12 = (f11 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute64;
-CREATE PROCEDURE spexecute64()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 decimal;
-declare var4 decimal;
-declare var5 decimal;
-declare var6 decimal;
-declare var7 decimal;
-declare var8 decimal;
-set var1 = --1.00e+09;
-set var3 = --1.00e+09;
-set var5 = --1.00e+09;
-set var7 = --1.00e+09;
-CALL sp64(--1.00e+09, var1, var2, --1.00e+09, var3, var4, --1.00e+09, var5, var6, --1.00e+09, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute64();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010
-DROP PROCEDURE spexecute64;
-DROP PROCEDURE sp64;
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( in f1 decimal (0, 0) unsigned zerofill, inout f2 decimal (0, 0) unsigned zerofill, out f3 decimal (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute65;
-CREATE PROCEDURE spexecute65()
-BEGIN
-declare var1 decimal (0, 0) unsigned zerofill;
-declare var2 decimal (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp65(999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute65();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute65;
-DROP PROCEDURE sp65;
-DROP PROCEDURE IF EXISTS sp66;
-CREATE PROCEDURE sp66( in f1 decimal (63, 30) unsigned, inout f2 decimal (63, 30) unsigned, out f3 decimal (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute66;
-CREATE PROCEDURE spexecute66()
-BEGIN
-declare var1 decimal (63, 30) unsigned;
-declare var2 decimal (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp66(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute66();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10000000000000000.000000000000000000000000000000 10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute66;
-DROP PROCEDURE sp66;
-DROP PROCEDURE IF EXISTS sp67;
-CREATE PROCEDURE sp67( in f1 decimal (63, 30) unsigned zerofill, inout f2 decimal (63, 30) unsigned zerofill, out f3 decimal (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute67;
-CREATE PROCEDURE spexecute67()
-BEGIN
-declare var1 decimal (63, 30) unsigned zerofill;
-declare var2 decimal (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp67(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute67();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute67;
-DROP PROCEDURE sp67;
-DROP PROCEDURE IF EXISTS sp68;
-CREATE PROCEDURE sp68( in f1 decimal (63, 30) zerofill, inout f2 decimal (63, 30) zerofill, out f3 decimal (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute68;
-CREATE PROCEDURE spexecute68()
-BEGIN
-declare var1 decimal (63, 30) zerofill;
-declare var2 decimal (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp68(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute68();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute68;
-DROP PROCEDURE sp68;
-DROP PROCEDURE IF EXISTS sp69;
-CREATE PROCEDURE sp69( in f1 decimal (64), inout f2 decimal (64), out f3 decimal (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute69;
-CREATE PROCEDURE spexecute69()
-BEGIN
-declare var1 decimal (64);
-declare var2 decimal (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp69(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute69();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute69;
-DROP PROCEDURE sp69;
-DROP PROCEDURE IF EXISTS sp70;
-CREATE PROCEDURE sp70( in f1 decimal (64) unsigned, inout f2 decimal (64) unsigned, out f3 decimal (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute70;
-CREATE PROCEDURE spexecute70()
-BEGIN
-declare var1 decimal (64) unsigned;
-declare var2 decimal (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp70(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute70();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute70;
-DROP PROCEDURE sp70;
-DROP PROCEDURE IF EXISTS sp71;
-CREATE PROCEDURE sp71( in f1 decimal (64) unsigned zerofill, inout f2 decimal (64) unsigned zerofill, out f3 decimal (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute71;
-CREATE PROCEDURE spexecute71()
-BEGIN
-declare var1 decimal (64) unsigned zerofill;
-declare var2 decimal (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp71(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute71();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute71;
-DROP PROCEDURE sp71;
-DROP PROCEDURE IF EXISTS sp72;
-CREATE PROCEDURE sp72( in f1 decimal (64) zerofill, inout f2 decimal (64) zerofill, out f3 decimal (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute72;
-CREATE PROCEDURE spexecute72()
-BEGIN
-declare var1 decimal (64) zerofill;
-declare var2 decimal (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp72(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute72();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute72;
-DROP PROCEDURE sp72;
-DROP PROCEDURE IF EXISTS sp73;
-CREATE PROCEDURE sp73( in f1 decimal unsigned, inout f2 decimal unsigned, out f3 decimal unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute73;
-CREATE PROCEDURE spexecute73()
-BEGIN
-declare var1 decimal unsigned;
-declare var2 decimal unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp73(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute73();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute73;
-DROP PROCEDURE sp73;
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( in f1 decimal unsigned zerofill, inout f2 decimal unsigned zerofill, out f3 decimal unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute74;
-CREATE PROCEDURE spexecute74()
-BEGIN
-declare var1 decimal unsigned zerofill;
-declare var2 decimal unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp74(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute74();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute74;
-DROP PROCEDURE sp74;
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( in f1 decimal zerofill, inout f2 decimal zerofill, out f3 decimal zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute75;
-CREATE PROCEDURE spexecute75()
-BEGIN
-declare var1 decimal zerofill;
-declare var2 decimal zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp75(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute75();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute75;
-DROP PROCEDURE sp75;
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( in f1 float(0) unsigned zerofill, inout f2 float(0) unsigned zerofill, out f3 float(0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute76;
-CREATE PROCEDURE spexecute76()
-BEGIN
-declare var1 float(0) unsigned zerofill;
-declare var2 float(0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp76(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute76();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute76;
-DROP PROCEDURE sp76;
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( in f1 float(23) unsigned zerofill, inout f2 float(23) unsigned zerofill, out f3 float(23) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute77;
-CREATE PROCEDURE spexecute77()
-BEGIN
-declare var1 float(23) unsigned zerofill;
-declare var2 float(23) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp77(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute77();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute77;
-DROP PROCEDURE sp77;
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( in f1 float(24) unsigned zerofill, inout f2 float(24) unsigned zerofill, out f3 float(24) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute78;
-CREATE PROCEDURE spexecute78()
-BEGIN
-declare var1 float(24) unsigned zerofill;
-declare var2 float(24) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp78(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute78();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute78;
-DROP PROCEDURE sp78;
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( in f1 float(53) unsigned zerofill, inout f2 float(53) unsigned zerofill, out f3 float(53) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute79;
-CREATE PROCEDURE spexecute79()
-BEGIN
-declare var1 float(53) unsigned zerofill;
-declare var2 float(53) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp79(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute79();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute79;
-DROP PROCEDURE sp79;
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( in f1 int, inout f2 int, out f3 int, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute80;
-CREATE PROCEDURE spexecute80()
-BEGIN
-declare var1 int;
-declare var2 int;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -2.15e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp80(-2.15e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute80();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--2147483638 -2147483638 -2147483628 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--2147483638 -2147483628 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute80;
-DROP PROCEDURE sp80;
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( in f1 int unsigned, inout f2 int unsigned, out f3 int unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute81;
-CREATE PROCEDURE spexecute81()
-BEGIN
-declare var1 int unsigned;
-declare var2 int unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp81(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute81();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute81;
-DROP PROCEDURE sp81;
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( in f1 int unsigned zerofill, inout f2 int unsigned zerofill, out f3 int unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute82;
-CREATE PROCEDURE spexecute82()
-BEGIN
-declare var1 int unsigned zerofill;
-declare var2 int unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp82(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute82();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute82;
-DROP PROCEDURE sp82;
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( in f1 int zerofill, inout f2 int zerofill, out f3 int zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute83;
-CREATE PROCEDURE spexecute83()
-BEGIN
-declare var1 int zerofill;
-declare var2 int zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 2.15e+08;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp83(2.15e+08, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute83();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0215000000 0215000000 0215000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0215000000 0215000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute83;
-DROP PROCEDURE sp83;
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( in f1 mediumint, inout f2 mediumint, out f3 mediumint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute84;
-CREATE PROCEDURE spexecute84()
-BEGIN
-declare var1 mediumint;
-declare var2 mediumint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388600;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp84(-8388600, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute84();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--8388598 -8388598 -8388588 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--8388598 -8388588 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute84;
-DROP PROCEDURE sp84;
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( in f1 mediumint unsigned, inout f2 mediumint unsigned, out f3 mediumint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute85;
-CREATE PROCEDURE spexecute85()
-BEGIN
-declare var1 mediumint unsigned;
-declare var2 mediumint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp85(16777201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute85();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777202 16777202 16777212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777202 16777212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute85;
-DROP PROCEDURE sp85;
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( in f1 mediumint unsigned zerofill, inout f2 mediumint unsigned zerofill, out f3 mediumint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute86;
-CREATE PROCEDURE spexecute86()
-BEGIN
-declare var1 mediumint unsigned zerofill;
-declare var2 mediumint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777210;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp86(16777210, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute86();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777210 16777210 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777210 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute86;
-DROP PROCEDURE sp86;
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( in f1 mediumint zerofill, inout f2 mediumint zerofill, out f3 mediumint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute87;
-CREATE PROCEDURE spexecute87()
-BEGIN
-declare var1 mediumint zerofill;
-declare var2 mediumint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp87(-8388601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute87();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777215 16777215 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777215 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute87;
-DROP PROCEDURE sp87;
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( in f1 numeric (0) unsigned zerofill, inout f2 numeric (0) unsigned zerofill, out f3 numeric (0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute88;
-CREATE PROCEDURE spexecute88()
-BEGIN
-declare var1 numeric (0) unsigned zerofill;
-declare var2 numeric (0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp88(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute88();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute88;
-DROP PROCEDURE sp88;
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( in f1 numeric (0, 0) unsigned zerofill, inout f2 numeric (0, 0) unsigned zerofill, out f3 numeric (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute89;
-CREATE PROCEDURE spexecute89()
-BEGIN
-declare var1 numeric (0, 0) unsigned zerofill;
-declare var2 numeric (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp89(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute89();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute89;
-DROP PROCEDURE sp89;
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( in f1 numeric (63, 30) unsigned, inout f2 numeric (63, 30) unsigned, out f3 numeric (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute90;
-CREATE PROCEDURE spexecute90()
-BEGIN
-declare var1 numeric (63, 30) unsigned;
-declare var2 numeric (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp90(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute90();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000.000000000000000000000000000000 10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute90;
-DROP PROCEDURE sp90;
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( in f1 numeric (63, 30) unsigned zerofill, inout f2 numeric (63, 30) unsigned zerofill, out f3 numeric (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute91;
-CREATE PROCEDURE spexecute91()
-BEGIN
-declare var1 numeric (63, 30) unsigned zerofill;
-declare var2 numeric (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp91(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute91();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000100000000000000000000.000000000000000000000000000000 000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute91;
-DROP PROCEDURE sp91;
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( in f1 numeric (63, 30) zerofill, inout f2 numeric (63, 30) zerofill, out f3 numeric (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute92;
-CREATE PROCEDURE spexecute92()
-BEGIN
-declare var1 numeric (63, 30) zerofill;
-declare var2 numeric (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp92(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute92();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute92;
-DROP PROCEDURE sp92;
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( in f1 numeric (64) unsigned zerofill, inout f2 numeric (64) unsigned zerofill, out f3 numeric (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute93;
-CREATE PROCEDURE spexecute93()
-BEGIN
-declare var1 numeric (64) unsigned zerofill;
-declare var2 numeric (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp93(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute93();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute93;
-DROP PROCEDURE sp93;
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute94;
-CREATE PROCEDURE spexecute94()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp94(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute94();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32702 -32702 -32692 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32702 -32692 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute94;
-DROP PROCEDURE sp94;
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( in f1 smallint unsigned, inout f2 smallint unsigned, out f3 smallint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute95;
-CREATE PROCEDURE spexecute95()
-BEGIN
-declare var1 smallint unsigned;
-declare var2 smallint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp95(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute95();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute95;
-DROP PROCEDURE sp95;
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( in f1 smallint unsigned zerofill, inout f2 smallint unsigned zerofill, out f3 smallint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute96;
-CREATE PROCEDURE spexecute96()
-BEGIN
-declare var1 smallint unsigned zerofill;
-declare var2 smallint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp96(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute96();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute96;
-DROP PROCEDURE sp96;
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( in f1 smallint zerofill, inout f2 smallint zerofill, out f3 smallint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute97;
-CREATE PROCEDURE spexecute97()
-BEGIN
-declare var1 smallint zerofill;
-declare var2 smallint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp97(-32601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute97();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65535 65535 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65535 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute97;
-DROP PROCEDURE sp97;
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( in f1 tinyint, inout f2 tinyint, out f3 tinyint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute98;
-CREATE PROCEDURE spexecute98()
-BEGIN
-declare var1 tinyint;
-declare var2 tinyint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -115;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp98(-115, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute98();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--116 -116 -106 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--116 -106 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute98;
-DROP PROCEDURE sp98;
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( in f1 tinyint unsigned, inout f2 tinyint unsigned, out f3 tinyint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute99;
-CREATE PROCEDURE spexecute99()
-BEGIN
-declare var1 tinyint unsigned;
-declare var2 tinyint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 251;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp99(251, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute99();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-252 252 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-252 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute99;
-DROP PROCEDURE sp99;
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( in f1 tinyint unsigned zerofill, inout f2 tinyint unsigned zerofill, out f3 tinyint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute100;
-CREATE PROCEDURE spexecute100()
-BEGIN
-declare var1 tinyint unsigned zerofill;
-declare var2 tinyint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp100(201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute100();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-202 202 212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-202 212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute100;
-DROP PROCEDURE sp100;
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( in f1 tinyint zerofill, inout f2 tinyint zerofill, out f3 tinyint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute101;
-CREATE PROCEDURE spexecute101()
-BEGIN
-declare var1 tinyint zerofill;
-declare var2 tinyint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -101;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp101(-101, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute101();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-255 255 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-255 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute101;
-DROP PROCEDURE sp101;
-USE db_storedproc;
-DROP DATABASE db1;
-USE db_storedproc;
-
-Testcase 4.7.2:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for "allow_invalid_dates" server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-drop table IF EXISTS temp_table;
-create table temp_table (f1 datetime);
-set @@sql_mode = 'allow_invalid_dates';
-CREATE PROCEDURE sp2 ()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END//
-show CREATE PROCEDURE sp2;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp2 ALLOW_INVALID_DATES CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode = 'traditional';
-CALL sp2 ();
-SELECT * from temp_table;
-f1
-2005-03-14 01:01:02
-SELECT @@sql_mode;
-@@sql_mode
-STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER
-DROP PROCEDURE sp2;
-drop table temp_table;
-
-Testcase 4.7.3:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for *high_not_precedence* server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp3;
-set @@sql_mode = 'high_not_precedence';
-CREATE PROCEDURE sp3()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END//
-show CREATE PROCEDURE sp3;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp3 HIGH_NOT_PRECEDENCE CREATE DEFINER=`root`@`localhost` PROCEDURE `sp3`()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp3();
-not 1 between a and b
-1
-SELECT @@sql_mode;
-@@sql_mode
-
-DROP PROCEDURE sp3;
-
-Testcase 4.7.4:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for combination of server sql modes
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-set @@sql_mode = 'ansi, error_for_division_by_zero';
-ERROR 42000: Variable 'sql_mode' can't be set to the value of ' error_for_division_by_zero'
-set @@sql_mode = 'ansi,error_for_division_by_zero';
-SHOW VARIABLES LIKE 'sql_mode';
-Variable_name Value
-sql_mode REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO
-CREATE PROCEDURE sp4()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END//
-show CREATE PROCEDURE sp4;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO CREATE DEFINER="root"@"localhost" PROCEDURE "sp4"()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp4();
-Level Code Message
-Error 1365 Division by 0
-Warnings:
-Error 1365 Division by 0
-DROP PROCEDURE sp4;
-set @@sql_mode='';
-
-Section 3.1.8 - SHOW statement checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.8.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-DROP PROCEDURE IF EXISTS sp6a;
-DROP PROCEDURE IF EXISTS sp6b;
-DROP PROCEDURE IF EXISTS sp6c;
-CREATE PROCEDURE sp6a (i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-language sql
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6b (out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
-deterministic
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6c (inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real) comment 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show CREATE PROCEDURE sp6a;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6a CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6a`(i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6b;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6b CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6b`(out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
- DETERMINISTIC
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6c;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6c CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6c`(inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real)
- COMMENT 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6a';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6a PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6b';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6b PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6c';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6c PROCEDURE root@localhost modified created DEFINER this is a comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6a;
-DROP PROCEDURE sp6b;
-DROP PROCEDURE sp6c;
-
-Testcase 4.8.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW CREATE FUNCTION sp6;
-ERROR 42000: FUNCTION sp6 does not exist
-DROP PROCEDURE sp6;
-
-Testcase 4.8.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real) returns longtext
-BEGIN
-set @x=i1;
-set @y=@x;
-return 0;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION sp6;
-
-Testcase 4.8.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-show CREATE PROCEDURE sp7;
-ERROR 42000: PROCEDURE sp7 does not exist
-
-Testcase 4.8.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-show procedure status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.7:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.8:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show procedure status like 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP FUNCTION fn1;
-
-Testcase 4.8.9:
---------------------------------------------------------------------------------
-
-Testcase 4.8.10:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-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 fn1;
-
-Testcase 4.8.11:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.12:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1(x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.13:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS f1000;
-SHOW FUNCTION STATUS LIKE 'f1000';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-SELECT * from t8;
-END//
-show CREATE FUNCTION sp1;
-ERROR 42000: FUNCTION sp1 does not exist
-DROP PROCEDURE sp1;
-
-Testcase 4.8.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP PROCEDURE sp6;
-
-Testcase 4.8.16:
---------------------------------------------------------------------------------
-
-Testcase 4.8.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 sql security invoker;
-alter procedure sp6 comment 'this is a new comment';
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created INVOKER this is a new comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.18:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-alter function fn1 sql security invoker;
-show create function fn1;
-Function sql_mode Create Function character_set_client collation_connection Database Collation
-fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11)
- SQL SECURITY INVOKER
-BEGIN
-return x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.19:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-alter function fn1 sql security invoker;
-alter function fn1 comment 'this is a function 3242#@%$#@';
-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 a function 3242#@%$#@ latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int , i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 comment 'this is simple';
-show CREATE PROCEDURE sp6;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6`(i1 int , i2 int)
- COMMENT 'this is simple'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int, i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-show CREATE PROCEDURE sp6;
-ERROR 42000: PROCEDURE sp6 does not exist
-
-Testcase 4.8.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i3;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.23:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.24:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-DROP FUNCTION fn1;
-SHOW FUNCTION STATUS LIKE 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Section 3.1.9 - Routine body checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.9.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-SELECT * from t9 limit 0, 100;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
--4991 a_aaaaaaaaa -4991
--4992 a^aaaaaaaa -4992
--4993 agaaaaaaa -4993
--4994 afaaaaaa -4994
--4995 aeaaaaa -4995
--4996 adaaaa -4996
--4997 acaaa -4997
--4998 abaa -4998
--4999 aaa -4999
--5000 a` -5000
-DROP PROCEDURE sp6;
-
-Testcase 4.9.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-delete from res_t9;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-update res_t9 set f2 = 1000 where f2 = 50;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-30 1000 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-create table res_t9(f1 longtext, f2 longblob, f3 real);
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-DROP PROCEDURE sp6;
-drop table IF EXISTS res_t9;
-
-Testcase 4.9.6:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-SELECT * from t9 limit 0, 100;
-return i1;
-END//
-ERROR 0A000: Not allowed to return a result set from a function
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-delete from res_t9;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-insert into res_t9 values (100, 'abc', 300);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-update res_t9 set f1 = 20;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-drop table res_t9;
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-
-Testcase 4.9.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-create index index_1 on res_t9 (f1 (5));
-show index from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
-res_t9 1 index_1 1 f1 A NULL 5 NULL YES BTREE
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Section 3.1._ - :
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.11.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1305 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1318 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1305 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.9:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.10:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.11:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.12:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.13:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.16:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.19:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.23:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1325 set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.24:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.25:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.26:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.27:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.28:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.30:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.31:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.32:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.33:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-CREATE PROCEDURE h1()
-BEGIN
-declare condname condition for sqlstate '20000';
-declare done int default 0;
-declare a, b char;
-declare condname condition for sqlstate '20000';
-declare cur1 cursor for SELECT w, x from t1;
-set @x=2;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-ERROR 42000: Duplicate condition: condname
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.35:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-CREATE TABLE res_t1(w INT UNIQUE, x CHAR);
-insert into res_t1 values (1, 'a');
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-declare exit handler for sqlstate '020' set @var1 = 1;
-declare exit handler for sqlstate 'wewe'set @var1 = 1;
-declare exit handler for 9999 set @var1 = 1;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.36:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for condname1 set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-DROP PROCEDURE IF EXISTS h1;
-
-Testcase 4.11.40:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char unique, x char);
-insert into res_t1 values ('a', 'b');
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1, x2, x3, x4, x5 int default 0;
-declare condname1 condition for sqlstate '42000';
-declare condname2 condition for sqlstate '42000';
-declare continue handler for condname1 set x1 = 1;
-declare continue handler for condname1 set x2 = 1;
-declare exit handler for condname1 set x3 = 1;
-declare continue handler for condname2 set x4 = 1;
-declare exit handler for condname2 set x5 = 1;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for sqlstate '00000' set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-CALL h1();
-ERROR 42000: PROCEDURE db_storedproc.h1 does not exist
-DROP PROCEDURE IF EXISTS h1;
-
-* Testcase 3.1.2.53 (4.11.42):
-* Ensure that a handler condition of sqlwarning takes the same action as a
-* handler condition defined with an sqlstate that begins with 01.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=1;
-insert into res_t1 values('xxx', 'yy');
-set @x=0;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 1
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=0;
-insert into res_t1 values('xxx', 'yy');
-set @x=1;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 0
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
---source suite/funcs_1/storedproc/cleanup_sp_tb.inc
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS db_storedproc;
-DROP DATABASE IF EXISTS db_storedproc_1;
-
-. +++ END OF SCRIPT +++
---------------------------------------------------------------------------------
diff --git a/mysql-test/suite/funcs_1/r/myisam_storedproc.result b/mysql-test/suite/funcs_1/r/myisam_storedproc.result
deleted file mode 100644
index 47e8ab24a01..00000000000
--- a/mysql-test/suite/funcs_1/r/myisam_storedproc.result
+++ /dev/null
@@ -1,23608 +0,0 @@
-SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
-
---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 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 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 );
-ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
-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
-123456789098765400000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.400000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.540000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.654000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-13 );
-@v1
-0.000000000000012345678909876540
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+12 );
-@v1
-123456789098.765400000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-12 );
-@v1
-0.000000000000123456789098765400
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+11 );
-@v1
-12345678909.876540000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-11 );
-@v1
-0.000000000001234567890987654000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+10 );
-@v1
-1234567890.987654000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-10 );
-@v1
-0.000000000012345678909876540000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+9 );
-@v1
-123456789.098765400000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-9 );
-@v1
-0.000000000123456789098765400000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+8 );
-@v1
-12345678.909876540000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-8 );
-@v1
-0.000000001234567890987654000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+7 );
-@v1
-1234567.890987654000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-7 );
-@v1
-0.000000012345678909876540000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+6 );
-@v1
-123456.789098765400000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-6 );
-@v1
-0.000000123456789098765400000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+5 );
-@v1
-12345.678909876540000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-5 );
-@v1
-0.000001234567890987654000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+4 );
-@v1
-1234.567890987654000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-4 );
-@v1
-0.000012345678909876550000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+3 );
-@v1
-123.456789098765400000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-3 );
-@v1
-0.000123456789098765400000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+2 );
-@v1
-12.345678909876540000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-2 );
-@v1
-0.001234567890987654000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+1 );
-@v1
-1.234567890987654000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-1 );
-@v1
-0.012345678909876540000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 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 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 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 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 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 'with()
-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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION sp1 does not exist
-DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 FUNCTION 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 NO_ENGINE_SUBSTITUTION 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 NO_ENGINE_SUBSTITUTION 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 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 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 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 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 'with:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-write:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-xor:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-year_month:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-zerofill:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill:BEGIN
-SELECT @x;
-END' at line 2
-
-Testcase 4.2.6:
----------------
-Ensure that the labels for multiple BEGIN an END work properly
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-set x = '1';
-set y = '2';
-label1: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END label1;
-set @v1 = x;
-set @v2 = y;
-SELECT @v1, @v2;
-END begin_label//
-CALL sp1();
-@v1 @v2
-1 2
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.7:
----------------
-Ensure that the labels enclosing each BEGIN/END compound statement must match.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin1_label: BEGIN
-declare x char;
-declare y char;
-SELECT lf1, f1 into x, y from t2 limit 1;
-begin2_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin2_changed;
-END begin1_changed//
-ERROR 42000: End-label begin2_changed without match
-
-Testcase 4.2.8:
----------------
-Ensure that it is possible to put a beginning label at the start of a
-BEGIN/END compound statement without also requiring an ending label
-at the END of the same statement.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.9:
----------------
-Ensure that it is not possible to put an ending label at the END of
-a BEGIN/END compound statement without also requiring a matching
-beginning label at the start of the same statement
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'begin_label' at line 6
-
-Testcase 4.2.10:
-----------------
-Ensure that every beginning label must END with a colon(:)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-E' at line 2
-
-Testcase 4.2.11:
-----------------
-Ensure that every beginning label with the same scope must be unique. (same label names)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-END begin_samelabel//
-ERROR 42000: Redefining label begin_samelabel
-
-Testcase 4.2.12:
-----------------
-Ensure that the variables, cursors, conditions, and handlers declared for
-a stored procedure (with the declare statement) may only be properly defined
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char default 'a';
-declare y integer default 1;
-declare z float default 1.1;
-declare a enum("value1", "value2") default 'value1';
-declare b decimal(255, 255) default 1.2e+12;
-declare c mediumtext default 'mediumtext';
-declare d datetime default '2005-02-02 12:12:12';
-declare e char default 'b';
-declare cur1 cursor for SELECT f1 from db_storedproc.t2;
-declare continue handler for sqlstate '02000' set @x2 = 1;
-open cur1;
-fetch cur1 into e;
-SELECT x, y, z, a, b, c, d, e;
-close cur1;
-END//
-ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
-CALL sp6();
-ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
-SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
-END//
-CALL sp6();
-x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
-0
-DROP PROCEDURE sp6;
-
-Testcase 4.2.13:
-----------------
-Ensure that the variables declared for a stored procedure (with the declare
-statement) may only be defined in the correct order.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default '0' char;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default '0' char;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char, integer default '0';
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0';
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x1, x2 char, integer default '0', 1;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0', 1;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 li' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default 'a' char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default 'a' char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition notable for sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition notable for sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for notable sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for notable sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate notable '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate notable '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate '42s22' notable;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '42s22' notable;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor cur1 for SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for cur1 SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for SELECT cur1 f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler continue for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler exit for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler undo for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x;
-SELECT f5 text into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
-SELECT f5 text into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-E' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998,' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare date not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare time not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare datetime not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare timestamp not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enum("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END' at line 3
-
-Testcase 4.2.14:
-----------------
-Ensure that the handlers declared for a stored procedure (with the declare
-statement) may only be defined in the correct order
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare sqlcondition condition for sqlstate '02000';
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare sqlcondition condition for sqlstate '02000';
-declare continue handler for sqlcondition set @x=1;
-declare cursor1 cursor for SELECT f1 from tb1;
-END//
-ERROR 42000: Cursor declaration after handler declaration
-
-Testcase 4.2.15:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT 'outer';
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT x1;
-END;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char ascii default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinytext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z text default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z blob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z binary default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint default -126;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--126 -126 -126
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned default 253;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-253 253 253
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-000 000 000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-001 001 001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint default -32768;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--32768 -32768 -32768
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned default 65535;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-65535 65535 65535
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000 00000 00000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00001 00001 00001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint default -8388608;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--8388608 -8388608 -8388608
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned default 16777215;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-16777215 16777215 16777215
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000 00000000 00000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001 00000001 00000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int default -2147483648;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--2147483648 -2147483648 -2147483648
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned default 4294967295;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-4294967295 4294967295 4294967295
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000001 0000000001 0000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint default -9223372036854775808;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9223372036854775808 -9223372036854775808 -9223372036854775808
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned default 18446744073709551615;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-18446744073709551615 18446744073709551615 18446744073709551615
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000000 00000000000000000000 00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000001 00000000000000000001 00000000000000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9999999999 -9999999999 -9999999999
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z date default '2005-02-02';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 2005-02-02 2005-02-02
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z time default '12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-12:20:12 12:20:12 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z datetime default '2005-02-02 12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z timestamp default '20050202122012';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(3) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(4) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z enum("1enum", "2enum") default "2enum";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2enum 2enum 2enum
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z set("1set", "2set") default "2set";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2set 2set 2set
-DROP PROCEDURE sp1;
-
-Testcase 4.2.16:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare a, b char default '2';
-declare c, d float default 1.3;
-declare e, f text default 'text';
-declare g, h enum("value1", "value2" ) default 'value1';
-declare i, j datetime default '2005-02-02 12:12:12';
-declare k, l blob default 'blob';
-SELECT a, b, c, d, e, f, g, h, k, l;
-END//
-CALL sp6();
-a b c d e f g h k l
-2 2 1.3 1.3 text text value1 value1 blob blob
-DROP PROCEDURE sp6;
-
-Testcase 4.2.17:
-----------------
-Ensure that the invalid variable declarations are rejected, with an appropriate
-error message.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-SELECT f2 into x from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-SELECT f2 into x from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare accessible char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare add char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare all char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare alter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare analyze char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare and char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare as char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare before char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare between char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare bigint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare binary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare blob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare both char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare by char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare call char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cascade char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare case char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare change char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare char char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare character char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare check char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare collate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare column char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare condition char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare constraint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare convert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare create char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cross char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_user char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cursor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare database char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare databases char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_hour char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dec char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare decimal char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare declare char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare default char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delayed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delete char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare desc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare describe char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare deterministic char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinct char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinctrow char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare div char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare double char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare drop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dual char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare each char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare else char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare elseif char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare enclosed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare escaped char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exists char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare explain char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare false char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fetch char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare for char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare force char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare foreign char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare from char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fulltext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare grant char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare group char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare having char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare high_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare if char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare ignore char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare in char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare index char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare infile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inner char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inout char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int1 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int2 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int3 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare integer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare interval char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare into char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare is char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare iterate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare key char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare keys char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare kill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leading char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leave char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare left char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare like char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare limit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare linear char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lines char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare load char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtime char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtimestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare long char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare loop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare low_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare master_ssl_verify_server_cert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare match char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare middleint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mod char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare modifies char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare natural char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare not char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare no_write_to_binlog char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare null char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare numeric char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare on char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optimize char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare option char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optionally char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare or char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare order char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare out char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outfile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare precision char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare primary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare procedure char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare purge char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare range char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare reads char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_only char;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare real char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare references char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare regexp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare release char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare rename char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare repeat char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare replace char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare require char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare restrict char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare return char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare revoke char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare right char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare rlike char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schema char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schemas char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare second_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare SELECT char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare separator char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare set char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare show char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare smallint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare spatial char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare specific char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlexception char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlstate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlwarning char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_big_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_calc_found_rows char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_small_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare ssl char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare starting char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare straight_join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare table char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare terminated char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare then char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinytext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare to char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trailing char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trigger char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare true char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare undo char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare union char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unique char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unlock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unsigned char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare update char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare usage char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare use char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare using char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare values char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varbinary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varchar char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varcharacter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varying char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare when char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare where char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare while char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare with char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare year_month char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare zerofill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill char;
-END' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of condition may be declared for a stored procedure
-( covered in more detail in handlers section.)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'HY000';
-declare cond2 condition for sqlstate '23000';
-declare cond3 condition for sqlstate 'HY001';
-declare cond4 condition for sqlstate '08004';
-declare cond5 condition for sqlstate '08S01';
-declare cond6 condition for sqlstate '42000';
-declare cond7 condition for sqlstate '28000';
-declare cond8 condition for sqlstate '3D000';
-declare cond9 condition for sqlstate '42S01';
-declare cond10 condition for sqlstate '42S02';
-declare cond11 condition for sqlstate '42S22';
-declare cond12 condition for sqlstate '21S01';
-declare cond13 condition for sqlstate '42S21';
-declare cond14 condition for sqlstate '42S12';
-declare cond15 condition for sqlstate '22004';
-declare cond16 condition for sqlstate '25000';
-declare cond17 condition for sqlstate '40001';
-declare cond18 condition for sqlstate '21000';
-declare cond19 condition for sqlstate '01000';
-declare cond20 condition for sqlstate '22003';
-declare cond21 condition for sqlstate '22007';
-declare cond22 condition for sqlstate '0A000';
-declare cond23 condition for sqlstate '70100';
-declare cond24 condition for sqlstate '2F005';
-declare cond25 condition for sqlstate '24000';
-declare cond26 condition for sqlstate '02000';
-declare continue handler for cond2 set @x2 = 1;
-declare continue handler for cond1 set @x2 = 1;
-declare continue handler for cond3 set @x2 = 1;
-declare continue handler for cond4 set @x2 = 1;
-declare continue handler for cond5 set @x2 = 1;
-declare continue handler for cond7 set @x2 = 1;
-declare continue handler for cond6 set @x2 = 1;
-declare continue handler for cond8 set @x2 = 1;
-declare continue handler for cond9 set @x2 = 1;
-declare continue handler for cond10 set @x2 = 1;
-declare continue handler for cond11 set @x2 = 1;
-declare continue handler for cond12 set @x2 = 1;
-declare continue handler for cond13 set @x2 = 1;
-declare continue handler for cond14 set @x2 = 1;
-declare continue handler for cond15 set @x2 = 1;
-declare continue handler for cond16 set @x2 = 1;
-declare continue handler for cond17 set @x2 = 1;
-declare continue handler for cond18 set @x2 = 1;
-declare continue handler for cond19 set @x2 = 1;
-declare continue handler for cond20 set @x2 = 1;
-declare continue handler for cond21 set @x2 = 1;
-declare continue handler for cond22 set @x2 = 1;
-declare continue handler for cond23 set @x2 = 1;
-declare continue handler for cond24 set @x2 = 1;
-declare continue handler for cond25 set @x2 = 1;
-declare continue handler for cond26 set @x2 = 1;
-set @x = 1;
-insert into t2 values (1);
-set @x = 2;
-insert into t2 values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible condition for sqlstate '02000';
-declare exit handler for add set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze condition for sqlstate '02000';
-declare exit handler for analyze set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze condition for sqlstate '02000';
-declare exit handler for analyze set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive condition for sqlstate '02000';
-declare exit handler for asensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive condition for sqlstate '02000';
-declare exit handler for asensitive s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before condition for sqlstate '02000';
-declare exit handler for before set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before condition for sqlstate '02000';
-declare exit handler for before set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between condition for sqlstate '02000';
-declare exit handler for between set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between condition for sqlstate '02000';
-declare exit handler for between set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary condition for sqlstate '02000';
-declare exit handler for binary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary condition for sqlstate '02000';
-declare exit handler for binary set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade condition for sqlstate '02000';
-declare exit handler for cascade set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade condition for sqlstate '02000';
-declare exit handler for cascade set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change condition for sqlstate '02000';
-declare exit handler for change set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change condition for sqlstate '02000';
-declare exit handler for change set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character condition for sqlstate '02000';
-declare exit handler for character set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character condition for sqlstate '02000';
-declare exit handler for character set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check condition for sqlstate '02000';
-declare exit handler for check set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check condition for sqlstate '02000';
-declare exit handler for check set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate condition for sqlstate '02000';
-declare exit handler for collate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate condition for sqlstate '02000';
-declare exit handler for collate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column condition for sqlstate '02000';
-declare exit handler for column set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column condition for sqlstate '02000';
-declare exit handler for column set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition condition for sqlstate '02000';
-declare exit handler for condition set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition condition for sqlstate '02000';
-declare exit handler for condition set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare connection condition for sqlstate '02000';
-declare exit handler for connection set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint condition for sqlstate '02000';
-declare exit handler for constraint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint condition for sqlstate '02000';
-declare exit handler for constraint s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert condition for sqlstate '02000';
-declare exit handler for convert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000';
-declare exit handler for convert set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create condition for sqlstate '02000';
-declare exit handler for create set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000';
-declare exit handler for create set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date condition for sqlstate '02000';
-declare exit handler for current_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000';
-declare exit handler for current_da' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time condition for sqlstate '02000';
-declare exit handler for current_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000';
-declare exit handler for current_ti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp condition for sqlstate '02000';
-declare exit handler for current_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
-declare exit handler for curre' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user condition for sqlstate '02000';
-declare exit handler for current_user set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000';
-declare exit handler for current_us' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database condition for sqlstate '02000';
-declare exit handler for database set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database condition for sqlstate '02000';
-declare exit handler for database set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases condition for sqlstate '02000';
-declare exit handler for databases set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases condition for sqlstate '02000';
-declare exit handler for databases set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond condition for sqlstate '02000';
-declare exit handler for day_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000';
-declare exit handler for day_mic' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute condition for sqlstate '02000';
-declare exit handler for day_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute condition for sqlstate '02000';
-declare exit handler for day_minute s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second condition for sqlstate '02000';
-declare exit handler for day_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second condition for sqlstate '02000';
-declare exit handler for day_second s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal condition for sqlstate '02000';
-declare exit handler for decimal set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal condition for sqlstate '02000';
-declare exit handler for decimal set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare condition for sqlstate '02000';
-declare exit handler for declare set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare condition for sqlstate '02000';
-declare exit handler for declare set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default condition for sqlstate '02000';
-declare exit handler for default set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default condition for sqlstate '02000';
-declare exit handler for default set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed condition for sqlstate '02000';
-declare exit handler for delayed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed condition for sqlstate '02000';
-declare exit handler for delayed set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete condition for sqlstate '02000';
-declare exit handler for delete set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete condition for sqlstate '02000';
-declare exit handler for delete set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe condition for sqlstate '02000';
-declare exit handler for describe set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe condition for sqlstate '02000';
-declare exit handler for describe set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic condition for sqlstate '02000';
-declare exit handler for deterministic set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic condition for sqlstate '02000';
-declare exit handler for determini' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct condition for sqlstate '02000';
-declare exit handler for distinct set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct condition for sqlstate '02000';
-declare exit handler for distinct set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double condition for sqlstate '02000';
-declare exit handler for double set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double condition for sqlstate '02000';
-declare exit handler for double set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped condition for sqlstate '02000';
-declare exit handler for escaped set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped condition for sqlstate '02000';
-declare exit handler for escaped set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists condition for sqlstate '02000';
-declare exit handler for exists set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists condition for sqlstate '02000';
-declare exit handler for exists set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain condition for sqlstate '02000';
-declare exit handler for explain set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain condition for sqlstate '02000';
-declare exit handler for explain set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false condition for sqlstate '02000';
-declare exit handler for false set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false condition for sqlstate '02000';
-declare exit handler for false set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float condition for sqlstate '02000';
-declare exit handler for float set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float condition for sqlstate '02000';
-declare exit handler for float set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force condition for sqlstate '02000';
-declare exit handler for force set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force condition for sqlstate '02000';
-declare exit handler for force set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign condition for sqlstate '02000';
-declare exit handler for foreign set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign condition for sqlstate '02000';
-declare exit handler for foreign set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group condition for sqlstate '02000';
-declare exit handler for group set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group condition for sqlstate '02000';
-declare exit handler for group set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having condition for sqlstate '02000';
-declare exit handler for having set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having condition for sqlstate '02000';
-declare exit handler for having set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority condition for sqlstate '02000';
-declare exit handler for high_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority condition for sqlstate '02000';
-declare exit handler for high_prio' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_m' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second condition for sqlstate '02000';
-declare exit handler for hour_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second condition for sqlstate '02000';
-declare exit handler for hour_second' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index condition for sqlstate '02000';
-declare exit handler for index set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index condition for sqlstate '02000';
-declare exit handler for index set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile condition for sqlstate '02000';
-declare exit handler for infile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000';
-declare exit handler for infile set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive condition for sqlstate '02000';
-declare exit handler for insensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive condition for sqlstate '02000';
-declare exit handler for insensitive' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert condition for sqlstate '02000';
-declare exit handler for insert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert condition for sqlstate '02000';
-declare exit handler for insert set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer condition for sqlstate '02000';
-declare exit handler for integer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer condition for sqlstate '02000';
-declare exit handler for integer set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval condition for sqlstate '02000';
-declare exit handler for interval set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval condition for sqlstate '02000';
-declare exit handler for interval set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate condition for sqlstate '02000';
-declare exit handler for iterate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate condition for sqlstate '02000';
-declare exit handler for iterate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading condition for sqlstate '02000';
-declare exit handler for leading set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading condition for sqlstate '02000';
-declare exit handler for leading set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime condition for sqlstate '02000';
-declare exit handler for localtime set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime condition for sqlstate '02000';
-declare exit handler for localtime set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp condition for sqlstate '02000';
-declare exit handler for localtimestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000';
-declare exit handler for localtim' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob condition for sqlstate '02000';
-declare exit handler for longblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob condition for sqlstate '02000';
-declare exit handler for longblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext condition for sqlstate '02000';
-declare exit handler for longtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000';
-declare exit handler for longtext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority condition for sqlstate '02000';
-declare exit handler for low_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority condition for sqlstate '02000';
-declare exit handler for low_priori' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handl' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match condition for sqlstate '02000';
-declare exit handler for match set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match condition for sqlstate '02000';
-declare exit handler for match set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint condition for sqlstate '02000';
-declare exit handler for middleint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint condition for sqlstate '02000';
-declare exit handler for middleint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond condition for sqlstate '02000';
-declare exit handler for minute_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
-declare exit handler for minu' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second condition for sqlstate '02000';
-declare exit handler for minute_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second condition for sqlstate '02000';
-declare exit handler for minute_se' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies condition for sqlstate '02000';
-declare exit handler for modifies set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies condition for sqlstate '02000';
-declare exit handler for modifies set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural condition for sqlstate '02000';
-declare exit handler for natural set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural condition for sqlstate '02000';
-declare exit handler for natural set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_write_to_binlog set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_w' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric condition for sqlstate '02000';
-declare exit handler for numeric set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric condition for sqlstate '02000';
-declare exit handler for numeric set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize condition for sqlstate '02000';
-declare exit handler for optimize set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize condition for sqlstate '02000';
-declare exit handler for optimize set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option condition for sqlstate '02000';
-declare exit handler for option set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option condition for sqlstate '02000';
-declare exit handler for option set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally condition for sqlstate '02000';
-declare exit handler for optionally set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally condition for sqlstate '02000';
-declare exit handler for optionally s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order condition for sqlstate '02000';
-declare exit handler for order set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000';
-declare exit handler for order set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile condition for sqlstate '02000';
-declare exit handler for outfile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile condition for sqlstate '02000';
-declare exit handler for outfile set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision condition for sqlstate '02000';
-declare exit handler for precision set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision condition for sqlstate '02000';
-declare exit handler for precision set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary condition for sqlstate '02000';
-declare exit handler for primary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary condition for sqlstate '02000';
-declare exit handler for primary set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure condition for sqlstate '02000';
-declare exit handler for procedure set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure condition for sqlstate '02000';
-declare exit handler for procedure set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int set @var2 = 1;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write condition for sqlstate '02000';
-declare exit handler for int set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references condition for sqlstate '02000';
-declare exit handler for references set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references condition for sqlstate '02000';
-declare exit handler for references s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release condition for sqlstate '02000';
-declare exit handler for int set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename condition for sqlstate '02000';
-declare exit handler for rename set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000';
-declare exit handler for rename set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace condition for sqlstate '02000';
-declare exit handler for replace set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace condition for sqlstate '02000';
-declare exit handler for replace set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require condition for sqlstate '02000';
-declare exit handler for require set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require condition for sqlstate '02000';
-declare exit handler for require set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict condition for sqlstate '02000';
-declare exit handler for restrict set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict condition for sqlstate '02000';
-declare exit handler for restrict set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return condition for sqlstate '02000';
-declare exit handler for return set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return condition for sqlstate '02000';
-declare exit handler for return set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right condition for sqlstate '02000';
-declare exit handler for right set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right condition for sqlstate '02000';
-declare exit handler for right set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema condition for sqlstate '02000';
-declare exit handler for schema set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000';
-declare exit handler for schema set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas condition for sqlstate '02000';
-declare exit handler for schemas set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas condition for sqlstate '02000';
-declare exit handler for schemas set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond condition for sqlstate '02000';
-declare exit handler for second_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000';
-declare exit handler for seco' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator condition for sqlstate '02000';
-declare exit handler for separator set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator condition for sqlstate '02000';
-declare exit handler for separator set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint condition for sqlstate '02000';
-declare exit handler for smallint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000';
-declare exit handler for smallint set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial condition for sqlstate '02000';
-declare exit handler for spatial set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial condition for sqlstate '02000';
-declare exit handler for spatial set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific condition for sqlstate '02000';
-declare exit handler for specific set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific condition for sqlstate '02000';
-declare exit handler for specific set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexception set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexcepti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql_calc_found_rows set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_small_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_sm' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting condition for sqlstate '02000';
-declare exit handler for starting set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting condition for sqlstate '02000';
-declare exit handler for starting set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join condition for sqlstate '02000';
-declare exit handler for straight_join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join condition for sqlstate '02000';
-declare exit handler for straight_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table condition for sqlstate '02000';
-declare exit handler for table set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table condition for sqlstate '02000';
-declare exit handler for table set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated condition for sqlstate '02000';
-declare exit handler for terminated set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated condition for sqlstate '02000';
-declare exit handler for terminated s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing condition for sqlstate '02000';
-declare exit handler for trailing set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing condition for sqlstate '02000';
-declare exit handler for trailing set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger condition for sqlstate '02000';
-declare exit handler for trigger set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger condition for sqlstate '02000';
-declare exit handler for trigger set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union condition for sqlstate '02000';
-declare exit handler for union set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000';
-declare exit handler for union set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique condition for sqlstate '02000';
-declare exit handler for unique set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique condition for sqlstate '02000';
-declare exit handler for unique set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update condition for sqlstate '02000';
-declare exit handler for update set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update condition for sqlstate '02000';
-declare exit handler for update set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using condition for sqlstate '02000';
-declare exit handler for using set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using condition for sqlstate '02000';
-declare exit handler for using set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_times' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values condition for sqlstate '02000';
-declare exit handler for values set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values condition for sqlstate '02000';
-declare exit handler for values set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar condition for sqlstate '02000';
-declare exit handler for varchar set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar condition for sqlstate '02000';
-declare exit handler for varchar set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter condition for sqlstate '02000';
-declare exit handler for varcharacter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter condition for sqlstate '02000';
-declare exit handler for varcharact' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying condition for sqlstate '02000';
-declare exit handler for varying set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying condition for sqlstate '02000';
-declare exit handler for varying set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where condition for sqlstate '02000';
-declare exit handler for where set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000';
-declare exit handler for where set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while condition for sqlstate '02000';
-declare exit handler for while set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while condition for sqlstate '02000';
-declare exit handler for while set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write condition for sqlstate '02000';
-declare exit handler for write set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write condition for sqlstate '02000';
-declare exit handler for write set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month condition for sqlstate '02000';
-declare exit handler for year_month set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month condition for sqlstate '02000';
-declare exit handler for year_month s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of handler may be declared for
-a stored procedure (continue- handler_type ).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values ' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare continueinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undoinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare exitinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare privileges handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-USE db_storedproc;
-
-Testcase 4.2.26:
---------------------------------------------------------------------------------
-set @v1='0';
-set @v2='0';
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char;
-declare y char;
-declare cond1 condition for sqlstate '42000';
-declare cur1 cursor for SELECT f1 from t2 limit 1;
-declare continue handler for cond1 set @x = 4;
-set @x = '1';
-set @y = '2';
-BEGIN
-declare x char;
-declare y char;
-declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
-declare continue handler for sqlstate '42000' set @x = 3;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-SELECT x, y, @x;
-END;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-set @v1 = @x;
-set @v2 = y;
-END//
-CALL sp1();
-x y @x
-NULL a 3
-Warnings:
-Warning 1265 Data truncated for column 'y' at row 3
-Warning 1265 Data truncated for column 'y' at row 1
-SELECT @v1, @v2;
-@v1 @v2
-4 a
-DROP PROCEDURE sp1;
-
-Testcase 4.2.28:
---------------------------------------------------------------------------------
-set @x=0;
-set @y=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set session sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @x = 4;
-set @y = 3;
-set global sort_buffer_size = 2 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @@sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-END//
-CALL sp1();
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-SELECT @x, @y;
-@x @y
-4 3
-
-Testcase 4.2.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char default 'x';
-declare xy char default 'y';
-declare xz char default 'z';
-set @xx = xx, @xy = xy;
-set @xz = xz;
-SELECT @xx, @xy, @xz;
-END//
-CALL sp1();
-@xx @xy @xz
-x y z
-DROP PROCEDURE sp1;
-
-Testcase 4.2.30:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 'asd';
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 5;
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-5
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - a:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char;
-set xx = 'temp';
-set @xx = xx;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-SELECT @xx;
-@xx
-t
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - b:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 1.6;
-SELECT xx;
-END//
-CALL sp1();
-xx
-1.6
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - c:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0000-00-00 00:00:00
-Warnings:
-Warning 1264 Out of range value for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = '2006-06-06 01:01:01';
-SELECT xx;
-END//
-CALL sp1();
-xx
-2006-06-06 01:01:01
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - d:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx varchar(20);
-set xx = "abcdefghijk";
-SELECT xx;
-END//
-CALL sp1();
-xx
-abcdefghijk
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - e:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = -125;
-SELECT xx;
-END//
-CALL sp1();
-xx
--125
-DROP PROCEDURE sp1;
-
-Testcase 4.2.37:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x integer; declare y integer;
-SELECT sal, f2 into x, y from t2 limit 1;
-set @x=x; set @y=y;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char ascii;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinytext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x text;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x blob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x binary;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x date;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x time;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x datetime;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x timestamp;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(3);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(4);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x enum("1enum", "2enum");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x set("1set", "2set");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.38:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare notable condition for sqlstate '42S02';
-declare continue handler for notable set @x2=1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.39:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000';
-declare cond1 condition for sqlstate '23000';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values(1);
-END//
-ERROR 42000: Duplicate condition: cond1
-
-Testcase 4.2.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '12';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1234';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.42:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'abcdefghi';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'abcdefghi'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000test';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '42000test'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000@#$%^&';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'null';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'null'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate ' ';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: ' '
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '2005-03-03';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '2005-03-03'
-
-Testcase 4.2.43:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-expect failure, SQLSTATE 00000 is not an acceptable value
-for an SP's handler
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000';
-declare continue handler for cond1 set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-ensure SP doesn't exist
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-
-Testcase 4.2.45:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare continue handler for sqlstate '23000' set @varr1 = 5;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare mycondition condition for sqlstate '23000';
-declare continue handler for mycondition set @varr3 = 7;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-
-Testcase 4.2.46:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '12' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1234' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123456' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.47:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42s0200test' set @var2 = 1;
-insert into tnull values( 1);
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '42s0200test'
-
-Testcase 4.2.48:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-This creation should fail, SQLSTATE 00000 is unacceptable
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '00000' set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-Verify SP wasn't created
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTSsp1;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXISTSsp1' at line 1
-
-Testcase 4.2.52:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare cur1 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Duplicate cursor: cur1
-
-Testcase 4.2.53:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Cursor SELECT must not have INTO
-
-Testcase 4.2.54:
---------------------------------------------------------------------------------
-
-Testcase 4.2.55:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Undefined CURSOR: cur1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-END;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-
-Testcase 4.2.56:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.57:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare cur2 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.59:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 10;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.60:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-close cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-close cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-fetch cur1 into newf1, newf2, newf3, newf4;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.62:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf2 char(20);
-declare newf1 int1;
-declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2;
-set @x = newf1;
-set @y = newf2;
-SELECT @x, @y;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-DROP PROCEDURE sp1;
-
-Testcase 4.2.63:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-close cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.64:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-start transaction;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.65:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-rollback;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.66:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.67:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-# set count = count - 1;
-# while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-# set count = count - 1;
-# END while;
-END;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.70:
---------------------------------------------------------------------------------
-create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare newf21 char(20);
-declare newf22 char(20);
-declare newf23 char(20);
-declare newf24 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
-declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-set count = 10;
-BEGIN
-open cur2;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-insert into temp1 values(newf1, newf2, newf4, newf3);
-close cur1;
-END;
-BEGIN
-set count = 10;
-while count > 0 do
-fetch cur2 into newf21, newf22, newf24, newf23;
-set count = count - 1;
-END while;
-END;
-insert into temp2 values(newf21, newf22, newf24, newf23);
-close cur2;
-END//
-CALL sp1();
-SELECT count(*) from temp1;
-count(*)
-1
-SELECT * from temp2;
-f1 f2 f3 f4
-NULL NULL NULL NULL
-DROP PROCEDURE sp1;
-drop table temp1;
-drop table temp2;
-
-Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
-. IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.3.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP TABLE IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
-middleinitial CHAR, lastname VARCHAR(50),
-age_averylongfieldname_averylongname_1234569 INT, COMMENT VARCHAR(100))
-ENGINE=<engine_to_be_tested>;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
-CREATE PROCEDURE sp1(a INT)
-BEGIN
-DECLARE itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx CHAR;
-DECLARE itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx VARCHAR(100);
-DECLARE itisjustamediumsizeintintegervariablename INTEGER;
-SET itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
-SET itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx
-= 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
-SET itisjustamediumsizeintintegervariablename = 5;
-SET @comment='a';
-label1: LOOP
-IF a > 100 THEN
-SET @comment = 'value of a is greater than 100';
-ELSEIF a < 100 THEN
-IF a < 50 THEN
-SET @comment = 'value of a is less than 50';
-ELSEIF a < 25 THEN
-SET @comment = 'value of a is less than 25';
-ELSE
-SET @comment = 'value of a is greater than 50 and less than 100';
-END IF;
-ELSE
-SET @comment = 'value of a is 100';
-END IF;
-IF itisjustamediumsizeintintegervariablename = 0 THEN LEAVE label1;
-END IF;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES(itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
-CONCAT(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx,
-' ', a), a, @comment);
-SET itisjustamediumsizeintintegervariablename
-= itisjustamediumsizeintintegervariablename - 1;
-ITERATE label1;
-END LOOP label1;
-END//
-CALL sp1(101);
-CALL sp1(100);
-CALL sp1(75);
-CALL sp1(40);
-CALL sp1(20);
-CALL sp1(-1);
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
-ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
-middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
-a aaaaaaaaaabbbbbbbbc 0 default
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE sp1;
-
-Testcase 4.3.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2 = 'address';
-set count = 1;
-case when action = 'delete' then
-insert into t3 values(v1, v2, count);
-delete from t3 where f1=v1;
-when action = 'insert' then
-repeat
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-label1: repeat
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-while count < 5 do
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-END while;
-set count = 1;
-label1: while count < 5 do
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-END while;
-else
-set @dummystring = 'temp value';
-END case;
-END//
-CALL sp2( 'insert' );
-SELECT * from t3 where f3 <=5 && f3 >= 0;
-f1 f2 f3
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 5
-f1 address 5
-SELECT count(*) from t3;
-count(*)
-28
-CALL sp2( 'delete' );
-SELECT count(*) from t3;
-count(*)
-10
-CALL sp2 ('test');
-SELECT @dummystring;
-@dummystring
-temp value
-DROP PROCEDURE sp2;
-
-Testcase 4.1.2:
----------------
-Ensure that all sub-clauses that should not be supported are disallowed with
-an appropriate error message. (case)
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp3;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case label1;
-END//
-ERROR 42000: You 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
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsav' at line 3
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: BEGIN
-case
-action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END label1;
-END//
-ERROR 42000: You 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
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set' at line 5
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsave' at line 6
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2= 'address';
-set count = 1;
-case action
-when 'delete' then
-when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 11
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare count int default 1;
-declare done int default 0;
-declare continue handler for sqlstate 'HY000' set done=1;
-label1: loop
-case
-when action = 'delete' then
-label3:BEGIN
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END label3;
-when action = 'insert' then
-label2: while count < 10 do
-BEGIN
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
-values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
-set count = count + 1;
-if count= 10 then
-set done=1;
-END if;
-END;
-END while label2;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-if done=1 then
-leave label1;
-END if;
-END loop label1;
-SELECT count, done;
-END//
-CALL sp3('insert');
-count done
-10 1
-Warnings:
-Warning 1265 Data truncated for column 'name' at row 1
-Warning 1265 Data truncated for column 'name' at row 2
-Warning 1265 Data truncated for column 'name' at row 3
-Warning 1265 Data truncated for column 'name' at row 4
-Warning 1265 Data truncated for column 'name' at row 5
-Warning 1265 Data truncated for column 'name' at row 6
-Warning 1265 Data truncated for column 'name' at row 7
-Warning 1265 Data truncated for column 'name' at row 8
-Warning 1265 Data truncated for column 'name' at row 9
-DROP PROCEDURE sp3;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-if count > 10 then leave label1;
-else
-set count = count + 1;
-elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-EN' at line 9
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-else
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You 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
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare i int default 10;
-if i > 20 then
-set i=25;
-END if
-declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-' at line 7
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare idummy int default 10;
-declare count int;
-set count = 1;
-label1: loop
-BEGIN
-if count < 20 then
-BEGIN
-declare idummy2 int default 10;
-set count=count+1;
-END;
-else
-BEGIN
-SELECT idummy2;
-leave label1;
-END;
-END if;
-iterate label1;
-END;
-END loop label1;
-END//
-CALL sp4();
-ERROR 42S22: Unknown column 'idummy2' in 'field list'
-DROP PROCEDURE sp4;
-
-Testcase 4.3.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-BEGIN
-declare count integer default 1;
-set count = 1;
-case
-else
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END' at line 6
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-END case;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = coun' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count' at line 3
-
-Testcase 4.3.6:
----------------
-Ensure that all supported sub-clauses are supported only in the correct order (repeat).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-until count1 > 5
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-until count1 > 5
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 5
-repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-unt' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 10;
-SELECT count1;
-END repeat;
-END//
-ERROR 42000: You 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 count1;
-END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1-1;
-until count1 < 0
-END repeat label1;
-SELECT count1;
-END//
-CALL sp6();
-count1
--1
-DROP PROCEDURE sp6;
-
-Testcase 4.3.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-label1 iterate;
-END label1 loop;
-END//
-ERROR 42000: You 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;
-END label1 loop;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-iterate label1;
-loop;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END ' at line 3
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave l' at line 3
-
-Testcase 4.3.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do while v1 > 0
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while v1 > 0
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do v1 > 0 while
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You 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
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-END while;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END//
-ERROR 42000: You 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;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END' at line 4
-
-Testcase 4.3.12:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp12;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp12( )
-BEGIN
-declare count1 integer default 1;
-declare count2 int;
-label1: loop
-if count1 > 2 then leave label1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-label2: loop
-if count2 > 2 then leave label2;
-END if;
-set count2 = count2 + 1;
-END loop label1;
-set count1 = count1 + 1;
-iterate label1;
-END loop label2;
-END//
-ERROR 42000: End-label label1 without match
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.13:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp13;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp13( )
-BEGIN
-declare count1 integer default 1;
-lable1: loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop;
-END//
-CALL sp13();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 1
-xyz pqr 2
-DROP PROCEDURE sp13;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.14:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp14;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp14( )
-BEGIN
-declare count1 integer default 1;
-loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: LEAVE with no matching label: lable1
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.15:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp15;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp15( )
-BEGIN
-declare count1 integer default 1;
-label1 loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: You 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
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1' at line 4
-
-Testcase 4.3.16:
-----------------
-Ensure that every beginning label with the same scope must be unique.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp16;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-set count2 = 1;
-label1: repeat
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
-until count2 > 3
-END repeat label1;
-until count1 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-declare count3 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-label1: repeat
-set count2 = count2 + 1;
-SELECT count2;
-until count2 > 3
-END repeat label1;
-SELECT count1;
-until count1 > 3
-END repeat label1;
-label1: repeat
-set count3 = count3 + 1;
-SELECT count3;
-until count3 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-
-Testcase 4.3.17:
---------------------------------------------------------------------------------
-
-Testcase 4.3.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp18;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp18( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label2;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.19:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat;
-END//
-CALL sp19();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-DROP PROCEDURE sp19;
-
-Testcase 4.3.20:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( )
-BEGIN
-declare count1 integer default 1;
-repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END' at line 8
-
-Testcase 4.3.21:
---------------------------------------------------------------------------------
-
-Testcase 4.3.22:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label2;
-END while;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.23:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END while;
-END' at line 11
-
-Testcase 4.3.25:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while;
-END while;
-END//
-CALL sp25 ();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-xyz pqr 2
-xyz pqr 3
-xyz pqr 3
-DROP PROCEDURE sp25;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Section 3.1.4 - Checks for the global nature of stored procedures:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.4.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP DATABASE IF EXISTS d40401;
-CREATE PROCEDURE sp1 ( n char(20) )
-BEGIN
-SELECT n;
-END//
-CREATE DATABASE d40401;
-USE d40401;
-CALL db_storedproc.sp1('abcd');
-n
-abcd
-USE db_storedproc;
-DROP PROCEDURE sp1;
-DROP DATABASE d40401;
-
-Testcase 4.4.2:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-DROP DATABASE IF EXISTS d40402;
-CREATE FUNCTION fn1(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-CREATE DATABASE d40402;
-USE d40402;
-SELECT db_storedproc.fn1(100);
-db_storedproc.fn1(100)
-900
-SELECT db_storedproc.fn1(1000);
-db_storedproc.fn1(1000)
-9000
-CREATE FUNCTION db_storedproc.fn11(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-SELECT db_storedproc.fn11(100);
-db_storedproc.fn11(100)
-900
-SELECT db_storedproc.fn11(1000);
-db_storedproc.fn11(1000)
-9000
-USE db_storedproc;
-DROP FUNCTION fn1;
-DROP FUNCTION fn11;
-DROP DATABASE d40402;
-
-Testcase 4.4.3:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-create table res_t41(a char(5), b char(10));
-insert into res_t41 values('abcde', 'a!@#$%^&*(');
-USE d2;
-create table res_t42(a char(5), b char(10));
-USE d1;
-CREATE PROCEDURE sp2(n char (20))
-BEGIN
-SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
-insert into d2.res_t42 values (@a, @b);
-END//
-USE d2;
-CALL d1.sp2('a!@#$%^&*(');
-show warnings;
-Level Code Message
-SELECT * from d1.res_t41;
-a b
-abcde a!@#$%^&*(
-SELECT * from res_t42;
-a b
-abcde a!@#$%^&*(
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Testcase 4.4.4:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-CREATE PROCEDURE sp3()
-BEGIN
-USE d1;
-END//
-ERROR 0A000: USE is not allowed in stored procedures
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.5:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-create table t43(a char(5), b char(10));
-insert into t43 values('abcde', 'a!@#$%^&*(');
-CREATE PROCEDURE d1.sp4()
-SELECT * from d1.t43;
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created NO_ENGINE_SUBSTITUTION latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from d1.t43
-USE db_storedproc;
-DROP DATABASE d1;
-CREATE DATABASE d1;
-USE d1;
-create table t44(a char(5), b char(10));
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.6:
---------------------------------------------------------------------------------
-USE db_storedproc;
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp5';
-db
-db_storedproc
-DROP PROCEDURE sp5;
-
-Testcase 4.4.7:
---------------------------------------------------------------------------------
-USE db_storedproc;
-drop table IF EXISTS t46;
-DROP PROCEDURE IF EXISTS sp6;
-create table t46(f1 char(20), f2 char(20));
-insert into t46 values ('abcd', 'wxyz');
-CREATE PROCEDURE db_storedproc.sp6()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp6';
-db
-db_storedproc
-drop table t46;
-DROP PROCEDURE sp6;
-
-Testcase 4.4.8:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
- SELECT * from t1 where t1.f1 = n;
-USE d2;
-alter procedure d1.sp8 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='sp8' and db='d1';
-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
-d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created NO_ENGINE_SUBSTITUTION updated latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 where t1.f1 = n
-
-Testcase 4.4.9:
---------------------------------------------------------------------------------
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-alter function d1.fn2 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='fn2' and db='d1';
-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
-d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END root@localhost modified created NO_ENGINE_SUBSTITUTION updated latin1 latin1_swedish_ci latin1_swedish_ci BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END
-
-Testcase 4.4.10:
---------------------------------------------------------------------------------
-USE d1;
-CREATE PROCEDURE sp9 ( n char(20) )
-SELECT * from t1 where t1.f1 = n;
-USE d2;
-DROP PROCEDURE d1.sp9;
-SELECT * from mysql.proc where specific_name='sp9' and db='d1';
-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.4.11:
---------------------------------------------------------------------------------
-USE d1;
-CREATE FUNCTION d1.fn3(n int) returns int
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-DROP FUNCTION d1.fn3;
-SELECT * from mysql.proc where specific_name='fn3' and db='d1';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Section 3.1.5 - Parameter use checks:
-Functions with all data types
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1( f1 bigint) returns bigint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn1(-9.22e+18);
-fn1(-9.22e+18)
--9220000000000000000
-DROP FUNCTION IF EXISTS fn2;
-CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn2(1.84e+19);
-fn2(1.84e+19)
-18400000000000000000
-DROP FUNCTION IF EXISTS fn3;
-CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn3(1.84e+17);
-fn3(1.84e+17)
-184000000000000000
-DROP FUNCTION IF EXISTS fn4;
-CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn4(-9.22e+15);
-fn4(-9.22e+15)
-0
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn5;
-CREATE FUNCTION fn5( f1 decimal) returns decimal
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn5(-1.00e+09);
-fn5(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn6;
-CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn6(-1.00e+09);
-fn6(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn7;
-CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn7(99999999999);
-fn7(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn8;
-CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn8(999999999);
-fn8(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn9;
-CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn9(-1.00e+09);
-fn9(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn10;
-CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn10(-1.00e+09);
-fn10(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn11(99999999999);
-fn11(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn12;
-CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn12(999999999);
-fn12(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn13;
-CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn13(-1.00e+09);
-fn13(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn14;
-CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn14(-1.00e+21);
-fn14(-1.00e+21)
--1000000000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn15;
-CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn15(1.00e+16);
-fn15(1.00e+16)
-10000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn16;
-CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn16(1.00e+16);
-fn16(1.00e+16)
-000000000000000010000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn17;
-CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn17(-1.00e+21);
-fn17(-1.00e+21)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn18_d;
-CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn18_d( -1000000000000000000000000000000 );
-fn18_d( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn19_du;
-CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn19_du( 100000000000000000000 );
-fn19_du( 100000000000000000000 )
-100000000000000000000
-DROP FUNCTION IF EXISTS fn20_duz;
-CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn20_duz( 1000000000000000000000000 );
-fn20_duz( 1000000000000000000000000 )
-0000000000000000000000000000000000000001000000000000000000000000
-DROP FUNCTION IF EXISTS fn21_d_z;
-CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn21_d_z(1.00e+00);
-fn21_d_z(1.00e+00)
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn22;
-CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn22(1.00e+00);
-fn22(1.00e+00)
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn23;
-CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn23(1.00e+00);
-fn23(1.00e+00)
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn24;
-CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn24(-1.00e+09);
-fn24(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn25;
-CREATE FUNCTION fn25( f1 double) returns double
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn25(1.00e+00);
-fn25(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn26;
-CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn26(1.00e+00);
-fn26(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn27;
-CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn27(1.00e+00);
-fn27(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn28;
-CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn28(1.00e+00);
-fn28(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn29;
-CREATE FUNCTION fn29( f1 float) returns float
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn29(1.00e+00);
-fn29(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn30;
-CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn30(1.00e+00);
-fn30(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn31;
-CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn31(1.00e+00);
-fn31(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn32;
-CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn32(1.00e+00);
-fn32(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn33;
-CREATE FUNCTION fn33( f1 float(0)) returns float(0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn33(1.00e+00);
-fn33(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn34;
-CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn34(1.00e+00);
-fn34(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn35;
-CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn35(1.00e+00);
-fn35(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn36;
-CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn36(1.00e+00);
-fn36(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn37;
-CREATE FUNCTION fn37( f1 float(23)) returns float(23)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn37(1.00e+00);
-fn37(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn38;
-CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn38(1.00e+00);
-fn38(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn39;
-CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn39(1.00e+00);
-fn39(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn40;
-CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn40(1.00e+00);
-fn40(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn41;
-CREATE FUNCTION fn41( f1 float(24)) returns float(24)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn41(1.00e+00);
-fn41(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn42;
-CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn42(1.00e+00);
-fn42(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn43;
-CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn43(1.00e+00);
-fn43(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn44;
-CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn44(1.00e+00);
-fn44(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn45;
-CREATE FUNCTION fn45( f1 float(53)) returns float(53)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn45(1.00e+00);
-fn45(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn46;
-CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn46(1.00e+00);
-fn46(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn47;
-CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn47(1.00e+00);
-fn47(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn48;
-CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn48(1.00e+00);
-fn48(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn49;
-CREATE FUNCTION fn49( f1 int) returns int
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn49(-2.15e+09);
-fn49(-2.15e+09)
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn50;
-CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn50(4.29e+09);
-fn50(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn51;
-CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn51(4.29e+09);
-fn51(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn52;
-CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn52(2.15e+08);
-fn52(2.15e+08)
-215000000
-DROP FUNCTION IF EXISTS fn53;
-CREATE FUNCTION fn53( f1 mediumint) returns mediumint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn53(-8388600);
-fn53(-8388600)
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn54;
-CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn54(16777201);
-fn54(16777201)
-16777202
-DROP FUNCTION IF EXISTS fn55;
-CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn55(16777210);
-fn55(16777210)
-16777210
-DROP FUNCTION IF EXISTS fn56;
-CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn56(-8388601);
-fn56(-8388601)
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn57;
-CREATE FUNCTION fn57( f1 numeric) returns numeric
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn57(-999999999);
-fn57(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn58;
-CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn58(-999999999);
-fn58(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn59;
-CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn59(9999999999);
-fn59(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn60;
-CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn60(99999999);
-fn60(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn61;
-CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn61(-99999999);
-fn61(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn62;
-CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn62(-999999999);
-fn62(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn63;
-CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn63(9999999999);
-fn63(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn64;
-CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn64(99999999);
-fn64(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn65;
-CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn65(-99999999);
-fn65(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn66;
-CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn66(-1e+36);
-fn66(-1e+36)
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn67;
-CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn67(1e+36);
-fn67(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn68;
-CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn68(1e+36);
-fn68(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn69;
-CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn69(-1e+36);
-fn69(-1e+36)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn70_n;
-CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn70_n( -1000000000000000000000000000000 );
-fn70_n( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-SELECT fn70_n( -10000000000000000000000000000000000000000 );
-fn70_n( -10000000000000000000000000000000000000000 )
--10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn71_nu;
-CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn71_nu( 10000000000000000000000000000000000000000 );
-fn71_nu( 10000000000000000000000000000000000000000 )
-10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn72_nuz;
-CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
-fn72_nuz( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn73_n_z;
-CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
-fn73_n_z( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn74;
-CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn74(999999999);
-fn74(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn75;
-CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn75(999999999);
-fn75(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn76;
-CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn76(-999999999);
-fn76(-999999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn77;
-CREATE FUNCTION fn77( f1 real) returns real
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn77(1.1);
-fn77(1.1)
-1.1
-DROP FUNCTION IF EXISTS fn78;
-CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn78(1.1);
-fn78(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn79;
-CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn79(1.1);
-fn79(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn80;
-CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn80(1.1);
-fn80(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn81;
-CREATE FUNCTION fn81( f1 smallint) returns smallint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn81(-32701);
-fn81(-32701)
--32702
-DROP FUNCTION IF EXISTS fn82;
-CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn82(65531);
-fn82(65531)
-65532
-DROP FUNCTION IF EXISTS fn83;
-CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn83(65531);
-fn83(65531)
-65532
-DROP FUNCTION IF EXISTS fn84;
-CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn84(-32601);
-fn84(-32601)
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn85;
-CREATE FUNCTION fn85( f1 tinyint) returns tinyint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn85(-115);
-fn85(-115)
--116
-DROP FUNCTION IF EXISTS fn86;
-CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn86(251);
-fn86(251)
-252
-DROP FUNCTION IF EXISTS fn87;
-CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn87(201);
-fn87(201)
-202
-DROP FUNCTION IF EXISTS fn88;
-CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn88(-101);
-fn88(-101)
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn89;
-CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
-BEGIN
-IF f1 = '1enum' THEN
-SET f1 = '2enum';
-ELSE
-SET f1 = '1enum';
-END IF;
-RETURN f1;
-END//
-SELECT fn89( '1enum');
-fn89( '1enum')
-2enum
-DROP FUNCTION IF EXISTS fn90;
-CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
-BEGIN
-IF f1 = '1set' THEN
-SET f1 = '2set';
-ELSE
-SET f1 = '1set';
-END IF;
-RETURN f1;
-END//
-SELECT fn90( '1set');
-fn90( '1set')
-2set
-DROP FUNCTION IF EXISTS fn91;
-CREATE FUNCTION fn91( f1 date) returns date
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-return f1;
-END//
-SELECT fn91('1997-12-31');
-fn91('1997-12-31')
-1998-01-31
-DROP FUNCTION IF EXISTS fn92;
-CREATE FUNCTION fn92( f1 time) returns time
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-return f1;
-END//
-SELECT fn92( '23:59:59.999999');
-fn92( '23:59:59.999999')
-25:59:59
-DROP FUNCTION IF EXISTS fn93;
-CREATE FUNCTION fn93( f1 datetime) returns datetime
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-return f1;
-END//
-SELECT fn93('1997-12-31 23:59:59.999999');
-fn93('1997-12-31 23:59:59.999999')
-1998-01-02 01:01:00
-DROP FUNCTION IF EXISTS fn94;
-CREATE FUNCTION fn94( f1 char) returns char
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn94( 'h');
-fn94( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn95;
-CREATE FUNCTION fn95( f1 char ascii) returns char ascii
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn95('h');
-fn95('h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn96;
-CREATE FUNCTION fn96( f1 binary) returns binary(2)
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn96( 'h');
-fn96( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn97;
-CREATE FUNCTION fn97( f1 longtext) returns longtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn97( 'world');
-fn97( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn98;
-CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn98( 'world');
-fn98( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn99;
-CREATE FUNCTION fn99( f1 text) returns text
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn99( 'world');
-fn99( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn100;
-CREATE FUNCTION fn100( f1 tinytext) returns tinytext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn100( 'world');
-fn100( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn101;
-CREATE FUNCTION fn101( f1 year) returns year
-BEGIN
-set f1 = f1 + 10;
-return f1;
-END//
-SELECT fn101(51);
-fn101(51)
-2061
-DROP FUNCTION IF EXISTS fn102;
-CREATE FUNCTION fn102( f1 year(4)) returns year(4)
-BEGIN
-set f1 = f1 + 51;
-return f1;
-END//
-SELECT fn102(1982);
-fn102(1982)
-2033
-DROP FUNCTION IF EXISTS fn103;
-CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn104;
-CREATE FUNCTION fn104( f1 linestring) returns linestring
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@')
-
-DROP FUNCTION IF EXISTS fn105;
-CREATE FUNCTION fn105( f1 point) returns point
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@')
-
-DROP FUNCTION IF EXISTS fn106;
-CREATE FUNCTION fn106( f1 polygon) returns polygon
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn107;
-CREATE FUNCTION fn107( f1 timestamp) returns timestamp
-BEGIN
-set f1 = now();
-return f1;
-END//
-SELECT fn107(20050510080451);
-fn107(20050510080451)
-returned
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( f1 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp1(-9.22e+18);
-f1
--9220000000000000000
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( f1 bigint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp2(1.84e+19);
-f1
-18400000000000000000
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( f1 bigint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp3(1.84e+17);
-f1
-00184000000000000000
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( f1 bigint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp4(-9.22e+15);
-f1
-00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5( f1 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp5(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( f1 decimal (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp6(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7( f1 decimal (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp7(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( f1 decimal (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp8(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( f1 decimal (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp9(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( f1 decimal (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp10(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( f1 decimal (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp11(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( f1 decimal (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp12(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( f1 decimal (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp13(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( f1 decimal (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp14(-1.00e+21);
-f1
--1000000000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( f1 decimal (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp15(1.00e+16);
-f1
-10000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( f1 decimal (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp16(1.00e+16);
-f1
-000000000000000010000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( f1 decimal (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp17(-1.00e+21);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp18_d;
-CREATE PROCEDURE sp18_d( f1 decimal (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp18_d(-1.00e+30);
-f1
--1000000000000000000000000000000
-CALL sp18_d( -1000000000000000000000000000000 );
-f1
--1000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp19_du;
-CREATE PROCEDURE sp19_du( f1 decimal (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp19_du(1.00e+20);
-f1
-100000000000000000000
-CALL sp19_du( 100000000000000000000 );
-f1
-100000000000000000000
-CALL sp19_du(1.00e+24);
-f1
-1000000000000000000000000
-CALL sp19_du( 1000000000000000000000000 );
-f1
-1000000000000000000000000
-DROP PROCEDURE IF EXISTS sp20_duz;
-CREATE PROCEDURE sp20_duz( f1 decimal (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp20_duz(1.00e+20);
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz( 100000000000000000000 );
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz(1.00e+24);
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-CALL sp20_duz( 1000000000000000000000000 );
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( f1 decimal (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp21(1.00e+00);
-f1
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( f1 decimal unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp22(1.00e+00);
-f1
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( f1 decimal unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp23(1.00e+00);
-f1
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( f1 decimal zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp24(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( f1 double)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp25(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( f1 double unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp26(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( f1 double unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp27(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( f1 double zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp28(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( f1 float)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp29(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( f1 float unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp30(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( f1 float unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp31(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( f1 float zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp32(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( f1 float(0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp33(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( f1 float(0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp34(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( f1 float(0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp35(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( f1 float(0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp36(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( f1 float(23))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp37(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( f1 float(23) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp38(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( f1 float(23) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp39(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( f1 float(23) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp40(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( f1 float(24))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp41(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( f1 float(24) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp42(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( f1 float(24) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp43(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( f1 float(24) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp44(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( f1 float(53))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp45(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( f1 float(53) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp46(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( f1 float(53) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp47(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( f1 float(53) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp48(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( f1 int)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp49(-2.15e+09);
-f1
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( f1 int unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp50(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( f1 int unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp51(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( f1 int zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp52(2.15e+08);
-f1
-0215000000
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( f1 mediumint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp53(-8388600);
-f1
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( f1 mediumint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp54(16777201);
-f1
-16777202
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( f1 mediumint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp55(16777210);
-f1
-16777210
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( f1 mediumint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp56(-8388601);
-f1
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( f1 numeric)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp57(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( f1 numeric (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp58(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( f1 numeric (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp59(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( f1 numeric (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp60(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( f1 numeric (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp61(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( f1 numeric (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp62(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( f1 numeric (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp63(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( f1 numeric (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp64(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( f1 numeric (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp65(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp66_n;
-CREATE PROCEDURE sp66_n( f1 numeric (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp66_n(-1e+36);
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp66_n( -1000000000000000000000000000000000000 );
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp67_nu;
-CREATE PROCEDURE sp67_nu( f1 numeric (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp67_nu(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp67_nu( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp68_nuz;
-CREATE PROCEDURE sp68_nuz( f1 numeric (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp68_nuz(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp68_nuz( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp69_n_z;
-CREATE PROCEDURE sp69_n_z( f1 numeric (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp69_n_z(-1e+36);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp69_n_z( -1000000000000000000000000000000000000 );
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp70_n;
-CREATE PROCEDURE sp70_n( f1 numeric (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp70_n(-1e+40);
-f1
--10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp70_n( -10000000000000000000000000000000000000000 );
-f1
--10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp71_nu;
-CREATE PROCEDURE sp71_nu( f1 numeric (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp71_nu(1.00e+40);
-f1
-10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp71_nu( 10000000000000000000000000000000000000000 );
-f1
-10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp72_nuz;
-CREATE PROCEDURE sp72_nuz( f1 numeric (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp72_nuz(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp72_nuz( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp73_n_z;
-CREATE PROCEDURE sp73_n_z( f1 numeric (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp73_n_z(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp73_n_z( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( f1 numeric unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp74(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( f1 numeric unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp75(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( f1 numeric zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp76(-999999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( f1 real)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp77(1.1);
-f1
-1.1
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( f1 real unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp78(1.1);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( f1 real unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp79(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( f1 real zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp80(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( f1 smallint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp81(-32701);
-f1
--32702
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( f1 smallint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp82(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( f1 smallint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp83(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( f1 smallint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp84(-32601);
-f1
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( f1 tinyint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp85(-115);
-f1
--116
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( f1 tinyint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp86(251);
-f1
-252
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( f1 tinyint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp87(201);
-f1
-202
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( f1 tinyint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp88(-101);
-f1
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( f1 enum('1enum', '2enum'))
-BEGIN
-IF f1 = '1enum' THEN set f1 = '2enum'; ELSE set f1 = '1enum'; END IF;
-END//
-CALL sp89( '1enum');
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( f1 set('1set', '2set'))
-BEGIN
-IF f1 = '1set' THEN set f1 = '2set'; ELSE set f1 = '1set'; END IF;
-END//
-CALL sp90( '1set');
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( f1 date)
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-SELECT f1;
-END//
-CALL sp91( '1997-12-31');
-f1
-1998-01-31
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( f1 time)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-SELECT f1;
-END//
-CALL sp92( '23:59:59.999999');
-f1
-25:59:59
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( f1 datetime)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-SELECT f1;
-END//
-CALL sp93('1997-12-31 23:59:59.999999');
-f1
-1998-01-02 01:01:00
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( f1 char)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp94( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( f1 char ascii)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp95( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( f1 char binary)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp96( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( f1 longtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp97( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( f1 mediumtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp98( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( f1 text)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp99( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( f1 tinytext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp100( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( f1 year)
-BEGIN
-set f1 = f1 + 10;
-SELECT f1;
-END//
-CALL sp101(51);
-f1
-2061
-DROP PROCEDURE IF EXISTS sp102;
-CREATE PROCEDURE sp102( f1 year(4))
-BEGIN
-set f1 = f1 + 51;
-SELECT f1;
-END//
-CALL sp102(1982);
-f1
-2033
-DROP PROCEDURE IF EXISTS sp103;
-CREATE PROCEDURE sp103( f1 geometrycollection)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp104;
-CREATE PROCEDURE sp104( f1 linestring)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp105;
-CREATE PROCEDURE sp105( f1 point)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-f1
-
-DROP PROCEDURE IF EXISTS sp106;
-CREATE PROCEDURE sp106( f1 polygon)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp107;
-CREATE PROCEDURE sp107( f1 timestamp)
-BEGIN
-set f1 = now() + 0 + f1;
-SELECT f1;
-END//
-CALL sp107(2.00e+13);
-f1
-returned
-Warnings:
-returned 1265 Data truncated for column 'f1' at row 1
-USE db_storedproc;
-DROP DATABASE db1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( in f1 year, inout f2 year, out f3 year, in f4 year,
-inout f5 year, out f6 year, in f7 year(4), inout f8 year(4),
-out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute01;
-CREATE PROCEDURE spexecute01()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 51;
-set var3 = 51;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp1(51, var1, var2, 51, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute01();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2033 2084 2033 2084
-DROP PROCEDURE spexecute01;
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text,
-out f6 text, in f7 tinytext, inout f8 tinytext, out f9 tinytext,
-in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute02;
-CREATE PROCEDURE spexecute02()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp2( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute02();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute02;
-DROP PROCEDURE sp2;
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( in f1 char, inout f2 char, out f3 char, in f4 char ascii,
-inout f5 char ascii, out f6 char ascii, in f7 longtext,
-inout f8 longtext, out f9 longtext, in f10 mediumtext,
-inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f9);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute03;
-CREATE PROCEDURE spexecute03()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp3( 'h', var1, var2, 'h', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute03();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a helloworld helloworld NULL helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a helloworld NULL helloworld hellohelloworld
-DROP PROCEDURE spexecute03;
-DROP PROCEDURE sp3;
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( in f1 bigint, inout f2 bigint, out f3 bigint,
-in f4 bigint, inout f5 bigint, out f6 bigint,
-in f7 bigint, inout f8 bigint, out f9 bigint,
-in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute04;
-CREATE PROCEDURE spexecute04()
-BEGIN
-declare var1 bigint;
-declare var2 bigint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+18;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp4(-9.22e+18, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute04();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-6744073709551616 6744073709551616 -9220000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute04;
-DROP PROCEDURE sp4;
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( in f1 timestamp, inout f2 timestamp, out f3 timestamp, in f4 timestamp, inout f5 timestamp, out f6 timestamp, in f7 timestamp, inout f8 timestamp, out f9 timestamp, in f10 timestamp, inout f11 timestamp, out f12 timestamp)
-BEGIN
-set f1 = now() + 0 + f1; set f2 = now() + 0 + f2; set f3 = now() + 0 + f1;
-set f4 = now() + 0 + f4; set f5 = now() + 0 + f5; set f6 = now() + 0 + f5;
-set f7 = now() + 0 + f7; set f8 = now() + 0 + f8; set f9 = now() + 0 + f8;
-set f10 = now() + 0 + f10; set f11 = now() + 0 + f11; set f12 = now() + 0 + f11;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute06;
-CREATE PROCEDURE spexecute06()
-BEGIN
-declare var1 timestamp;
-declare var2 timestamp;
-declare var3 timestamp;
-declare var4 timestamp;
-declare var5 timestamp;
-declare var6 timestamp;
-declare var7 timestamp;
-declare var8 timestamp;
-set var1 = 2.00e+13;
-set var3 = 2.00e+13;
-set var5 = 2.00e+13;
-set var7 = 2.00e+13;
-CALL sp6(2.00e+13, var1, var2, 2.00e+13, var3, var4, 2.00e+13, var5, var6, 2.00e+13, var7, var8);
-END//
-CALL spexecute06();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-returned returned returned returned returned returned returned returned returned returned returned returned
-DROP PROCEDURE spexecute06;
-DROP PROCEDURE sp6;
-DROP PROCEDURE IF EXISTS sp07;
-CREATE PROCEDURE sp07( IN f1 BIGINT UNSIGNED,
-INOUT f2 BIGINT UNSIGNED,
-OUT f3 BIGINT UNSIGNED,
-IN f4 BIGINT,
-INOUT f5 BIGINT,
-OUT f6 BIGINT,
-IN f7 BIGINT,
-INOUT f8 BIGINT,
-OUT f9 BIGINT,
-IN f10 BIGINT,
-INOUT f11 BIGINT,
-OUT f12 BIGINT)
-BEGIN
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f3 * 2); set f3 = (f3 - 10); set f3 = (f3 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute07;
-CREATE PROCEDURE spexecute07()
-BEGIN
-declare var1 bigint unsigned;
-declare var2 bigint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+19;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-CALL sp07( var1, var1, var2, var3, var3, var4,
-var5, var5, var6, var7, var7, var8 );
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-END//
-CALL spexecute07();
-var1 var2
-18400000000000000000 NULL
-var3 var4
--9220000000000000000 NULL
-var5 var6
--9220000000000000000 NULL
-var7 var8
--9220000000000000000 NULL
-f1 f2 f3
-18400000000000000000 18400000000000000000 NULL
-f4 f5 f6
--9220000000000000000 -9220000000000000000 NULL
-f7 f8 f9
--9220000000000000000 -9220000000000000000 NULL
-f10 f11 f12
--9220000000000000000 -9220000000000000000 NULL
-f1 f2 f3
-18353255926290448384 18353255926290448384 18353255926290448384
-f4 f5 f6
--9220000000000000000 6744073709551616 6744073709551616
-f7 f8 f9
--9220000000000000000 6744073709551616 6744073709551616
-f10 f11 f12
--9220000000000000000 6744073709551616 6744073709551616
-var1 var2
-18353255926290448384 18353255926290448384
-var3 var4
-6744073709551616 6744073709551616
-var5 var6
-6744073709551616 6744073709551616
-var7 var8
-6744073709551616 6744073709551616
-DROP PROCEDURE spexecute07;
-DROP PROCEDURE sp07;
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( in f1 bigint unsigned zerofill,
-inout f2 bigint unsigned zerofill,
-out f3 bigint unsigned zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute08;
-CREATE PROCEDURE spexecute08()
-BEGIN
-declare var1 bigint unsigned zerofill;
-declare var2 bigint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+17;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp8(1.84e+17, var1, var2, -9.22e+18, var3, var4,
--9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute08();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00368000000000000000 00368000000000000000 00368000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00368000000000000000 00368000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute08;
-DROP PROCEDURE sp8;
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( in f1 bigint zerofill,
-inout f2 bigint zerofill,
-out f3 bigint zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute09;
-CREATE PROCEDURE spexecute09()
-BEGIN
-declare var1 bigint zerofill;
-declare var2 bigint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+15;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp9(-9.22e+15, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute09();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00000000000000000000 00000000000000000000 00000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00000000000000000000 00000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute09;
-DROP PROCEDURE sp9;
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( in f1 decimal,
-inout f2 decimal,
-out f3 decimal,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute10;
-CREATE PROCEDURE spexecute10()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp10(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute10();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute10;
-DROP PROCEDURE sp10;
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( in f1 decimal (0), inout f2 decimal (0), out f3 decimal (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute11;
-CREATE PROCEDURE spexecute11()
-BEGIN
-declare var1 decimal (0);
-declare var2 decimal (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = --1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp11(--1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute11();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute11;
-DROP PROCEDURE sp11;
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( in f1 decimal (0) unsigned, inout f2 decimal (0) unsigned, out f3 decimal (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute12;
-CREATE PROCEDURE spexecute12()
-BEGIN
-declare var1 decimal (0) unsigned;
-declare var2 decimal (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp12(99999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute12();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute12;
-DROP PROCEDURE sp12;
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( in f1 decimal (0, 0) zerofill, inout f2 decimal (0, 0) zerofill, out f3 decimal (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute13;
-CREATE PROCEDURE spexecute13()
-BEGIN
-declare var1 decimal (0, 0) zerofill;
-declare var2 decimal (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp13(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute13();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute13;
-DROP PROCEDURE sp13;
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( in f1 decimal (63, 30), inout f2 decimal (63, 30), out f3 decimal (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute14;
-CREATE PROCEDURE spexecute14()
-BEGIN
-declare var1 decimal (63, 30);
-declare var2 decimal (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp14(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute14();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000000000000000.000000000000000000000000000000 -1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute14;
-DROP PROCEDURE sp14;
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( in f1 double, inout f2 double, out f3 double, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute15;
-CREATE PROCEDURE spexecute15()
-BEGIN
-declare var1 double;
-declare var2 double;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp15(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute15();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute15;
-DROP PROCEDURE sp15;
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( in f1 double zerofill, inout f2 double zerofill, out f3 double zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute16;
-CREATE PROCEDURE spexecute16()
-BEGIN
-declare var1 double zerofill;
-declare var2 double zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp16(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute16();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute16;
-DROP PROCEDURE sp16;
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( in f1 double unsigned, inout f2 double unsigned, out f3 double unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute17;
-CREATE PROCEDURE spexecute17()
-BEGIN
-declare var1 double unsigned;
-declare var2 double unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp17(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute17();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute17;
-DROP PROCEDURE sp17;
-DROP PROCEDURE IF EXISTS sp18;
-CREATE PROCEDURE sp18( in f1 double unsigned zerofill, inout f2 double unsigned zerofill, out f3 double unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute18;
-CREATE PROCEDURE spexecute18()
-BEGIN
-declare var1 double unsigned zerofill;
-declare var2 double unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp18(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute18();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute18;
-DROP PROCEDURE sp18;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( in f1 float unsigned, inout f2 float unsigned, out f3 float unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute19;
-CREATE PROCEDURE spexecute19()
-BEGIN
-declare var1 float unsigned;
-declare var2 float unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp19(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute19();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute19;
-DROP PROCEDURE sp19;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( in f1 float unsigned zerofill, inout f2 float unsigned zerofill, out f3 float unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute20;
-CREATE PROCEDURE spexecute20()
-BEGIN
-declare var1 float unsigned zerofill;
-declare var2 float unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp20(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute20();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute20;
-DROP PROCEDURE sp20;
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( in f1 float zerofill, inout f2 float zerofill, out f3 float zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute21;
-CREATE PROCEDURE spexecute21()
-BEGIN
-declare var1 float zerofill;
-declare var2 float zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp21(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute21();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute21;
-DROP PROCEDURE sp21;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( in f1 float(0), inout f2 float(0), out f3 float(0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute22;
-CREATE PROCEDURE spexecute22()
-BEGIN
-declare var1 float(0);
-declare var2 float(0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp22(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute22();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute22;
-DROP PROCEDURE sp22;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( in f1 numeric, inout f2 numeric, out f3 numeric, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute23;
-CREATE PROCEDURE spexecute23()
-BEGIN
-declare var1 numeric;
-declare var2 numeric;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp23(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute23();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute23;
-DROP PROCEDURE sp23;
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( in f1 real, inout f2 real, out f3 real, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute24;
-CREATE PROCEDURE spexecute24()
-BEGIN
-declare var1 real;
-declare var2 real;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp24(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute24();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1.1 1.1 11.1 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1.1 11.1 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute24;
-DROP PROCEDURE sp24;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute25;
-CREATE PROCEDURE spexecute25()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp25(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute25();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32758 -32758 -32748 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32758 -32748 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute25;
-DROP PROCEDURE sp25;
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( in f1 date, inout f2 date, out f3 date, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = adddate(f1, interval 31 day); set f2 = adddate(f2, interval 31 day); set f3 = adddate(f2, interval 31 day);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute26;
-CREATE PROCEDURE spexecute26()
-BEGIN
-declare var1 date;
-declare var2 date;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp26( '1997-12-31', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute26();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-31 1998-01-31 1998-03-03 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-31 1998-03-03 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute26;
-DROP PROCEDURE sp26;
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( in f1 time, inout f2 time, out f3 time, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998'); set f2 = addtime(f2, '02:00:00.999998'); set f3 = addtime(f2, '02:00:00.999998');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute27;
-CREATE PROCEDURE spexecute27()
-BEGIN
-declare var1 time;
-declare var2 time;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp27( '23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute27();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-25:59:59 25:59:59 27:59:59 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-25:59:59 27:59:59 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute27;
-DROP PROCEDURE sp27;
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( in f1 datetime, inout f2 datetime, out f3 datetime, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002'); set f2 = addtime(f2, '1 1:1:1.000002'); set f3 = addtime(f1, '1 1:1:1.000002');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute28;
-CREATE PROCEDURE spexecute28()
-BEGIN
-declare var1 datetime;
-declare var2 datetime;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31 23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp28('1997-12-31 23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute28();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-02 01:01:00 1998-01-02 01:01:00 1998-01-03 02:02:01 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-02 01:01:00 1998-01-03 02:02:01 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute28;
-DROP PROCEDURE sp28;
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( in f1 float(0) unsigned, inout f2 float(0) unsigned, out f3 float(0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute29;
-CREATE PROCEDURE spexecute29()
-BEGIN
-declare var1 float(0) unsigned;
-declare var2 float(0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp29(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute29();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute29;
-DROP PROCEDURE sp29;
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( in f1 float(0) zerofill, inout f2 float(0) zerofill, out f3 float(0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute30;
-CREATE PROCEDURE spexecute30()
-BEGIN
-declare var1 float(0) zerofill;
-declare var2 float(0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp30(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute30();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute30;
-DROP PROCEDURE sp30;
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( in f1 float(23), inout f2 float(23), out f3 float(23), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute31;
-CREATE PROCEDURE spexecute31()
-BEGIN
-declare var1 float(23);
-declare var2 float(23);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp31(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute31();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute31;
-DROP PROCEDURE sp31;
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( in f1 float(23) unsigned, inout f2 float(23) unsigned, out f3 float(23) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute32;
-CREATE PROCEDURE spexecute32()
-BEGIN
-declare var1 float(23) unsigned;
-declare var2 float(23) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp32(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute32();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute32;
-DROP PROCEDURE sp32;
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( in f1 float(23) zerofill, inout f2 float(23) zerofill, out f3 float(23) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute33;
-CREATE PROCEDURE spexecute33()
-BEGIN
-declare var1 float(23) zerofill;
-declare var2 float(23) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp33(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute33();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute33;
-DROP PROCEDURE sp33;
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( in f1 float(24), inout f2 float(24), out f3 float(24), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute34;
-CREATE PROCEDURE spexecute34()
-BEGIN
-declare var1 float(24);
-declare var2 float(24);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp34(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute34();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute34;
-DROP PROCEDURE sp34;
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( in f1 float(24) unsigned, inout f2 float(24) unsigned, out f3 float(24) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute35;
-CREATE PROCEDURE spexecute35()
-BEGIN
-declare var1 float(24) unsigned;
-declare var2 float(24) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp35(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute35();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute35;
-DROP PROCEDURE sp35;
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( in f1 float(24) zerofill, inout f2 float(24) zerofill, out f3 float(24) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute36;
-CREATE PROCEDURE spexecute36()
-BEGIN
-declare var1 float(24) zerofill;
-declare var2 float(24) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp36(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute36();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute36;
-DROP PROCEDURE sp36;
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( in f1 float(53), inout f2 float(53), out f3 float(53), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute37;
-CREATE PROCEDURE spexecute37()
-BEGIN
-declare var1 float(53);
-declare var2 float(53);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp37(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute37();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute37;
-DROP PROCEDURE sp37;
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( in f1 float(53) unsigned, inout f2 float(53) unsigned, out f3 float(53) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute38;
-CREATE PROCEDURE spexecute38()
-BEGIN
-declare var1 float(53) unsigned;
-declare var2 float(53) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp38(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute38();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute38;
-DROP PROCEDURE sp38;
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( in f1 float(53) zerofill, inout f2 float(53) zerofill, out f3 float(53) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute39;
-CREATE PROCEDURE spexecute39()
-BEGIN
-declare var1 float(53) zerofill;
-declare var2 float(53) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp39(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute39();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute39;
-DROP PROCEDURE sp39;
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( in f1 real unsigned, inout f2 real unsigned, out f3 real unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute40;
-CREATE PROCEDURE spexecute40()
-BEGIN
-declare var1 real unsigned;
-declare var2 real unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp40(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute40();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute40;
-DROP PROCEDURE sp40;
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( in f1 real unsigned zerofill, inout f2 real unsigned zerofill, out f3 real unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute41;
-CREATE PROCEDURE spexecute41()
-BEGIN
-declare var1 real unsigned zerofill;
-declare var2 real unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp41(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute41();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute41;
-DROP PROCEDURE sp41;
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( in f1 real zerofill, inout f2 real zerofill, out f3 real zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute42;
-CREATE PROCEDURE spexecute42()
-BEGIN
-declare var1 real zerofill;
-declare var2 real zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp42(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute42();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute42;
-DROP PROCEDURE sp42;
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( in f1 numeric (0), inout f2 numeric (0), out f3 numeric (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute43;
-CREATE PROCEDURE spexecute43()
-BEGIN
-declare var1 numeric (0);
-declare var2 numeric (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp43(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute43();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute43;
-DROP PROCEDURE sp43;
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( in f1 numeric (0) unsigned, inout f2 numeric (0) unsigned, out f3 numeric (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute44;
-CREATE PROCEDURE spexecute44()
-BEGIN
-declare var1 numeric (0) unsigned;
-declare var2 numeric (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp44(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute44();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute44;
-DROP PROCEDURE sp44;
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( in f1 numeric (0) zerofill, inout f2 numeric (0) zerofill, out f3 numeric (0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute45;
-CREATE PROCEDURE spexecute45()
-BEGIN
-declare var1 numeric (0) zerofill;
-declare var2 numeric (0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp45(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute45();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute45;
-DROP PROCEDURE sp45;
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( in f1 numeric (0, 0), inout f2 numeric (0, 0), out f3 numeric (0, 0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute46;
-CREATE PROCEDURE spexecute46()
-BEGIN
-declare var1 numeric (0, 0);
-declare var2 numeric (0, 0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp46(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute46();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute46;
-DROP PROCEDURE sp46;
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( in f1 numeric (0, 0) unsigned, inout f2 numeric (0, 0) unsigned, out f3 numeric (0, 0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute47;
-CREATE PROCEDURE spexecute47()
-BEGIN
-declare var1 numeric (0, 0) unsigned;
-declare var2 numeric (0, 0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp47(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute47();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute47;
-DROP PROCEDURE sp47;
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( in f1 numeric (0, 0) zerofill, inout f2 numeric (0, 0) zerofill, out f3 numeric (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute48;
-CREATE PROCEDURE spexecute48()
-BEGIN
-declare var1 numeric (0, 0) zerofill;
-declare var2 numeric (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp48(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute48();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute48;
-DROP PROCEDURE sp48;
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( in f1 numeric unsigned, inout f2 numeric unsigned, out f3 numeric unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute49;
-CREATE PROCEDURE spexecute49()
-BEGIN
-declare var1 numeric unsigned;
-declare var2 numeric unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp49(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute49();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute49;
-DROP PROCEDURE sp49;
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( in f1 numeric unsigned zerofill, inout f2 numeric unsigned zerofill, out f3 numeric unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute50;
-CREATE PROCEDURE spexecute50()
-BEGIN
-declare var1 numeric unsigned zerofill;
-declare var2 numeric unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp50(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute50();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute50;
-DROP PROCEDURE sp50;
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( in f1 numeric zerofill, inout f2 numeric zerofill, out f3 numeric zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute51;
-CREATE PROCEDURE spexecute51()
-BEGIN
-declare var1 numeric zerofill;
-declare var2 numeric zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp51(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute51();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute51;
-DROP PROCEDURE sp51;
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( in f1 numeric (63, 30), inout f2 numeric (63, 30), out f3 numeric (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute52;
-CREATE PROCEDURE spexecute52()
-BEGIN
-declare var1 numeric (63, 30);
-declare var2 numeric (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp52(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute52();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000.000000000000000000000000000000 -10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute52;
-DROP PROCEDURE sp52;
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( in f1 numeric (64), inout f2 numeric (64), out f3 numeric (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute53;
-CREATE PROCEDURE spexecute53()
-BEGIN
-declare var1 numeric (64);
-declare var2 numeric (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp53(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute53();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute53;
-DROP PROCEDURE sp53;
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( in f1 numeric (64) unsigned, inout f2 numeric (64) unsigned, out f3 numeric (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute54;
-CREATE PROCEDURE spexecute54()
-BEGIN
-declare var1 numeric (64) unsigned;
-declare var2 numeric (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp54(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute54();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute54;
-DROP PROCEDURE sp54;
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( in f1 numeric (64) zerofill, inout f2 numeric (64) zerofill, out f3 numeric (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute55;
-CREATE PROCEDURE spexecute55()
-BEGIN
-declare var1 numeric (64) zerofill;
-declare var2 numeric (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp55(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute55();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute55;
-DROP PROCEDURE sp55;
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( in f1 year, inout f2 year, out f3 year, in f4 year, inout f5 year, out f6 year, in f7 year, inout f8 year, out f9 year, in f10 year, inout f11 year, out f12 year)
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 10; set f8 = f8 + 10; set f9 = f8 + 10;
-set f10= f10+ 10; set f11 = f11 + 10; set f12 = f11 + 10;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute56;
-CREATE PROCEDURE spexecute56()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year;
-declare var6 year;
-declare var7 year;
-declare var8 year;
-set var1 = 51;
-set var3 = 51;
-set var5 = 51;
-set var7 = 51;
-CALL sp56(51, var1, var2, 51, var3, var4, 51, var5, var6, 51, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute56();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2061 2061 2071 2061 2061 2071
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2061 2071 2061 2071
-DROP PROCEDURE spexecute56;
-DROP PROCEDURE sp56;
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( in f1 year(4), inout f2 year(4), out f3 year(4), in f4 year(4), inout f5 year(4), out f6 year(4), in f7 year(4), inout f8 year(4), out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 51; set f2 = f2 + 51; set f3 = f2 + 51;
-set f4 = f4 + 51; set f5 = f5 + 51; set f6 = f5 + 51;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute57;
-CREATE PROCEDURE spexecute57()
-BEGIN
-declare var1 year(4);
-declare var2 year(4);
-declare var3 year(4);
-declare var4 year(4);
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 1982;
-set var3 = 1982;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp57(1982, var1, var2, 1982, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute57();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2033 2033 2084 2033 2033 2084 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2033 2084 2033 2084 2033 2084 2033 2084
-DROP PROCEDURE spexecute57;
-DROP PROCEDURE sp57;
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text, out f6 text, in f7 text, inout f8 text, out f9 text, in f10 text, inout f11 text, out f12 text)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute58;
-CREATE PROCEDURE spexecute58()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 text;
-declare var6 text;
-declare var7 text;
-declare var8 text;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp58( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute58();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute58;
-DROP PROCEDURE sp58;
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( in f1 tinytext, inout f2 tinytext, out f3 tinytext, in f4 tinytext, inout f5 tinytext, out f6 tinytext, in f7 tinytext, inout f8 tinytext, out f9 tinytext, in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute59;
-CREATE PROCEDURE spexecute59()
-BEGIN
-declare var1 tinytext;
-declare var2 tinytext;
-declare var3 tinytext;
-declare var4 tinytext;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp59( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute59();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute59;
-DROP PROCEDURE sp59;
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( in f1 char, inout f2 char, out f3 char, in f4 char, inout f5 char, out f6 char, in f7 char, inout f8 char, out f9 char, in f10 char, inout f11 char, out f12 char)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f5);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f8);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute60;
-CREATE PROCEDURE spexecute60()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char;
-declare var4 char;
-declare var5 char;
-declare var6 char;
-declare var7 char;
-declare var8 char;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp60( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute60();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a a a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a a a a
-DROP PROCEDURE spexecute60;
-DROP PROCEDURE sp60;
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( in f1 char ascii, inout f2 char ascii, out f3 char ascii, in f4 char ascii, inout f5 char ascii, out f6 char ascii, in f7 char ascii, inout f8 char ascii, out f9 char ascii, in f10 char ascii, inout f11 char ascii, out f12 char ascii)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f2);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f9);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute61;
-CREATE PROCEDURE spexecute61()
-BEGIN
-declare var1 char ascii;
-declare var2 char ascii;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 char ascii;
-declare var6 char ascii;
-declare var7 char ascii;
-declare var8 char ascii;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp61( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute61();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a NULL a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a NULL a a
-DROP PROCEDURE spexecute61;
-DROP PROCEDURE sp61;
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( in f1 longtext, inout f2 longtext, out f3 longtext, in f4 longtext, inout f5 longtext, out f6 longtext, in f7 longtext, inout f8 longtext, out f9 longtext, in f10 longtext, inout f11 longtext, out f12 longtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute62;
-CREATE PROCEDURE spexecute62()
-BEGIN
-declare var1 longtext;
-declare var2 longtext;
-declare var3 longtext;
-declare var4 longtext;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 longtext;
-declare var8 longtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp62( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute62();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute62;
-DROP PROCEDURE sp62;
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( in f1 mediumtext, inout f2 mediumtext, out f3 mediumtext, in f4 mediumtext, inout f5 mediumtext, out f6 mediumtext, in f7 mediumtext, inout f8 mediumtext, out f9 mediumtext, in f10 mediumtext, inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f3);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute63;
-CREATE PROCEDURE spexecute63()
-BEGIN
-declare var1 mediumtext;
-declare var2 mediumtext;
-declare var3 mediumtext;
-declare var4 mediumtext;
-declare var5 mediumtext;
-declare var6 mediumtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp63( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute63();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld NULL helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld NULL helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute63;
-DROP PROCEDURE sp63;
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( in f1 decimal, inout f2 decimal, out f3 decimal, in f4 decimal, inout f5 decimal, out f6 decimal, in f7 decimal, inout f8 decimal, out f9 decimal, in f10 decimal, inout f11 decimal, out f12 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f4 = (f4 / 2); set f4 = (f4 * 2); set f4 = (f4 - 10); set f4 = (f4 + 10); set f5 = (f5 / 2); set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f5 / 2); set f6 = (f5 * 2); set f6 = (f5 - 10); set f6 = (f5 + 10);
-set f7 = (f7 / 2); set f7 = (f7 * 2); set f7 = (f7 - 10); set f7 = (f7 + 10); set f8 = (f8 / 2); set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f8 / 2); set f9 = (f8 * 2); set f9 = (f8 - 10); set f9 = (f8 + 10);
-set f10 = (f10 / 2); set f10 = (f10 * 2); set f10 = (f10 - 10); set f10 = (f10 + 10); set f11 = (f11 / 2); set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f11 / 2); set f12 = (f11 * 2); set f12 = (f11 - 10); set f12 = (f11 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute64;
-CREATE PROCEDURE spexecute64()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 decimal;
-declare var4 decimal;
-declare var5 decimal;
-declare var6 decimal;
-declare var7 decimal;
-declare var8 decimal;
-set var1 = --1.00e+09;
-set var3 = --1.00e+09;
-set var5 = --1.00e+09;
-set var7 = --1.00e+09;
-CALL sp64(--1.00e+09, var1, var2, --1.00e+09, var3, var4, --1.00e+09, var5, var6, --1.00e+09, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute64();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010
-DROP PROCEDURE spexecute64;
-DROP PROCEDURE sp64;
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( in f1 decimal (0, 0) unsigned zerofill, inout f2 decimal (0, 0) unsigned zerofill, out f3 decimal (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute65;
-CREATE PROCEDURE spexecute65()
-BEGIN
-declare var1 decimal (0, 0) unsigned zerofill;
-declare var2 decimal (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp65(999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute65();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute65;
-DROP PROCEDURE sp65;
-DROP PROCEDURE IF EXISTS sp66;
-CREATE PROCEDURE sp66( in f1 decimal (63, 30) unsigned, inout f2 decimal (63, 30) unsigned, out f3 decimal (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute66;
-CREATE PROCEDURE spexecute66()
-BEGIN
-declare var1 decimal (63, 30) unsigned;
-declare var2 decimal (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp66(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute66();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10000000000000000.000000000000000000000000000000 10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute66;
-DROP PROCEDURE sp66;
-DROP PROCEDURE IF EXISTS sp67;
-CREATE PROCEDURE sp67( in f1 decimal (63, 30) unsigned zerofill, inout f2 decimal (63, 30) unsigned zerofill, out f3 decimal (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute67;
-CREATE PROCEDURE spexecute67()
-BEGIN
-declare var1 decimal (63, 30) unsigned zerofill;
-declare var2 decimal (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp67(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute67();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute67;
-DROP PROCEDURE sp67;
-DROP PROCEDURE IF EXISTS sp68;
-CREATE PROCEDURE sp68( in f1 decimal (63, 30) zerofill, inout f2 decimal (63, 30) zerofill, out f3 decimal (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute68;
-CREATE PROCEDURE spexecute68()
-BEGIN
-declare var1 decimal (63, 30) zerofill;
-declare var2 decimal (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp68(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute68();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute68;
-DROP PROCEDURE sp68;
-DROP PROCEDURE IF EXISTS sp69;
-CREATE PROCEDURE sp69( in f1 decimal (64), inout f2 decimal (64), out f3 decimal (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute69;
-CREATE PROCEDURE spexecute69()
-BEGIN
-declare var1 decimal (64);
-declare var2 decimal (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp69(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute69();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute69;
-DROP PROCEDURE sp69;
-DROP PROCEDURE IF EXISTS sp70;
-CREATE PROCEDURE sp70( in f1 decimal (64) unsigned, inout f2 decimal (64) unsigned, out f3 decimal (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute70;
-CREATE PROCEDURE spexecute70()
-BEGIN
-declare var1 decimal (64) unsigned;
-declare var2 decimal (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp70(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute70();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute70;
-DROP PROCEDURE sp70;
-DROP PROCEDURE IF EXISTS sp71;
-CREATE PROCEDURE sp71( in f1 decimal (64) unsigned zerofill, inout f2 decimal (64) unsigned zerofill, out f3 decimal (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute71;
-CREATE PROCEDURE spexecute71()
-BEGIN
-declare var1 decimal (64) unsigned zerofill;
-declare var2 decimal (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp71(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute71();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute71;
-DROP PROCEDURE sp71;
-DROP PROCEDURE IF EXISTS sp72;
-CREATE PROCEDURE sp72( in f1 decimal (64) zerofill, inout f2 decimal (64) zerofill, out f3 decimal (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute72;
-CREATE PROCEDURE spexecute72()
-BEGIN
-declare var1 decimal (64) zerofill;
-declare var2 decimal (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp72(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute72();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute72;
-DROP PROCEDURE sp72;
-DROP PROCEDURE IF EXISTS sp73;
-CREATE PROCEDURE sp73( in f1 decimal unsigned, inout f2 decimal unsigned, out f3 decimal unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute73;
-CREATE PROCEDURE spexecute73()
-BEGIN
-declare var1 decimal unsigned;
-declare var2 decimal unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp73(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute73();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute73;
-DROP PROCEDURE sp73;
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( in f1 decimal unsigned zerofill, inout f2 decimal unsigned zerofill, out f3 decimal unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute74;
-CREATE PROCEDURE spexecute74()
-BEGIN
-declare var1 decimal unsigned zerofill;
-declare var2 decimal unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp74(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute74();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute74;
-DROP PROCEDURE sp74;
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( in f1 decimal zerofill, inout f2 decimal zerofill, out f3 decimal zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute75;
-CREATE PROCEDURE spexecute75()
-BEGIN
-declare var1 decimal zerofill;
-declare var2 decimal zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp75(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute75();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute75;
-DROP PROCEDURE sp75;
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( in f1 float(0) unsigned zerofill, inout f2 float(0) unsigned zerofill, out f3 float(0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute76;
-CREATE PROCEDURE spexecute76()
-BEGIN
-declare var1 float(0) unsigned zerofill;
-declare var2 float(0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp76(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute76();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute76;
-DROP PROCEDURE sp76;
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( in f1 float(23) unsigned zerofill, inout f2 float(23) unsigned zerofill, out f3 float(23) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute77;
-CREATE PROCEDURE spexecute77()
-BEGIN
-declare var1 float(23) unsigned zerofill;
-declare var2 float(23) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp77(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute77();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute77;
-DROP PROCEDURE sp77;
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( in f1 float(24) unsigned zerofill, inout f2 float(24) unsigned zerofill, out f3 float(24) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute78;
-CREATE PROCEDURE spexecute78()
-BEGIN
-declare var1 float(24) unsigned zerofill;
-declare var2 float(24) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp78(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute78();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute78;
-DROP PROCEDURE sp78;
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( in f1 float(53) unsigned zerofill, inout f2 float(53) unsigned zerofill, out f3 float(53) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute79;
-CREATE PROCEDURE spexecute79()
-BEGIN
-declare var1 float(53) unsigned zerofill;
-declare var2 float(53) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp79(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute79();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute79;
-DROP PROCEDURE sp79;
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( in f1 int, inout f2 int, out f3 int, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute80;
-CREATE PROCEDURE spexecute80()
-BEGIN
-declare var1 int;
-declare var2 int;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -2.15e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp80(-2.15e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute80();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--2147483638 -2147483638 -2147483628 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--2147483638 -2147483628 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute80;
-DROP PROCEDURE sp80;
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( in f1 int unsigned, inout f2 int unsigned, out f3 int unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute81;
-CREATE PROCEDURE spexecute81()
-BEGIN
-declare var1 int unsigned;
-declare var2 int unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp81(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute81();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute81;
-DROP PROCEDURE sp81;
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( in f1 int unsigned zerofill, inout f2 int unsigned zerofill, out f3 int unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute82;
-CREATE PROCEDURE spexecute82()
-BEGIN
-declare var1 int unsigned zerofill;
-declare var2 int unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp82(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute82();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute82;
-DROP PROCEDURE sp82;
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( in f1 int zerofill, inout f2 int zerofill, out f3 int zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute83;
-CREATE PROCEDURE spexecute83()
-BEGIN
-declare var1 int zerofill;
-declare var2 int zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 2.15e+08;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp83(2.15e+08, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute83();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0215000000 0215000000 0215000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0215000000 0215000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute83;
-DROP PROCEDURE sp83;
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( in f1 mediumint, inout f2 mediumint, out f3 mediumint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute84;
-CREATE PROCEDURE spexecute84()
-BEGIN
-declare var1 mediumint;
-declare var2 mediumint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388600;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp84(-8388600, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute84();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--8388598 -8388598 -8388588 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--8388598 -8388588 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute84;
-DROP PROCEDURE sp84;
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( in f1 mediumint unsigned, inout f2 mediumint unsigned, out f3 mediumint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute85;
-CREATE PROCEDURE spexecute85()
-BEGIN
-declare var1 mediumint unsigned;
-declare var2 mediumint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp85(16777201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute85();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777202 16777202 16777212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777202 16777212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute85;
-DROP PROCEDURE sp85;
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( in f1 mediumint unsigned zerofill, inout f2 mediumint unsigned zerofill, out f3 mediumint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute86;
-CREATE PROCEDURE spexecute86()
-BEGIN
-declare var1 mediumint unsigned zerofill;
-declare var2 mediumint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777210;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp86(16777210, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute86();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777210 16777210 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777210 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute86;
-DROP PROCEDURE sp86;
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( in f1 mediumint zerofill, inout f2 mediumint zerofill, out f3 mediumint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute87;
-CREATE PROCEDURE spexecute87()
-BEGIN
-declare var1 mediumint zerofill;
-declare var2 mediumint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp87(-8388601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute87();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777215 16777215 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777215 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute87;
-DROP PROCEDURE sp87;
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( in f1 numeric (0) unsigned zerofill, inout f2 numeric (0) unsigned zerofill, out f3 numeric (0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute88;
-CREATE PROCEDURE spexecute88()
-BEGIN
-declare var1 numeric (0) unsigned zerofill;
-declare var2 numeric (0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp88(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute88();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute88;
-DROP PROCEDURE sp88;
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( in f1 numeric (0, 0) unsigned zerofill, inout f2 numeric (0, 0) unsigned zerofill, out f3 numeric (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute89;
-CREATE PROCEDURE spexecute89()
-BEGIN
-declare var1 numeric (0, 0) unsigned zerofill;
-declare var2 numeric (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp89(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute89();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute89;
-DROP PROCEDURE sp89;
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( in f1 numeric (63, 30) unsigned, inout f2 numeric (63, 30) unsigned, out f3 numeric (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute90;
-CREATE PROCEDURE spexecute90()
-BEGIN
-declare var1 numeric (63, 30) unsigned;
-declare var2 numeric (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp90(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute90();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000.000000000000000000000000000000 10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute90;
-DROP PROCEDURE sp90;
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( in f1 numeric (63, 30) unsigned zerofill, inout f2 numeric (63, 30) unsigned zerofill, out f3 numeric (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute91;
-CREATE PROCEDURE spexecute91()
-BEGIN
-declare var1 numeric (63, 30) unsigned zerofill;
-declare var2 numeric (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp91(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute91();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000100000000000000000000.000000000000000000000000000000 000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute91;
-DROP PROCEDURE sp91;
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( in f1 numeric (63, 30) zerofill, inout f2 numeric (63, 30) zerofill, out f3 numeric (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute92;
-CREATE PROCEDURE spexecute92()
-BEGIN
-declare var1 numeric (63, 30) zerofill;
-declare var2 numeric (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp92(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute92();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute92;
-DROP PROCEDURE sp92;
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( in f1 numeric (64) unsigned zerofill, inout f2 numeric (64) unsigned zerofill, out f3 numeric (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute93;
-CREATE PROCEDURE spexecute93()
-BEGIN
-declare var1 numeric (64) unsigned zerofill;
-declare var2 numeric (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp93(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute93();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute93;
-DROP PROCEDURE sp93;
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute94;
-CREATE PROCEDURE spexecute94()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp94(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute94();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32702 -32702 -32692 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32702 -32692 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute94;
-DROP PROCEDURE sp94;
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( in f1 smallint unsigned, inout f2 smallint unsigned, out f3 smallint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute95;
-CREATE PROCEDURE spexecute95()
-BEGIN
-declare var1 smallint unsigned;
-declare var2 smallint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp95(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute95();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute95;
-DROP PROCEDURE sp95;
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( in f1 smallint unsigned zerofill, inout f2 smallint unsigned zerofill, out f3 smallint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute96;
-CREATE PROCEDURE spexecute96()
-BEGIN
-declare var1 smallint unsigned zerofill;
-declare var2 smallint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp96(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute96();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute96;
-DROP PROCEDURE sp96;
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( in f1 smallint zerofill, inout f2 smallint zerofill, out f3 smallint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute97;
-CREATE PROCEDURE spexecute97()
-BEGIN
-declare var1 smallint zerofill;
-declare var2 smallint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp97(-32601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute97();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65535 65535 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65535 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute97;
-DROP PROCEDURE sp97;
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( in f1 tinyint, inout f2 tinyint, out f3 tinyint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute98;
-CREATE PROCEDURE spexecute98()
-BEGIN
-declare var1 tinyint;
-declare var2 tinyint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -115;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp98(-115, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute98();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--116 -116 -106 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--116 -106 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute98;
-DROP PROCEDURE sp98;
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( in f1 tinyint unsigned, inout f2 tinyint unsigned, out f3 tinyint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute99;
-CREATE PROCEDURE spexecute99()
-BEGIN
-declare var1 tinyint unsigned;
-declare var2 tinyint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 251;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp99(251, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute99();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-252 252 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-252 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute99;
-DROP PROCEDURE sp99;
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( in f1 tinyint unsigned zerofill, inout f2 tinyint unsigned zerofill, out f3 tinyint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute100;
-CREATE PROCEDURE spexecute100()
-BEGIN
-declare var1 tinyint unsigned zerofill;
-declare var2 tinyint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp100(201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute100();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-202 202 212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-202 212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute100;
-DROP PROCEDURE sp100;
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( in f1 tinyint zerofill, inout f2 tinyint zerofill, out f3 tinyint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute101;
-CREATE PROCEDURE spexecute101()
-BEGIN
-declare var1 tinyint zerofill;
-declare var2 tinyint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -101;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp101(-101, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute101();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-255 255 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-255 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute101;
-DROP PROCEDURE sp101;
-USE db_storedproc;
-DROP DATABASE db1;
-USE db_storedproc;
-
-Testcase 4.7.2:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for "allow_invalid_dates" server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-drop table IF EXISTS temp_table;
-create table temp_table (f1 datetime);
-set @@sql_mode = 'allow_invalid_dates';
-CREATE PROCEDURE sp2 ()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END//
-show CREATE PROCEDURE sp2;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp2 ALLOW_INVALID_DATES CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode = 'traditional';
-CALL sp2 ();
-SELECT * from temp_table;
-f1
-2005-03-14 01:01:02
-SELECT @@sql_mode;
-@@sql_mode
-STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER
-DROP PROCEDURE sp2;
-drop table temp_table;
-
-Testcase 4.7.3:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for *high_not_precedence* server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp3;
-set @@sql_mode = 'high_not_precedence';
-CREATE PROCEDURE sp3()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END//
-show CREATE PROCEDURE sp3;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp3 HIGH_NOT_PRECEDENCE CREATE DEFINER=`root`@`localhost` PROCEDURE `sp3`()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp3();
-not 1 between a and b
-1
-SELECT @@sql_mode;
-@@sql_mode
-
-DROP PROCEDURE sp3;
-
-Testcase 4.7.4:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for combination of server sql modes
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-set @@sql_mode = 'ansi, error_for_division_by_zero';
-ERROR 42000: Variable 'sql_mode' can't be set to the value of ' error_for_division_by_zero'
-set @@sql_mode = 'ansi,error_for_division_by_zero';
-SHOW VARIABLES LIKE 'sql_mode';
-Variable_name Value
-sql_mode REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO
-CREATE PROCEDURE sp4()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END//
-show CREATE PROCEDURE sp4;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO CREATE DEFINER="root"@"localhost" PROCEDURE "sp4"()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp4();
-Level Code Message
-Error 1365 Division by 0
-Warnings:
-Error 1365 Division by 0
-DROP PROCEDURE sp4;
-set @@sql_mode='';
-
-Section 3.1.8 - SHOW statement checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.8.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-DROP PROCEDURE IF EXISTS sp6a;
-DROP PROCEDURE IF EXISTS sp6b;
-DROP PROCEDURE IF EXISTS sp6c;
-CREATE PROCEDURE sp6a (i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-language sql
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6b (out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
-deterministic
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6c (inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real) comment 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show CREATE PROCEDURE sp6a;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6a CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6a`(i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6b;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6b CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6b`(out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
- DETERMINISTIC
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6c;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6c CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6c`(inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real)
- COMMENT 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6a';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6a PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6b';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6b PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6c';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6c PROCEDURE root@localhost modified created DEFINER this is a comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6a;
-DROP PROCEDURE sp6b;
-DROP PROCEDURE sp6c;
-
-Testcase 4.8.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW CREATE FUNCTION sp6;
-ERROR 42000: FUNCTION sp6 does not exist
-DROP PROCEDURE sp6;
-
-Testcase 4.8.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real) returns longtext
-BEGIN
-set @x=i1;
-set @y=@x;
-return 0;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION sp6;
-
-Testcase 4.8.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-show CREATE PROCEDURE sp7;
-ERROR 42000: PROCEDURE sp7 does not exist
-
-Testcase 4.8.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-show procedure status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.7:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.8:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show procedure status like 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP FUNCTION fn1;
-
-Testcase 4.8.9:
---------------------------------------------------------------------------------
-
-Testcase 4.8.10:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-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 fn1;
-
-Testcase 4.8.11:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.12:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1(x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.13:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS f1000;
-SHOW FUNCTION STATUS LIKE 'f1000';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-SELECT * from t8;
-END//
-show CREATE FUNCTION sp1;
-ERROR 42000: FUNCTION sp1 does not exist
-DROP PROCEDURE sp1;
-
-Testcase 4.8.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP PROCEDURE sp6;
-
-Testcase 4.8.16:
---------------------------------------------------------------------------------
-
-Testcase 4.8.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 sql security invoker;
-alter procedure sp6 comment 'this is a new comment';
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created INVOKER this is a new comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.18:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-alter function fn1 sql security invoker;
-show create function fn1;
-Function sql_mode Create Function character_set_client collation_connection Database Collation
-fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11)
- SQL SECURITY INVOKER
-BEGIN
-return x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.19:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-alter function fn1 sql security invoker;
-alter function fn1 comment 'this is a function 3242#@%$#@';
-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 a function 3242#@%$#@ latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int , i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 comment 'this is simple';
-show CREATE PROCEDURE sp6;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6`(i1 int , i2 int)
- COMMENT 'this is simple'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int, i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-show CREATE PROCEDURE sp6;
-ERROR 42000: PROCEDURE sp6 does not exist
-
-Testcase 4.8.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i3;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.23:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.24:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-DROP FUNCTION fn1;
-SHOW FUNCTION STATUS LIKE 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Section 3.1.9 - Routine body checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.9.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-SELECT * from t9 limit 0, 100;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
--4991 a_aaaaaaaaa -4991
--4992 a^aaaaaaaa -4992
--4993 agaaaaaaa -4993
--4994 afaaaaaa -4994
--4995 aeaaaaa -4995
--4996 adaaaa -4996
--4997 acaaa -4997
--4998 abaa -4998
--4999 aaa -4999
--5000 a` -5000
-DROP PROCEDURE sp6;
-
-Testcase 4.9.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-delete from res_t9;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-update res_t9 set f2 = 1000 where f2 = 50;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-30 1000 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-create table res_t9(f1 longtext, f2 longblob, f3 real);
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-DROP PROCEDURE sp6;
-drop table IF EXISTS res_t9;
-
-Testcase 4.9.6:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-SELECT * from t9 limit 0, 100;
-return i1;
-END//
-ERROR 0A000: Not allowed to return a result set from a function
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-delete from res_t9;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-insert into res_t9 values (100, 'abc', 300);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-update res_t9 set f1 = 20;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-drop table res_t9;
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-
-Testcase 4.9.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-create index index_1 on res_t9 (f1 (5));
-show index from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
-res_t9 1 index_1 1 f1 A NULL 5 NULL YES BTREE
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Section 3.1._ - :
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.11.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1305 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1318 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1305 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.9:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.10:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.11:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.12:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.13:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.16:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.19:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.23:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1325 set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.24:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.25:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.26:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.27:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.28:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.30:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.31:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.32:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.33:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-CREATE PROCEDURE h1()
-BEGIN
-declare condname condition for sqlstate '20000';
-declare done int default 0;
-declare a, b char;
-declare condname condition for sqlstate '20000';
-declare cur1 cursor for SELECT w, x from t1;
-set @x=2;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-ERROR 42000: Duplicate condition: condname
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.35:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-CREATE TABLE res_t1(w INT UNIQUE, x CHAR);
-insert into res_t1 values (1, 'a');
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-declare exit handler for sqlstate '020' set @var1 = 1;
-declare exit handler for sqlstate 'wewe'set @var1 = 1;
-declare exit handler for 9999 set @var1 = 1;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.36:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for condname1 set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-DROP PROCEDURE IF EXISTS h1;
-
-Testcase 4.11.40:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char unique, x char);
-insert into res_t1 values ('a', 'b');
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1, x2, x3, x4, x5 int default 0;
-declare condname1 condition for sqlstate '42000';
-declare condname2 condition for sqlstate '42000';
-declare continue handler for condname1 set x1 = 1;
-declare continue handler for condname1 set x2 = 1;
-declare exit handler for condname1 set x3 = 1;
-declare continue handler for condname2 set x4 = 1;
-declare exit handler for condname2 set x5 = 1;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for sqlstate '00000' set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-CALL h1();
-ERROR 42000: PROCEDURE db_storedproc.h1 does not exist
-DROP PROCEDURE IF EXISTS h1;
-
-* Testcase 3.1.2.53 (4.11.42):
-* Ensure that a handler condition of sqlwarning takes the same action as a
-* handler condition defined with an sqlstate that begins with 01.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=1;
-insert into res_t1 values('xxx', 'yy');
-set @x=0;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 1
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=0;
-insert into res_t1 values('xxx', 'yy');
-set @x=1;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 0
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
---source suite/funcs_1/storedproc/cleanup_sp_tb.inc
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS db_storedproc;
-DROP DATABASE IF EXISTS db_storedproc_1;
-
-. +++ END OF SCRIPT +++
---------------------------------------------------------------------------------
diff --git a/mysql-test/suite/funcs_1/r/ndb_storedproc.result b/mysql-test/suite/funcs_1/r/ndb_storedproc.result
deleted file mode 100644
index 04c1a45e67e..00000000000
--- a/mysql-test/suite/funcs_1/r/ndb_storedproc.result
+++ /dev/null
@@ -1,23607 +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 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 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 );
-ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
-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
-123456789098765400000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-1234567890987654000.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-123456789098765400.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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
-12345678909876540.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.400000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.540000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-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.654000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-13 );
-@v1
-0.000000000000012345678909876540
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+12 );
-@v1
-123456789098.765400000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-12 );
-@v1
-0.000000000000123456789098765400
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+11 );
-@v1
-12345678909.876540000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-11 );
-@v1
-0.000000000001234567890987654000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+10 );
-@v1
-1234567890.987654000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-10 );
-@v1
-0.000000000012345678909876540000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+9 );
-@v1
-123456789.098765400000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-9 );
-@v1
-0.000000000123456789098765400000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+8 );
-@v1
-12345678.909876540000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-8 );
-@v1
-0.000000001234567890987654000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+7 );
-@v1
-1234567.890987654000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-7 );
-@v1
-0.000000012345678909876540000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+6 );
-@v1
-123456.789098765400000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-6 );
-@v1
-0.000000123456789098765400000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+5 );
-@v1
-12345.678909876540000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-5 );
-@v1
-0.000001234567890987654000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+4 );
-@v1
-1234.567890987654000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-4 );
-@v1
-0.000012345678909876550000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+3 );
-@v1
-123.456789098765400000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-3 );
-@v1
-0.000123456789098765400000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+2 );
-@v1
-12.345678909876540000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-2 );
-@v1
-0.001234567890987654000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+1 );
-@v1
-1.234567890987654000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-1 );
-@v1
-0.012345678909876540000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-0 );
-@v1
-0.123456789098765400000000000000
-Warnings:
-Note 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 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 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 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 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 'with()
-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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION 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 sp1 does not exist
-DROP FUNCTION IF EXISTS sp1;
-Warnings:
-Note 1305 FUNCTION sp1 does not exist
-DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
-Warnings:
-Note 1305 FUNCTION 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 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 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 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 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 'with:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-write:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-xor:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-year_month:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month:BEGIN
-SELECT @x;
-END' at line 2
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-zerofill:BEGIN
-SELECT @x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill:BEGIN
-SELECT @x;
-END' at line 2
-
-Testcase 4.2.6:
----------------
-Ensure that the labels for multiple BEGIN an END work properly
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-set x = '1';
-set y = '2';
-label1: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END label1;
-set @v1 = x;
-set @v2 = y;
-SELECT @v1, @v2;
-END begin_label//
-CALL sp1();
-@v1 @v2
-1 2
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.7:
----------------
-Ensure that the labels enclosing each BEGIN/END compound statement must match.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin1_label: BEGIN
-declare x char;
-declare y char;
-SELECT lf1, f1 into x, y from t2 limit 1;
-begin2_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin2_changed;
-END begin1_changed//
-ERROR 42000: End-label begin2_changed without match
-
-Testcase 4.2.8:
----------------
-Ensure that it is possible to put a beginning label at the start of a
-BEGIN/END compound statement without also requiring an ending label
-at the END of the same statement.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-Warning 1265 Data truncated for column 'y' at row 1
-DROP PROCEDURE sp1;
-
-Testcase 4.2.9:
----------------
-Ensure that it is not possible to put an ending label at the END of
-a BEGIN/END compound statement without also requiring a matching
-beginning label at the start of the same statement
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'begin_label' at line 6
-
-Testcase 4.2.10:
-----------------
-Ensure that every beginning label must END with a colon(:)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-begin_label BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_label//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-E' at line 2
-
-Testcase 4.2.11:
-----------------
-Ensure that every beginning label with the same scope must be unique. (same label names)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-begin_samelabel: BEGIN
-declare x char;
-declare y char;
-SELECT f1, f2 into x, y from t2 limit 1;
-END begin_samelabel;
-END begin_samelabel//
-ERROR 42000: Redefining label begin_samelabel
-
-Testcase 4.2.12:
-----------------
-Ensure that the variables, cursors, conditions, and handlers declared for
-a stored procedure (with the declare statement) may only be properly defined
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char default 'a';
-declare y integer default 1;
-declare z float default 1.1;
-declare a enum("value1", "value2") default 'value1';
-declare b decimal(255, 255) default 1.2e+12;
-declare c mediumtext default 'mediumtext';
-declare d datetime default '2005-02-02 12:12:12';
-declare e char default 'b';
-declare cur1 cursor for SELECT f1 from db_storedproc.t2;
-declare continue handler for sqlstate '02000' set @x2 = 1;
-open cur1;
-fetch cur1 into e;
-SELECT x, y, z, a, b, c, d, e;
-close cur1;
-END//
-ERROR 42000: Too big scale 255 specified for column ''. Maximum is 30.
-CALL sp6();
-ERROR 42000: PROCEDURE db_storedproc.sp6 does not exist
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567 char default '0';
-SELECT x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567;
-END//
-CALL sp6();
-x12345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567
-0
-DROP PROCEDURE sp6;
-
-Testcase 4.2.13:
-----------------
-Ensure that the variables declared for a stored procedure (with the declare
-statement) may only be defined in the correct order.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default '0' char;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default '0' char;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x char, integer default '0';
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0';
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x1, x2 char, integer default '0', 1;
-SELECT x;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' integer default '0', 1;
-SELECT x;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x, y1 integer default 0;
-declare char y;
-SELECT f1, f2 into x, y from t2 li' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare x default 'a' char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default 'a' char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition notable for sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition notable for sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for notable sqlstate '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for notable sqlstate '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate notable '42s22';
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate notable '42s22';
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare condition for sqlstate '42s22' notable;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '42s22' notable;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor cur1 for SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor cur1 for SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for cur1 SELECT f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for cur1 SELECT f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor for SELECT cur1 f1 from db_storedproc.t2;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor for SELECT cur1 f1 from db_storedproc.t2;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler continue for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'continue for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler exit for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exit for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare handler undo for sqlstate '02000' set @x2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo for sqlstate '02000' set @x2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char x;
-SELECT f1 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char binary x;
-SELECT f2 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char ascii x;
-SELECT f3 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext x;
-SELECT f4 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x;
-SELECT f5 text into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ';
-SELECT f5 text into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext x;
-SELECT f6 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext x;
-SELECT f7 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob x;
-SELECT f8 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob x;
-SELECT f9 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob x;
-SELECT f10 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob x;
-SELECT f11 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary x;
-SELECT f12 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint x;
-SELECT f13 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned x;
-SELECT f14 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint zerofill x;
-SELECT f15 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint unsigned zerofill x;
-SELECT f16 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint x;
-SELECT f17 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned x;
-SELECT f18 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint zerofill x;
-SELECT f19 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint unsigned zerofill x;
-SELECT f20 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint x;
-SELECT f21 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned x;
-SELECT f22 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint zerofill x;
-SELECT f23 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint unsigned zerofill x;
-SELECT f24 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int x;
-SELECT f25 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned x;
-SELECT f26 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int zerofill x;
-SELECT f27 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int unsigned zerofill x;
-SELECT f28 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint x;
-SELECT f29 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned x;
-elect f30 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint zerofill x;
-SELECT f31 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint unsigned zerofill x;
-SELECT f32 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal x;
-SELECT f33 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned x;
-SELECT f34 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal zerofill x;
-SELECT f35 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal unsigned zerofill not null x;
-SELECT f36 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) not null x;
-SELECT f37 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) not null x;
-SELECT f38 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned not null x;
-SELECT f39 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned not null x;
-SELECT f40 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) zerofill not null x;
-SELECT f41 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) zerofill not null x;
-SELECT f42 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (0) unsigned zerofill not null x;
-SELECT f43 into x from tb1 limit 9998' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (64) unsigned zerofill not null x;
-SELECT f44 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) not null x;
-SELECT f45 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) not null x;
-SELECT f46 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned not null x;
-SELECT f47 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned not null x;
-SELECT f48 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) zerofill not null x;
-SELECT f49 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) zerofill not null x;
-SELECT f50 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (00) unsigned zerofill not null x;
-SELECT f51 into x from tb1 limit 999' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal (63, 30) unsigned zerofill not null x;
-SELECT f52 into x from tb1 limit' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric not null x;
-SELECT f53 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned not null x;
-SELECT f54 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric zerofill not null x;
-SELECT f55 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric unsigned zerofill not null x;
-SELECT f56 into x from tb1 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) not null x;
-SELECT f57 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) not nul x;
-SELECT f58 into x from tb1 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned x;
-SELECT f59 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned x;
-SELECT f60 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) zerofill x;
-SELECT f61 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) zerofill x;
-SELECT f62 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (0) unsigned zerofill x;
-SELECT f63 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (64) unsigned zerofill x;
-SELECT f64 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) x;
-SELECT f65 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) x;
-SELECT f66 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned x;
-SELECT f67 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned x;
-SELECT f68 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) zerofill x;
-SELECT f69 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) zerofill x;
-SELECT f70 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (00) unsigned zerofill x;
-SELECT f71 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric (63, 30) unsigned zerofill x;
-SELECT f72 into x from tb2 limit 9998, 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real x;
-SELECT f73 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned x;
-SELECT f74 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real zerofill x;
-SELECT f75 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real unsigned zerofill x;
-SELECT f76 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double x;
-SELECT f77 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned x;
-SELECT f78 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double zerofill x;
-SELECT f79 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double unsigned zerofill x;
-SELECT f80 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float not null x;
-SELECT f81 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned not null x;
-SELECT f82 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float zerofill not null x;
-SELECT f83 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float unsigned zerofill not null x;
-SELECT f84 into x from tb2 limit 9998, 1;
-E' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) not null x;
-SELECT f85 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) not null x;
-SELECT f86 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned not null x;
-SELECT f87 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned not null x;
-SELECT f88 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) zerofill not null x;
-SELECT f89 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) zerofill not null x;
-SELECT f90 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(0) unsigned zerofill not null x;
-SELECT f91 into x from tb2 limit 9998, 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(23) unsigned zerofill not null x;
-SELECT f92 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) not null x;
-SELECT f93 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) not null x;
-SELECT f94 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned not null x;
-SELECT f95 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned not null x;
-SELECT f96 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) zerofill not null x;
-SELECT f97 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) zerofill not null x;
-SELECT f98 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(24) unsigned zerofill not null x;
-SELECT f99 into x from tb2 limit 9998, ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float(53) unsigned zerofill not null x;
-SELECT f100 into x from tb2 limit 9998,' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare date not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f101 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare time not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f102 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare datetime not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f103 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare timestamp not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f104 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not null x;
-SELECT f105 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(3) not null x;
-SELECT f106 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(4) not null x;
-SELECT f107 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enum("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '("1enum", "2enum") not null x;
-SELECT f108 into x from tb2 limit 9998, 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set("1set", "2set") not nul x;
-SELECT f109 into x from tb2 limit 9998, 1;
-END' at line 3
-
-Testcase 4.2.14:
-----------------
-Ensure that the handlers declared for a stored procedure (with the declare
-statement) may only be defined in the correct order
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare x char;
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare cursor1 cursor for SELECT f1 from tb1;
-declare sqlcondition condition for sqlstate '02000';
-END//
-ERROR 42000: Variable or condition declaration after cursor or handler declaration
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare sqlcondition condition for sqlstate '02000';
-declare continue handler for sqlcondition set @x=1;
-declare cursor1 cursor for SELECT f1 from tb1;
-END//
-ERROR 42000: Cursor declaration after handler declaration
-
-Testcase 4.2.15:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT 'outer';
-BEGIN
-DECLARE x1 CHAR(100) DEFAULT x1;
-END;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z char ascii default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinytext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z text default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longtext default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z blob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z longblob default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z binary default null;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-NULL NULL NULL
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint default -126;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--126 -126 -126
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned default 253;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-253 253 253
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-000 000 000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z tinyint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-001 001 001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint default -32768;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--32768 -32768 -32768
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned default 65535;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-65535 65535 65535
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000 00000 00000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z smallint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00001 00001 00001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint default -8388608;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--8388608 -8388608 -8388608
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned default 16777215;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-16777215 16777215 16777215
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000 00000000 00000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z mediumint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001 00000001 00000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int default -2147483648;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--2147483648 -2147483648 -2147483648
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned default 4294967295;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-4294967295 4294967295 4294967295
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z int unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000001 0000000001 0000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint default -9223372036854775808;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9223372036854775808 -9223372036854775808 -9223372036854775808
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned default 18446744073709551615;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-18446744073709551615 18446744073709551615 18446744073709551615
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint zerofill default -1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000000 00000000000000000000 00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z bigint unsigned zerofill default 1;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000000000000000001 00000000000000000001 00000000000000000001
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
--9999999999 -9999999999 -9999999999
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal zerofill default -34028234660123456789012345678901234567;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Warning 1264 Out of range value for column 'x' at row 1
-Warning 1264 Out of range value for column 'y' at row 1
-Warning 1264 Out of range value for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z decimal unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0 0 0
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z numeric unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-0000000000 0000000000 0000000000
-Warnings:
-Note 1265 Data truncated for column 'x' at row 1
-Note 1265 Data truncated for column 'y' at row 1
-Note 1265 Data truncated for column 'z' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.175494351e-38 1.175494351e-38 1.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z real unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-00000001.175494351e-38 00000001.175494351e-38 00000001.175494351e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-1.17549e-38 1.17549e-38 1.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z float unsigned zerofill default 1.175494351e-38;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-01.17549e-38 01.17549e-38 01.17549e-38
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z date default '2005-02-02';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 2005-02-02 2005-02-02
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z time default '12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-12:20:12 12:20:12 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z datetime default '2005-02-02 12:20:12';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z timestamp default '20050202122012';
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005-02-02 12:20:12 2005-02-02 12:20:12 2005-02-02 12:20:12
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(3) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z year(4) default 2005;
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2005 2005 2005
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z enum("1enum", "2enum") default "2enum";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2enum 2enum 2enum
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x, y, z set("1set", "2set") default "2set";
-SELECT x, y, z;
-END//
-CALL sp1();
-x y z
-2set 2set 2set
-DROP PROCEDURE sp1;
-
-Testcase 4.2.16:
-----------------
-Ensure that the declare statement can declare multiple variables both separately
-and all at once from a variable list. (multiple declaration).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( )
-BEGIN
-declare a, b char default '2';
-declare c, d float default 1.3;
-declare e, f text default 'text';
-declare g, h enum("value1", "value2" ) default 'value1';
-declare i, j datetime default '2005-02-02 12:12:12';
-declare k, l blob default 'blob';
-SELECT a, b, c, d, e, f, g, h, k, l;
-END//
-CALL sp6();
-a b c d e f g h k l
-2 2 1.3 1.3 text text value1 value1 blob blob
-DROP PROCEDURE sp6;
-
-Testcase 4.2.17:
-----------------
-Ensure that the invalid variable declarations are rejected, with an appropriate
-error message.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-SELECT f2 into x from t2 limit 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-SELECT f2 into x from t2 limit 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare accessible char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare add char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare all char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare alter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare analyze char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare and char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare as char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare asensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare before char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare between char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare bigint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare binary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare blob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare both char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare by char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare call char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cascade char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare case char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare change char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare char char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare character char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare check char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare collate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare column char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare condition char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare constraint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare convert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare create char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cross char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare current_user char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cursor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare database char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare databases char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_hour char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare day_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dec char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare decimal char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare declare char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare default char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delayed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare delete char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare desc char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare describe char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare deterministic char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinct char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare distinctrow char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare div char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare double char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare drop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare dual char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare each char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare else char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare elseif char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare enclosed char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare escaped char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exists char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare exit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare explain char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare false char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fetch char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare float8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare for char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare force char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare foreign char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare from char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare fulltext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare grant char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare group char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare having char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare high_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_minute char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare hour_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare if char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare ignore char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare in char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare index char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare infile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inner char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare inout char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare insert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int1 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int2 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int3 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int4 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare int8 char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare integer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare interval char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare into char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare is char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare iterate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare key char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare keys char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare kill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leading char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare leave char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare left char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare like char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare limit char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare linear char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lines char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare load char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtime char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare localtimestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare lock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare long char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare longtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare loop char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare low_priority char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare master_ssl_verify_server_cert char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare match char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mediumtext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare middleint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare minute_second char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare mod char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare modifies char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare natural char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare not char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare no_write_to_binlog char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare null char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare numeric char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare on char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optimize char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare option char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare optionally char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare or char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare order char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare out char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outer char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare outfile char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare precision char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare primary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare procedure char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare purge char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare range char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare reads char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_only char;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare read_write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare real char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare references char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare regexp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare release char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare rename char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare repeat char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare replace char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare require char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare restrict char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare return char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare revoke char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare right char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare rlike char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schema char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare schemas char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare second_microsecond char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare SELECT char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sensitive char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare separator char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare set char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare show char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare smallint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare spatial char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare specific char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlexception char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlstate char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sqlwarning char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_big_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_calc_found_rows char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare sql_small_result char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare ssl char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare starting char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare straight_join char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare table char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare terminated char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare then char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyblob char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinyint char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare tinytext char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare to char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trailing char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare trigger char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare true char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare undo char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare union char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unique char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unlock char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare unsigned char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare update char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare usage char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare use char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare using char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_date char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_time char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare utc_timestamp char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare values char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varbinary char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varchar char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varcharacter char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare varying char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare when char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare where char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare while char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare with char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare write char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xor char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare year_month char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare zerofill char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill char;
-END' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of condition may be declared for a stored procedure
-( covered in more detail in handlers section.)
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'HY000';
-declare cond2 condition for sqlstate '23000';
-declare cond3 condition for sqlstate 'HY001';
-declare cond4 condition for sqlstate '08004';
-declare cond5 condition for sqlstate '08S01';
-declare cond6 condition for sqlstate '42000';
-declare cond7 condition for sqlstate '28000';
-declare cond8 condition for sqlstate '3D000';
-declare cond9 condition for sqlstate '42S01';
-declare cond10 condition for sqlstate '42S02';
-declare cond11 condition for sqlstate '42S22';
-declare cond12 condition for sqlstate '21S01';
-declare cond13 condition for sqlstate '42S21';
-declare cond14 condition for sqlstate '42S12';
-declare cond15 condition for sqlstate '22004';
-declare cond16 condition for sqlstate '25000';
-declare cond17 condition for sqlstate '40001';
-declare cond18 condition for sqlstate '21000';
-declare cond19 condition for sqlstate '01000';
-declare cond20 condition for sqlstate '22003';
-declare cond21 condition for sqlstate '22007';
-declare cond22 condition for sqlstate '0A000';
-declare cond23 condition for sqlstate '70100';
-declare cond24 condition for sqlstate '2F005';
-declare cond25 condition for sqlstate '24000';
-declare cond26 condition for sqlstate '02000';
-declare continue handler for cond2 set @x2 = 1;
-declare continue handler for cond1 set @x2 = 1;
-declare continue handler for cond3 set @x2 = 1;
-declare continue handler for cond4 set @x2 = 1;
-declare continue handler for cond5 set @x2 = 1;
-declare continue handler for cond7 set @x2 = 1;
-declare continue handler for cond6 set @x2 = 1;
-declare continue handler for cond8 set @x2 = 1;
-declare continue handler for cond9 set @x2 = 1;
-declare continue handler for cond10 set @x2 = 1;
-declare continue handler for cond11 set @x2 = 1;
-declare continue handler for cond12 set @x2 = 1;
-declare continue handler for cond13 set @x2 = 1;
-declare continue handler for cond14 set @x2 = 1;
-declare continue handler for cond15 set @x2 = 1;
-declare continue handler for cond16 set @x2 = 1;
-declare continue handler for cond17 set @x2 = 1;
-declare continue handler for cond18 set @x2 = 1;
-declare continue handler for cond19 set @x2 = 1;
-declare continue handler for cond20 set @x2 = 1;
-declare continue handler for cond21 set @x2 = 1;
-declare continue handler for cond22 set @x2 = 1;
-declare continue handler for cond23 set @x2 = 1;
-declare continue handler for cond24 set @x2 = 1;
-declare continue handler for cond25 set @x2 = 1;
-declare continue handler for cond26 set @x2 = 1;
-set @x = 1;
-insert into t2 values (1);
-set @x = 2;
-insert into t2 values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare @x char;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@x char;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x char1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible condition for sqlstate '02000';
-declare exit handler for add set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all condition for sqlstate '02000';
-declare exit handler for all set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter condition for sqlstate '02000';
-declare exit handler for alter set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze condition for sqlstate '02000';
-declare exit handler for analyze set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze condition for sqlstate '02000';
-declare exit handler for analyze set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and condition for sqlstate '02000';
-declare exit handler for and set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as condition for sqlstate '02000';
-declare exit handler for as set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc condition for sqlstate '02000';
-declare exit handler for asc set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive condition for sqlstate '02000';
-declare exit handler for asensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive condition for sqlstate '02000';
-declare exit handler for asensitive s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before condition for sqlstate '02000';
-declare exit handler for before set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before condition for sqlstate '02000';
-declare exit handler for before set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between condition for sqlstate '02000';
-declare exit handler for between set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between condition for sqlstate '02000';
-declare exit handler for between set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint condition for sqlstate '02000';
-declare exit handler for bigint set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary condition for sqlstate '02000';
-declare exit handler for binary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary condition for sqlstate '02000';
-declare exit handler for binary set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob condition for sqlstate '02000';
-declare exit handler for blob set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both condition for sqlstate '02000';
-declare exit handler for both set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by condition for sqlstate '02000';
-declare exit handler for by set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call condition for sqlstate '02000';
-declare exit handler for CALL set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade condition for sqlstate '02000';
-declare exit handler for cascade set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade condition for sqlstate '02000';
-declare exit handler for cascade set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case condition for sqlstate '02000';
-declare exit handler for case set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change condition for sqlstate '02000';
-declare exit handler for change set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change condition for sqlstate '02000';
-declare exit handler for change set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char condition for sqlstate '02000';
-declare exit handler for char set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character condition for sqlstate '02000';
-declare exit handler for character set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character condition for sqlstate '02000';
-declare exit handler for character set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check condition for sqlstate '02000';
-declare exit handler for check set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check condition for sqlstate '02000';
-declare exit handler for check set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate condition for sqlstate '02000';
-declare exit handler for collate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate condition for sqlstate '02000';
-declare exit handler for collate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column condition for sqlstate '02000';
-declare exit handler for column set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column condition for sqlstate '02000';
-declare exit handler for column set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition condition for sqlstate '02000';
-declare exit handler for condition set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition condition for sqlstate '02000';
-declare exit handler for condition set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare connection condition for sqlstate '02000';
-declare exit handler for connection set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint condition for sqlstate '02000';
-declare exit handler for constraint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint condition for sqlstate '02000';
-declare exit handler for constraint s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for continue set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert condition for sqlstate '02000';
-declare exit handler for convert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert condition for sqlstate '02000';
-declare exit handler for convert set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create condition for sqlstate '02000';
-declare exit handler for create set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create condition for sqlstate '02000';
-declare exit handler for create set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross condition for sqlstate '02000';
-declare exit handler for cross set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date condition for sqlstate '02000';
-declare exit handler for current_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date condition for sqlstate '02000';
-declare exit handler for current_da' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time condition for sqlstate '02000';
-declare exit handler for current_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time condition for sqlstate '02000';
-declare exit handler for current_ti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp condition for sqlstate '02000';
-declare exit handler for current_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp condition for sqlstate '02000';
-declare exit handler for curre' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user condition for sqlstate '02000';
-declare exit handler for current_user set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user condition for sqlstate '02000';
-declare exit handler for current_us' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor condition for sqlstate '02000';
-declare exit handler for cursor set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database condition for sqlstate '02000';
-declare exit handler for database set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database condition for sqlstate '02000';
-declare exit handler for database set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases condition for sqlstate '02000';
-declare exit handler for databases set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases condition for sqlstate '02000';
-declare exit handler for databases set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour condition for sqlstate '02000';
-declare exit handler for day_hour set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond condition for sqlstate '02000';
-declare exit handler for day_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond condition for sqlstate '02000';
-declare exit handler for day_mic' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute condition for sqlstate '02000';
-declare exit handler for day_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute condition for sqlstate '02000';
-declare exit handler for day_minute s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second condition for sqlstate '02000';
-declare exit handler for day_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second condition for sqlstate '02000';
-declare exit handler for day_second s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec condition for sqlstate '02000';
-declare exit handler for dec set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal condition for sqlstate '02000';
-declare exit handler for decimal set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal condition for sqlstate '02000';
-declare exit handler for decimal set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare condition for sqlstate '02000';
-declare exit handler for declare set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare condition for sqlstate '02000';
-declare exit handler for declare set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default condition for sqlstate '02000';
-declare exit handler for default set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default condition for sqlstate '02000';
-declare exit handler for default set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed condition for sqlstate '02000';
-declare exit handler for delayed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed condition for sqlstate '02000';
-declare exit handler for delayed set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete condition for sqlstate '02000';
-declare exit handler for delete set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete condition for sqlstate '02000';
-declare exit handler for delete set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc condition for sqlstate '02000';
-declare exit handler for desc set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe condition for sqlstate '02000';
-declare exit handler for describe set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe condition for sqlstate '02000';
-declare exit handler for describe set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic condition for sqlstate '02000';
-declare exit handler for deterministic set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic condition for sqlstate '02000';
-declare exit handler for determini' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct condition for sqlstate '02000';
-declare exit handler for distinct set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct condition for sqlstate '02000';
-declare exit handler for distinct set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow condition for sqlstate '02000';
-declare exit handler for distinctrow' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div condition for sqlstate '02000';
-declare exit handler for div set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double condition for sqlstate '02000';
-declare exit handler for double set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double condition for sqlstate '02000';
-declare exit handler for double set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop condition for sqlstate '02000';
-declare exit handler for drop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual condition for sqlstate '02000';
-declare exit handler for dual set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each condition for sqlstate '02000';
-declare exit handler for each set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else condition for sqlstate '02000';
-declare exit handler for else set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif condition for sqlstate '02000';
-declare exit handler for elseif set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed condition for sqlstate '02000';
-declare exit handler for enclosed set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped condition for sqlstate '02000';
-declare exit handler for escaped set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped condition for sqlstate '02000';
-declare exit handler for escaped set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists condition for sqlstate '02000';
-declare exit handler for exists set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists condition for sqlstate '02000';
-declare exit handler for exists set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition for sqlstate '02000';
-declare exit handler for exit set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain condition for sqlstate '02000';
-declare exit handler for explain set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain condition for sqlstate '02000';
-declare exit handler for explain set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false condition for sqlstate '02000';
-declare exit handler for false set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false condition for sqlstate '02000';
-declare exit handler for false set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch condition for sqlstate '02000';
-declare exit handler for fetch set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float condition for sqlstate '02000';
-declare exit handler for float set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float condition for sqlstate '02000';
-declare exit handler for float set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 condition for sqlstate '02000';
-declare exit handler for add set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for condition for sqlstate '02000';
-declare exit handler for for set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force condition for sqlstate '02000';
-declare exit handler for force set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force condition for sqlstate '02000';
-declare exit handler for force set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign condition for sqlstate '02000';
-declare exit handler for foreign set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign condition for sqlstate '02000';
-declare exit handler for foreign set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from condition for sqlstate '02000';
-declare exit handler for from set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext condition for sqlstate '02000';
-declare exit handler for fulltext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant condition for sqlstate '02000';
-declare exit handler for grant set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group condition for sqlstate '02000';
-declare exit handler for group set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group condition for sqlstate '02000';
-declare exit handler for group set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having condition for sqlstate '02000';
-declare exit handler for having set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having condition for sqlstate '02000';
-declare exit handler for having set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority condition for sqlstate '02000';
-declare exit handler for high_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority condition for sqlstate '02000';
-declare exit handler for high_prio' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond condition for sqlstate '02000';
-declare exit handler for hour_m' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute condition for sqlstate '02000';
-declare exit handler for hour_minute' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second condition for sqlstate '02000';
-declare exit handler for hour_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second condition for sqlstate '02000';
-declare exit handler for hour_second' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if condition for sqlstate '02000';
-declare exit handler for if set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore condition for sqlstate '02000';
-declare exit handler for ignore set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in condition for sqlstate '02000';
-declare exit handler for in set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index condition for sqlstate '02000';
-declare exit handler for index set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index condition for sqlstate '02000';
-declare exit handler for index set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile condition for sqlstate '02000';
-declare exit handler for infile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile condition for sqlstate '02000';
-declare exit handler for infile set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner condition for sqlstate '02000';
-declare exit handler for inner set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout condition for sqlstate '02000';
-declare exit handler for inout set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive condition for sqlstate '02000';
-declare exit handler for insensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive condition for sqlstate '02000';
-declare exit handler for insensitive' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert condition for sqlstate '02000';
-declare exit handler for insert set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert condition for sqlstate '02000';
-declare exit handler for insert set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer condition for sqlstate '02000';
-declare exit handler for integer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer condition for sqlstate '02000';
-declare exit handler for integer set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval condition for sqlstate '02000';
-declare exit handler for interval set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval condition for sqlstate '02000';
-declare exit handler for interval set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into condition for sqlstate '02000';
-declare exit handler for into set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is condition for sqlstate '02000';
-declare exit handler for is set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate condition for sqlstate '02000';
-declare exit handler for iterate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate condition for sqlstate '02000';
-declare exit handler for iterate set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join condition for sqlstate '02000';
-declare exit handler for join set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key condition for sqlstate '02000';
-declare exit handler for key set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys condition for sqlstate '02000';
-declare exit handler for keys set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill condition for sqlstate '02000';
-declare exit handler for kill set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading condition for sqlstate '02000';
-declare exit handler for leading set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading condition for sqlstate '02000';
-declare exit handler for leading set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave condition for sqlstate '02000';
-declare exit handler for leave set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left condition for sqlstate '02000';
-declare exit handler for left set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like condition for sqlstate '02000';
-declare exit handler for like set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit condition for sqlstate '02000';
-declare exit handler for limit set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear condition for sqlstate '02000';
-declare exit handler for int set @var2 = ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines condition for sqlstate '02000';
-declare exit handler for lines set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load condition for sqlstate '02000';
-declare exit handler for load set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime condition for sqlstate '02000';
-declare exit handler for localtime set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime condition for sqlstate '02000';
-declare exit handler for localtime set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp condition for sqlstate '02000';
-declare exit handler for localtimestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp condition for sqlstate '02000';
-declare exit handler for localtim' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock condition for sqlstate '02000';
-declare exit handler for lock set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long condition for sqlstate '02000';
-declare exit handler for long set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob condition for sqlstate '02000';
-declare exit handler for longblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob condition for sqlstate '02000';
-declare exit handler for longblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext condition for sqlstate '02000';
-declare exit handler for longtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext condition for sqlstate '02000';
-declare exit handler for longtext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop condition for sqlstate '02000';
-declare exit handler for loop set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority condition for sqlstate '02000';
-declare exit handler for low_priority set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority condition for sqlstate '02000';
-declare exit handler for low_priori' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert condition for sqlstate '02000';
-declare exit handl' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match condition for sqlstate '02000';
-declare exit handler for match set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match condition for sqlstate '02000';
-declare exit handler for match set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob condition for sqlstate '02000';
-declare exit handler for mediumblob s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint condition for sqlstate '02000';
-declare exit handler for mediumint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext condition for sqlstate '02000';
-declare exit handler for mediumtext s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint condition for sqlstate '02000';
-declare exit handler for middleint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint condition for sqlstate '02000';
-declare exit handler for middleint set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond condition for sqlstate '02000';
-declare exit handler for minute_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond condition for sqlstate '02000';
-declare exit handler for minu' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second condition for sqlstate '02000';
-declare exit handler for minute_second set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second condition for sqlstate '02000';
-declare exit handler for minute_se' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod condition for sqlstate '02000';
-declare exit handler for mod set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies condition for sqlstate '02000';
-declare exit handler for modifies set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies condition for sqlstate '02000';
-declare exit handler for modifies set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural condition for sqlstate '02000';
-declare exit handler for natural set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural condition for sqlstate '02000';
-declare exit handler for natural set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not condition for sqlstate '02000';
-declare exit handler for not set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_write_to_binlog set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog condition for sqlstate '02000';
-declare exit handler for no_w' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null condition for sqlstate '02000';
-declare exit handler for null set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric condition for sqlstate '02000';
-declare exit handler for numeric set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric condition for sqlstate '02000';
-declare exit handler for numeric set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on condition for sqlstate '02000';
-declare exit handler for on set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize condition for sqlstate '02000';
-declare exit handler for optimize set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize condition for sqlstate '02000';
-declare exit handler for optimize set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option condition for sqlstate '02000';
-declare exit handler for option set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option condition for sqlstate '02000';
-declare exit handler for option set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally condition for sqlstate '02000';
-declare exit handler for optionally set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally condition for sqlstate '02000';
-declare exit handler for optionally s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or condition for sqlstate '02000';
-declare exit handler for or set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order condition for sqlstate '02000';
-declare exit handler for order set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order condition for sqlstate '02000';
-declare exit handler for order set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out condition for sqlstate '02000';
-declare exit handler for out set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer condition for sqlstate '02000';
-declare exit handler for outer set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile condition for sqlstate '02000';
-declare exit handler for outfile set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile condition for sqlstate '02000';
-declare exit handler for outfile set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision condition for sqlstate '02000';
-declare exit handler for precision set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision condition for sqlstate '02000';
-declare exit handler for precision set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary condition for sqlstate '02000';
-declare exit handler for primary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary condition for sqlstate '02000';
-declare exit handler for primary set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure condition for sqlstate '02000';
-declare exit handler for procedure set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure condition for sqlstate '02000';
-declare exit handler for procedure set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge condition for sqlstate '02000';
-declare exit handler for purge set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read condition for sqlstate '02000';
-declare exit handler for read set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads condition for sqlstate '02000';
-declare exit handler for reads set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int set @var2 = 1;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write condition for sqlstate '02000';
-declare exit handler for int set @var' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real condition for sqlstate '02000';
-declare exit handler for real set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references condition for sqlstate '02000';
-declare exit handler for references set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references condition for sqlstate '02000';
-declare exit handler for references s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp condition for sqlstate '02000';
-declare exit handler for regexp set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release condition for sqlstate '02000';
-declare exit handler for int set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release condition for sqlstate '02000';
-declare exit handler for int set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename condition for sqlstate '02000';
-declare exit handler for rename set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename condition for sqlstate '02000';
-declare exit handler for rename set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat condition for sqlstate '02000';
-declare exit handler for repeat set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace condition for sqlstate '02000';
-declare exit handler for replace set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace condition for sqlstate '02000';
-declare exit handler for replace set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require condition for sqlstate '02000';
-declare exit handler for require set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require condition for sqlstate '02000';
-declare exit handler for require set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict condition for sqlstate '02000';
-declare exit handler for restrict set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict condition for sqlstate '02000';
-declare exit handler for restrict set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return condition for sqlstate '02000';
-declare exit handler for return set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return condition for sqlstate '02000';
-declare exit handler for return set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke condition for sqlstate '02000';
-declare exit handler for revoke set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right condition for sqlstate '02000';
-declare exit handler for right set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right condition for sqlstate '02000';
-declare exit handler for right set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike condition for sqlstate '02000';
-declare exit handler for rlike set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema condition for sqlstate '02000';
-declare exit handler for schema set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema condition for sqlstate '02000';
-declare exit handler for schema set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas condition for sqlstate '02000';
-declare exit handler for schemas set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas condition for sqlstate '02000';
-declare exit handler for schemas set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond condition for sqlstate '02000';
-declare exit handler for second_microsecond set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond condition for sqlstate '02000';
-declare exit handler for seco' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select condition for sqlstate '02000';
-declare exit handler for SELECT set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive condition for sqlstate '02000';
-declare exit handler for sensitive set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator condition for sqlstate '02000';
-declare exit handler for separator set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator condition for sqlstate '02000';
-declare exit handler for separator set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set condition for sqlstate '02000';
-declare exit handler for set set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show condition for sqlstate '02000';
-declare exit handler for show set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint condition for sqlstate '02000';
-declare exit handler for smallint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint condition for sqlstate '02000';
-declare exit handler for smallint set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial condition for sqlstate '02000';
-declare exit handler for spatial set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial condition for sqlstate '02000';
-declare exit handler for spatial set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific condition for sqlstate '02000';
-declare exit handler for specific set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific condition for sqlstate '02000';
-declare exit handler for specific set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql condition for sqlstate '02000';
-declare exit handler for sql set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexception set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception condition for sqlstate '02000';
-declare exit handler for sqlexcepti' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate condition for sqlstate '02000';
-declare exit handler for sqlstate set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning condition for sqlstate '02000';
-declare exit handler for sqlwarning s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result condition for sqlstate '02000';
-declare exit handler for sql_big_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql_calc_found_rows set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows condition for sqlstate '02000';
-declare exit handler for sql' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_small_result set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result condition for sqlstate '02000';
-declare exit handler for sql_sm' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl condition for sqlstate '02000';
-declare exit handler for ssl set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting condition for sqlstate '02000';
-declare exit handler for starting set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting condition for sqlstate '02000';
-declare exit handler for starting set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join condition for sqlstate '02000';
-declare exit handler for straight_join set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join condition for sqlstate '02000';
-declare exit handler for straight_' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table condition for sqlstate '02000';
-declare exit handler for table set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table condition for sqlstate '02000';
-declare exit handler for table set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated condition for sqlstate '02000';
-declare exit handler for terminated set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated condition for sqlstate '02000';
-declare exit handler for terminated s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then condition for sqlstate '02000';
-declare exit handler for then set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob condition for sqlstate '02000';
-declare exit handler for tinyblob set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint condition for sqlstate '02000';
-declare exit handler for tinyint set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext condition for sqlstate '02000';
-declare exit handler for tinytext set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to condition for sqlstate '02000';
-declare exit handler for to set @var2 = 1;
-EN' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing condition for sqlstate '02000';
-declare exit handler for trailing set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing condition for sqlstate '02000';
-declare exit handler for trailing set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger condition for sqlstate '02000';
-declare exit handler for trigger set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger condition for sqlstate '02000';
-declare exit handler for trigger set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true condition for sqlstate '02000';
-declare exit handler for true set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo condition for sqlstate '02000';
-declare exit handler for undo set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union condition for sqlstate '02000';
-declare exit handler for union set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union condition for sqlstate '02000';
-declare exit handler for union set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique condition for sqlstate '02000';
-declare exit handler for unique set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique condition for sqlstate '02000';
-declare exit handler for unique set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock condition for sqlstate '02000';
-declare exit handler for unlock set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned condition for sqlstate '02000';
-declare exit handler for unsigned set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update condition for sqlstate '02000';
-declare exit handler for update set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update condition for sqlstate '02000';
-declare exit handler for update set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage condition for sqlstate '02000';
-declare exit handler for usage set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use condition for sqlstate '02000';
-declare exit handler for USE set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using condition for sqlstate '02000';
-declare exit handler for using set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using condition for sqlstate '02000';
-declare exit handler for using set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date condition for sqlstate '02000';
-declare exit handler for utc_date set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time condition for sqlstate '02000';
-declare exit handler for utc_time set @' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_timestamp set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp condition for sqlstate '02000';
-declare exit handler for utc_times' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values condition for sqlstate '02000';
-declare exit handler for values set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values condition for sqlstate '02000';
-declare exit handler for values set @var2' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary condition for sqlstate '02000';
-declare exit handler for varbinary set' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar condition for sqlstate '02000';
-declare exit handler for varchar set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar condition for sqlstate '02000';
-declare exit handler for varchar set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter condition for sqlstate '02000';
-declare exit handler for varcharacter set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter condition for sqlstate '02000';
-declare exit handler for varcharact' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying condition for sqlstate '02000';
-declare exit handler for varying set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying condition for sqlstate '02000';
-declare exit handler for varying set @va' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when condition for sqlstate '02000';
-declare exit handler for when set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where condition for sqlstate '02000';
-declare exit handler for where set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where condition for sqlstate '02000';
-declare exit handler for where set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while condition for sqlstate '02000';
-declare exit handler for while set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while condition for sqlstate '02000';
-declare exit handler for while set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with condition for sqlstate '02000';
-declare exit handler for with set @var2 = 1' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write condition for sqlstate '02000';
-declare exit handler for write set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write condition for sqlstate '02000';
-declare exit handler for write set @var2 =' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor condition for sqlstate '02000';
-declare exit handler for xor set @var2 = 1;
-' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month condition for sqlstate '02000';
-declare exit handler for year_month set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month condition for sqlstate '02000';
-declare exit handler for year_month s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill condition for sqlstate '02000';
-declare exit handler for zerofill set @' at line 3
-
-Testcase :
-----------
-Ensure that every possible type of handler may be declared for
-a stored procedure (continue- handler_type ).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '23000' set @x2 = 1;
-set @x = 1;
-insert into t values ' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare continueinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1()
-BEGIN
-declare undoinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare exitinv handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-set @x = 2;
-insert into t values (1);
-set @x = 3;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '2300' set @x2 = 1;
-set @x = 1;
-insert into t values (1);
-s' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare accessible handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'accessible handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare add handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'add handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare all handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'all handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare alter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'alter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare analyze handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'analyze handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare and handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare as handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare asensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'asensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare before handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'before handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare between handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'between handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare bigint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'bigint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare binary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'binary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare blob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'blob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare both handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'both handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare by handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'by handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare call handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'call handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cascade handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cascade handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare case handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare change handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'change handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare char handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'char handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare character handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'character handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare check handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'check handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare collate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare column handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'column handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare condition handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'condition handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare constraint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'constraint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare continue handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare convert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'convert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare create handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'create handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cross handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cross handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare current_user handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current_user handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare cursor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'cursor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare database handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'database handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare databases handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'databases handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_hour handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_hour handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare day_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'day_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dec handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dec handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare decimal handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'decimal handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare declare handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare default handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'default handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delayed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delayed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare delete handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'delete handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare desc handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare describe handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'describe handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare deterministic handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'deterministic handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinct handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinct handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare distinctrow handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'distinctrow handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare div handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'div handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare double handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'double handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare drop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'drop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare dual handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'dual handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare each handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'each handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare else handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'else handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare elseif handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare enclosed handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'enclosed handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare escaped handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'escaped handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exists handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exists handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare exit handler for sqlstate '02000' set @var2 = 1;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare explain handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'explain handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare false handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'false handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fetch handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fetch handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare float8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'float8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare for handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'for handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare force handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'force handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare foreign handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'foreign handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare from handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'from handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare fulltext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'fulltext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare grant handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'grant handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare group handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare having handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'having handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare high_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'high_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_minute handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_minute handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare hour_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'hour_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare if handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'if handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ignore handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ignore handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare in handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'in handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare index handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'index handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare infile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'infile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inner handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inner handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare inout handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'inout handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare insert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'insert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int1 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int1 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int2 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int2 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int3 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int3 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int4 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int4 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare int8 handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'int8 handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare integer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'integer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare interval handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'interval handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare into handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'into handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare is handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'is handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare iterate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare key handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'key handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare keys handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'keys handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare kill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'kill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leading handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leading handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare leave handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'leave handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare left handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'left handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare like handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'like handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare limit handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'limit handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare linear handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'linear handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lines handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lines handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare load handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'load handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtime handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtime handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'localtimestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare lock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'lock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare long handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'long handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare longtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'longtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare loop handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'loop handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare low_priority handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'low_priority handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'master_ssl_verify_server_cert handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare match handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'match handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mediumtext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mediumtext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare middleint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'middleint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare minute_second handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'minute_second handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare mod handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mod handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare modifies handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'modifies handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare natural handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'natural handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare not handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'not handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'no_write_to_binlog handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare null handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'null handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare numeric handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'numeric handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare on handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optimize handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optimize handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare option handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare optionally handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'optionally handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare or handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'or handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare order handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare out handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'out handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outer handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outer handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare outfile handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'outfile handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare precision handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'precision handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare primary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'primary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare privileges handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare procedure handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'procedure handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare purge handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'purge handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare range handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'range handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare reads handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'reads handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_only handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare read_write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'read_write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare real handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'real handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare references handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'references handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare regexp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'regexp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare release handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'release handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rename handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rename handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare repeat handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'repeat handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare replace handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'replace handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare require handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'require handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare restrict handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'restrict handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare return handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'return handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare revoke handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'revoke handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare right handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'right handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare rlike handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'rlike handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schema handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schema handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare schemas handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'schemas handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'second_microsecond handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare select handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'select handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sensitive handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sensitive handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare separator handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'separator handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare set handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'set handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare show handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'show handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare smallint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'smallint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare spatial handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'spatial handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare specific handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'specific handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlexception handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlexception handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlstate handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlstate handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sqlwarning handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_big_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_calc_found_rows handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'sql_small_result handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare ssl handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ssl handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare starting handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'starting handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare straight_join handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'straight_join handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare table handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'table handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare terminated handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'terminated handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare then handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyblob handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyblob handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinyint handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinyint handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare tinytext handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'tinytext handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare to handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'to handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trailing handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trailing handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare trigger handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'trigger handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare true handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare undo handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'undo handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare union handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'union handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unique handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unique handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unlock handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unlock handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare unsigned handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'unsigned handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare update handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'update handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare usage handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'usage handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare use handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'use handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare using handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'using handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_date handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_date handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_time handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_time handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'utc_timestamp handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare values handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'values handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varbinary handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varbinary handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varchar handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varchar handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varcharacter handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varcharacter handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare varying handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'varying handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare when handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare where handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare while handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare with handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'with handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare write handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'write handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare xor handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'xor handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare year_month handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'year_month handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare zerofill handler for sqlstate '02000' set @var2 = 1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'zerofill handler for sqlstate '02000' set @var2 = 1;
-END' at line 3
-USE db_storedproc;
-
-Testcase 4.2.26:
---------------------------------------------------------------------------------
-set @v1='0';
-set @v2='0';
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char;
-declare y char;
-declare cond1 condition for sqlstate '42000';
-declare cur1 cursor for SELECT f1 from t2 limit 1;
-declare continue handler for cond1 set @x = 4;
-set @x = '1';
-set @y = '2';
-BEGIN
-declare x char;
-declare y char;
-declare cur1 cursor for SELECT f1 from t2 limit 2, 1;
-declare continue handler for sqlstate '42000' set @x = 3;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-SELECT x, y, @x;
-END;
-open cur1;
-fetch cur1 into y;
-close cur1;
-CALL nonsexist();
-set @v1 = @x;
-set @v2 = y;
-END//
-CALL sp1();
-x y @x
-NULL a 3
-Warnings:
-Warning 1265 Data truncated for column 'y' at row 3
-Warning 1265 Data truncated for column 'y' at row 1
-SELECT @v1, @v2;
-@v1 @v2
-4 a
-DROP PROCEDURE sp1;
-
-Testcase 4.2.28:
---------------------------------------------------------------------------------
-set @x=0;
-set @y=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set session sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @x = 4;
-set @y = 3;
-set global sort_buffer_size = 2 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-set @@sort_buffer_size = 10 * 1024 * 1024;
-SELECT @@sort_buffer_size;
-END//
-CALL sp1();
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-@@sort_buffer_size
-10485760
-SELECT @x, @y;
-@x @y
-4 3
-
-Testcase 4.2.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char default 'x';
-declare xy char default 'y';
-declare xz char default 'z';
-set @xx = xx, @xy = xy;
-set @xz = xz;
-SELECT @xx, @xy, @xz;
-END//
-CALL sp1();
-@xx @xy @xz
-x y z
-DROP PROCEDURE sp1;
-
-Testcase 4.2.30:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 'asd';
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx int;
-set xx = 5;
-set @xx = xx;
-SELECT @xx;
-END//
-CALL sp1();
-@xx
-5
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - a:
---------------------------------------------------------------------------------
-set @xx=0;
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx char;
-set xx = 'temp';
-set @xx = xx;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-SELECT @xx;
-@xx
-t
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - b:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1265 Data truncated for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx float;
-set xx = 1.6;
-SELECT xx;
-END//
-CALL sp1();
-xx
-1.6
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - c:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0000-00-00 00:00:00
-Warnings:
-Warning 1264 Out of range value for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx datetime;
-set xx = '2006-06-06 01:01:01';
-SELECT xx;
-END//
-CALL sp1();
-xx
-2006-06-06 01:01:01
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - d:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx varchar(20);
-set xx = "abcdefghijk";
-SELECT xx;
-END//
-CALL sp1();
-xx
-abcdefghijk
-DROP PROCEDURE sp1;
-
-Testcase 4.2.31 - e:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = 'asd';
-SELECT xx;
-END//
-CALL sp1();
-xx
-0
-Warnings:
-Warning 1366 Incorrect integer value: 'asd' for column 'xx' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare xx tinyint;
-set xx = -125;
-SELECT xx;
-END//
-CALL sp1();
-xx
--125
-DROP PROCEDURE sp1;
-
-Testcase 4.2.37:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare x integer; declare y integer;
-SELECT sal, f2 into x, y from t2 limit 1;
-set @x=x; set @y=y;
-END//
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x char ascii;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinytext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x text;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longtext;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x blob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x longblob;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x binary;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-Warnings:
-Warning 1265 Data truncated for column 'x' at row 1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x tinyint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x smallint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x mediumint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x int unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x bigint unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x decimal unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x numeric unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x real unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x float unsigned zerofill;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x date;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x time;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x datetime;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x timestamp;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year;
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(3);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x year(4);
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x enum("1enum", "2enum");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare x set("1set", "2set");
-SELECT f1 into x from t2 limit 1;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.38:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare notable condition for sqlstate '42S02';
-declare continue handler for notable set @x2=1;
-set @x = 1;
-insert into t2(f1) values (1);
-set @x = 2;
-insert into t2(f1) values (1);
-set @x = 3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.39:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000';
-declare cond1 condition for sqlstate '23000';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values(1);
-END//
-ERROR 42000: Duplicate condition: cond1
-
-Testcase 4.2.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '12';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '1234';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.42:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'abcdefghi';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'abcdefghi'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '42000test';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '42000test'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000@#$%^&';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '00000@#$%^&'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 'null';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: 'null'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate ' ';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: ' '
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate 1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1234567890;
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull ' at line 3
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '2005-03-03';
-declare continue handler for cond1 set @var2 = 1;
-insert into tnull values( 1);
-END//
-ERROR 42000: Bad SQLSTATE: '2005-03-03'
-
-Testcase 4.2.43:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-expect failure, SQLSTATE 00000 is not an acceptable value
-for an SP's handler
-CREATE PROCEDURE sp1()
-BEGIN
-declare cond1 condition for sqlstate '00000';
-declare continue handler for cond1 set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-ensure SP doesn't exist
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTS sp1;
-
-Testcase 4.2.45:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare continue handler for sqlstate '23000' set @varr1 = 5;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS handler1;
-Warnings:
-Note 1305 PROCEDURE handler1 does not exist
-CREATE PROCEDURE handler1 ()
-BEGIN
-declare mycondition condition for sqlstate '23000';
-declare continue handler for mycondition set @varr3 = 7;
-declare continue handler for sqlstate '23000' set @varr3 = 7;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-
-Testcase 4.2.46:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '12' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '12'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '1234' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '1234'
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '123456' set @var2 = 1;
-END//
-ERROR 42000: Bad SQLSTATE: '123456'
-
-Testcase 4.2.47:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '42s0200test' set @var2 = 1;
-insert into tnull values( 1);
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '42s0200test'
-
-Testcase 4.2.48:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-This creation should fail, SQLSTATE 00000 is unacceptable
-CREATE PROCEDURE sp1()
-BEGIN
-declare continue handler for sqlstate '00000' set @var2 = 1;
-set @x=1;
-SELECT @var2;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-Verify SP wasn't created
-CALL sp1();
-ERROR 42000: PROCEDURE db_storedproc.sp1 does not exist
-DROP PROCEDURE IF EXISTSsp1;
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'EXISTSsp1' at line 1
-
-Testcase 4.2.52:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare cur1 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Duplicate cursor: cur1
-
-Testcase 4.2.53:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, lf1, f3, f4 into @w, @x, @y, @z from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newlf1, newf3, newsal;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Cursor SELECT must not have INTO
-
-Testcase 4.2.54:
---------------------------------------------------------------------------------
-
-Testcase 4.2.55:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-ERROR 42000: Undefined CURSOR: cur1
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-END;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-
-Testcase 4.2.56:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is already open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.57:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2;
-declare cur2 cursor for SELECT f1, f2 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.59:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 10;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf3, newf4;
-set count = count - 1;
-END while;
-open cur1;
-close cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.60:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-close cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-close cur1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-fetch cur1 into newf1, newf2, newf3, newf4;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.62:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf2 char(20);
-declare newf1 int1;
-declare cur1 cursor for SELECT f1, f3 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2;
-set @x = newf1;
-set @y = newf2;
-SELECT @x, @y;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-@x @y
-NULL NULL
-DROP PROCEDURE sp1;
-
-Testcase 4.2.63:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1()
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-close cur1;
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 0;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-declare cur1 cursor for SELECT f1, f2, f3, f4 from t2;
-open cur1;
-END;
-close cur1;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.64:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-start transaction;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.65:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-BEGIN
-open cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-rollback;
-fetch cur1 into newf1, newf2, newf4, newf3;
-commit;
-END;
-END//
-CALL sp1();
-ERROR 02000: No data - zero rows fetched, selected, or processed
-DROP PROCEDURE sp1;
-
-Testcase 4.2.66:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-set count = count - 1;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-close cur1;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END;
-END//
-CALL sp1();
-ERROR 24000: Cursor is not open
-DROP PROCEDURE sp1;
-
-Testcase 4.2.67:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 20, 10;
-declare continue handler for sqlstate '02000' set done = 1;
-BEGIN
-open cur1;
-# set count = count - 1;
-# while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-# set count = count - 1;
-# END while;
-END;
-fetch cur1 into newf1, newf2, newf4, newf3;
-END//
-CALL sp1();
-DROP PROCEDURE sp1;
-
-Testcase 4.2.70:
---------------------------------------------------------------------------------
-create table temp1( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-create table temp2( f1 char(20), f2 char(20), f3 int, f4 char(20) );
-DROP PROCEDURE IF EXISTS sp1;
-Warnings:
-Note 1305 PROCEDURE sp1 does not exist
-CREATE PROCEDURE sp1( )
-BEGIN
-declare done int default 0;
-declare count integer default 20;
-declare newf1 char(20);
-declare newf2 char(20);
-declare newf3 char(20);
-declare newf4 integer;
-declare newf21 char(20);
-declare newf22 char(20);
-declare newf23 char(20);
-declare newf24 integer;
-declare cur1 cursor for SELECT f1, f2, f4, f5 from t2 limit 7, 1;
-declare cur2 cursor for SELECT f1, f2, f4, f5 from t2 limit 15, 1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-BEGIN
-set count = 10;
-BEGIN
-open cur2;
-while count > 0 do
-fetch cur1 into newf1, newf2, newf4, newf3;
-set count = count - 1;
-END while;
-END;
-insert into temp1 values(newf1, newf2, newf4, newf3);
-close cur1;
-END;
-BEGIN
-set count = 10;
-while count > 0 do
-fetch cur2 into newf21, newf22, newf24, newf23;
-set count = count - 1;
-END while;
-END;
-insert into temp2 values(newf21, newf22, newf24, newf23);
-close cur2;
-END//
-CALL sp1();
-SELECT count(*) from temp1;
-count(*)
-1
-SELECT * from temp2;
-f1 f2 f3 f4
-NULL NULL NULL NULL
-DROP PROCEDURE sp1;
-drop table temp1;
-drop table temp2;
-
-Section 3.1.3 - Syntax checks for the stored procedure-specific flow control statements
-. IF, CASE, LOOP, LEAVE, ITERATE, REPEAT, WHILE:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.3.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP TABLE IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE TABLE res_t3_itisalongname_1381742_itsaverylongname_1381742(
-middleinitial CHAR, lastname VARCHAR(50),
-age_averylongfieldname_averylongname_1234569 INT, COMMENT VARCHAR(100))
-ENGINE=<engine_to_be_tested>;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES('a', 'aaaaaaaaaabbbbbbbbc', 0, 'default');
-CREATE PROCEDURE sp1(a INT)
-BEGIN
-DECLARE itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx CHAR;
-DECLARE itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx VARCHAR(100);
-DECLARE itisjustamediumsizeintintegervariablename INTEGER;
-SET itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx = 'b';
-SET itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx
-= 'oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@%';
-SET itisjustamediumsizeintintegervariablename = 5;
-SET @comment='a';
-label1: LOOP
-IF a > 100 THEN
-SET @comment = 'value of a is greater than 100';
-ELSEIF a < 100 THEN
-IF a < 50 THEN
-SET @comment = 'value of a is less than 50';
-ELSEIF a < 25 THEN
-SET @comment = 'value of a is less than 25';
-ELSE
-SET @comment = 'value of a is greater than 50 and less than 100';
-END IF;
-ELSE
-SET @comment = 'value of a is 100';
-END IF;
-IF itisjustamediumsizeintintegervariablename = 0 THEN LEAVE label1;
-END IF;
-INSERT INTO res_t3_itisalongname_1381742_itsaverylongname_1381742
-VALUES(itisjustaverylargevariablename_xxxxxxxxxxxxxxxxxxxxx,
-CONCAT(itisjustaverylargevarcharvariablename_xxxxxxxxxxxxxxxxxxxxx,
-' ', a), a, @comment);
-SET itisjustamediumsizeintintegervariablename
-= itisjustamediumsizeintintegervariablename - 1;
-ITERATE label1;
-END LOOP label1;
-END//
-CALL sp1(101);
-CALL sp1(100);
-CALL sp1(75);
-CALL sp1(40);
-CALL sp1(20);
-CALL sp1(-1);
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742
-ORDER BY middleinitial, lastname, age_averylongfieldname_averylongname_1234569;
-middleinitial lastname age_averylongfieldname_averylongname_1234569 COMMENT
-a aaaaaaaaaabbbbbbbbc 0 default
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% -1 -1 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 100 100 value of a is 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 101 101 value of a is greater than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 20 20 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 40 40 value of a is less than 50
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-b oldmacdonalds)(*&(^^%$&^%$&^%*^)(*^#@$@% 75 75 value of a is greater than 50 and less than 100
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE sp1;
-
-Testcase 4.3.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2 = 'address';
-set count = 1;
-case when action = 'delete' then
-insert into t3 values(v1, v2, count);
-delete from t3 where f1=v1;
-when action = 'insert' then
-repeat
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-label1: repeat
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-until count > 5
-END repeat;
-set count = 1;
-while count < 5 do
-insert into t3 values(v1, v2, count);
-set count = count + 1;
-END while;
-set count = 1;
-label1: while count < 5 do
-insert into t3 values(v1, v2, count);
-if count > 5 then leave label1;
-END if;
-set count = count + 1;
-END while;
-else
-set @dummystring = 'temp value';
-END case;
-END//
-CALL sp2( 'insert' );
-SELECT * from t3 where f3 <=5 && f3 >= 0;
-f1 f2 f3
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 1
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 2
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 3
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 4
-f1 address 5
-f1 address 5
-SELECT count(*) from t3;
-count(*)
-28
-CALL sp2( 'delete' );
-SELECT count(*) from t3;
-count(*)
-10
-CALL sp2 ('test');
-SELECT @dummystring;
-@dummystring
-temp value
-DROP PROCEDURE sp2;
-
-Testcase 4.1.2:
----------------
-Ensure that all sub-clauses that should not be supported are disallowed with
-an appropriate error message. (case)
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp3;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742 (name char, address varchar(50), age_averylongfieldname_averylongname_1234569 smallint);
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case label1;
-END//
-ERROR 42000: You 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
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsav' at line 3
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-label1: BEGIN
-case
-action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END label1;
-END//
-ERROR 42000: You 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
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set' at line 5
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-case
-when action = 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'then action = 'truncate' when
-truncate from res_t3_itisalongname_1381742_itsave' at line 6
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare v1 char(20);
-declare v2 char(20);
-declare count integer;
-set v1 = 'f1';
-set v2= 'address';
-set count = 1;
-case action
-when 'delete' then
-when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when 'delete' then
-delete from res_t3_itisalongname_1381742_itsaverylongname_13' at line 11
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( action char(20) )
-BEGIN
-declare count int default 1;
-declare done int default 0;
-declare continue handler for sqlstate 'HY000' set done=1;
-label1: loop
-case
-when action = 'delete' then
-label3:BEGIN
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-END label3;
-when action = 'insert' then
-label2: while count < 10 do
-BEGIN
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742
-values('xxxxxxxxxxxxxxxxxxx', '1231230981(*&(*&)(*&(', count);
-set count = count + 1;
-if count= 10 then
-set done=1;
-END if;
-END;
-END while label2;
-else
-set @dummystring = 'temp value';
-iterate label1;
-END case;
-if done=1 then
-leave label1;
-END if;
-END loop label1;
-SELECT count, done;
-END//
-CALL sp3('insert');
-count done
-10 1
-Warnings:
-Warning 1265 Data truncated for column 'name' at row 1
-Warning 1265 Data truncated for column 'name' at row 2
-Warning 1265 Data truncated for column 'name' at row 3
-Warning 1265 Data truncated for column 'name' at row 4
-Warning 1265 Data truncated for column 'name' at row 5
-Warning 1265 Data truncated for column 'name' at row 6
-Warning 1265 Data truncated for column 'name' at row 7
-Warning 1265 Data truncated for column 'name' at row 8
-Warning 1265 Data truncated for column 'name' at row 9
-DROP PROCEDURE sp3;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-if count > 10 then leave label1;
-else
-set count = count + 1;
-elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-EN' at line 9
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-else
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You 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
-set count = count + 1;
-if count > 20 then
-leave label1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'elseif count > 20 then
-leave label1;
-else
-set count=count+1;
-END if;
-iterate lab' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare count int;
-set count = 1;
-label1: loop
-END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END if;
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;' at line 6
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare i int default 10;
-if i > 20 then
-set i=25;
-END if
-declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-else
-set count=count+1;
-iterate label1;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'declare count int;
-set count = 1;
-label1: loop
-if count > 20 then
-leave label1;
-' at line 7
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4()
-BEGIN
-declare idummy int default 10;
-declare count int;
-set count = 1;
-label1: loop
-BEGIN
-if count < 20 then
-BEGIN
-declare idummy2 int default 10;
-set count=count+1;
-END;
-else
-BEGIN
-SELECT idummy2;
-leave label1;
-END;
-END if;
-iterate label1;
-END;
-END loop label1;
-END//
-CALL sp4();
-ERROR 42S22: Unknown column 'idummy2' in 'field list'
-DROP PROCEDURE sp4;
-
-Testcase 4.3.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-BEGIN
-declare count integer default 1;
-set count = 1;
-case
-else
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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
-set count = 10;
-when count = 1 then
-set count = count + 1;
-END case;
-END' at line 6
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when case count = 1 then
-set count = 10;
-when count = 2 then
-set count = count' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-END case;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You 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;
-when count = 1 then
-set count = 10;
-when count = 2 then
-set count = coun' at line 3
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5(count int)
-BEGIN
-when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count + 1;
-END case;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'when count = 1 then
-set count = 10;
-case when count = 2 then
-set count = count' at line 3
-
-Testcase 4.3.6:
----------------
-Ensure that all supported sub-clauses are supported only in the correct order (repeat).
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-until count1 > 5
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-until count1 > 5
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'until count1 > 5
-repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 5
-repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-unt' at line 4
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-END repeat;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-if count1 > 5 then leave label1; END if;
-until count1 > 10;
-SELECT count1;
-END repeat;
-END//
-ERROR 42000: You 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 count1;
-END repeat;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6()
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1-1;
-until count1 < 0
-END repeat label1;
-SELECT count1;
-END//
-CALL sp6();
-count1
--1
-DROP PROCEDURE sp6;
-
-Testcase 4.3.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-label1 iterate;
-END label1 loop;
-END//
-ERROR 42000: You 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;
-END label1 loop;
-END' at line 7
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-iterate label1;
-loop;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'END loop;
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END ' at line 3
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7()
-BEGIN
-label1: iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave label1;
-END if;
-END loop label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'iterate label1;
-loop
-set @dummystring = 'temp value';
-if count > 10 then leave l' at line 3
-
-Testcase 4.3.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do while v1 > 0
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'while v1 > 0
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-do v1 > 0 while
-set v1 = v1 - 1;
-END while;
-END//
-ERROR 42000: You 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
-set v1 = v1 - 1;
-END while;
-END' at line 4
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8()
-BEGIN
-declare v1 int default 5;
-END while;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END//
-ERROR 42000: You 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;
-set v1 = v1 - 1;
-while v1 > 0 do;
-END' at line 4
-
-Testcase 4.3.12:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp12;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp12( )
-BEGIN
-declare count1 integer default 1;
-declare count2 int;
-label1: loop
-if count1 > 2 then leave label1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-label2: loop
-if count2 > 2 then leave label2;
-END if;
-set count2 = count2 + 1;
-END loop label1;
-set count1 = count1 + 1;
-iterate label1;
-END loop label2;
-END//
-ERROR 42000: End-label label1 without match
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.13:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp13;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp13( )
-BEGIN
-declare count1 integer default 1;
-lable1: loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop;
-END//
-CALL sp13();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 1
-xyz pqr 2
-DROP PROCEDURE sp13;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.14:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp14;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp14( )
-BEGIN
-declare count1 integer default 1;
-loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: LEAVE with no matching label: lable1
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Testcase 4.3.15:
---------------------------------------------------------------------------------
-drop table IF EXISTS res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp15;
-create table res_t3_itisalongname_1381742_itsaverylongname_1381742( f1 char(20), f2 varchar(20), f3 smallint);
-CREATE PROCEDURE sp15( )
-BEGIN
-declare count1 integer default 1;
-label1 loop
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-set count1 = count1 + 1;
-iterate lable1;
-END loop label1;
-END//
-ERROR 42000: You 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
-if count1 > 2 then leave lable1;
-END if;
-insert into res_t3_itisalongname_1' at line 4
-
-Testcase 4.3.16:
-----------------
-Ensure that every beginning label with the same scope must be unique.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp16;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-set count2 = 1;
-label1: repeat
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( xyz , pqr, count1);
-until count2 > 3
-END repeat label1;
-until count1 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-declare count3 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-label1: repeat
-set count2 = count2 + 1;
-SELECT count2;
-until count2 > 3
-END repeat label1;
-SELECT count1;
-until count1 > 3
-END repeat label1;
-label1: repeat
-set count3 = count3 + 1;
-SELECT count3;
-until count3 > 3
-END repeat label1;
-END//
-ERROR 42000: Redefining label label1
-
-Testcase 4.3.17:
---------------------------------------------------------------------------------
-
-Testcase 4.3.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp18;
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-CREATE PROCEDURE sp18( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label2;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.19:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( )
-BEGIN
-declare count1 integer default 1;
-label1: repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat;
-END//
-CALL sp19();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-DROP PROCEDURE sp19;
-
-Testcase 4.3.20:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( )
-BEGIN
-declare count1 integer default 1;
-repeat
-set count1 = count1 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-until count1 < 3
-END repeat label1;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END' at line 8
-
-Testcase 4.3.21:
---------------------------------------------------------------------------------
-
-Testcase 4.3.22:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label2;
-END while;
-END//
-ERROR 42000: End-label label2 without match
-
-Testcase 4.3.23:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while label1;
-END while;
-END//
-ERROR 42000: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'label1;
-END while;
-END' at line 11
-
-Testcase 4.3.25:
---------------------------------------------------------------------------------
-delete from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( )
-BEGIN
-declare count1 integer default 1;
-declare count2 integer default 1;
-while count1 < 3 do
-set count1 = count1 + 1;
-set count2 = 1;
-label1: while count2 < 3 do
-set count2 = count2 + 1;
-insert into res_t3_itisalongname_1381742_itsaverylongname_1381742 values( 'xyz' , 'pqr', count1);
-END while;
-END while;
-END//
-CALL sp25 ();
-SELECT * from res_t3_itisalongname_1381742_itsaverylongname_1381742;
-f1 f2 f3
-xyz pqr 2
-xyz pqr 2
-xyz pqr 3
-xyz pqr 3
-DROP PROCEDURE sp25;
-drop table res_t3_itisalongname_1381742_itsaverylongname_1381742;
-
-Section 3.1.4 - Checks for the global nature of stored procedures:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.4.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-DROP DATABASE IF EXISTS d40401;
-CREATE PROCEDURE sp1 ( n char(20) )
-BEGIN
-SELECT n;
-END//
-CREATE DATABASE d40401;
-USE d40401;
-CALL db_storedproc.sp1('abcd');
-n
-abcd
-USE db_storedproc;
-DROP PROCEDURE sp1;
-DROP DATABASE d40401;
-
-Testcase 4.4.2:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-DROP DATABASE IF EXISTS d40402;
-CREATE FUNCTION fn1(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-CREATE DATABASE d40402;
-USE d40402;
-SELECT db_storedproc.fn1(100);
-db_storedproc.fn1(100)
-900
-SELECT db_storedproc.fn1(1000);
-db_storedproc.fn1(1000)
-9000
-CREATE FUNCTION db_storedproc.fn11(n int) returns int
-BEGIN
-declare a int;
-set a = 9 * n;
-return a;
-END//
-SELECT db_storedproc.fn11(100);
-db_storedproc.fn11(100)
-900
-SELECT db_storedproc.fn11(1000);
-db_storedproc.fn11(1000)
-9000
-USE db_storedproc;
-DROP FUNCTION fn1;
-DROP FUNCTION fn11;
-DROP DATABASE d40402;
-
-Testcase 4.4.3:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-create table res_t41(a char(5), b char(10));
-insert into res_t41 values('abcde', 'a!@#$%^&*(');
-USE d2;
-create table res_t42(a char(5), b char(10));
-USE d1;
-CREATE PROCEDURE sp2(n char (20))
-BEGIN
-SELECT res_t41.a, res_t41.b into @a, @b from res_t41 where res_t41.b = n;
-insert into d2.res_t42 values (@a, @b);
-END//
-USE d2;
-CALL d1.sp2('a!@#$%^&*(');
-show warnings;
-Level Code Message
-SELECT * from d1.res_t41;
-a b
-abcde a!@#$%^&*(
-SELECT * from res_t42;
-a b
-abcde a!@#$%^&*(
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Testcase 4.4.4:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-CREATE PROCEDURE sp3()
-BEGIN
-USE d1;
-END//
-ERROR 0A000: USE is not allowed in stored procedures
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.5:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-create table t43(a char(5), b char(10));
-insert into t43 values('abcde', 'a!@#$%^&*(');
-CREATE PROCEDURE d1.sp4()
-SELECT * from d1.t43;
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-d1 sp4 PROCEDURE sp4 SQL CONTAINS_SQL NO DEFINER SELECT * from d1.t43 root@localhost modified created latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from d1.t43
-USE db_storedproc;
-DROP DATABASE d1;
-CREATE DATABASE d1;
-USE d1;
-create table t44(a char(5), b char(10));
-SELECT * from mysql.proc where specific_name = 'sp4';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-
-Testcase 4.4.6:
---------------------------------------------------------------------------------
-USE db_storedproc;
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp5';
-db
-db_storedproc
-DROP PROCEDURE sp5;
-
-Testcase 4.4.7:
---------------------------------------------------------------------------------
-USE db_storedproc;
-drop table IF EXISTS t46;
-DROP PROCEDURE IF EXISTS sp6;
-create table t46(f1 char(20), f2 char(20));
-insert into t46 values ('abcd', 'wxyz');
-CREATE PROCEDURE db_storedproc.sp6()
-SELECT * from db_storedproc.t4 limit 0, 10;
-SELECT db from mysql.proc where specific_name = 'sp6';
-db
-db_storedproc
-drop table t46;
-DROP PROCEDURE sp6;
-
-Testcase 4.4.8:
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-DROP DATABASE IF EXISTS d2;
-CREATE DATABASE d1;
-CREATE DATABASE d2;
-USE d1;
-CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
- SELECT * from t1 where t1.f1 = n;
-USE d2;
-alter procedure d1.sp8 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='sp8' and db='d1';
-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
-d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created updated latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 where t1.f1 = n
-
-Testcase 4.4.9:
---------------------------------------------------------------------------------
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION d1.fn2(n int) returns int sql security invoker comment 'initial'
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-alter function d1.fn2 sql security definer comment 'updated';
-SELECT * from mysql.proc where specific_name='fn2' and db='d1';
-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
-d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END root@localhost modified created updated latin1 latin1_swedish_ci latin1_swedish_ci BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END
-
-Testcase 4.4.10:
---------------------------------------------------------------------------------
-USE d1;
-CREATE PROCEDURE sp9 ( n char(20) )
-SELECT * from t1 where t1.f1 = n;
-USE d2;
-DROP PROCEDURE d1.sp9;
-SELECT * from mysql.proc where specific_name='sp9' and db='d1';
-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.4.11:
---------------------------------------------------------------------------------
-USE d1;
-CREATE FUNCTION d1.fn3(n int) returns int
-BEGIN
-declare a int;
-set a = 0.9 * n;
-return a;
-END//
-USE d2;
-DROP FUNCTION d1.fn3;
-SELECT * from mysql.proc where specific_name='fn3' and db='d1';
-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
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE d2;
-
-Section 3.1.5 - Parameter use checks:
-Functions with all data types
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS d1;
-CREATE DATABASE d1;
-USE d1;
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1( f1 bigint) returns bigint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn1(-9.22e+18);
-fn1(-9.22e+18)
--9220000000000000000
-DROP FUNCTION IF EXISTS fn2;
-CREATE FUNCTION fn2( f1 bigint unsigned) returns bigint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn2(1.84e+19);
-fn2(1.84e+19)
-18400000000000000000
-DROP FUNCTION IF EXISTS fn3;
-CREATE FUNCTION fn3( f1 bigint unsigned zerofill) returns bigint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn3(1.84e+17);
-fn3(1.84e+17)
-184000000000000000
-DROP FUNCTION IF EXISTS fn4;
-CREATE FUNCTION fn4( f1 bigint zerofill) returns bigint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn4(-9.22e+15);
-fn4(-9.22e+15)
-0
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn5;
-CREATE FUNCTION fn5( f1 decimal) returns decimal
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn5(-1.00e+09);
-fn5(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn6;
-CREATE FUNCTION fn6( f1 decimal (0)) returns decimal (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn6(-1.00e+09);
-fn6(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn7;
-CREATE FUNCTION fn7( f1 decimal (0) unsigned) returns decimal (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn7(99999999999);
-fn7(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn8;
-CREATE FUNCTION fn8( f1 decimal (0) unsigned zerofill) returns decimal (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn8(999999999);
-fn8(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn9;
-CREATE FUNCTION fn9( f1 decimal (0) zerofill) returns decimal (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn9(-1.00e+09);
-fn9(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn10;
-CREATE FUNCTION fn10( f1 decimal (0, 0)) returns decimal (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn10(-1.00e+09);
-fn10(-1.00e+09)
--1000000000
-DROP FUNCTION IF EXISTS fn11;
-CREATE FUNCTION fn11( f1 decimal (0, 0) unsigned) returns decimal (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn11(99999999999);
-fn11(99999999999)
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn12;
-CREATE FUNCTION fn12( f1 decimal (0, 0) unsigned zerofill) returns decimal (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn12(999999999);
-fn12(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn13;
-CREATE FUNCTION fn13( f1 decimal (0, 0) zerofill) returns decimal (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn13(-1.00e+09);
-fn13(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn14;
-CREATE FUNCTION fn14( f1 decimal (63, 30)) returns decimal (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn14(-1.00e+21);
-fn14(-1.00e+21)
--1000000000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn15;
-CREATE FUNCTION fn15( f1 decimal (63, 30) unsigned) returns decimal (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn15(1.00e+16);
-fn15(1.00e+16)
-10000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn16;
-CREATE FUNCTION fn16( f1 decimal (63, 30) unsigned zerofill) returns decimal (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn16(1.00e+16);
-fn16(1.00e+16)
-000000000000000010000000000000000.000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn17;
-CREATE FUNCTION fn17( f1 decimal (63, 30) zerofill) returns decimal (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn17(-1.00e+21);
-fn17(-1.00e+21)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn18_d;
-CREATE FUNCTION fn18_d( f1 decimal (64)) returns decimal (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn18_d( -1000000000000000000000000000000 );
-fn18_d( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn19_du;
-CREATE FUNCTION fn19_du( f1 decimal (64) unsigned) returns decimal (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn19_du( 100000000000000000000 );
-fn19_du( 100000000000000000000 )
-100000000000000000000
-DROP FUNCTION IF EXISTS fn20_duz;
-CREATE FUNCTION fn20_duz( f1 decimal (64) unsigned zerofill) returns decimal (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn20_duz( 1000000000000000000000000 );
-fn20_duz( 1000000000000000000000000 )
-0000000000000000000000000000000000000001000000000000000000000000
-DROP FUNCTION IF EXISTS fn21_d_z;
-CREATE FUNCTION fn21_d_z( f1 decimal (64) zerofill) returns decimal (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn21_d_z(1.00e+00);
-fn21_d_z(1.00e+00)
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn22;
-CREATE FUNCTION fn22( f1 decimal unsigned) returns decimal unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn22(1.00e+00);
-fn22(1.00e+00)
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn23;
-CREATE FUNCTION fn23( f1 decimal unsigned zerofill) returns decimal unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn23(1.00e+00);
-fn23(1.00e+00)
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn24;
-CREATE FUNCTION fn24( f1 decimal zerofill) returns decimal zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn24(-1.00e+09);
-fn24(-1.00e+09)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn25;
-CREATE FUNCTION fn25( f1 double) returns double
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn25(1.00e+00);
-fn25(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn26;
-CREATE FUNCTION fn26( f1 double unsigned) returns double unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn26(1.00e+00);
-fn26(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn27;
-CREATE FUNCTION fn27( f1 double unsigned zerofill) returns double unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn27(1.00e+00);
-fn27(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn28;
-CREATE FUNCTION fn28( f1 double zerofill) returns double zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn28(1.00e+00);
-fn28(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn29;
-CREATE FUNCTION fn29( f1 float) returns float
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn29(1.00e+00);
-fn29(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn30;
-CREATE FUNCTION fn30( f1 float unsigned) returns float unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn30(1.00e+00);
-fn30(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn31;
-CREATE FUNCTION fn31( f1 float unsigned zerofill) returns float unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn31(1.00e+00);
-fn31(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn32;
-CREATE FUNCTION fn32( f1 float zerofill) returns float zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn32(1.00e+00);
-fn32(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn33;
-CREATE FUNCTION fn33( f1 float(0)) returns float(0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn33(1.00e+00);
-fn33(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn34;
-CREATE FUNCTION fn34( f1 float(0) unsigned) returns float(0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn34(1.00e+00);
-fn34(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn35;
-CREATE FUNCTION fn35( f1 float(0) unsigned zerofill) returns float(0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn35(1.00e+00);
-fn35(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn36;
-CREATE FUNCTION fn36( f1 float(0) zerofill) returns float(0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn36(1.00e+00);
-fn36(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn37;
-CREATE FUNCTION fn37( f1 float(23)) returns float(23)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn37(1.00e+00);
-fn37(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn38;
-CREATE FUNCTION fn38( f1 float(23) unsigned) returns float(23) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn38(1.00e+00);
-fn38(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn39;
-CREATE FUNCTION fn39( f1 float(23) unsigned zerofill) returns float(23) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn39(1.00e+00);
-fn39(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn40;
-CREATE FUNCTION fn40( f1 float(23) zerofill) returns float(23) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn40(1.00e+00);
-fn40(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn41;
-CREATE FUNCTION fn41( f1 float(24)) returns float(24)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn41(1.00e+00);
-fn41(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn42;
-CREATE FUNCTION fn42( f1 float(24) unsigned) returns float(24) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn42(1.00e+00);
-fn42(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn43;
-CREATE FUNCTION fn43( f1 float(24) unsigned zerofill) returns float(24) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn43(1.00e+00);
-fn43(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn44;
-CREATE FUNCTION fn44( f1 float(24) zerofill) returns float(24) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn44(1.00e+00);
-fn44(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn45;
-CREATE FUNCTION fn45( f1 float(53)) returns float(53)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn45(1.00e+00);
-fn45(1.00e+00)
-1
-DROP FUNCTION IF EXISTS fn46;
-CREATE FUNCTION fn46( f1 float(53) unsigned) returns float(53) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn46(1.00e+00);
-fn46(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn47;
-CREATE FUNCTION fn47( f1 float(53) unsigned zerofill) returns float(53) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn47(1.00e+00);
-fn47(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn48;
-CREATE FUNCTION fn48( f1 float(53) zerofill) returns float(53) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn48(1.00e+00);
-fn48(1.00e+00)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn49;
-CREATE FUNCTION fn49( f1 int) returns int
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn49(-2.15e+09);
-fn49(-2.15e+09)
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn50;
-CREATE FUNCTION fn50( f1 int unsigned) returns int unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn50(4.29e+09);
-fn50(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn51;
-CREATE FUNCTION fn51( f1 int unsigned zerofill) returns int unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn51(4.29e+09);
-fn51(4.29e+09)
-4290000000
-DROP FUNCTION IF EXISTS fn52;
-CREATE FUNCTION fn52( f1 int zerofill) returns int zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn52(2.15e+08);
-fn52(2.15e+08)
-215000000
-DROP FUNCTION IF EXISTS fn53;
-CREATE FUNCTION fn53( f1 mediumint) returns mediumint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn53(-8388600);
-fn53(-8388600)
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn54;
-CREATE FUNCTION fn54( f1 mediumint unsigned) returns mediumint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn54(16777201);
-fn54(16777201)
-16777202
-DROP FUNCTION IF EXISTS fn55;
-CREATE FUNCTION fn55( f1 mediumint unsigned zerofill) returns mediumint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn55(16777210);
-fn55(16777210)
-16777210
-DROP FUNCTION IF EXISTS fn56;
-CREATE FUNCTION fn56( f1 mediumint zerofill) returns mediumint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn56(-8388601);
-fn56(-8388601)
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn57;
-CREATE FUNCTION fn57( f1 numeric) returns numeric
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn57(-999999999);
-fn57(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn58;
-CREATE FUNCTION fn58( f1 numeric (0)) returns numeric (0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn58(-999999999);
-fn58(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn59;
-CREATE FUNCTION fn59( f1 numeric (0) unsigned) returns numeric (0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn59(9999999999);
-fn59(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn60;
-CREATE FUNCTION fn60( f1 numeric (0) unsigned zerofill) returns numeric (0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn60(99999999);
-fn60(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn61;
-CREATE FUNCTION fn61( f1 numeric (0) zerofill) returns numeric (0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn61(-99999999);
-fn61(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn62;
-CREATE FUNCTION fn62( f1 numeric (0, 0)) returns numeric (0, 0)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn62(-999999999);
-fn62(-999999999)
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn63;
-CREATE FUNCTION fn63( f1 numeric (0, 0) unsigned) returns numeric (0, 0) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn63(9999999999);
-fn63(9999999999)
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn64;
-CREATE FUNCTION fn64( f1 numeric (0, 0) unsigned zerofill) returns numeric (0, 0) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn64(99999999);
-fn64(99999999)
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn65;
-CREATE FUNCTION fn65( f1 numeric (0, 0) zerofill) returns numeric (0, 0) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn65(-99999999);
-fn65(-99999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn66;
-CREATE FUNCTION fn66( f1 numeric (63, 30)) returns numeric (63, 30)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn66(-1e+36);
-fn66(-1e+36)
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn67;
-CREATE FUNCTION fn67( f1 numeric (63, 30) unsigned) returns numeric (63, 30) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn67(1e+36);
-fn67(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn68;
-CREATE FUNCTION fn68( f1 numeric (63, 30) unsigned zerofill) returns numeric (63, 30) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn68(1e+36);
-fn68(1e+36)
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn69;
-CREATE FUNCTION fn69( f1 numeric (63, 30) zerofill) returns numeric (63, 30) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn69(-1e+36);
-fn69(-1e+36)
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn70_n;
-CREATE FUNCTION fn70_n( f1 numeric (64)) returns numeric (64)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn70_n( -1000000000000000000000000000000 );
-fn70_n( -1000000000000000000000000000000 )
--1000000000000000000000000000000
-SELECT fn70_n( -10000000000000000000000000000000000000000 );
-fn70_n( -10000000000000000000000000000000000000000 )
--10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn71_nu;
-CREATE FUNCTION fn71_nu( f1 numeric (64) unsigned) returns numeric (64) unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn71_nu( 10000000000000000000000000000000000000000 );
-fn71_nu( 10000000000000000000000000000000000000000 )
-10000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn72_nuz;
-CREATE FUNCTION fn72_nuz( f1 numeric (64) unsigned zerofill) returns numeric (64) unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn72_nuz( 10000000000000000000000000000000000000000 );
-fn72_nuz( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn73_n_z;
-CREATE FUNCTION fn73_n_z( f1 numeric (64) zerofill) returns numeric (64) zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn73_n_z( 10000000000000000000000000000000000000000 );
-fn73_n_z( 10000000000000000000000000000000000000000 )
-0000000000000000000000010000000000000000000000000000000000000000
-DROP FUNCTION IF EXISTS fn74;
-CREATE FUNCTION fn74( f1 numeric unsigned) returns numeric unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn74(999999999);
-fn74(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn75;
-CREATE FUNCTION fn75( f1 numeric unsigned zerofill) returns numeric unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn75(999999999);
-fn75(999999999)
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn76;
-CREATE FUNCTION fn76( f1 numeric zerofill) returns numeric zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn76(-999999999);
-fn76(-999999999)
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn77;
-CREATE FUNCTION fn77( f1 real) returns real
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn77(1.1);
-fn77(1.1)
-1.1
-DROP FUNCTION IF EXISTS fn78;
-CREATE FUNCTION fn78( f1 real unsigned) returns real unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn78(1.1);
-fn78(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn79;
-CREATE FUNCTION fn79( f1 real unsigned zerofill) returns real unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn79(1.1);
-fn79(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn80;
-CREATE FUNCTION fn80( f1 real zerofill) returns real zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn80(1.1);
-fn80(1.1)
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn81;
-CREATE FUNCTION fn81( f1 smallint) returns smallint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn81(-32701);
-fn81(-32701)
--32702
-DROP FUNCTION IF EXISTS fn82;
-CREATE FUNCTION fn82( f1 smallint unsigned) returns smallint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn82(65531);
-fn82(65531)
-65532
-DROP FUNCTION IF EXISTS fn83;
-CREATE FUNCTION fn83( f1 smallint unsigned zerofill) returns smallint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn83(65531);
-fn83(65531)
-65532
-DROP FUNCTION IF EXISTS fn84;
-CREATE FUNCTION fn84( f1 smallint zerofill) returns smallint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn84(-32601);
-fn84(-32601)
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn85;
-CREATE FUNCTION fn85( f1 tinyint) returns tinyint
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn85(-115);
-fn85(-115)
--116
-DROP FUNCTION IF EXISTS fn86;
-CREATE FUNCTION fn86( f1 tinyint unsigned) returns tinyint unsigned
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn86(251);
-fn86(251)
-252
-DROP FUNCTION IF EXISTS fn87;
-CREATE FUNCTION fn87( f1 tinyint unsigned zerofill) returns tinyint unsigned zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn87(201);
-fn87(201)
-202
-DROP FUNCTION IF EXISTS fn88;
-CREATE FUNCTION fn88( f1 tinyint zerofill) returns tinyint zerofill
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-return f1;
-END//
-SELECT fn88(-101);
-fn88(-101)
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn89;
-CREATE FUNCTION fn89( f1 enum('1enum', '2enum')) returns enum('1enum', '2enum')
-BEGIN
-IF f1 = '1enum' THEN
-SET f1 = '2enum';
-ELSE
-SET f1 = '1enum';
-END IF;
-RETURN f1;
-END//
-SELECT fn89( '1enum');
-fn89( '1enum')
-2enum
-DROP FUNCTION IF EXISTS fn90;
-CREATE FUNCTION fn90( f1 set('1set', '2set')) returns set('1set', '2set')
-BEGIN
-IF f1 = '1set' THEN
-SET f1 = '2set';
-ELSE
-SET f1 = '1set';
-END IF;
-RETURN f1;
-END//
-SELECT fn90( '1set');
-fn90( '1set')
-2set
-DROP FUNCTION IF EXISTS fn91;
-CREATE FUNCTION fn91( f1 date) returns date
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-return f1;
-END//
-SELECT fn91('1997-12-31');
-fn91('1997-12-31')
-1998-01-31
-DROP FUNCTION IF EXISTS fn92;
-CREATE FUNCTION fn92( f1 time) returns time
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-return f1;
-END//
-SELECT fn92( '23:59:59.999999');
-fn92( '23:59:59.999999')
-25:59:59
-DROP FUNCTION IF EXISTS fn93;
-CREATE FUNCTION fn93( f1 datetime) returns datetime
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-return f1;
-END//
-SELECT fn93('1997-12-31 23:59:59.999999');
-fn93('1997-12-31 23:59:59.999999')
-1998-01-02 01:01:00
-DROP FUNCTION IF EXISTS fn94;
-CREATE FUNCTION fn94( f1 char) returns char
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn94( 'h');
-fn94( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn95;
-CREATE FUNCTION fn95( f1 char ascii) returns char ascii
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn95('h');
-fn95('h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn96;
-CREATE FUNCTION fn96( f1 binary) returns binary(2)
-BEGIN
-set f1 = concat('a', f1);
-return f1;
-END//
-SELECT fn96( 'h');
-fn96( 'h')
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP FUNCTION IF EXISTS fn97;
-CREATE FUNCTION fn97( f1 longtext) returns longtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn97( 'world');
-fn97( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn98;
-CREATE FUNCTION fn98( f1 mediumtext) returns mediumtext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn98( 'world');
-fn98( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn99;
-CREATE FUNCTION fn99( f1 text) returns text
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn99( 'world');
-fn99( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn100;
-CREATE FUNCTION fn100( f1 tinytext) returns tinytext
-BEGIN
-set f1 = concat('hello', f1);
-return f1;
-END//
-SELECT fn100( 'world');
-fn100( 'world')
-helloworld
-DROP FUNCTION IF EXISTS fn101;
-CREATE FUNCTION fn101( f1 year) returns year
-BEGIN
-set f1 = f1 + 10;
-return f1;
-END//
-SELECT fn101(51);
-fn101(51)
-2061
-DROP FUNCTION IF EXISTS fn102;
-CREATE FUNCTION fn102( f1 year(4)) returns year(4)
-BEGIN
-set f1 = f1 + 51;
-return f1;
-END//
-SELECT fn102(1982);
-fn102(1982)
-2033
-DROP FUNCTION IF EXISTS fn103;
-CREATE FUNCTION fn103( f1 geometrycollection) returns geometrycollection
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn104;
-CREATE FUNCTION fn104( f1 linestring) returns linestring
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@')
-
-DROP FUNCTION IF EXISTS fn105;
-CREATE FUNCTION fn105( f1 point) returns point
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-fn105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@')
-
-DROP FUNCTION IF EXISTS fn106;
-CREATE FUNCTION fn106( f1 polygon) returns polygon
-BEGIN
-set f1 = f1;
-return f1;
-END//
-SELECT fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-fn106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\
-
-DROP FUNCTION IF EXISTS fn107;
-CREATE FUNCTION fn107( f1 timestamp) returns timestamp
-BEGIN
-set f1 = now();
-return f1;
-END//
-SELECT fn107(20050510080451);
-fn107(20050510080451)
-returned
-USE db_storedproc;
-DROP DATABASE d1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( f1 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp1(-9.22e+18);
-f1
--9220000000000000000
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( f1 bigint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp2(1.84e+19);
-f1
-18400000000000000000
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( f1 bigint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp3(1.84e+17);
-f1
-00184000000000000000
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( f1 bigint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp4(-9.22e+15);
-f1
-00000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp5;
-CREATE PROCEDURE sp5( f1 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp5(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( f1 decimal (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp6(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp7;
-CREATE PROCEDURE sp7( f1 decimal (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp7(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( f1 decimal (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp8(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( f1 decimal (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp9(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( f1 decimal (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp10(-1.00e+09);
-f1
--1000000000
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( f1 decimal (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp11(99999999999);
-f1
-9999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( f1 decimal (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp12(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( f1 decimal (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp13(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( f1 decimal (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp14(-1.00e+21);
-f1
--1000000000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( f1 decimal (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp15(1.00e+16);
-f1
-10000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( f1 decimal (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp16(1.00e+16);
-f1
-000000000000000010000000000000000.000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( f1 decimal (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp17(-1.00e+21);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp18_d;
-CREATE PROCEDURE sp18_d( f1 decimal (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp18_d(-1.00e+30);
-f1
--1000000000000000000000000000000
-CALL sp18_d( -1000000000000000000000000000000 );
-f1
--1000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp19_du;
-CREATE PROCEDURE sp19_du( f1 decimal (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp19_du(1.00e+20);
-f1
-100000000000000000000
-CALL sp19_du( 100000000000000000000 );
-f1
-100000000000000000000
-CALL sp19_du(1.00e+24);
-f1
-1000000000000000000000000
-CALL sp19_du( 1000000000000000000000000 );
-f1
-1000000000000000000000000
-DROP PROCEDURE IF EXISTS sp20_duz;
-CREATE PROCEDURE sp20_duz( f1 decimal (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp20_duz(1.00e+20);
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz( 100000000000000000000 );
-f1
-0000000000000000000000000000000000000000000100000000000000000000
-CALL sp20_duz(1.00e+24);
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-CALL sp20_duz( 1000000000000000000000000 );
-f1
-0000000000000000000000000000000000000001000000000000000000000000
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( f1 decimal (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp21(1.00e+00);
-f1
-0000000000000000000000000000000000000000000000000000000000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( f1 decimal unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp22(1.00e+00);
-f1
-10
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( f1 decimal unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp23(1.00e+00);
-f1
-0000000010
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( f1 decimal zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp24(-1.00e+09);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( f1 double)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp25(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( f1 double unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp26(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( f1 double unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp27(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( f1 double zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp28(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( f1 float)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp29(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( f1 float unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp30(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( f1 float unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp31(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( f1 float zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp32(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( f1 float(0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp33(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( f1 float(0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp34(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( f1 float(0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp35(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( f1 float(0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp36(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( f1 float(23))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp37(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( f1 float(23) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp38(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( f1 float(23) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp39(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( f1 float(23) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp40(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( f1 float(24))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp41(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( f1 float(24) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp42(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( f1 float(24) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp43(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( f1 float(24) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp44(1.00e+00);
-f1
-000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( f1 float(53))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp45(1.00e+00);
-f1
-1
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( f1 float(53) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp46(1.00e+00);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( f1 float(53) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp47(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( f1 float(53) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp48(1.00e+00);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( f1 int)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp49(-2.15e+09);
-f1
--2147483638
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( f1 int unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp50(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( f1 int unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp51(4.29e+09);
-f1
-4290000000
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( f1 int zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp52(2.15e+08);
-f1
-0215000000
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( f1 mediumint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp53(-8388600);
-f1
--8388598
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( f1 mediumint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp54(16777201);
-f1
-16777202
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( f1 mediumint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp55(16777210);
-f1
-16777210
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( f1 mediumint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp56(-8388601);
-f1
-16777215
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( f1 numeric)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp57(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( f1 numeric (0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp58(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( f1 numeric (0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp59(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( f1 numeric (0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp60(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( f1 numeric (0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp61(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( f1 numeric (0, 0))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp62(-999999999);
-f1
--1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( f1 numeric (0, 0) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp63(9999999999);
-f1
-9999999999
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( f1 numeric (0, 0) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp64(99999999);
-f1
-0100000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( f1 numeric (0, 0) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp65(-99999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp66_n;
-CREATE PROCEDURE sp66_n( f1 numeric (63, 30))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp66_n(-1e+36);
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp66_n( -1000000000000000000000000000000000000 );
-f1
--999999999999999999999999999999989.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp67_nu;
-CREATE PROCEDURE sp67_nu( f1 numeric (63, 30) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp67_nu(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp67_nu( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp68_nuz;
-CREATE PROCEDURE sp68_nuz( f1 numeric (63, 30) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp68_nuz(1e+36);
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp68_nuz( 1000000000000000000000000000000000000 );
-f1
-999999999999999999999999999999999.999999999999999999999999999999
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Note 1265 Data truncated for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp69_n_z;
-CREATE PROCEDURE sp69_n_z( f1 numeric (63, 30) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp69_n_z(-1e+36);
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp69_n_z( -1000000000000000000000000000000000000 );
-f1
-000000000000000000000000000000010.000000000000000000000000000000
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp70_n;
-CREATE PROCEDURE sp70_n( f1 numeric (64))
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp70_n(-1e+40);
-f1
--10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp70_n( -10000000000000000000000000000000000000000 );
-f1
--10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp71_nu;
-CREATE PROCEDURE sp71_nu( f1 numeric (64) unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp71_nu(1.00e+40);
-f1
-10000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp71_nu( 10000000000000000000000000000000000000000 );
-f1
-10000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp72_nuz;
-CREATE PROCEDURE sp72_nuz( f1 numeric (64) unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp72_nuz(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp72_nuz( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp73_n_z;
-CREATE PROCEDURE sp73_n_z( f1 numeric (64) zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp73_n_z(1.00e+40);
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp73_n_z( 10000000000000000000000000000000000000000 );
-f1
-0000000000000000000000010000000000000000000000000000000000000000
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( f1 numeric unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp74(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( f1 numeric unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp75(999999999);
-f1
-1000000000
-Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( f1 numeric zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp76(-999999999);
-f1
-0000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( f1 real)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp77(1.1);
-f1
-1.1
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( f1 real unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp78(1.1);
-f1
-10
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( f1 real unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp79(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( f1 real zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp80(1.1);
-f1
-0000000000000000000010
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( f1 smallint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp81(-32701);
-f1
--32702
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( f1 smallint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp82(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( f1 smallint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp83(65531);
-f1
-65532
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( f1 smallint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp84(-32601);
-f1
-65535
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( f1 tinyint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp85(-115);
-f1
--116
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( f1 tinyint unsigned)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp86(251);
-f1
-252
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( f1 tinyint unsigned zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp87(201);
-f1
-202
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( f1 tinyint zerofill)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-SELECT f1;
-END//
-CALL sp88(-101);
-f1
-255
-Warnings:
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-Warning 1264 Out of range value for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( f1 enum('1enum', '2enum'))
-BEGIN
-IF f1 = '1enum' THEN set f1 = '2enum'; ELSE set f1 = '1enum'; END IF;
-END//
-CALL sp89( '1enum');
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( f1 set('1set', '2set'))
-BEGIN
-IF f1 = '1set' THEN set f1 = '2set'; ELSE set f1 = '1set'; END IF;
-END//
-CALL sp90( '1set');
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( f1 date)
-BEGIN
-set f1 = adddate(f1, interval 31 day);
-SELECT f1;
-END//
-CALL sp91( '1997-12-31');
-f1
-1998-01-31
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( f1 time)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998');
-SELECT f1;
-END//
-CALL sp92( '23:59:59.999999');
-f1
-25:59:59
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( f1 datetime)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002');
-SELECT f1;
-END//
-CALL sp93('1997-12-31 23:59:59.999999');
-f1
-1998-01-02 01:01:00
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( f1 char)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp94( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( f1 char ascii)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp95( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( f1 char binary)
-BEGIN
-set f1 = concat('a', f1);
-SELECT f1;
-END//
-CALL sp96( 'h');
-f1
-a
-Warnings:
-Warning 1265 Data truncated for column 'f1' at row 1
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( f1 longtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp97( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( f1 mediumtext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp98( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( f1 text)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp99( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( f1 tinytext)
-BEGIN
-set f1 = concat('hello', f1);
-SELECT f1;
-END//
-CALL sp100( 'world');
-f1
-helloworld
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( f1 year)
-BEGIN
-set f1 = f1 + 10;
-SELECT f1;
-END//
-CALL sp101(51);
-f1
-2061
-DROP PROCEDURE IF EXISTS sp102;
-CREATE PROCEDURE sp102( f1 year(4))
-BEGIN
-set f1 = f1 + 51;
-SELECT f1;
-END//
-CALL sp102(1982);
-f1
-2033
-DROP PROCEDURE IF EXISTS sp103;
-CREATE PROCEDURE sp103( f1 geometrycollection)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp103('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp104;
-CREATE PROCEDURE sp104( f1 linestring)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp104('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp105;
-CREATE PROCEDURE sp105( f1 point)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp105('\0\0\0\0\0\0\0\0\0\0\0\0\04@\0\0\0\0\0\04@');
-f1
-
-DROP PROCEDURE IF EXISTS sp106;
-CREATE PROCEDURE sp106( f1 polygon)
-BEGIN
-set f1 = f1;
-SELECT f1;
-END//
-CALL sp106('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\04@\0\0\0\0\0\0?\0\0\0\0\0\0?\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0@\0\0\0\0\0\0@');
-f1
-
-DROP PROCEDURE IF EXISTS sp107;
-CREATE PROCEDURE sp107( f1 timestamp)
-BEGIN
-set f1 = now() + 0 + f1;
-SELECT f1;
-END//
-CALL sp107(2.00e+13);
-f1
-returned
-Warnings:
-returned 1265 Data truncated for column 'f1' at row 1
-USE db_storedproc;
-DROP DATABASE db1;
-DROP DATABASE IF EXISTS db1;
-CREATE DATABASE db1;
-USE db1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( in f1 year, inout f2 year, out f3 year, in f4 year,
-inout f5 year, out f6 year, in f7 year(4), inout f8 year(4),
-out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute01;
-CREATE PROCEDURE spexecute01()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 51;
-set var3 = 51;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp1(51, var1, var2, 51, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute01();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2033 2084 2033 2084
-DROP PROCEDURE spexecute01;
-DROP PROCEDURE sp1;
-DROP PROCEDURE IF EXISTS sp2;
-CREATE PROCEDURE sp2( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text,
-out f6 text, in f7 tinytext, inout f8 tinytext, out f9 tinytext,
-in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute02;
-CREATE PROCEDURE spexecute02()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp2( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute02();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute02;
-DROP PROCEDURE sp2;
-DROP PROCEDURE IF EXISTS sp3;
-CREATE PROCEDURE sp3( in f1 char, inout f2 char, out f3 char, in f4 char ascii,
-inout f5 char ascii, out f6 char ascii, in f7 longtext,
-inout f8 longtext, out f9 longtext, in f10 mediumtext,
-inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f9);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute03;
-CREATE PROCEDURE spexecute03()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp3( 'h', var1, var2, 'h', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute03();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a helloworld helloworld NULL helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a helloworld NULL helloworld hellohelloworld
-DROP PROCEDURE spexecute03;
-DROP PROCEDURE sp3;
-DROP PROCEDURE IF EXISTS sp4;
-CREATE PROCEDURE sp4( in f1 bigint, inout f2 bigint, out f3 bigint,
-in f4 bigint, inout f5 bigint, out f6 bigint,
-in f7 bigint, inout f8 bigint, out f9 bigint,
-in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute04;
-CREATE PROCEDURE spexecute04()
-BEGIN
-declare var1 bigint;
-declare var2 bigint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+18;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp4(-9.22e+18, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute04();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-6744073709551616 6744073709551616 -9220000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute04;
-DROP PROCEDURE sp4;
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6( in f1 timestamp, inout f2 timestamp, out f3 timestamp, in f4 timestamp, inout f5 timestamp, out f6 timestamp, in f7 timestamp, inout f8 timestamp, out f9 timestamp, in f10 timestamp, inout f11 timestamp, out f12 timestamp)
-BEGIN
-set f1 = now() + 0 + f1; set f2 = now() + 0 + f2; set f3 = now() + 0 + f1;
-set f4 = now() + 0 + f4; set f5 = now() + 0 + f5; set f6 = now() + 0 + f5;
-set f7 = now() + 0 + f7; set f8 = now() + 0 + f8; set f9 = now() + 0 + f8;
-set f10 = now() + 0 + f10; set f11 = now() + 0 + f11; set f12 = now() + 0 + f11;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute06;
-CREATE PROCEDURE spexecute06()
-BEGIN
-declare var1 timestamp;
-declare var2 timestamp;
-declare var3 timestamp;
-declare var4 timestamp;
-declare var5 timestamp;
-declare var6 timestamp;
-declare var7 timestamp;
-declare var8 timestamp;
-set var1 = 2.00e+13;
-set var3 = 2.00e+13;
-set var5 = 2.00e+13;
-set var7 = 2.00e+13;
-CALL sp6(2.00e+13, var1, var2, 2.00e+13, var3, var4, 2.00e+13, var5, var6, 2.00e+13, var7, var8);
-END//
-CALL spexecute06();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-returned returned returned returned returned returned returned returned returned returned returned returned
-DROP PROCEDURE spexecute06;
-DROP PROCEDURE sp6;
-DROP PROCEDURE IF EXISTS sp07;
-CREATE PROCEDURE sp07( IN f1 BIGINT UNSIGNED,
-INOUT f2 BIGINT UNSIGNED,
-OUT f3 BIGINT UNSIGNED,
-IN f4 BIGINT,
-INOUT f5 BIGINT,
-OUT f6 BIGINT,
-IN f7 BIGINT,
-INOUT f8 BIGINT,
-OUT f9 BIGINT,
-IN f10 BIGINT,
-INOUT f11 BIGINT,
-OUT f12 BIGINT)
-BEGIN
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f3 * 2); set f3 = (f3 - 10); set f3 = (f3 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3;
-SELECT f4, f5, f6;
-SELECT f7, f8, f9;
-SELECT f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute07;
-CREATE PROCEDURE spexecute07()
-BEGIN
-declare var1 bigint unsigned;
-declare var2 bigint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+19;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-CALL sp07( var1, var1, var2, var3, var3, var4,
-var5, var5, var6, var7, var7, var8 );
-SELECT var1, var2;
-SELECT var3, var4;
-SELECT var5, var6;
-SELECT var7, var8;
-END//
-CALL spexecute07();
-var1 var2
-18400000000000000000 NULL
-var3 var4
--9220000000000000000 NULL
-var5 var6
--9220000000000000000 NULL
-var7 var8
--9220000000000000000 NULL
-f1 f2 f3
-18400000000000000000 18400000000000000000 NULL
-f4 f5 f6
--9220000000000000000 -9220000000000000000 NULL
-f7 f8 f9
--9220000000000000000 -9220000000000000000 NULL
-f10 f11 f12
--9220000000000000000 -9220000000000000000 NULL
-f1 f2 f3
-18353255926290448384 18353255926290448384 18353255926290448384
-f4 f5 f6
--9220000000000000000 6744073709551616 6744073709551616
-f7 f8 f9
--9220000000000000000 6744073709551616 6744073709551616
-f10 f11 f12
--9220000000000000000 6744073709551616 6744073709551616
-var1 var2
-18353255926290448384 18353255926290448384
-var3 var4
-6744073709551616 6744073709551616
-var5 var6
-6744073709551616 6744073709551616
-var7 var8
-6744073709551616 6744073709551616
-DROP PROCEDURE spexecute07;
-DROP PROCEDURE sp07;
-DROP PROCEDURE IF EXISTS sp8;
-CREATE PROCEDURE sp8( in f1 bigint unsigned zerofill,
-inout f2 bigint unsigned zerofill,
-out f3 bigint unsigned zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute08;
-CREATE PROCEDURE spexecute08()
-BEGIN
-declare var1 bigint unsigned zerofill;
-declare var2 bigint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.84e+17;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp8(1.84e+17, var1, var2, -9.22e+18, var3, var4,
--9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute08();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00368000000000000000 00368000000000000000 00368000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00368000000000000000 00368000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute08;
-DROP PROCEDURE sp8;
-DROP PROCEDURE IF EXISTS sp9;
-CREATE PROCEDURE sp9( in f1 bigint zerofill,
-inout f2 bigint zerofill,
-out f3 bigint zerofill,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10);
-set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10);
-set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5;
-set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10);
-set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8;
-set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10);
-set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11;
-set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10);
-set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute09;
-CREATE PROCEDURE spexecute09()
-BEGIN
-declare var1 bigint zerofill;
-declare var2 bigint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -9.22e+15;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp9(-9.22e+15, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute09();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-00000000000000000000 00000000000000000000 00000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-00000000000000000000 00000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute09;
-DROP PROCEDURE sp9;
-DROP PROCEDURE IF EXISTS sp10;
-CREATE PROCEDURE sp10( in f1 decimal,
-inout f2 decimal,
-out f3 decimal,
-in f4 bigint,
-inout f5 bigint,
-out f6 bigint,
-in f7 bigint,
-inout f8 bigint,
-out f9 bigint,
-in f10 bigint,
-inout f11 bigint,
-out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute10;
-CREATE PROCEDURE spexecute10()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp10(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute10();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute10;
-DROP PROCEDURE sp10;
-DROP PROCEDURE IF EXISTS sp11;
-CREATE PROCEDURE sp11( in f1 decimal (0), inout f2 decimal (0), out f3 decimal (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute11;
-CREATE PROCEDURE spexecute11()
-BEGIN
-declare var1 decimal (0);
-declare var2 decimal (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = --1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp11(--1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute11();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute11;
-DROP PROCEDURE sp11;
-DROP PROCEDURE IF EXISTS sp12;
-CREATE PROCEDURE sp12( in f1 decimal (0) unsigned, inout f2 decimal (0) unsigned, out f3 decimal (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute12;
-CREATE PROCEDURE spexecute12()
-BEGIN
-declare var1 decimal (0) unsigned;
-declare var2 decimal (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp12(99999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute12();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute12;
-DROP PROCEDURE sp12;
-DROP PROCEDURE IF EXISTS sp13;
-CREATE PROCEDURE sp13( in f1 decimal (0, 0) zerofill, inout f2 decimal (0, 0) zerofill, out f3 decimal (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute13;
-CREATE PROCEDURE spexecute13()
-BEGIN
-declare var1 decimal (0, 0) zerofill;
-declare var2 decimal (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp13(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute13();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute13;
-DROP PROCEDURE sp13;
-DROP PROCEDURE IF EXISTS sp14;
-CREATE PROCEDURE sp14( in f1 decimal (63, 30), inout f2 decimal (63, 30), out f3 decimal (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f3 = f2;
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute14;
-CREATE PROCEDURE spexecute14()
-BEGIN
-declare var1 decimal (63, 30);
-declare var2 decimal (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp14(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute14();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000000000000000.000000000000000000000000000000 -1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000000000000000.000000000000000000000000000000 -999999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute14;
-DROP PROCEDURE sp14;
-DROP PROCEDURE IF EXISTS sp15;
-CREATE PROCEDURE sp15( in f1 double, inout f2 double, out f3 double, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute15;
-CREATE PROCEDURE spexecute15()
-BEGIN
-declare var1 double;
-declare var2 double;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp15(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute15();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute15;
-DROP PROCEDURE sp15;
-DROP PROCEDURE IF EXISTS sp16;
-CREATE PROCEDURE sp16( in f1 double zerofill, inout f2 double zerofill, out f3 double zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute16;
-CREATE PROCEDURE spexecute16()
-BEGIN
-declare var1 double zerofill;
-declare var2 double zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp16(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute16();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute16;
-DROP PROCEDURE sp16;
-DROP PROCEDURE IF EXISTS sp17;
-CREATE PROCEDURE sp17( in f1 double unsigned, inout f2 double unsigned, out f3 double unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute17;
-CREATE PROCEDURE spexecute17()
-BEGIN
-declare var1 double unsigned;
-declare var2 double unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp17(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute17();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute17;
-DROP PROCEDURE sp17;
-DROP PROCEDURE IF EXISTS sp18;
-CREATE PROCEDURE sp18( in f1 double unsigned zerofill, inout f2 double unsigned zerofill, out f3 double unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute18;
-CREATE PROCEDURE spexecute18()
-BEGIN
-declare var1 double unsigned zerofill;
-declare var2 double unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp18(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute18();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute18;
-DROP PROCEDURE sp18;
-DROP PROCEDURE IF EXISTS sp19;
-CREATE PROCEDURE sp19( in f1 float unsigned, inout f2 float unsigned, out f3 float unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute19;
-CREATE PROCEDURE spexecute19()
-BEGIN
-declare var1 float unsigned;
-declare var2 float unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp19(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute19();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute19;
-DROP PROCEDURE sp19;
-DROP PROCEDURE IF EXISTS sp20;
-CREATE PROCEDURE sp20( in f1 float unsigned zerofill, inout f2 float unsigned zerofill, out f3 float unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute20;
-CREATE PROCEDURE spexecute20()
-BEGIN
-declare var1 float unsigned zerofill;
-declare var2 float unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp20(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute20();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute20;
-DROP PROCEDURE sp20;
-DROP PROCEDURE IF EXISTS sp21;
-CREATE PROCEDURE sp21( in f1 float zerofill, inout f2 float zerofill, out f3 float zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute21;
-CREATE PROCEDURE spexecute21()
-BEGIN
-declare var1 float zerofill;
-declare var2 float zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp21(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute21();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute21;
-DROP PROCEDURE sp21;
-DROP PROCEDURE IF EXISTS sp22;
-CREATE PROCEDURE sp22( in f1 float(0), inout f2 float(0), out f3 float(0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute22;
-CREATE PROCEDURE spexecute22()
-BEGIN
-declare var1 float(0);
-declare var2 float(0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp22(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute22();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute22;
-DROP PROCEDURE sp22;
-DROP PROCEDURE IF EXISTS sp23;
-CREATE PROCEDURE sp23( in f1 numeric, inout f2 numeric, out f3 numeric, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute23;
-CREATE PROCEDURE spexecute23()
-BEGIN
-declare var1 numeric;
-declare var2 numeric;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp23(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute23();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute23;
-DROP PROCEDURE sp23;
-DROP PROCEDURE IF EXISTS sp24;
-CREATE PROCEDURE sp24( in f1 real, inout f2 real, out f3 real, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute24;
-CREATE PROCEDURE spexecute24()
-BEGIN
-declare var1 real;
-declare var2 real;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp24(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute24();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1.1 1.1 11.1 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1.1 11.1 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute24;
-DROP PROCEDURE sp24;
-DROP PROCEDURE IF EXISTS sp25;
-CREATE PROCEDURE sp25( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute25;
-CREATE PROCEDURE spexecute25()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp25(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute25();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32758 -32758 -32748 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32758 -32748 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute25;
-DROP PROCEDURE sp25;
-DROP PROCEDURE IF EXISTS sp26;
-CREATE PROCEDURE sp26( in f1 date, inout f2 date, out f3 date, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = adddate(f1, interval 31 day); set f2 = adddate(f2, interval 31 day); set f3 = adddate(f2, interval 31 day);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute26;
-CREATE PROCEDURE spexecute26()
-BEGIN
-declare var1 date;
-declare var2 date;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp26( '1997-12-31', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute26();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-31 1998-01-31 1998-03-03 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-31 1998-03-03 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute26;
-DROP PROCEDURE sp26;
-DROP PROCEDURE IF EXISTS sp27;
-CREATE PROCEDURE sp27( in f1 time, inout f2 time, out f3 time, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '02:00:00.999998'); set f2 = addtime(f2, '02:00:00.999998'); set f3 = addtime(f2, '02:00:00.999998');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute27;
-CREATE PROCEDURE spexecute27()
-BEGIN
-declare var1 time;
-declare var2 time;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp27( '23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute27();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-25:59:59 25:59:59 27:59:59 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-25:59:59 27:59:59 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute27;
-DROP PROCEDURE sp27;
-DROP PROCEDURE IF EXISTS sp28;
-CREATE PROCEDURE sp28( in f1 datetime, inout f2 datetime, out f3 datetime, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = addtime(f1, '1 1:1:1.000002'); set f2 = addtime(f2, '1 1:1:1.000002'); set f3 = addtime(f1, '1 1:1:1.000002');
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute28;
-CREATE PROCEDURE spexecute28()
-BEGIN
-declare var1 datetime;
-declare var2 datetime;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = '1997-12-31 23:59:59.999999';
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp28('1997-12-31 23:59:59.999999', var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute28();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1998-01-02 01:01:00 1998-01-02 01:01:00 1998-01-03 02:02:01 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1998-01-02 01:01:00 1998-01-03 02:02:01 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute28;
-DROP PROCEDURE sp28;
-DROP PROCEDURE IF EXISTS sp29;
-CREATE PROCEDURE sp29( in f1 float(0) unsigned, inout f2 float(0) unsigned, out f3 float(0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute29;
-CREATE PROCEDURE spexecute29()
-BEGIN
-declare var1 float(0) unsigned;
-declare var2 float(0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp29(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute29();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute29;
-DROP PROCEDURE sp29;
-DROP PROCEDURE IF EXISTS sp30;
-CREATE PROCEDURE sp30( in f1 float(0) zerofill, inout f2 float(0) zerofill, out f3 float(0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute30;
-CREATE PROCEDURE spexecute30()
-BEGIN
-declare var1 float(0) zerofill;
-declare var2 float(0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp30(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute30();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute30;
-DROP PROCEDURE sp30;
-DROP PROCEDURE IF EXISTS sp31;
-CREATE PROCEDURE sp31( in f1 float(23), inout f2 float(23), out f3 float(23), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute31;
-CREATE PROCEDURE spexecute31()
-BEGIN
-declare var1 float(23);
-declare var2 float(23);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp31(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute31();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute31;
-DROP PROCEDURE sp31;
-DROP PROCEDURE IF EXISTS sp32;
-CREATE PROCEDURE sp32( in f1 float(23) unsigned, inout f2 float(23) unsigned, out f3 float(23) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute32;
-CREATE PROCEDURE spexecute32()
-BEGIN
-declare var1 float(23) unsigned;
-declare var2 float(23) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp32(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute32();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute32;
-DROP PROCEDURE sp32;
-DROP PROCEDURE IF EXISTS sp33;
-CREATE PROCEDURE sp33( in f1 float(23) zerofill, inout f2 float(23) zerofill, out f3 float(23) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute33;
-CREATE PROCEDURE spexecute33()
-BEGIN
-declare var1 float(23) zerofill;
-declare var2 float(23) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp33(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute33();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute33;
-DROP PROCEDURE sp33;
-DROP PROCEDURE IF EXISTS sp34;
-CREATE PROCEDURE sp34( in f1 float(24), inout f2 float(24), out f3 float(24), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute34;
-CREATE PROCEDURE spexecute34()
-BEGIN
-declare var1 float(24);
-declare var2 float(24);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp34(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute34();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute34;
-DROP PROCEDURE sp34;
-DROP PROCEDURE IF EXISTS sp35;
-CREATE PROCEDURE sp35( in f1 float(24) unsigned, inout f2 float(24) unsigned, out f3 float(24) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute35;
-CREATE PROCEDURE spexecute35()
-BEGIN
-declare var1 float(24) unsigned;
-declare var2 float(24) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp35(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute35();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute35;
-DROP PROCEDURE sp35;
-DROP PROCEDURE IF EXISTS sp36;
-CREATE PROCEDURE sp36( in f1 float(24) zerofill, inout f2 float(24) zerofill, out f3 float(24) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute36;
-CREATE PROCEDURE spexecute36()
-BEGIN
-declare var1 float(24) zerofill;
-declare var2 float(24) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp36(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute36();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute36;
-DROP PROCEDURE sp36;
-DROP PROCEDURE IF EXISTS sp37;
-CREATE PROCEDURE sp37( in f1 float(53), inout f2 float(53), out f3 float(53), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute37;
-CREATE PROCEDURE spexecute37()
-BEGIN
-declare var1 float(53);
-declare var2 float(53);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp37(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute37();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1 1 11 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1 11 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute37;
-DROP PROCEDURE sp37;
-DROP PROCEDURE IF EXISTS sp38;
-CREATE PROCEDURE sp38( in f1 float(53) unsigned, inout f2 float(53) unsigned, out f3 float(53) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute38;
-CREATE PROCEDURE spexecute38()
-BEGIN
-declare var1 float(53) unsigned;
-declare var2 float(53) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp38(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute38();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute38;
-DROP PROCEDURE sp38;
-DROP PROCEDURE IF EXISTS sp39;
-CREATE PROCEDURE sp39( in f1 float(53) zerofill, inout f2 float(53) zerofill, out f3 float(53) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute39;
-CREATE PROCEDURE spexecute39()
-BEGIN
-declare var1 float(53) zerofill;
-declare var2 float(53) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp39(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute39();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute39;
-DROP PROCEDURE sp39;
-DROP PROCEDURE IF EXISTS sp40;
-CREATE PROCEDURE sp40( in f1 real unsigned, inout f2 real unsigned, out f3 real unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute40;
-CREATE PROCEDURE spexecute40()
-BEGIN
-declare var1 real unsigned;
-declare var2 real unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp40(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute40();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute40;
-DROP PROCEDURE sp40;
-DROP PROCEDURE IF EXISTS sp41;
-CREATE PROCEDURE sp41( in f1 real unsigned zerofill, inout f2 real unsigned zerofill, out f3 real unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute41;
-CREATE PROCEDURE spexecute41()
-BEGIN
-declare var1 real unsigned zerofill;
-declare var2 real unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp41(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute41();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute41;
-DROP PROCEDURE sp41;
-DROP PROCEDURE IF EXISTS sp42;
-CREATE PROCEDURE sp42( in f1 real zerofill, inout f2 real zerofill, out f3 real zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute42;
-CREATE PROCEDURE spexecute42()
-BEGIN
-declare var1 real zerofill;
-declare var2 real zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.1;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp42(1.1, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute42();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute42;
-DROP PROCEDURE sp42;
-DROP PROCEDURE IF EXISTS sp43;
-CREATE PROCEDURE sp43( in f1 numeric (0), inout f2 numeric (0), out f3 numeric (0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute43;
-CREATE PROCEDURE spexecute43()
-BEGIN
-declare var1 numeric (0);
-declare var2 numeric (0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp43(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute43();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute43;
-DROP PROCEDURE sp43;
-DROP PROCEDURE IF EXISTS sp44;
-CREATE PROCEDURE sp44( in f1 numeric (0) unsigned, inout f2 numeric (0) unsigned, out f3 numeric (0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute44;
-CREATE PROCEDURE spexecute44()
-BEGIN
-declare var1 numeric (0) unsigned;
-declare var2 numeric (0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp44(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute44();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute44;
-DROP PROCEDURE sp44;
-DROP PROCEDURE IF EXISTS sp45;
-CREATE PROCEDURE sp45( in f1 numeric (0) zerofill, inout f2 numeric (0) zerofill, out f3 numeric (0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute45;
-CREATE PROCEDURE spexecute45()
-BEGIN
-declare var1 numeric (0) zerofill;
-declare var2 numeric (0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp45(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute45();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute45;
-DROP PROCEDURE sp45;
-DROP PROCEDURE IF EXISTS sp46;
-CREATE PROCEDURE sp46( in f1 numeric (0, 0), inout f2 numeric (0, 0), out f3 numeric (0, 0), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute46;
-CREATE PROCEDURE spexecute46()
-BEGIN
-declare var1 numeric (0, 0);
-declare var2 numeric (0, 0);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp46(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute46();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--1000000000 -1000000000 -999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--1000000000 -999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute46;
-DROP PROCEDURE sp46;
-DROP PROCEDURE IF EXISTS sp47;
-CREATE PROCEDURE sp47( in f1 numeric (0, 0) unsigned, inout f2 numeric (0, 0) unsigned, out f3 numeric (0, 0) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute47;
-CREATE PROCEDURE spexecute47()
-BEGIN
-declare var1 numeric (0, 0) unsigned;
-declare var2 numeric (0, 0) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp47(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute47();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute47;
-DROP PROCEDURE sp47;
-DROP PROCEDURE IF EXISTS sp48;
-CREATE PROCEDURE sp48( in f1 numeric (0, 0) zerofill, inout f2 numeric (0, 0) zerofill, out f3 numeric (0, 0) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute48;
-CREATE PROCEDURE spexecute48()
-BEGIN
-declare var1 numeric (0, 0) zerofill;
-declare var2 numeric (0, 0) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp48(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute48();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute48;
-DROP PROCEDURE sp48;
-DROP PROCEDURE IF EXISTS sp49;
-CREATE PROCEDURE sp49( in f1 numeric unsigned, inout f2 numeric unsigned, out f3 numeric unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute49;
-CREATE PROCEDURE spexecute49()
-BEGIN
-declare var1 numeric unsigned;
-declare var2 numeric unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp49(-999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute49();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute49;
-DROP PROCEDURE sp49;
-DROP PROCEDURE IF EXISTS sp50;
-CREATE PROCEDURE sp50( in f1 numeric unsigned zerofill, inout f2 numeric unsigned zerofill, out f3 numeric unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute50;
-CREATE PROCEDURE spexecute50()
-BEGIN
-declare var1 numeric unsigned zerofill;
-declare var2 numeric unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 9999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp50(9999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute50();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-9999999999 9999999999 9999999999 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-9999999999 9999999999 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute50;
-DROP PROCEDURE sp50;
-DROP PROCEDURE IF EXISTS sp51;
-CREATE PROCEDURE sp51( in f1 numeric zerofill, inout f2 numeric zerofill, out f3 numeric zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute51;
-CREATE PROCEDURE spexecute51()
-BEGIN
-declare var1 numeric zerofill;
-declare var2 numeric zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp51(-99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute51();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute51;
-DROP PROCEDURE sp51;
-DROP PROCEDURE IF EXISTS sp52;
-CREATE PROCEDURE sp52( in f1 numeric (63, 30), inout f2 numeric (63, 30), out f3 numeric (63, 30), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute52;
-CREATE PROCEDURE spexecute52()
-BEGIN
-declare var1 numeric (63, 30);
-declare var2 numeric (63, 30);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp52(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute52();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000.000000000000000000000000000000 -10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000.000000000000000000000000000000 -99999999999999999990.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute52;
-DROP PROCEDURE sp52;
-DROP PROCEDURE IF EXISTS sp53;
-CREATE PROCEDURE sp53( in f1 numeric (64), inout f2 numeric (64), out f3 numeric (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute53;
-CREATE PROCEDURE spexecute53()
-BEGIN
-declare var1 numeric (64);
-declare var2 numeric (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp53(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute53();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute53;
-DROP PROCEDURE sp53;
-DROP PROCEDURE IF EXISTS sp54;
-CREATE PROCEDURE sp54( in f1 numeric (64) unsigned, inout f2 numeric (64) unsigned, out f3 numeric (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute54;
-CREATE PROCEDURE spexecute54()
-BEGIN
-declare var1 numeric (64) unsigned;
-declare var2 numeric (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp54(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute54();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute54;
-DROP PROCEDURE sp54;
-DROP PROCEDURE IF EXISTS sp55;
-CREATE PROCEDURE sp55( in f1 numeric (64) zerofill, inout f2 numeric (64) zerofill, out f3 numeric (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute55;
-CREATE PROCEDURE spexecute55()
-BEGIN
-declare var1 numeric (64) zerofill;
-declare var2 numeric (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp55(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute55();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute55;
-DROP PROCEDURE sp55;
-DROP PROCEDURE IF EXISTS sp56;
-CREATE PROCEDURE sp56( in f1 year, inout f2 year, out f3 year, in f4 year, inout f5 year, out f6 year, in f7 year, inout f8 year, out f9 year, in f10 year, inout f11 year, out f12 year)
-BEGIN
-set f1 = f1 + 10; set f2 = f2 + 10; set f3 = f2 + 10;
-set f4 = f4 + 10; set f5 = f5 + 10; set f6 = f5 + 10;
-set f7 = f7 + 10; set f8 = f8 + 10; set f9 = f8 + 10;
-set f10= f10+ 10; set f11 = f11 + 10; set f12 = f11 + 10;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute56;
-CREATE PROCEDURE spexecute56()
-BEGIN
-declare var1 year;
-declare var2 year;
-declare var3 year;
-declare var4 year;
-declare var5 year;
-declare var6 year;
-declare var7 year;
-declare var8 year;
-set var1 = 51;
-set var3 = 51;
-set var5 = 51;
-set var7 = 51;
-CALL sp56(51, var1, var2, 51, var3, var4, 51, var5, var6, 51, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute56();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2061 2061 2071 2061 2061 2071 2061 2061 2071 2061 2061 2071
-var1 var2 var3 var4 var5 var6 var7 var8
-2061 2071 2061 2071 2061 2071 2061 2071
-DROP PROCEDURE spexecute56;
-DROP PROCEDURE sp56;
-DROP PROCEDURE IF EXISTS sp57;
-CREATE PROCEDURE sp57( in f1 year(4), inout f2 year(4), out f3 year(4), in f4 year(4), inout f5 year(4), out f6 year(4), in f7 year(4), inout f8 year(4), out f9 year(4), in f10 year(4), inout f11 year(4), out f12 year(4))
-BEGIN
-set f1 = f1 + 51; set f2 = f2 + 51; set f3 = f2 + 51;
-set f4 = f4 + 51; set f5 = f5 + 51; set f6 = f5 + 51;
-set f7 = f7 + 51; set f8 = f8 + 51; set f9 = f8 + 51;
-set f10 = f10 + 51; set f11 = f11 + 51; set f12 = f11 + 51;
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute57;
-CREATE PROCEDURE spexecute57()
-BEGIN
-declare var1 year(4);
-declare var2 year(4);
-declare var3 year(4);
-declare var4 year(4);
-declare var5 year(4);
-declare var6 year(4);
-declare var7 year(4);
-declare var8 year(4);
-set var1 = 1982;
-set var3 = 1982;
-set var5 = 1982;
-set var7 = 1982;
-CALL sp57(1982, var1, var2, 1982, var3, var4, 1982, var5, var6, 1982, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute57();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-2033 2033 2084 2033 2033 2084 2033 2033 2084 2033 2033 2084
-var1 var2 var3 var4 var5 var6 var7 var8
-2033 2084 2033 2084 2033 2084 2033 2084
-DROP PROCEDURE spexecute57;
-DROP PROCEDURE sp57;
-DROP PROCEDURE IF EXISTS sp58;
-CREATE PROCEDURE sp58( in f1 text, inout f2 text, out f3 text, in f4 text, inout f5 text, out f6 text, in f7 text, inout f8 text, out f9 text, in f10 text, inout f11 text, out f12 text)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute58;
-CREATE PROCEDURE spexecute58()
-BEGIN
-declare var1 text;
-declare var2 text;
-declare var3 text;
-declare var4 text;
-declare var5 text;
-declare var6 text;
-declare var7 text;
-declare var8 text;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp58( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute58();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute58;
-DROP PROCEDURE sp58;
-DROP PROCEDURE IF EXISTS sp59;
-CREATE PROCEDURE sp59( in f1 tinytext, inout f2 tinytext, out f3 tinytext, in f4 tinytext, inout f5 tinytext, out f6 tinytext, in f7 tinytext, inout f8 tinytext, out f9 tinytext, in f10 tinytext, inout f11 tinytext, out f12 tinytext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute59;
-CREATE PROCEDURE spexecute59()
-BEGIN
-declare var1 tinytext;
-declare var2 tinytext;
-declare var3 tinytext;
-declare var4 tinytext;
-declare var5 tinytext;
-declare var6 tinytext;
-declare var7 tinytext;
-declare var8 tinytext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp59( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute59();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute59;
-DROP PROCEDURE sp59;
-DROP PROCEDURE IF EXISTS sp60;
-CREATE PROCEDURE sp60( in f1 char, inout f2 char, out f3 char, in f4 char, inout f5 char, out f6 char, in f7 char, inout f8 char, out f9 char, in f10 char, inout f11 char, out f12 char)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f1);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f5);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f8);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute60;
-CREATE PROCEDURE spexecute60()
-BEGIN
-declare var1 char;
-declare var2 char;
-declare var3 char;
-declare var4 char;
-declare var5 char;
-declare var6 char;
-declare var7 char;
-declare var8 char;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp60( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute60();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a a a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a a a a
-DROP PROCEDURE spexecute60;
-DROP PROCEDURE sp60;
-DROP PROCEDURE IF EXISTS sp61;
-CREATE PROCEDURE sp61( in f1 char ascii, inout f2 char ascii, out f3 char ascii, in f4 char ascii, inout f5 char ascii, out f6 char ascii, in f7 char ascii, inout f8 char ascii, out f9 char ascii, in f10 char ascii, inout f11 char ascii, out f12 char ascii)
-BEGIN
-set f1 = concat('a', f1); set f2 = concat('a', f2); set f3 = concat('a', f2);
-set f4 = concat('a', f4); set f5 = concat('a', f5); set f6 = concat('a', f4);
-set f7 = concat('a', f7); set f8 = concat('a', f8); set f9 = concat('a', f9);
-set f10 = concat('a', f10); set f11 = concat('a', f11); set f12 = concat('a', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute61;
-CREATE PROCEDURE spexecute61()
-BEGIN
-declare var1 char ascii;
-declare var2 char ascii;
-declare var3 char ascii;
-declare var4 char ascii;
-declare var5 char ascii;
-declare var6 char ascii;
-declare var7 char ascii;
-declare var8 char ascii;
-set var1 = 'h';
-set var3 = 'h';
-set var5 = 'h';
-set var7 = 'h';
-CALL sp61( 'h', var1, var2, 'h', var3, var4, 'h', var5, var6, 'h', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute61();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-a a a a a a a a NULL a a a
-var1 var2 var3 var4 var5 var6 var7 var8
-a a a a a NULL a a
-DROP PROCEDURE spexecute61;
-DROP PROCEDURE sp61;
-DROP PROCEDURE IF EXISTS sp62;
-CREATE PROCEDURE sp62( in f1 longtext, inout f2 longtext, out f3 longtext, in f4 longtext, inout f5 longtext, out f6 longtext, in f7 longtext, inout f8 longtext, out f9 longtext, in f10 longtext, inout f11 longtext, out f12 longtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f2);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute62;
-CREATE PROCEDURE spexecute62()
-BEGIN
-declare var1 longtext;
-declare var2 longtext;
-declare var3 longtext;
-declare var4 longtext;
-declare var5 longtext;
-declare var6 longtext;
-declare var7 longtext;
-declare var8 longtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp62( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute62();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute62;
-DROP PROCEDURE sp62;
-DROP PROCEDURE IF EXISTS sp63;
-CREATE PROCEDURE sp63( in f1 mediumtext, inout f2 mediumtext, out f3 mediumtext, in f4 mediumtext, inout f5 mediumtext, out f6 mediumtext, in f7 mediumtext, inout f8 mediumtext, out f9 mediumtext, in f10 mediumtext, inout f11 mediumtext, out f12 mediumtext)
-BEGIN
-set f1 = concat('hello', f1); set f2 = concat('hello', f2); set f3 = concat('hello', f3);
-set f4 = concat('hello', f4); set f5 = concat('hello', f5); set f6 = concat('hello', f5);
-set f7 = concat('hello', f7); set f8 = concat('hello', f8); set f9 = concat('hello', f8);
-set f10 = concat('hello', f10); set f11 = concat('hello', f11); set f12 = concat('hello', f11);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute63;
-CREATE PROCEDURE spexecute63()
-BEGIN
-declare var1 mediumtext;
-declare var2 mediumtext;
-declare var3 mediumtext;
-declare var4 mediumtext;
-declare var5 mediumtext;
-declare var6 mediumtext;
-declare var7 mediumtext;
-declare var8 mediumtext;
-set var1 = 'world';
-set var3 = 'world';
-set var5 = 'world';
-set var7 = 'world';
-CALL sp63( 'world', var1, var2, 'world', var3, var4, 'world', var5, var6, 'world', var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute63();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-helloworld helloworld NULL helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld helloworld helloworld hellohelloworld
-var1 var2 var3 var4 var5 var6 var7 var8
-helloworld NULL helloworld hellohelloworld helloworld hellohelloworld helloworld hellohelloworld
-DROP PROCEDURE spexecute63;
-DROP PROCEDURE sp63;
-DROP PROCEDURE IF EXISTS sp64;
-CREATE PROCEDURE sp64( in f1 decimal, inout f2 decimal, out f3 decimal, in f4 decimal, inout f5 decimal, out f6 decimal, in f7 decimal, inout f8 decimal, out f9 decimal, in f10 decimal, inout f11 decimal, out f12 decimal)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f2 / 2); set f3 = (f2 * 2); set f3 = (f2 - 10); set f3 = (f2 + 10);
-set f4 = (f4 / 2); set f4 = (f4 * 2); set f4 = (f4 - 10); set f4 = (f4 + 10); set f5 = (f5 / 2); set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f5 / 2); set f6 = (f5 * 2); set f6 = (f5 - 10); set f6 = (f5 + 10);
-set f7 = (f7 / 2); set f7 = (f7 * 2); set f7 = (f7 - 10); set f7 = (f7 + 10); set f8 = (f8 / 2); set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f8 / 2); set f9 = (f8 * 2); set f9 = (f8 - 10); set f9 = (f8 + 10);
-set f10 = (f10 / 2); set f10 = (f10 * 2); set f10 = (f10 - 10); set f10 = (f10 + 10); set f11 = (f11 / 2); set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f11 / 2); set f12 = (f11 * 2); set f12 = (f11 - 10); set f12 = (f11 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute64;
-CREATE PROCEDURE spexecute64()
-BEGIN
-declare var1 decimal;
-declare var2 decimal;
-declare var3 decimal;
-declare var4 decimal;
-declare var5 decimal;
-declare var6 decimal;
-declare var7 decimal;
-declare var8 decimal;
-set var1 = --1.00e+09;
-set var3 = --1.00e+09;
-set var5 = --1.00e+09;
-set var7 = --1.00e+09;
-CALL sp64(--1.00e+09, var1, var2, --1.00e+09, var3, var4, --1.00e+09, var5, var6, --1.00e+09, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute64();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010 1000000000 1000000000 1000000010
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 1000000000 1000000010 1000000000 1000000010 1000000000 1000000010
-DROP PROCEDURE spexecute64;
-DROP PROCEDURE sp64;
-DROP PROCEDURE IF EXISTS sp65;
-CREATE PROCEDURE sp65( in f1 decimal (0, 0) unsigned zerofill, inout f2 decimal (0, 0) unsigned zerofill, out f3 decimal (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute65;
-CREATE PROCEDURE spexecute65()
-BEGIN
-declare var1 decimal (0, 0) unsigned zerofill;
-declare var2 decimal (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 999999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp65(999999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute65();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-1000000000 1000000000 1000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-1000000000 1000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute65;
-DROP PROCEDURE sp65;
-DROP PROCEDURE IF EXISTS sp66;
-CREATE PROCEDURE sp66( in f1 decimal (63, 30) unsigned, inout f2 decimal (63, 30) unsigned, out f3 decimal (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute66;
-CREATE PROCEDURE spexecute66()
-BEGIN
-declare var1 decimal (63, 30) unsigned;
-declare var2 decimal (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp66(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute66();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10000000000000000.000000000000000000000000000000 10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000.000000000000000000000000000000 10000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute66;
-DROP PROCEDURE sp66;
-DROP PROCEDURE IF EXISTS sp67;
-CREATE PROCEDURE sp67( in f1 decimal (63, 30) unsigned zerofill, inout f2 decimal (63, 30) unsigned zerofill, out f3 decimal (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute67;
-CREATE PROCEDURE spexecute67()
-BEGIN
-declare var1 decimal (63, 30) unsigned zerofill;
-declare var2 decimal (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+16;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp67(1.00e+16, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute67();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000010000000000000000.000000000000000000000000000000 000000000000000010000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute67;
-DROP PROCEDURE sp67;
-DROP PROCEDURE IF EXISTS sp68;
-CREATE PROCEDURE sp68( in f1 decimal (63, 30) zerofill, inout f2 decimal (63, 30) zerofill, out f3 decimal (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute68;
-CREATE PROCEDURE spexecute68()
-BEGIN
-declare var1 decimal (63, 30) zerofill;
-declare var2 decimal (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+21;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp68(-1.00e+21, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute68();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute68;
-DROP PROCEDURE sp68;
-DROP PROCEDURE IF EXISTS sp69;
-CREATE PROCEDURE sp69( in f1 decimal (64), inout f2 decimal (64), out f3 decimal (64), in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute69;
-CREATE PROCEDURE spexecute69()
-BEGIN
-declare var1 decimal (64);
-declare var2 decimal (64);
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp69(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute69();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--100000000000000000000 -10000000000000000000000 -99999999999999999990 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--10000000000000000000000 -99999999999999999990 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute69;
-DROP PROCEDURE sp69;
-DROP PROCEDURE IF EXISTS sp70;
-CREATE PROCEDURE sp70( in f1 decimal (64) unsigned, inout f2 decimal (64) unsigned, out f3 decimal (64) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute70;
-CREATE PROCEDURE spexecute70()
-BEGIN
-declare var1 decimal (64) unsigned;
-declare var2 decimal (64) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp70(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute70();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000 10000000000000000000000 100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000 100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute70;
-DROP PROCEDURE sp70;
-DROP PROCEDURE IF EXISTS sp71;
-CREATE PROCEDURE sp71( in f1 decimal (64) unsigned zerofill, inout f2 decimal (64) unsigned zerofill, out f3 decimal (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute71;
-CREATE PROCEDURE spexecute71()
-BEGIN
-declare var1 decimal (64) unsigned zerofill;
-declare var2 decimal (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp71(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute71();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute71;
-DROP PROCEDURE sp71;
-DROP PROCEDURE IF EXISTS sp72;
-CREATE PROCEDURE sp72( in f1 decimal (64) zerofill, inout f2 decimal (64) zerofill, out f3 decimal (64) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute72;
-CREATE PROCEDURE spexecute72()
-BEGIN
-declare var1 decimal (64) zerofill;
-declare var2 decimal (64) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp72(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute72();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000000000000000000000000010 0000000000000000000000000000000000000000000000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute72;
-DROP PROCEDURE sp72;
-DROP PROCEDURE IF EXISTS sp73;
-CREATE PROCEDURE sp73( in f1 decimal unsigned, inout f2 decimal unsigned, out f3 decimal unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute73;
-CREATE PROCEDURE spexecute73()
-BEGIN
-declare var1 decimal unsigned;
-declare var2 decimal unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp73(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute73();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-10 10 20 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10 20 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute73;
-DROP PROCEDURE sp73;
-DROP PROCEDURE IF EXISTS sp74;
-CREATE PROCEDURE sp74( in f1 decimal unsigned zerofill, inout f2 decimal unsigned zerofill, out f3 decimal unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute74;
-CREATE PROCEDURE spexecute74()
-BEGIN
-declare var1 decimal unsigned zerofill;
-declare var2 decimal unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp74(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute74();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute74;
-DROP PROCEDURE sp74;
-DROP PROCEDURE IF EXISTS sp75;
-CREATE PROCEDURE sp75( in f1 decimal zerofill, inout f2 decimal zerofill, out f3 decimal zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute75;
-CREATE PROCEDURE spexecute75()
-BEGIN
-declare var1 decimal zerofill;
-declare var2 decimal zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp75(-1.00e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute75();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000010 0000000010 0000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000010 0000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute75;
-DROP PROCEDURE sp75;
-DROP PROCEDURE IF EXISTS sp76;
-CREATE PROCEDURE sp76( in f1 float(0) unsigned zerofill, inout f2 float(0) unsigned zerofill, out f3 float(0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute76;
-CREATE PROCEDURE spexecute76()
-BEGIN
-declare var1 float(0) unsigned zerofill;
-declare var2 float(0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp76(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute76();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute76;
-DROP PROCEDURE sp76;
-DROP PROCEDURE IF EXISTS sp77;
-CREATE PROCEDURE sp77( in f1 float(23) unsigned zerofill, inout f2 float(23) unsigned zerofill, out f3 float(23) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute77;
-CREATE PROCEDURE spexecute77()
-BEGIN
-declare var1 float(23) unsigned zerofill;
-declare var2 float(23) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp77(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute77();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute77;
-DROP PROCEDURE sp77;
-DROP PROCEDURE IF EXISTS sp78;
-CREATE PROCEDURE sp78( in f1 float(24) unsigned zerofill, inout f2 float(24) unsigned zerofill, out f3 float(24) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute78;
-CREATE PROCEDURE spexecute78()
-BEGIN
-declare var1 float(24) unsigned zerofill;
-declare var2 float(24) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp78(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute78();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000010 000000000010 000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010 000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute78;
-DROP PROCEDURE sp78;
-DROP PROCEDURE IF EXISTS sp79;
-CREATE PROCEDURE sp79( in f1 float(53) unsigned zerofill, inout f2 float(53) unsigned zerofill, out f3 float(53) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute79;
-CREATE PROCEDURE spexecute79()
-BEGIN
-declare var1 float(53) unsigned zerofill;
-declare var2 float(53) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+00;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp79(1.00e+00, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute79();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000010 0000000000000000000010 0000000000000000000020 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000010 0000000000000000000020 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute79;
-DROP PROCEDURE sp79;
-DROP PROCEDURE IF EXISTS sp80;
-CREATE PROCEDURE sp80( in f1 int, inout f2 int, out f3 int, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute80;
-CREATE PROCEDURE spexecute80()
-BEGIN
-declare var1 int;
-declare var2 int;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -2.15e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp80(-2.15e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute80();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--2147483638 -2147483638 -2147483628 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--2147483638 -2147483628 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute80;
-DROP PROCEDURE sp80;
-DROP PROCEDURE IF EXISTS sp81;
-CREATE PROCEDURE sp81( in f1 int unsigned, inout f2 int unsigned, out f3 int unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute81;
-CREATE PROCEDURE spexecute81()
-BEGIN
-declare var1 int unsigned;
-declare var2 int unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp81(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute81();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute81;
-DROP PROCEDURE sp81;
-DROP PROCEDURE IF EXISTS sp82;
-CREATE PROCEDURE sp82( in f1 int unsigned zerofill, inout f2 int unsigned zerofill, out f3 int unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute82;
-CREATE PROCEDURE spexecute82()
-BEGIN
-declare var1 int unsigned zerofill;
-declare var2 int unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 4.29e+09;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp82(4.29e+09, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute82();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-4290000000 4290000000 4290000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-4290000000 4290000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute82;
-DROP PROCEDURE sp82;
-DROP PROCEDURE IF EXISTS sp83;
-CREATE PROCEDURE sp83( in f1 int zerofill, inout f2 int zerofill, out f3 int zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute83;
-CREATE PROCEDURE spexecute83()
-BEGIN
-declare var1 int zerofill;
-declare var2 int zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 2.15e+08;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp83(2.15e+08, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute83();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0215000000 0215000000 0215000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0215000000 0215000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute83;
-DROP PROCEDURE sp83;
-DROP PROCEDURE IF EXISTS sp84;
-CREATE PROCEDURE sp84( in f1 mediumint, inout f2 mediumint, out f3 mediumint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute84;
-CREATE PROCEDURE spexecute84()
-BEGIN
-declare var1 mediumint;
-declare var2 mediumint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388600;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp84(-8388600, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute84();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--8388598 -8388598 -8388588 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--8388598 -8388588 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute84;
-DROP PROCEDURE sp84;
-DROP PROCEDURE IF EXISTS sp85;
-CREATE PROCEDURE sp85( in f1 mediumint unsigned, inout f2 mediumint unsigned, out f3 mediumint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute85;
-CREATE PROCEDURE spexecute85()
-BEGIN
-declare var1 mediumint unsigned;
-declare var2 mediumint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp85(16777201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute85();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777202 16777202 16777212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777202 16777212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute85;
-DROP PROCEDURE sp85;
-DROP PROCEDURE IF EXISTS sp86;
-CREATE PROCEDURE sp86( in f1 mediumint unsigned zerofill, inout f2 mediumint unsigned zerofill, out f3 mediumint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute86;
-CREATE PROCEDURE spexecute86()
-BEGIN
-declare var1 mediumint unsigned zerofill;
-declare var2 mediumint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 16777210;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp86(16777210, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute86();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777210 16777210 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777210 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute86;
-DROP PROCEDURE sp86;
-DROP PROCEDURE IF EXISTS sp87;
-CREATE PROCEDURE sp87( in f1 mediumint zerofill, inout f2 mediumint zerofill, out f3 mediumint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute87;
-CREATE PROCEDURE spexecute87()
-BEGIN
-declare var1 mediumint zerofill;
-declare var2 mediumint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -8388601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp87(-8388601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute87();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-16777215 16777215 16777215 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-16777215 16777215 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute87;
-DROP PROCEDURE sp87;
-DROP PROCEDURE IF EXISTS sp88;
-CREATE PROCEDURE sp88( in f1 numeric (0) unsigned zerofill, inout f2 numeric (0) unsigned zerofill, out f3 numeric (0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute88;
-CREATE PROCEDURE spexecute88()
-BEGIN
-declare var1 numeric (0) unsigned zerofill;
-declare var2 numeric (0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp88(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute88();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute88;
-DROP PROCEDURE sp88;
-DROP PROCEDURE IF EXISTS sp89;
-CREATE PROCEDURE sp89( in f1 numeric (0, 0) unsigned zerofill, inout f2 numeric (0, 0) unsigned zerofill, out f3 numeric (0, 0) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute89;
-CREATE PROCEDURE spexecute89()
-BEGIN
-declare var1 numeric (0, 0) unsigned zerofill;
-declare var2 numeric (0, 0) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 99999999;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp89(99999999, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute89();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0100000000 0100000000 0100000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0100000000 0100000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute89;
-DROP PROCEDURE sp89;
-DROP PROCEDURE IF EXISTS sp90;
-CREATE PROCEDURE sp90( in f1 numeric (63, 30) unsigned, inout f2 numeric (63, 30) unsigned, out f3 numeric (63, 30) unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute90;
-CREATE PROCEDURE spexecute90()
-BEGIN
-declare var1 numeric (63, 30) unsigned;
-declare var2 numeric (63, 30) unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp90(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute90();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-100000000000000000000.000000000000000000000000000000 10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-10000000000000000000000.000000000000000000000000000000 100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute90;
-DROP PROCEDURE sp90;
-DROP PROCEDURE IF EXISTS sp91;
-CREATE PROCEDURE sp91( in f1 numeric (63, 30) unsigned zerofill, inout f2 numeric (63, 30) unsigned zerofill, out f3 numeric (63, 30) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute91;
-CREATE PROCEDURE spexecute91()
-BEGIN
-declare var1 numeric (63, 30) unsigned zerofill;
-declare var2 numeric (63, 30) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp91(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute91();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000100000000000000000000.000000000000000000000000000000 000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000010000000000000000000000.000000000000000000000000000000 000000000000100000000000000000010.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute91;
-DROP PROCEDURE sp91;
-DROP PROCEDURE IF EXISTS sp92;
-CREATE PROCEDURE sp92( in f1 numeric (63, 30) zerofill, inout f2 numeric (63, 30) zerofill, out f3 numeric (63, 30) zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute92;
-CREATE PROCEDURE spexecute92()
-BEGIN
-declare var1 numeric (63, 30) zerofill;
-declare var2 numeric (63, 30) zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp92(-1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute92();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-000000000000000000000000000000010.000000000000000000000000000000 000000000000000000000000000000020.000000000000000000000000000000 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute92;
-DROP PROCEDURE sp92;
-DROP PROCEDURE IF EXISTS sp93;
-CREATE PROCEDURE sp93( in f1 numeric (64) unsigned zerofill, inout f2 numeric (64) unsigned zerofill, out f3 numeric (64) unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute93;
-CREATE PROCEDURE spexecute93()
-BEGIN
-declare var1 numeric (64) unsigned zerofill;
-declare var2 numeric (64) unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 1.00e+22;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp93(1.00e+20, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute93();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-0000000000000000000000000000000000000000000100000000000000000000 0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-0000000000000000000000000000000000000000010000000000000000000000 0000000000000000000000000000000000000000000100000000000000000010 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute93;
-DROP PROCEDURE sp93;
-DROP PROCEDURE IF EXISTS sp94;
-CREATE PROCEDURE sp94( in f1 smallint, inout f2 smallint, out f3 smallint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute94;
-CREATE PROCEDURE spexecute94()
-BEGIN
-declare var1 smallint;
-declare var2 smallint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32701;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp94(-32701, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute94();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--32702 -32702 -32692 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--32702 -32692 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute94;
-DROP PROCEDURE sp94;
-DROP PROCEDURE IF EXISTS sp95;
-CREATE PROCEDURE sp95( in f1 smallint unsigned, inout f2 smallint unsigned, out f3 smallint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute95;
-CREATE PROCEDURE spexecute95()
-BEGIN
-declare var1 smallint unsigned;
-declare var2 smallint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp95(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute95();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute95;
-DROP PROCEDURE sp95;
-DROP PROCEDURE IF EXISTS sp96;
-CREATE PROCEDURE sp96( in f1 smallint unsigned zerofill, inout f2 smallint unsigned zerofill, out f3 smallint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute96;
-CREATE PROCEDURE spexecute96()
-BEGIN
-declare var1 smallint unsigned zerofill;
-declare var2 smallint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 65531;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp96(65531, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute96();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65532 65532 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65532 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute96;
-DROP PROCEDURE sp96;
-DROP PROCEDURE IF EXISTS sp97;
-CREATE PROCEDURE sp97( in f1 smallint zerofill, inout f2 smallint zerofill, out f3 smallint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute97;
-CREATE PROCEDURE spexecute97()
-BEGIN
-declare var1 smallint zerofill;
-declare var2 smallint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -32601;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp97(-32601, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute97();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-65535 65535 65535 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-65535 65535 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute97;
-DROP PROCEDURE sp97;
-DROP PROCEDURE IF EXISTS sp98;
-CREATE PROCEDURE sp98( in f1 tinyint, inout f2 tinyint, out f3 tinyint, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute98;
-CREATE PROCEDURE spexecute98()
-BEGIN
-declare var1 tinyint;
-declare var2 tinyint;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -115;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp98(-115, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute98();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
--116 -116 -106 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
--116 -106 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute98;
-DROP PROCEDURE sp98;
-DROP PROCEDURE IF EXISTS sp99;
-CREATE PROCEDURE sp99( in f1 tinyint unsigned, inout f2 tinyint unsigned, out f3 tinyint unsigned, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute99;
-CREATE PROCEDURE spexecute99()
-BEGIN
-declare var1 tinyint unsigned;
-declare var2 tinyint unsigned;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 251;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp99(251, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute99();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-252 252 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-252 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute99;
-DROP PROCEDURE sp99;
-DROP PROCEDURE IF EXISTS sp100;
-CREATE PROCEDURE sp100( in f1 tinyint unsigned zerofill, inout f2 tinyint unsigned zerofill, out f3 tinyint unsigned zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute100;
-CREATE PROCEDURE spexecute100()
-BEGIN
-declare var1 tinyint unsigned zerofill;
-declare var2 tinyint unsigned zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = 201;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp100(201, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute100();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-202 202 212 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-202 212 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute100;
-DROP PROCEDURE sp100;
-DROP PROCEDURE IF EXISTS sp101;
-CREATE PROCEDURE sp101( in f1 tinyint zerofill, inout f2 tinyint zerofill, out f3 tinyint zerofill, in f4 bigint, inout f5 bigint, out f6 bigint, in f7 bigint, inout f8 bigint, out f9 bigint, in f10 bigint, inout f11 bigint, out f12 bigint)
-BEGIN
-set f1 = (f1 / 2); set f1 = (f1 * 2); set f1 = (f1 - 10); set f1 = (f1 + 10); set f2 = (f2 / 2); set f2 = (f2 * 2); set f2 = (f2 - 10); set f2 = (f2 + 10); set f3 = (f1 / 2); set f3 = (f1 * 2); set f3 = (f1 - 10); set f3 = (f1 + 10);
-set f6 = f5; set f5 = (f5 * 2); set f5 = (f5 - 10); set f5 = (f5 + 10); set f6 = (f6 * 2); set f6 = (f6 - 10); set f6 = (f6 + 10);
-set f9 = f8; set f8 = (f8 * 2); set f8 = (f8 - 10); set f8 = (f8 + 10); set f9 = (f9 * 2); set f9 = (f9 - 10); set f9 = (f9 + 10);
-set f12 = f11; set f11 = (f11 * 2); set f11 = (f11 - 10); set f11 = (f11 + 10); set f12 = (f12 * 2); set f12 = (f12 - 10); set f12 = (f12 + 10);
-SELECT f1, f2, f3, f4, f5, f6, f7, f8, f9, f10, f11, f12;
-END//
-DROP PROCEDURE IF EXISTS spexecute101;
-CREATE PROCEDURE spexecute101()
-BEGIN
-declare var1 tinyint zerofill;
-declare var2 tinyint zerofill;
-declare var3 bigint;
-declare var4 bigint;
-declare var5 bigint;
-declare var6 bigint;
-declare var7 bigint;
-declare var8 bigint;
-set var1 = -101;
-set var3 = -9.22e+18;
-set var5 = -9.22e+18;
-set var7 = -9.22e+18;
-CALL sp101(-101, var1, var2, -9.22e+18, var3, var4, -9.22e+18, var5, var6, -9.22e+18, var7, var8);
-SELECT var1, var2, var3, var4, var5, var6, var7, var8;
-END//
-CALL spexecute101();
-f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11 f12
-255 255 255 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616 -9220000000000000000 6744073709551616 6744073709551616
-var1 var2 var3 var4 var5 var6 var7 var8
-255 255 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616 6744073709551616
-DROP PROCEDURE spexecute101;
-DROP PROCEDURE sp101;
-USE db_storedproc;
-DROP DATABASE db1;
-USE db_storedproc;
-
-Testcase 4.7.2:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for "allow_invalid_dates" server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp2;
-drop table IF EXISTS temp_table;
-create table temp_table (f1 datetime);
-set @@sql_mode = 'allow_invalid_dates';
-CREATE PROCEDURE sp2 ()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END//
-show CREATE PROCEDURE sp2;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp2 ALLOW_INVALID_DATES CREATE DEFINER=`root`@`localhost` PROCEDURE `sp2`()
-BEGIN
-declare a datetime;
-set a = '2005-03-14 01:01:02';
-insert into temp_table values(a);
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode = 'traditional';
-CALL sp2 ();
-SELECT * from temp_table;
-f1
-2005-03-14 01:01:02
-SELECT @@sql_mode;
-@@sql_mode
-STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER
-DROP PROCEDURE sp2;
-drop table temp_table;
-
-Testcase 4.7.3:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for *high_not_precedence* server sql mode
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp3;
-set @@sql_mode = 'high_not_precedence';
-CREATE PROCEDURE sp3()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END//
-show CREATE PROCEDURE sp3;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp3 HIGH_NOT_PRECEDENCE CREATE DEFINER=`root`@`localhost` PROCEDURE `sp3`()
-BEGIN
-declare a int signed;
-declare b int unsigned;
-set a = -5;
-set b = 5;
-SELECT not 1 between a and b;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp3();
-not 1 between a and b
-1
-SELECT @@sql_mode;
-@@sql_mode
-
-DROP PROCEDURE sp3;
-
-Testcase 4.7.4:
-FIXME: a wrong testcase number and/or description has been detected here. This
-FIXME: needs to be checked to be sure where the missing testcase is located.
-.
-check for combination of server sql modes
-
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp4;
-set @@sql_mode = 'ansi, error_for_division_by_zero';
-ERROR 42000: Variable 'sql_mode' can't be set to the value of ' error_for_division_by_zero'
-set @@sql_mode = 'ansi,error_for_division_by_zero';
-SHOW VARIABLES LIKE 'sql_mode';
-Variable_name Value
-sql_mode REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO
-CREATE PROCEDURE sp4()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END//
-show CREATE PROCEDURE sp4;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp4 REAL_AS_FLOAT,PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ANSI,ERROR_FOR_DIVISION_BY_ZERO CREATE DEFINER="root"@"localhost" PROCEDURE "sp4"()
-BEGIN
-declare a int;
-declare b int;
-declare c int;
-set a = 0;
-set b = 1;
-set c = b/a;
-show warnings;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-set @@sql_mode='';
-CALL sp4();
-Level Code Message
-Error 1365 Division by 0
-Warnings:
-Error 1365 Division by 0
-DROP PROCEDURE sp4;
-set @@sql_mode='';
-
-Section 3.1.8 - SHOW statement checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.8.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-DROP PROCEDURE IF EXISTS sp6a;
-DROP PROCEDURE IF EXISTS sp6b;
-DROP PROCEDURE IF EXISTS sp6c;
-CREATE PROCEDURE sp6a (i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-language sql
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6b (out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
-deterministic
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-CREATE PROCEDURE sp6c (inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real) comment 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show CREATE PROCEDURE sp6a;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6a CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6a`(i1 longtext, out i2 mediumint , inout i3 longblob, in i4 year, out i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6b;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6b CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6b`(out i1 longtext, out i2 mediumint , out i3 longblob, out i4 year, out i5 real)
- DETERMINISTIC
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-show CREATE PROCEDURE sp6c;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6c CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6c`(inout i1 longtext, inout i2 mediumint , inout i3 longblob, inout i4 year, inout i5 real)
- COMMENT 'this is a comment'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6a';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6a PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6b';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6b PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-SHOW PROCEDURE status like 'sp6c';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6c PROCEDURE root@localhost modified created DEFINER this is a comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6a;
-DROP PROCEDURE sp6b;
-DROP PROCEDURE sp6c;
-
-Testcase 4.8.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-SHOW CREATE FUNCTION sp6;
-ERROR 42000: FUNCTION sp6 does not exist
-DROP PROCEDURE sp6;
-
-Testcase 4.8.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real) returns longtext
-BEGIN
-set @x=i1;
-set @y=@x;
-return 0;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION sp6;
-
-Testcase 4.8.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp7;
-show CREATE PROCEDURE sp7;
-ERROR 42000: PROCEDURE sp7 does not exist
-
-Testcase 4.8.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-show procedure status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.7:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.8:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-show procedure status like 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP FUNCTION fn1;
-
-Testcase 4.8.9:
---------------------------------------------------------------------------------
-
-Testcase 4.8.10:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 real) returns real
-BEGIN
-return i1;
-END//
-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 fn1;
-
-Testcase 4.8.11:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-show CREATE PROCEDURE fn1;
-ERROR 42000: PROCEDURE fn1 does not exist
-DROP FUNCTION fn1;
-
-Testcase 4.8.12:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1(x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.13:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS f1000;
-SHOW FUNCTION STATUS LIKE 'f1000';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1()
-BEGIN
-SELECT * from t8;
-END//
-show CREATE FUNCTION sp1;
-ERROR 42000: FUNCTION sp1 does not exist
-DROP PROCEDURE sp1;
-
-Testcase 4.8.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-show function status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-DROP PROCEDURE sp6;
-
-Testcase 4.8.16:
---------------------------------------------------------------------------------
-
-Testcase 4.8.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 sql security invoker;
-alter procedure sp6 comment 'this is a new comment';
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created INVOKER this is a new comment latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.18:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-alter function fn1 sql security invoker;
-show create function fn1;
-Function sql_mode Create Function character_set_client collation_connection Database Collation
-fn1 CREATE DEFINER=`root`@`localhost` FUNCTION `fn1`(x int) RETURNS int(11)
- SQL SECURITY INVOKER
-BEGIN
-return x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.19:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-alter function fn1 sql security invoker;
-alter function fn1 comment 'this is a function 3242#@%$#@';
-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 a function 3242#@%$#@ latin1 latin1_swedish_ci latin1_swedish_ci
-DROP FUNCTION fn1;
-
-Testcase 4.8.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int , i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-alter procedure sp6 comment 'this is simple';
-show CREATE PROCEDURE sp6;
-Procedure sql_mode Create Procedure character_set_client collation_connection Database Collation
-sp6 CREATE DEFINER=`root`@`localhost` PROCEDURE `sp6`(i1 int , i2 int)
- COMMENT 'this is simple'
-BEGIN
-set @x=i1;
-set @y=@x;
-END latin1 latin1_swedish_ci latin1_swedish_ci
-DROP PROCEDURE sp6;
-
-Testcase 4.8.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 int, i2 int)
-BEGIN
-set @x=i1;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-show CREATE PROCEDURE sp6;
-ERROR 42000: PROCEDURE sp6 does not exist
-
-Testcase 4.8.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x=i3;
-set @y=@x;
-END//
-DROP PROCEDURE sp6;
-SHOW PROCEDURE status like 'sp6';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Testcase 4.8.23:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (x int) returns int
-BEGIN
-return x;
-END//
-DROP FUNCTION fn1;
-show CREATE FUNCTION fn1;
-ERROR 42000: FUNCTION fn1 does not exist
-
-Testcase 4.8.24:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-CREATE FUNCTION fn1 (i1 longtext) returns longtext
-BEGIN
-return i1;
-END//
-DROP FUNCTION fn1;
-SHOW FUNCTION STATUS LIKE 'fn1';
-Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-
-Section 3.1.9 - Routine body checks:
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.9.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-SELECT * from t9 limit 0, 100;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
--4991 a_aaaaaaaaa -4991
--4992 a^aaaaaaaa -4992
--4993 agaaaaaaa -4993
--4994 afaaaaaa -4994
--4995 aeaaaaa -4995
--4996 adaaaa -4996
--4997 acaaa -4997
--4998 abaa -4998
--4999 aaa -4999
--5000 a` -5000
-DROP PROCEDURE sp6;
-
-Testcase 4.9.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-delete from res_t9;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i3;
-set @a = i5;
-set @y = @x;
-set @b = @a;
-insert into res_t9 values (@y, @a, 111);
-SELECT * from res_t9;
-update res_t9 set f2 = 1000 where f2 = 50;
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-30 50 111
-f1 f2 f3
-30 1000 111
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Testcase 4.9.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-create table res_t9(f1 longtext, f2 longblob, f3 real);
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-DROP PROCEDURE sp6;
-drop table IF EXISTS res_t9;
-
-Testcase 4.9.6:
---------------------------------------------------------------------------------
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-SELECT * from t9 limit 0, 100;
-return i1;
-END//
-ERROR 0A000: Not allowed to return a result set from a function
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-delete from res_t9;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-Warnings:
-Note 1051 Unknown table 'res_t9'
-create table res_t9 (f1 int, f2 char(25), f3 int);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-insert into res_t9 values (100, 'abc', 300);
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 int, f2 char(25), f3 int);
-insert into res_t9 values (10, 'abc', 20);
-CREATE FUNCTION fn1(i1 longtext) returns longtext
-BEGIN
-update res_t9 set f1 = 20;
-drop table res_t9;
-return i1;
-END//
-ERROR HY000: Explicit or implicit commit is not allowed in stored function or trigger.
-drop table res_t9;
-DROP FUNCTION IF EXISTS fn1;
-Warnings:
-Note 1305 FUNCTION fn1 does not exist
-
-Testcase 4.9.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS sp6;
-drop table IF EXISTS res_t9;
-create table res_t9 (f1 longtext, f2 longblob, f3 real);
-CREATE PROCEDURE sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
-BEGIN
-set @x = i1;
-set @y = i3;
-set @z = i5;
-set @a = @x;
-set @b = @y;
-set @c = @z;
-insert into res_t9 values (@a, @b, @c);
-SELECT * from res_t9;
-create index index_1 on res_t9 (f1 (5));
-show index from res_t9;
-END//
-CALL sp6 (10, 20, 30, 40, 50);
-f1 f2 f3
-10 30 50
-Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Null Index_type Comment
-res_t9 1 index_1 1 f1 A NULL 5 NULL YES BTREE
-DROP PROCEDURE sp6;
-drop table res_t9;
-
-Section 3.1._ - :
---------------------------------------------------------------------------------
-USE db_storedproc;
-
-Testcase 4.11.1:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.2:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1305 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.3:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1318 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.4:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for 1305 set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.5:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.6:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for 1318 set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.7:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.8:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.9:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @xx=1;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.10:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare exit handler for sqlstate '42000' set @x2 = 1;
-set @x=1;
-set @x2=0;
-CALL sp1 (1);
-set @x=0;
-END//
-CALL h1 ();
-SELECT @x, @x2;
-@x @x2
-1 1
-DROP PROCEDURE h1;
-
-Testcase 4.11.11:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.12:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1 (x int, y int)
-BEGIN
-set @y=x;
-END//
-CREATE PROCEDURE h1 ()
-BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set @x=0;
-CALL sp1 (1);
-set @x=1;
-SELECT @x, @x2;
-END//
-CALL h1 ();
-@x @x2
-1 1
-DROP PROCEDURE h1;
-DROP PROCEDURE sp1;
-
-Testcase 4.11.13:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.14:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-fetch cur1 into a, b;
-SELECT done;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.15:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.16:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '02000' set done = 1;
-open cur1;
-repeat
-SELECT done;
-set @x=0;
-fetch cur1 into a, b;
-SELECT @x=1;
-if not done then
-insert into res_t2 values (a, b);
-END if;
-until done END repeat;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-@x=1
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.17:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.18:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-fetch cur1 into a;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.19:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate 'HY000' set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.20:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1328 set done = 1;
-open cur1;
-SELECT done;
-set @x=0;
-fetch cur1 into a;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.21:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-done
-1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.22:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1325 set done = 1;
-open cur1;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.23:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1325 set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.24:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-open cur1;
-set @x=0;
-SELECT done;
-open cur1;
-set @x=1;
-SELECT done, @x;
-close cur1;
-END//
-CALL h1();
-done
-0
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.25:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.26:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.27:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1326 set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.28:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '24000' set done = 1;
-set @x=0;
-fetch cur1 into a, b;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.29:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.30:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare continue handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.31:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for 1339 set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-
-Testcase 4.11.32:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-drop table IF EXISTS res_t2;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-create table res_t2(y char, z char);
-CREATE PROCEDURE h1()
-BEGIN
-declare done int default 0;
-declare a, b char;
-declare cur1 cursor for SELECT w, x from res_t1;
-declare exit handler for sqlstate '20000' set done = 1;
-set @x=0;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-CALL h1();
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-DROP TABLE IF EXISTS res_t2;
-
-Testcase 4.11.33:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char, x char);
-insert into res_t1 values('a', 'b');
-insert into res_t1 values('c', 'd');
-CREATE PROCEDURE h1()
-BEGIN
-declare condname condition for sqlstate '20000';
-declare done int default 0;
-declare a, b char;
-declare condname condition for sqlstate '20000';
-declare cur1 cursor for SELECT w, x from t1;
-set @x=2;
-case @x
-when 1 then set @x=10;
-when 2 then set @x=11;
-END case;
-set @x=1;
-SELECT done, @x;
-END//
-ERROR 42000: Duplicate condition: condname
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.35:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-CREATE TABLE res_t1(w INT UNIQUE, x CHAR);
-insert into res_t1 values (1, 'a');
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-declare exit handler for sqlstate '020' set @var1 = 1;
-declare exit handler for sqlstate 'wewe'set @var1 = 1;
-declare exit handler for 9999 set @var1 = 1;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-CREATE PROCEDURE h1 ()
-begin1_label:BEGIN
-declare condname1 condition for sqlstate '020';
-declare condname2 condition for sqlstate 'wewe';
-declare condname3 condition for 9999;
-set @var2 = 1;
-insert into res_t1 values (2, 'b');
-begin2_label: BEGIN
-declare continue handler for sqlstate '90000023' set @var3= 1;
-set @var4 = 1;
-insert into res_t1 values (3, 'c');
-END begin2_label;
-END begin1_label//
-ERROR 42000: Bad SQLSTATE: '020'
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.36:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for condname1 set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-DROP PROCEDURE IF EXISTS h1;
-
-Testcase 4.11.40:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char unique, x char);
-insert into res_t1 values ('a', 'b');
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1, x2, x3, x4, x5 int default 0;
-declare condname1 condition for sqlstate '42000';
-declare condname2 condition for sqlstate '42000';
-declare continue handler for condname1 set x1 = 1;
-declare continue handler for condname1 set x2 = 1;
-declare exit handler for condname1 set x3 = 1;
-declare continue handler for condname2 set x4 = 1;
-declare exit handler for condname2 set x5 = 1;
-END//
-ERROR 42000: Duplicate handler declared in the same block
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
-Testcase 4.11.41:
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-CREATE PROCEDURE h1 ()
-BEGIN
-declare x1 int default 0;
-BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for sqlstate '00000' set @x = 1;
-set x1 = 1;
-set x1 = 2;
-END;
-SELECT @x, x1;
-END//
-ERROR 42000: Bad SQLSTATE: '00000'
-CALL h1();
-ERROR 42000: PROCEDURE db_storedproc.h1 does not exist
-DROP PROCEDURE IF EXISTS h1;
-
-* Testcase 3.1.2.53 (4.11.42):
-* Ensure that a handler condition of sqlwarning takes the same action as a
-* handler condition defined with an sqlstate that begins with 01.
---------------------------------------------------------------------------------
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=1;
-insert into res_t1 values('xxx', 'yy');
-set @x=0;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 1
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-CREATE PROCEDURE h1()
-BEGIN
-DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=0;
-insert into res_t1 values('xxx', 'yy');
-set @x=1;
-END//
-CALL h1();
-ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
-SELECT @done, @x;
-@done @x
-0 0
-CREATE TABLE res_t1(w CHAR, x CHAR);
-INSERT INTO res_t1 VALUES('a', 'b');
-INSERT INTO res_t1 VALUES('c', 'd');
-CALL h1();
-SELECT @done, @x;
-@done @x
-1 1
-DROP PROCEDURE IF EXISTS h1;
-DROP TABLE IF EXISTS res_t1;
-
---source suite/funcs_1/storedproc/cleanup_sp_tb.inc
---------------------------------------------------------------------------------
-DROP DATABASE IF EXISTS db_storedproc;
-DROP DATABASE IF EXISTS db_storedproc_1;
-
-. +++ END OF SCRIPT +++
---------------------------------------------------------------------------------
diff --git a/mysql-test/suite/funcs_1/r/innodb_storedproc.result b/mysql-test/suite/funcs_1/r/storedproc.result
index 04c1a45e67e..38fa933e13f 100644
--- a/mysql-test/suite/funcs_1/r/innodb_storedproc.result
+++ b/mysql-test/suite/funcs_1/r/storedproc.result
@@ -83,20 +83,22 @@ 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;
+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;
+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;
+CREATE PROCEDURE sp1( f1 BINARY )
+LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+SET @v1 = f1;
SELECT @v1;
END//
CALL sp1( 34 );
@@ -104,1081 +106,2519 @@ CALL sp1( 34 );
3
Warnings:
Warning 1265 Data truncated for column 'f1' at row 1
-SHOW PROCEDURE status;
+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
+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
+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;
+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
+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'
+CREATE PROCEDURE sp1( f1 INT )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
-set @v1 = f1;
+SET @v1 = f1;
SELECT @v1;
END//
CALL sp1( 34 );
@v1
34
-SHOW PROCEDURE status;
+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
+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'
+CREATE PROCEDURE sp1( f1 DECIMAL(256, 30) )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
-set @v1 = f1;
+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 sp1 does not exist
-CREATE PROCEDURE sp1( f1 decimal(66, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
+CREATE PROCEDURE sp1( f1 DECIMAL(66, 30) )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
-set @v1 = f1;
+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 sp1 does not exist
-CREATE PROCEDURE sp1( f1 decimal(60, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
+DROP TABLE IF EXISTS t1_aux;
+DROP PROCEDURE IF EXISTS sproc_1;
+DROP FUNCTION IF EXISTS func_1;
+CREATE TABLE t1_aux ( f1 DECIMAL(65, 30) );
+INSERT INTO t1_aux SET f1 = NULL;
+CREATE PROCEDURE sproc_1(f1 DECIMAL(65, 30), OUT f2 DECIMAL(65, 30))
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
-set @v1 = f1;
-SELECT @v1;
+SET f2 = NULL;
+SET f2 = f1;
+SET @v2_proc = f1;
END//
-CALL sp1( 17976931340000 );
-@v1
-17976931340000.000000000000000000000000000000
-CALL sp1( 1.797693134e+13 );
-@v1
-17976931340000.000000000000000000000000000000
-CALL sp1( 1.7976931348623157493578e+308 );
+CREATE FUNCTION func_1(f1 DECIMAL(65, 30)) RETURNS DECIMAL(65,30)
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+RETURN f1;
+END//
+SHOW PROCEDURE STATUS;
+Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
+db_storedproc sproc_1 PROCEDURE root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
+SHOW FUNCTION STATUS;
+Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
+db_storedproc func_1 FUNCTION root@localhost <modified> <created> INVOKER this is simple latin1 latin1_swedish_ci latin1_swedish_ci
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 1.7976931348623157493578e+308;
ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
-CALL sp1( 0.1234567890987654321e+100 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(1.7976931348623157493578e+308, @v1_proc);
+ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
+SET @v1_func = func_1(1.7976931348623157493578e+308);
+ERROR 22007: Illegal double '1.7976931348623157493578e+308' value found during parsing
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+100;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-100 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+100, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+99 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+100);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-99 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+99;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+98 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+99, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-98 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+99);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+97 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+98;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-97 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+98, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+96 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+98);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-96 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+97;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+95 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+97, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-95 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+97);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+94 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+96;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-94 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+96, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+93 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+96);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-93 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+95;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+92 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+95, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-92 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+95);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+91 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+94;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-91 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+94, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+90 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+94);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-90 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+93;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+89 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+93, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-89 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+93);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+88 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+92;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-88 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+92, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+87 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+92);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-87 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+91;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+86 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+91, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-86 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+91);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+85 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+90;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-85 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+90, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+84 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+90);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-84 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+89;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+83 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+89, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-83 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+89);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+82 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+88;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-82 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+88, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+81 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+88);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-81 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+87;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+80 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+87, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-80 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+87);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+79 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+86;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-79 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+86, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+78 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+86);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-78 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+85;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+77 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+85, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-77 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+85);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+76 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+84;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-76 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+84, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+75 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+84);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-75 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+83;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+74 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+83, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-74 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+83);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+73 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+82;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-73 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+82, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+72 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+82);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-72 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+81;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+71 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+81, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-71 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+81);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+70 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+80;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-70 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+80, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+69 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+80);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-69 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+79;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+68 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+79, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-68 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+79);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+67 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+78;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-67 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+78, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+66 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+78);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-66 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+77;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+65 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+77, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-65 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+77);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+64 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+76;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-64 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+76, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+63 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+76);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-63 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+75;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+62 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+75, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-62 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+75);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+61 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+74;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-61 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+74, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+60 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+74);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-60 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+73;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+59 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+73, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-59 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+73);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+58 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+72;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-58 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+72, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+57 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+72);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-57 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+71;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+56 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+71, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-56 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+71);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+55 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+70;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-55 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+70, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+54 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+70);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-54 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+69;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+53 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+69, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-53 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+69);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+52 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+68;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-52 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+68, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+51 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+68);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-51 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+67;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+50 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+67, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-50 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+67);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+49 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+66;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-49 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+66, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+48 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+66);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-48 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+65;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+47 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+65, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-47 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+65);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+46 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+64;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-46 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+64, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+45 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+64);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-45 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+63;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+44 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+63, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-44 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+63);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+43 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+62;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-43 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+62, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+42 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+62);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-42 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+61;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+41 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+61, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-41 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+61);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+40 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+60;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-40 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+60, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+39 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+60);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-39 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+59;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+38 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+59, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-38 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+59);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+37 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+58;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-37 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+58, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+36 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+58);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-36 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+57;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+35 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+57, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-35 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+57);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+34 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+56;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-34 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+56, @v1_proc);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+33 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+56);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-33 );
-@v1
-0.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+55;
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+32 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+55, @v1_proc);
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-32 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+55);
Warnings:
-Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+31 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+54;
Warnings:
Warning 1264 Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-31 );
-@v1
-0.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+54, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+54);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+53;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+53, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+53);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+52;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+52, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+52);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+51;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+51, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+51);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+50;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+50, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+50);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+49;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+49, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+49);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+48;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+48, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+48);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+47;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+47, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+47);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+46;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+46, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+46);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+45;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+45, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+45);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+44;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+44, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+44);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+43;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+43, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+43);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+42;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+42, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+42);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+41;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+41, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+41);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+40;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+40, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+40);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+39;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+39, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+39);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+38;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+38, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+38);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+37;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+37, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+37);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+36;
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+36, @v1_proc);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+36);
+Warnings:
+Warning 1264 Out of range value for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+35;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+30 );
-@v1
-123456789098765400000000000000.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+35, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-30 );
-@v1
-0.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+35);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+29 );
-@v1
-12345678909876540000000000000.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+34;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-29 );
-@v1
-0.000000000000000000000000000001
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+34, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+28 );
-@v1
-1234567890987654000000000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+34);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-28 );
-@v1
-0.000000000000000000000000000012
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+33;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+27 );
-@v1
-123456789098765400000000000.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+33, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-27 );
-@v1
-0.000000000000000000000000000123
+SET @v1_func = func_1(0.1234567890987654321e+33);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+26 );
-@v1
-12345678909876540000000000.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+32;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-26 );
-@v1
-0.000000000000000000000000001235
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+32, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+25 );
-@v1
-1234567890987654000000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+32);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-25 );
-@v1
-0.000000000000000000000000012346
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+31;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+24 );
-@v1
-123456789098765400000000.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+31, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-24 );
-@v1
-0.000000000000000000000000123457
+SET @v1_func = func_1(0.1234567890987654321e+31);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+23 );
-@v1
-12345678909876540000000.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+30;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-23 );
-@v1
-0.000000000000000000000001234568
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+30, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+22 );
-@v1
-1234567890987654000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+30);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-22 );
-@v1
-0.000000000000000000000012345679
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+29;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+21 );
-@v1
-123456789098765400000.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+29, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-21 );
-@v1
-0.000000000000000000000123456789
+SET @v1_func = func_1(0.1234567890987654321e+29);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+20 );
-@v1
-12345678909876540000.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+28;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-20 );
-@v1
-0.000000000000000000001234567891
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+28, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+19 );
-@v1
-1234567890987654000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+28);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-19 );
-@v1
-0.000000000000000000012345678910
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+27;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+18 );
-@v1
-123456789098765400.000000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+27, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-18 );
-@v1
-0.000000000000000000123456789099
+SET @v1_func = func_1(0.1234567890987654321e+27);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+17 );
-@v1
-12345678909876540.000000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+26;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-17 );
-@v1
-0.000000000000000001234567890988
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+26, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+16 );
-@v1
-1234567890987654.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+26);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-16 );
-@v1
-0.000000000000000012345678909877
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+25;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+15 );
-@v1
-123456789098765.400000000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+25, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-15 );
-@v1
-0.000000000000000123456789098765
+SET @v1_func = func_1(0.1234567890987654321e+25);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+14 );
-@v1
-12345678909876.540000000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+24;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-14 );
-@v1
-0.000000000000001234567890987654
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+24, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+13 );
-@v1
-1234567890987.654000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+24);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-13 );
-@v1
-0.000000000000012345678909876540
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+23;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+12 );
-@v1
-123456789098.765400000000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+23, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-12 );
-@v1
-0.000000000000123456789098765400
+SET @v1_func = func_1(0.1234567890987654321e+23);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+11 );
-@v1
-12345678909.876540000000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+22;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-11 );
-@v1
-0.000000000001234567890987654000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+22, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+10 );
-@v1
-1234567890.987654000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+22);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-10 );
-@v1
-0.000000000012345678909876540000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+21;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+9 );
-@v1
-123456789.098765400000000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+21, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-9 );
-@v1
-0.000000000123456789098765400000
+SET @v1_func = func_1(0.1234567890987654321e+21);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+8 );
-@v1
-12345678.909876540000000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+20;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-8 );
-@v1
-0.000000001234567890987654000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+20, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+7 );
-@v1
-1234567.890987654000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+20);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-7 );
-@v1
-0.000000012345678909876540000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+19;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+6 );
-@v1
-123456.789098765400000000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+19, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-6 );
-@v1
-0.000000123456789098765400000000
+SET @v1_func = func_1(0.1234567890987654321e+19);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+5 );
-@v1
-12345.678909876540000000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+18;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-5 );
-@v1
-0.000001234567890987654000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+18, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+4 );
-@v1
-1234.567890987654000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+18);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-4 );
-@v1
-0.000012345678909876550000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+17;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+3 );
-@v1
-123.456789098765400000000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+17, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-3 );
-@v1
-0.000123456789098765400000000000
+SET @v1_func = func_1(0.1234567890987654321e+17);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+2 );
-@v1
-12.345678909876540000000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+16;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-2 );
-@v1
-0.001234567890987654000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+16, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+1 );
-@v1
-1.234567890987654000000000000000
+SET @v1_func = func_1(0.1234567890987654321e+16);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-1 );
-@v1
-0.012345678909876540000000000000
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+15;
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+0 );
-@v1
-0.123456789098765400000000000000
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+15, @v1_proc);
Warnings:
Note 1265 Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-0 );
-@v1
-0.123456789098765400000000000000
+SET @v1_func = func_1(0.1234567890987654321e+15);
Warnings:
Note 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
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+14;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+14, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+14);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+13;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+13, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+13);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+12;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+12, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+12);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+11;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+11, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+11);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+10;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+10, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+10);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+9;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+9, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+9);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+8;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+8, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+8);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+7;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+7, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+7);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+6;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+6, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+6);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+5;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+5, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+5);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+4;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+4, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+4);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+3;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+3, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+3);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+2;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+2, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+2);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+1;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+1, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+1);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e+0;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e+0, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e+0);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-100;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-100, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-100);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-99;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-99, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-99);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-98;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-98, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-98);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-97;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-97, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-97);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-96;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-96, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-96);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-95;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-95, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-95);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-94;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-94, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-94);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-93;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-93, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-93);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-92;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-92, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-92);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-91;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-91, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-91);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-90;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-90, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-90);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-89;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-89, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-89);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-88;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-88, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-88);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-87;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-87, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-87);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-86;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-86, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-86);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-85;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-85, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-85);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-84;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-84, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-84);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-83;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-83, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-83);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-82;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-82, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-82);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-81;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-81, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-81);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-80;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-80, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-80);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-79;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-79, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-79);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-78;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-78, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-78);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-77;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-77, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-77);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-76;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-76, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-76);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-75;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-75, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-75);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-74;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-74, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-74);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-73;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-73, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-73);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-72;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-72, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-72);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-71;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-71, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-71);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-70;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-70, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-70);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-69;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-69, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-69);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-68;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-68, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-68);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-67;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-67, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-67);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-66;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-66, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-66);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-65;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-65, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-65);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-64;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-64, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-64);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-63;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-63, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-63);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-62;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-62, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-62);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-61;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-61, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-61);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-60;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-60, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-60);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-59;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-59, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-59);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-58;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-58, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-58);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-57;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-57, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-57);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-56;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-56, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-56);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-55;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-55, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-55);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-54;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-54, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-54);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-53;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-53, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-53);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-52;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-52, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-52);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-51;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-51, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-51);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-50;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-50, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-50);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-49;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-49, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-49);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-48;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-48, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-48);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-47;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-47, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-47);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-46;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-46, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-46);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-45;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-45, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-45);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-44;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-44, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-44);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-43;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-43, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-43);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-42;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-42, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-42);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-41;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-41, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-41);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-40;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-40, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-40);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-39;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-39, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-39);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-38;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-38, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-38);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-37;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-37, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-37);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-36;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-36, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-36);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-35;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-35, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-35);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-34;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-34, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-34);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-33;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-33, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-33);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-32;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-32, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-32);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-31;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-31, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-31);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-30;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-30, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-30);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-29;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-29, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-29);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-28;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-28, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-28);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-27;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-27, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-27);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-26;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-26, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-26);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-25;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-25, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-25);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-24;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-24, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-24);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-23;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-23, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-23);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-22;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-22, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-22);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-21;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-21, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-21);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-20;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-20, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-20);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-19;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-19, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-19);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-18;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-18, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-18);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-17;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-17, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-17);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-16;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-16, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-16);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-15;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-15, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-15);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-14;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-14, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-14);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-13;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-13, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-13);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-12;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-12, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-12);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-11;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-11, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-11);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-10;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-10, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-10);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-9;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-9, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-9);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-8;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-8, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-8);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-7;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-7, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-7);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-6;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-6, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-6);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-5;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-5, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-5);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-4;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-4, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-4);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-3;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-3, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-3);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-2;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-2, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-2);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-1;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-1, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-1);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+UPDATE t1_aux SET f1 = NULL;
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+UPDATE t1_aux SET f1 = 0.1234567890987654321e-0;
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-0, @v1_proc);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+SET @v1_func = func_1(0.1234567890987654321e-0);
+Warnings:
+Note 1265 Data truncated for column 'f1' at row 1
+DROP PROCEDURE sproc_1;
+DROP FUNCTION func_1;
+DROP TABLE t1_aux;
DROP PROCEDURE IF EXISTS sp1;
-CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
+CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
SELECT f1;
END//
Warnings:
@@ -1188,12 +2628,13 @@ f1
value1
Warnings:
Note 1291 Column '' has duplicated value 'value1' in ENUM
-SHOW PROCEDURE status;
+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
+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
+CREATE PROCEDURE sp1( f1 SET("value1", "value1") )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
SELECT f1;
END//
Warnings:
@@ -1204,12 +2645,13 @@ value1
Warnings:
Note 1291 Column '' has duplicated value 'value1' in SET
Warning 1265 Data truncated for column 'f1' at row 1
-SHOW PROCEDURE status;
+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
+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
+CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
+LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
SELECT f1;
END//
Warnings:
@@ -1219,57 +2661,57 @@ f1
value1
Warnings:
Note 1291 Column '' has duplicated value 'value1' in ENUM
-SHOW PROCEDURE status;
+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
+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;
+CREATE PROCEDURE sp1( f1 TEXT ) LANGUAGE SQL SELECT f1;
CALL sp1( 'abc' );
f1
abc
-SHOW PROCEDURE status like 'sp1';
+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
+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';
+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
+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;
+CREATE PROCEDURE sp1( f1 TEXT ) NOT DETERMINISTIC SELECT f1;
CALL sp1( 'abc' );
f1
abc
-SHOW PROCEDURE status like 'sp1';
+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
+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;
+CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY DEFINER SELECT f1;
CALL sp1( 'abc' );
f1
abc
-SHOW PROCEDURE status like 'sp1';
+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
+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;
+CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY INVOKER SELECT f1;
CALL sp1( 'abc' );
f1
abc
-SHOW PROCEDURE status like 'sp1';
+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
+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;
+CREATE PROCEDURE sp1( f1 TEXT ) COMMENT 'this is simple' SELECT f1;
CALL sp1( 'abc' );
f1
abc
-SHOW PROCEDURE status like 'sp1';
+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
+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;
@@ -1282,60 +2724,65 @@ 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, '!');
+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;
+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
+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'
+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;
+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
+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'
+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;
+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'
+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;
+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
+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;
+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
@@ -1344,11 +2791,12 @@ 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
+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;
+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
@@ -1357,82 +2805,79 @@ 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
+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
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT LANGUAGE SQL
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT DETERMINISTIC
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT NOT DETERMINISTIC
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY DEFINER
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY INVOKER
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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'
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT COMMENT 'this is simple'
BEGIN
-set f1 = 1 + f1;
-return f1;
+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
+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:
@@ -1446,7 +2891,7 @@ 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
+SELECT * from t1 where f2 = f1 latin1 <modified> <created>
DROP PROCEDURE sp1;
Testcase 4.1.4:
@@ -1459,7 +2904,7 @@ 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
+return concat('hello, ', s, '!') latin1 <modified> <created>
DROP FUNCTION fn1;
Testcase 4.1.5:
@@ -1470,7 +2915,7 @@ 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
+db_storedproc sp5 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
DROP PROCEDURE sp5;
Testcase 4.1.6:
@@ -1484,7 +2929,7 @@ 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
+db_storedproc fn5 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
DROP FUNCTION fn5;
Testcase 4.1.7:
@@ -1620,7 +3065,7 @@ 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;
+alter procedure sp11 sql security DEFINER;
SELECT security_type from mysql.proc where specific_name='sp11';
security_type
DEFINER
@@ -1648,7 +3093,7 @@ INVOKER
SELECT fn12();
fn12()
100
-alter function fn12 sql security definer;
+alter function fn12 sql security DEFINER;
SELECT security_type from mysql.proc where specific_name='fn12';
security_type
DEFINER
@@ -3291,14 +4736,14 @@ SELECT db_storedproc.sp1();
db_storedproc.sp1()
2
USE db_storedproc;
-alter procedure sp1 sql security definer;
+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;
+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
@@ -3323,8 +4768,8 @@ database.
DROP DATABASE IF EXISTS db_storedproc_3122;
CREATE DATABASE db_storedproc_3122;
USE db_storedproc;
-set @x=null;
-set @y=null;
+SET @x = NULL;
+SET @y = NULL;
DROP PROCEDURE IF EXISTS sp1;
Warnings:
Note 1305 PROCEDURE sp1 does not exist
@@ -3339,10 +4784,10 @@ Warnings:
Note 1305 FUNCTION sp1 does not exist
CREATE PROCEDURE sp1()
BEGIN
-set @x= 1;
+SET @x = 1;
SELECT @x;
END//
-CREATE FUNCTION db_storedproc_3122.sp1() returns double return 2.2;
+CREATE FUNCTION db_storedproc_3122.sp1() RETURNS DOUBLE RETURN 2.2;
CALL sp1();
@x
1
@@ -3352,19 +4797,19 @@ db_storedproc_3122.sp1()
USE db_storedproc_3122;
CREATE PROCEDURE sp1 ()
BEGIN
-set @x= 3;
+SET @x = 3;
SELECT @x;
END//
-CREATE FUNCTION db_storedproc.sp1() returns double return 4.4;
+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';
+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
@@ -3407,18 +4852,18 @@ 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;
+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
+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
+return 4 latin1 <modified> <created>
USE db_storedproc;
DROP DATABASE db_storedproc_3122;
DROP FUNCTION db_storedproc.sp1;
@@ -13559,21 +15004,22 @@ DROP PROCEDURE sp1;
Testcase 4.2.28:
--------------------------------------------------------------------------------
-set @x=0;
-set @y=0;
+SET @x = 0;
+SET @y = 0;
DROP PROCEDURE IF EXISTS sp1;
Warnings:
Note 1305 PROCEDURE sp1 does not exist
+SET @start_global_value = @@GLOBAL.sort_buffer_size;
CREATE PROCEDURE sp1()
BEGIN
-declare continue handler for sqlstate '42000' set @x2 = 1;
-set session sort_buffer_size = 10 * 1024 * 1024;
+DECLARE CONTINUE HANDLER FOR SQLSTATE '42000' SET @x2 = 1;
+SET SESSION SORT_BUFFER_SIZE = 10 * 1024 * 1024;
SELECT @@sort_buffer_size;
-set @x = 4;
-set @y = 3;
-set global sort_buffer_size = 2 * 1024 * 1024;
+SET @x = 4;
+SET @y = 3;
+SET GLOBAL SORT_BUFFER_SIZE = 2 * 1024 * 1024;
SELECT @@sort_buffer_size;
-set @@sort_buffer_size = 10 * 1024 * 1024;
+SET @@sort_buffer_size = 10 * 1024 * 1024;
SELECT @@sort_buffer_size;
END//
CALL sp1();
@@ -13586,6 +15032,7 @@ CALL sp1();
SELECT @x, @y;
@x @y
4 3
+SET @@GLOBAL.sort_buffer_size = @start_global_value;
Testcase 4.2.29:
--------------------------------------------------------------------------------
@@ -16019,10 +17466,10 @@ DROP DATABASE IF EXISTS d2;
CREATE DATABASE d1;
CREATE DATABASE d2;
USE d1;
-CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
+CREATE PROCEDURE sp8 ( n char(20) ) sql security DEFINER comment 'initial'
SELECT * from t1 where t1.f1 = n;
USE d2;
-alter procedure d1.sp8 sql security definer comment 'updated';
+alter procedure d1.sp8 sql security DEFINER comment 'updated';
SELECT * from mysql.proc where specific_name='sp8' and db='d1';
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
d1 sp8 PROCEDURE sp8 SQL CONTAINS_SQL NO DEFINER n char(20) SELECT * from t1 where t1.f1 = n root@localhost modified created updated latin1 latin1_swedish_ci latin1_swedish_ci SELECT * from t1 where t1.f1 = n
@@ -16039,7 +17486,7 @@ set a = 0.9 * n;
return a;
END//
USE d2;
-alter function d1.fn2 sql security definer comment 'updated';
+alter function d1.fn2 sql security DEFINER comment 'updated';
SELECT * from mysql.proc where specific_name='fn2' and db='d1';
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
d1 fn2 FUNCTION fn2 SQL CONTAINS_SQL NO DEFINER n int int(11) BEGIN
@@ -22094,13 +23541,13 @@ set @y=@x;
END latin1 latin1_swedish_ci latin1_swedish_ci
SHOW PROCEDURE status like 'sp6a';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6a PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6a PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
SHOW PROCEDURE status like 'sp6b';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6b PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6b PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
SHOW PROCEDURE status like 'sp6c';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6c PROCEDURE root@localhost modified created DEFINER this is a comment latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6c PROCEDURE root@localhost <modified> <created> DEFINER this is a comment latin1 latin1_swedish_ci latin1_swedish_ci
DROP PROCEDURE sp6a;
DROP PROCEDURE sp6b;
DROP PROCEDURE sp6c;
@@ -22115,7 +23562,7 @@ set @y=@x;
END//
SHOW PROCEDURE status like 'sp6';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6 PROCEDURE root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
DROP PROCEDURE sp6;
Testcase 4.8.3:
@@ -22141,7 +23588,7 @@ return 0;
END//
show function status like 'sp6';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 FUNCTION root@localhost modified created DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
DROP FUNCTION sp6;
Testcase 4.8.5:
@@ -22190,7 +23637,7 @@ return i1;
END//
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
+db_storedproc fn1 FUNCTION root@localhost <modified> <created> DEFINER latin1 latin1_swedish_ci latin1_swedish_ci
DROP FUNCTION fn1;
Testcase 4.8.11:
@@ -22259,7 +23706,7 @@ alter procedure sp6 sql security invoker;
alter procedure sp6 comment 'this is a new comment';
SHOW PROCEDURE status like 'sp6';
Db Name Type Definer Modified Created Security_type Comment character_set_client collation_connection Database Collation
-db_storedproc sp6 PROCEDURE root@localhost modified created INVOKER this is a new comment latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc sp6 PROCEDURE root@localhost <modified> <created> INVOKER this is a new comment latin1 latin1_swedish_ci latin1_swedish_ci
DROP PROCEDURE sp6;
Testcase 4.8.18:
@@ -22290,7 +23737,7 @@ alter function fn1 sql security invoker;
alter function fn1 comment 'this is a function 3242#@%$#@';
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 a function 3242#@%$#@ latin1 latin1_swedish_ci latin1_swedish_ci
+db_storedproc fn1 FUNCTION root@localhost <modified> <created> INVOKER this is a function 3242#@%$#@ latin1 latin1_swedish_ci latin1_swedish_ci
DROP FUNCTION fn1;
Testcase 4.8.20:
@@ -23510,19 +24957,19 @@ DROP PROCEDURE IF EXISTS h1;
Testcase 4.11.40:
--------------------------------------------------------------------------------
DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
-create table res_t1(w char unique, x char);
-insert into res_t1 values ('a', 'b');
+DROP TABLE IF EXISTS res_t1;
+CREATE TABLE res_t1(w CHAR UNIQUE, x CHAR);
+INSERT INTO res_t1 VALUES ('a', 'b');
CREATE PROCEDURE h1 ()
BEGIN
-declare x1, x2, x3, x4, x5 int default 0;
-declare condname1 condition for sqlstate '42000';
-declare condname2 condition for sqlstate '42000';
-declare continue handler for condname1 set x1 = 1;
-declare continue handler for condname1 set x2 = 1;
-declare exit handler for condname1 set x3 = 1;
-declare continue handler for condname2 set x4 = 1;
-declare exit handler for condname2 set x5 = 1;
+DECLARE x1, x2, x3, x4, x5 int default 0;
+DECLARE condname1 CONDITION FOR SQLSTATE '42000';
+DECLARE condname2 CONDITION FOR SQLSTATE '42000';
+DECLARE CONTINUE HANDLER FOR condname1 set x1 = 1;
+DECLARE CONTINUE HANDLER FOR condname1 set x2 = 1;
+DECLARE EXIT HANDLER FOR condname1 SET x3 = 1;
+DECLARE CONTINUE HANDLER FOR condname2 SET x4 = 1;
+DECLARE EXIT HANDLER FOR condname2 SET x5 = 1;
END//
ERROR 42000: Duplicate handler declared in the same block
DROP PROCEDURE IF EXISTS h1;
@@ -23533,12 +24980,12 @@ Testcase 4.11.41:
DROP PROCEDURE IF EXISTS h1;
CREATE PROCEDURE h1 ()
BEGIN
-declare x1 int default 0;
+DECLARE x1 INT DEFAULT 0;
BEGIN
-declare condname1 condition for sqlstate '00000';
-declare exit handler for sqlstate '00000' set @x = 1;
-set x1 = 1;
-set x1 = 2;
+DECLARE condname1 CONDITION FOR SQLSTATE '00000';
+DECLARE EXIT HANDLER FOR SQLSTATE '00000' SET @x = 1;
+SET x1 = 1;
+SET x1 = 2;
END;
SELECT @x, x1;
END//
@@ -23556,10 +25003,10 @@ DROP TABLE IF EXISTS res_t1;
CREATE PROCEDURE h1()
BEGIN
DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=1;
-insert into res_t1 values('xxx', 'yy');
-set @x=0;
+SET @done=0;
+SET @x=1;
+INSERT INTO res_t1 VALUES('xxx', 'yy');
+SET @x=0;
END//
CALL h1();
ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
@@ -23578,10 +25025,10 @@ DROP TABLE IF EXISTS res_t1;
CREATE PROCEDURE h1()
BEGIN
DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
-set @done=0;
-set @x=0;
-insert into res_t1 values('xxx', 'yy');
-set @x=1;
+SET @done=0;
+SET @x=0;
+INSERT INTO res_t1 VALUES('xxx', 'yy');
+SET @x=1;
END//
CALL h1();
ERROR 42S02: Table 'db_storedproc.res_t1' doesn't exist
diff --git a/mysql-test/suite/funcs_1/storedproc/param_check.inc b/mysql-test/suite/funcs_1/storedproc/param_check.inc
new file mode 100644
index 00000000000..f6c0b30ab8b
--- /dev/null
+++ b/mysql-test/suite/funcs_1/storedproc/param_check.inc
@@ -0,0 +1,33 @@
+# suite/funcs_1/storedproc/param_check.inc
+#
+# Auxiliary routine to be sourced by
+# suite/funcs_1/t/storedproc.test
+#
+# Purpose:
+# The assignment of float values to objects of type DECIMAL causes
+# conversions and in some cases an adjustment of the value to
+# a border of the value range.
+# Try to reveal that function and procedure parameters get a similar
+# mangling of the value like columns.
+#
+# Variables to be set before sourcing this routine
+# $test_value - value to be checked
+#
+# Created:
+# 2008-08-27 mleich
+#
+
+eval UPDATE t1_aux SET f1 = NULL;
+# Enforce that all user variables have the same data type and initial value.
+SELECT f1,f1,f1,f1 INTO @v1_tab,@v1_proc,@v2_proc,@v1_func FROM t1_aux;
+
+eval UPDATE t1_aux SET f1 = $test_value;
+SELECT f1 INTO @v1_tab FROM t1_aux;
+eval CALL sproc_1($test_value, @v1_proc);
+eval SET @v1_func = func_1($test_value);
+
+if (`SELECT @v1_tab <> @v1_proc OR @v1_tab <> @v2_proc OR @v1_tab <> @v1_func`)
+{
+ --echo Error: @v1_tab, @v1_proc, @v2_proc, @v1_func are not all equal
+ SELECT @v1_tab, @v1_proc, @v2_proc, @v1_func;
+}
diff --git a/mysql-test/suite/funcs_1/t/innodb_storedproc.test b/mysql-test/suite/funcs_1/t/innodb_storedproc.test
deleted file mode 100644
index 380fae64fb8..00000000000
--- a/mysql-test/suite/funcs_1/t/innodb_storedproc.test
+++ /dev/null
@@ -1,13 +0,0 @@
-#### suite/funcs_1/t/innodb_storedproc.test
-#
-
-# This test cannot be used for the embedded server because we check here
-# privileges.
---source include/not_embedded.inc
-
---source include/have_innodb.inc
-let $engine_type= innodb;
-
---source suite/funcs_1/storedproc/load_sp_tb.inc
-
---source suite/funcs_1/storedproc/storedproc_master.inc
diff --git a/mysql-test/suite/funcs_1/t/memory_storedproc.test b/mysql-test/suite/funcs_1/t/memory_storedproc.test
deleted file mode 100644
index 57f181dc00c..00000000000
--- a/mysql-test/suite/funcs_1/t/memory_storedproc.test
+++ /dev/null
@@ -1,13 +0,0 @@
-#### suite/funcs_1/t/memory_storedproc.test
-#
-
-# This test cannot be used for the embedded server because we check here
-# privileges.
---source include/not_embedded.inc
-
-SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
-let $engine_type= memory;
-
---source suite/funcs_1/storedproc/load_sp_tb.inc
-
---source suite/funcs_1/storedproc/storedproc_master.inc
diff --git a/mysql-test/suite/funcs_1/t/myisam_storedproc.test b/mysql-test/suite/funcs_1/t/myisam_storedproc.test
deleted file mode 100644
index 379aea11dd6..00000000000
--- a/mysql-test/suite/funcs_1/t/myisam_storedproc.test
+++ /dev/null
@@ -1,13 +0,0 @@
-#### suite/funcs_1/t/myisam_storedproc.test
-#
-
-# This test cannot be used for the embedded server because we check here
-# privileges.
---source include/not_embedded.inc
-
-SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
-let $engine_type= myisam;
-
---source suite/funcs_1/storedproc/load_sp_tb.inc
-
---source suite/funcs_1/storedproc/storedproc_master.inc
diff --git a/mysql-test/suite/funcs_1/t/ndb_storedproc.test b/mysql-test/suite/funcs_1/t/ndb_storedproc.test
deleted file mode 100644
index 3fbda118357..00000000000
--- a/mysql-test/suite/funcs_1/t/ndb_storedproc.test
+++ /dev/null
@@ -1,13 +0,0 @@
-#### suite/funcs_1/t/ndb_storedproc.test
-#
-
-# This test cannot be used for the embedded server because we check here
-# privileges.
---source include/not_embedded.inc
-
---source include/have_ndb.inc
-let $engine_type= ndb;
-
---source suite/funcs_1/storedproc/load_sp_tb.inc
-
---source suite/funcs_1/storedproc/storedproc_master.inc
diff --git a/mysql-test/suite/funcs_1/storedproc/storedproc_master.inc b/mysql-test/suite/funcs_1/t/storedproc.test
index b740cf38708..d7ef1f2712b 100644
--- a/mysql-test/suite/funcs_1/storedproc/storedproc_master.inc
+++ b/mysql-test/suite/funcs_1/t/storedproc.test
@@ -1,25 +1,44 @@
-#### suite/funcs_1/storedproc/storedproc_master.inc
-###########################################################################
-# WL4084: Review and fix all disabled test
-# enabled this test.
-# 2007-Oct-04 Hhunger
+# suite/funcs_1/t/storedproc.test
+#
+# Check general properties of stored procedures.
+#
+# Last Modification:
+# 2008-08-27 mleich - Fix Bug#37744 Expected result of "<engine>_storedproc"
+# test is inconsistent
+# - remove variation of storage engines
+# - restore global sort_buffer_size after some subtest
+#
############################################################################
---enable_query_log
+
+# This test cannot be used for the embedded server because we check here
+# privileges.
+--source include/not_embedded.inc
+
+# It is assumed that the storage engine used for some tables has no impact on
+# the outcome of this test. Therefor we use simply the fastest engine.
+let $engine_type= memory;
+
+--source suite/funcs_1/storedproc/load_sp_tb.inc
+
# ==============================================================================
-let $message= Section 3.1.1 - Syntax checks for the CREATE PROCEDURE, CREATE
+echo;
+echo
+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:;
---source include/show_msg80.inc
+echo --------------------------------------------------------------------------------;
# ------------------------------------------------------------------------------
-let $message= Testcase 4.1.1:
- ---------------
- Ensure that all clauses that should be supported are supported
- CREATE PROCEDURE;
---source include/show_msg80.inc
+echo;
+echo
+Testcase 4.1.1:
+---------------
+Ensure that all clauses that should be supported are supported
+CREATE PROCEDURE;
+echo --------------------------------------------------------------------------------;
USE db_storedproc;
@@ -41,69 +60,73 @@ DROP PROCEDURE IF EXISTS sp1_thisisaveryverylongname234872934_thisisaveryverylon
delimiter //;
--error ER_TOO_LONG_IDENT
-CREATE PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( f1 tinytext ) language sql deterministic sql security definer comment 'this is simple'
- BEGIN
- set @v1 = f1;
- SELECT @v1, @v1;
+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//
delimiter ;//
--error ER_TOO_LONG_IDENT
CALL sp1_thisisaveryverylongname234872934_thisisaveryverylongnameabcde( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 binary ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
- set @v1 = f1;
- SELECT @v1;
+CREATE PROCEDURE sp1( f1 BINARY )
+ LANGUAGE SQL DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ SET @v1 = f1;
+ SELECT @v1;
END//
delimiter ;//
CALL sp1( 34 );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 blob ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
- set @v1 = f1;
- SELECT @v1;
+CREATE PROCEDURE sp1( f1 BLOB )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ set @v1 = f1;
+ SELECT @v1;
END//
delimiter ;//
CALL sp1( 34 );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 int ) language sql not deterministic sql security invoker comment 'this is simple'
+CREATE PROCEDURE sp1( f1 INT )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
- set @v1 = f1;
- SELECT @v1;
+ SET @v1 = f1;
+ SELECT @v1;
END//
delimiter ;//
CALL sp1( 34 );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
@@ -111,108 +134,163 @@ DROP PROCEDURE IF EXISTS sp1;
delimiter //;
--error ER_TOO_BIG_PRECISION
-CREATE PROCEDURE sp1( f1 decimal(256, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
+CREATE PROCEDURE sp1( f1 DECIMAL(256, 30) )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
- set @v1 = f1;
- SELECT @v1;
+ SET @v1 = f1;
+ SELECT @v1;
END//
DROP PROCEDURE IF EXISTS sp1//
--error ER_TOO_BIG_PRECISION
-CREATE PROCEDURE sp1( f1 decimal(66, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
+CREATE PROCEDURE sp1( f1 DECIMAL(66, 30) )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
- set @v1 = f1;
- SELECT @v1;
+ SET @v1 = f1;
+ SELECT @v1;
END//
DROP PROCEDURE IF EXISTS sp1//
+delimiter ;//
+
-CREATE PROCEDURE sp1( f1 decimal(60, 30) ) language sql not deterministic sql security invoker comment 'this is simple'
+# Check assignment of float values to DECIMAL(65, 30) parameters of
+# PRODDUREs and FUNCTIONs.
+###########################################################################
+# - The assignment of float values causes that conversions with OS/compiler
+# specific math libraries are involved.
+# --> The content depends on the testing box and simple printing
+# of content will often lead to differences.
+# - We have the same conversions when assigning float values to columns
+# of tables.
+# --> Reveal that we have a consistent behaviour per testing box.
+#
+# Checks that floating point values assigned to objects of type DECIMAL
+# end up with correct DECIMAL values (truncated to a border of the DECIMAL
+# value range or reasonable nearby the floating point value) must be done
+# in other tests.
+###########################################################################
+--disable_warnings
+DROP TABLE IF EXISTS t1_aux;
+DROP PROCEDURE IF EXISTS sproc_1;
+DROP FUNCTION IF EXISTS func_1;
+--enable_warnings
+CREATE TABLE t1_aux ( f1 DECIMAL(65, 30) );
+INSERT INTO t1_aux SET f1 = NULL;
+delimiter //;
+CREATE PROCEDURE sproc_1(f1 DECIMAL(65, 30), OUT f2 DECIMAL(65, 30))
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ SET f2 = NULL;
+ SET f2 = f1;
+ SET @v2_proc = f1;
+END//
+CREATE FUNCTION func_1(f1 DECIMAL(65, 30)) RETURNS DECIMAL(65,30)
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
BEGIN
- set @v1 = f1;
- SELECT @v1;
+ RETURN f1;
END//
delimiter ;//
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
+--replace_column 5 <modified> 6 <created>
+SHOW FUNCTION STATUS;
-CALL sp1( 17976931340000 );
-
-# switched off due to big differences with (e.g....) sol10-sparc-b
-CALL sp1( 1.797693134e+13 );
---error ER_ILLEGAL_VALUE_FOR_TYPE
-CALL sp1( 1.7976931348623157493578e+308 );
-
-# check all ...E+100 to E-100
-let $digits= 100;
-while ($digits)
+let $test_value = 1.7976931348623157493578e+308;
+--source suite/funcs_1/storedproc/param_check.inc
+#
+# Check all ...E+nnn
+let digits= 100;
+let $run= 1;
+while ($run)
+{
+ let $test_value = 0.1234567890987654321e+$digits;
+ --source suite/funcs_1/storedproc/param_check.inc
+ let $run = `SELECT $digits > 0`;
+ if ($run)
+ {
+ dec $digits;
+ }
+}
+# Check all ...E-nnn
+let digits= 100;
+let $run= 1;
+while ($run)
{
- eval CALL sp1( 0.1234567890987654321e+$digits );
- eval CALL sp1( 0.1234567890987654321e-$digits );
- dec $digits;
+ let $test_value = 0.1234567890987654321e-$digits;
+ --source suite/funcs_1/storedproc/param_check.inc
+ let $run = `SELECT $digits > 0`;
+ if ($run)
+ {
+ dec $digits;
+ }
}
-# check the 2 values which cannot be handled easy in the loop:
-eval CALL sp1( 0.1234567890987654321e+0 );
-eval CALL sp1( 0.1234567890987654321e-0 );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+# Cleanup
+DROP PROCEDURE sproc_1;
+DROP FUNCTION func_1;
+DROP TABLE t1_aux;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
- SELECT f1;
+CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ SELECT f1;
END//
delimiter ;//
CALL sp1( "value1" );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 set("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
- SELECT f1;
+CREATE PROCEDURE sp1( f1 SET("value1", "value1") )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ SELECT f1;
END//
delimiter ;//
CALL sp1( "value1, value1" );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
delimiter //;
-CREATE PROCEDURE sp1( f1 enum("value1", "value1") ) language sql not deterministic sql security invoker comment 'this is simple'
- BEGIN
- SELECT f1;
+CREATE PROCEDURE sp1( f1 ENUM("value1", "value1") )
+ LANGUAGE SQL NOT DETERMINISTIC SQL SECURITY INVOKER COMMENT 'this is simple'
+BEGIN
+ SELECT f1;
END//
delimiter ;//
CALL sp1( "value1" );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status;
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS;
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
-CREATE PROCEDURE sp1( f1 text ) language sql SELECT f1;
+CREATE PROCEDURE sp1( f1 TEXT ) LANGUAGE SQL SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
@@ -221,48 +299,48 @@ DROP PROCEDURE IF EXISTS sp1;
CREATE PROCEDURE sp1( f1 text ) deterministic SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
-CREATE PROCEDURE sp1( f1 text ) not deterministic SELECT f1;
+CREATE PROCEDURE sp1( f1 TEXT ) NOT DETERMINISTIC SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
-CREATE PROCEDURE sp1( f1 text ) sql security definer SELECT f1;
+CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY DEFINER SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
-CREATE PROCEDURE sp1( f1 text ) sql security invoker SELECT f1;
+CREATE PROCEDURE sp1( f1 TEXT ) SQL SECURITY INVOKER SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
--disable_warnings
DROP PROCEDURE IF EXISTS sp1;
--enable_warnings
-CREATE PROCEDURE sp1( f1 text ) comment 'this is simple' SELECT f1;
+CREATE PROCEDURE sp1( f1 TEXT ) COMMENT 'this is simple' SELECT f1;
CALL sp1( 'abc' );
---replace_column 5 modified 6 created
-SHOW PROCEDURE status like 'sp1';
+--replace_column 5 <modified> 6 <created>
+SHOW PROCEDURE STATUS LIKE 'sp1';
# cleanup
DROP PROCEDURE sp1_thisisaveryverylongname234872934_thisisaveryverylongname234872934;
@@ -281,8 +359,8 @@ let $message= Testcase 4.1.2:
DROP FUNCTION IF EXISTS fn1;
--enable_warnings
-CREATE FUNCTION fn1 (s char(20)) returns char(50)
- return concat('hello, ', s, '!');
+CREATE FUNCTION fn1 (s CHAR(20)) RETURNS CHAR(50)
+ RETURN CONCAT('hello, ', s, '!');
SELECT fn1('world');
--disable_warnings
@@ -290,17 +368,18 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-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;
+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//
delimiter ;//
SELECT fn1( ' world');
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -308,16 +387,17 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql not deterministic sql security invoker comment 'this is simple'
+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;
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -327,10 +407,11 @@ DROP FUNCTION IF EXISTS fn1;
delimiter //;
# 1425: Too big scale 63 specified for column ''. Maximum is 30.
--error ER_TOO_BIG_SCALE
-CREATE FUNCTION fn1( f1 decimal(63, 31) ) returns decimal(63, 31) language sql not deterministic sql security invoker comment 'this is simple'
+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;
+ SET f1 = 1000000 + f1;
+ RETURN f1;
END//
delimiter ;//
@@ -338,16 +419,17 @@ delimiter ;//
SELECT fn1( 1.3326e+8 );
delimiter //;
-CREATE FUNCTION fn1( f1 decimal(63, 30) ) returns decimal(63, 30) language sql not deterministic sql security invoker comment 'this is simple'
+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;
+ SET f1 = 1000000 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 1.3326e+8 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -355,9 +437,10 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-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;
+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//
delimiter ;//
@@ -370,7 +453,7 @@ delimiter ;//
SELECT fn1( "value1" );
--enable_warnings
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -378,9 +461,10 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-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;
+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//
delimiter ;//
@@ -393,7 +477,7 @@ delimiter ;//
SELECT fn1( "value1, value1" );
--enable_warnings
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -401,16 +485,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint language sql
- BEGIN
- set f1 = 1 + f1;
- return f1;
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT LANGUAGE SQL
+BEGIN
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -418,16 +502,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint deterministic
- BEGIN
- set f1 = 1 + f1;
- return f1;
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT DETERMINISTIC
+BEGIN
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -435,16 +519,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint not deterministic
- BEGIN
- set f1 = 1 + f1;
- return f1;
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT NOT DETERMINISTIC
+BEGIN
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -452,17 +536,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint
- sql security definer
- BEGIN
- set f1 = 1 + f1;
- return f1;
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY DEFINER
+BEGIN
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -470,17 +553,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint
- sql security invoker
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT SQL SECURITY INVOKER
BEGIN
- set f1 = 1 + f1;
- return f1;
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
--disable_warnings
@@ -488,16 +570,16 @@ DROP FUNCTION IF EXISTS fn1;
--enable_warnings
delimiter //;
-CREATE FUNCTION fn1( f1 smallint ) returns smallint
- comment 'this is simple'
+CREATE FUNCTION fn1( f1 SMALLINT ) RETURNS SMALLINT COMMENT 'this is simple'
BEGIN
- set f1 = 1 + f1;
- return f1;
+ SET f1 = 1 + f1;
+ RETURN f1;
END//
delimiter ;//
SELECT fn1( 126 );
---replace_column 5 modified 6 created
+
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
# cleanup
@@ -517,7 +599,7 @@ DROP PROCEDURE IF EXISTS sp1;
CREATE PROCEDURE sp1 (f1 char(20) )
SELECT * from t1 where f2 = f1;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show CREATE PROCEDURE sp1;
# cleanup
@@ -536,7 +618,7 @@ DROP FUNCTION IF EXISTS fn1;
CREATE FUNCTION fn1 (s char(20)) returns char(50)
return concat('hello, ', s, '!');
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show CREATE FUNCTION fn1;
# cleanup
@@ -552,7 +634,7 @@ SHOW PROCEDURE status;
CREATE PROCEDURE sp5()
SELECT * from t1;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp5';
# cleanup
@@ -573,7 +655,7 @@ BEGIN
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn5';
# cleanup
@@ -762,7 +844,7 @@ disconnect u_1;
connection default;
--source suite/funcs_1/include/show_connection.inc
-alter procedure sp11 sql security definer;
+alter procedure sp11 sql security DEFINER;
--replace_column 13 created 14 modified
SELECT security_type from mysql.proc where specific_name='sp11';
CALL sp11();
@@ -791,7 +873,7 @@ SELECT security_type from mysql.proc where specific_name='fn12';
--replace_column 13 created 14 modified
SELECT fn12();
-alter function fn12 sql security definer;
+alter function fn12 sql security DEFINER;
SELECT security_type from mysql.proc where specific_name='fn12';
--replace_column 13 created 14 modified
SELECT fn12();
@@ -2494,12 +2576,12 @@ CALL db_storedproc.sp1();
SELECT db_storedproc.sp1();
USE db_storedproc;
-alter procedure sp1 sql security definer;
+alter procedure sp1 sql security DEFINER;
CALL db_storedproc.sp1();
SELECT db_storedproc.sp1();
-alter function sp1 sql security definer;
+alter function sp1 sql security DEFINER;
--sorted_result
SELECT name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
CALL db_storedproc.sp1();
@@ -2527,8 +2609,8 @@ DROP DATABASE IF EXISTS db_storedproc_3122;
CREATE DATABASE db_storedproc_3122;
USE db_storedproc;
-set @x=null;
-set @y=null;
+SET @x = NULL;
+SET @y = NULL;
DROP PROCEDURE IF EXISTS sp1;
DROP FUNCTION IF EXISTS sp1;
DROP PROCEDURE IF EXISTS db_storedproc_3122.sp1;
@@ -2536,13 +2618,13 @@ DROP FUNCTION IF EXISTS db_storedproc_3122.sp1;
delimiter //;
CREATE PROCEDURE sp1()
BEGIN
- set @x= 1;
+ SET @x = 1;
SELECT @x;
END//
delimiter ;//
# FIXME ps-protocol vs. normal difference when returning float instead of double
-CREATE FUNCTION db_storedproc_3122.sp1() returns double return 2.2;
+CREATE FUNCTION db_storedproc_3122.sp1() RETURNS DOUBLE RETURN 2.2;
CALL sp1();
SELECT db_storedproc_3122.sp1();
USE db_storedproc_3122;
@@ -2550,20 +2632,20 @@ CALL sp1();
delimiter //;
CREATE PROCEDURE sp1 ()
BEGIN
- set @x= 3;
+ SET @x = 3;
SELECT @x;
END//
delimiter ;//
-CREATE FUNCTION db_storedproc.sp1() returns double return 4.4;
+CREATE FUNCTION db_storedproc.sp1() RETURNS DOUBLE RETURN 4.4;
CALL sp1();
SELECT db_storedproc.sp1();
-alter procedure db_storedproc_3122.sp1 sql security invoker;
-alter function sp1 sql security invoker;
+ALTER PROCEDURE db_storedproc_3122.sp1 SQL SECURITY INVOKER;
+ALTER FUNCTION sp1 SQL SECURITY INVOKER;
--sorted_result
-SELECT db, name, type, security_type from mysql.proc where db LIKE 'db_storedproc%' and specific_name='sp1';
+SELECT db, name, type, security_type FROM mysql.proc WHERE db LIKE 'db_storedproc%' AND specific_name='sp1';
CALL db_storedproc.sp1();
@@ -2607,11 +2689,11 @@ 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;
---replace_column 5 modified 6 created
+alter procedure sp1 sql security DEFINER;
+alter function sp1 sql security DEFINER;
+--replace_column 5 <modified> 6 <created>
show CREATE PROCEDURE sp1;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show CREATE FUNCTION sp1;
# clean up
@@ -16044,26 +16126,28 @@ let $message= Testcase 4.2.28:;
# declared within a stored procedures definition, as well as to every
# appropriate global server variable.
-set @x=0;
-set @y=0;
+SET @x = 0;
+SET @y = 0;
DROP PROCEDURE IF EXISTS sp1;
+SET @start_global_value = @@GLOBAL.sort_buffer_size;
delimiter //;
CREATE PROCEDURE sp1()
BEGIN
- declare continue handler for sqlstate '42000' set @x2 = 1;
- set session sort_buffer_size = 10 * 1024 * 1024;
+ DECLARE CONTINUE HANDLER FOR SQLSTATE '42000' SET @x2 = 1;
+ SET SESSION SORT_BUFFER_SIZE = 10 * 1024 * 1024;
SELECT @@sort_buffer_size;
- set @x = 4;
- set @y = 3;
- set global sort_buffer_size = 2 * 1024 * 1024;
+ SET @x = 4;
+ SET @y = 3;
+ SET GLOBAL SORT_BUFFER_SIZE = 2 * 1024 * 1024;
SELECT @@sort_buffer_size;
- set @@sort_buffer_size = 10 * 1024 * 1024;
+ SET @@sort_buffer_size = 10 * 1024 * 1024;
SELECT @@sort_buffer_size;
END//
delimiter ;//
CALL sp1();
SELECT @x, @y;
+SET @@GLOBAL.sort_buffer_size = @start_global_value;
# ------------------------------------------------------------------------------
@@ -19541,11 +19625,11 @@ DROP DATABASE IF EXISTS d2;
USE d1;
-CREATE PROCEDURE sp8 ( n char(20) ) sql security definer comment 'initial'
+CREATE PROCEDURE sp8 ( n char(20) ) sql security DEFINER comment 'initial'
SELECT * from t1 where t1.f1 = n;
USE d2;
- alter procedure d1.sp8 sql security definer comment 'updated';
+ alter procedure d1.sp8 sql security DEFINER comment 'updated';
--replace_column 13 modified 14 created
SELECT * from mysql.proc where specific_name='sp8' and db='d1';
@@ -19574,7 +19658,7 @@ END//
delimiter ;//
USE d2;
- alter function d1.fn2 sql security definer comment 'updated';
+ alter function d1.fn2 sql security DEFINER comment 'updated';
--replace_column 13 modified 14 created
SELECT * from mysql.proc where specific_name='fn2' and db='d1';
@@ -26986,13 +27070,13 @@ show CREATE PROCEDURE sp6b;
show CREATE PROCEDURE sp6c;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6a';
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6b';
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6c';
# cleanup
@@ -27020,7 +27104,7 @@ BEGIN
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6';
# cleanup
@@ -27073,7 +27157,7 @@ CREATE FUNCTION sp6 (i1 longtext, i2 mediumint , i3 longblob, i4 year, i5 real)
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show function status like 'sp6';
# cleanup
@@ -27154,7 +27238,7 @@ CREATE FUNCTION fn1 (i1 real) returns real
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show procedure status like 'fn1';
# cleanup
@@ -27188,7 +27272,7 @@ BEGIN
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
# cleanup
@@ -27306,7 +27390,7 @@ BEGIN
END//
delimiter ;//
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show function status like 'sp6';
# cleanup
@@ -27347,7 +27431,7 @@ delimiter ;//
alter procedure sp6 comment 'this is a new comment';
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6';
# cleanup
@@ -27401,7 +27485,7 @@ delimiter ;//
alter function fn1 sql security invoker;
alter function fn1 comment 'this is a function 3242#@%$#@';
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
show function status like 'fn1';
# cleanup
@@ -27481,7 +27565,7 @@ delimiter ;//
DROP PROCEDURE sp6;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW PROCEDURE status like 'sp6';
@@ -27530,7 +27614,7 @@ delimiter ;//
DROP FUNCTION fn1;
---replace_column 5 modified 6 created
+--replace_column 5 <modified> 6 <created>
SHOW FUNCTION STATUS LIKE 'fn1';
@@ -29297,11 +29381,11 @@ let $message= Testcase 4.11.40:;
--disable_warnings
DROP PROCEDURE IF EXISTS h1;
-drop table IF EXISTS res_t1;
+DROP TABLE IF EXISTS res_t1;
--enable_warnings
- create table res_t1(w char unique, x char);
- insert into res_t1 values ('a', 'b');
+CREATE TABLE res_t1(w CHAR UNIQUE, x CHAR);
+INSERT INTO res_t1 VALUES ('a', 'b');
# suppressed--error for having two similar handlers in the same scope
@@ -29309,14 +29393,14 @@ delimiter //;
--error ER_SP_DUP_HANDLER
CREATE PROCEDURE h1 ()
BEGIN
- declare x1, x2, x3, x4, x5 int default 0;
- declare condname1 condition for sqlstate '42000';
- declare condname2 condition for sqlstate '42000';
- declare continue handler for condname1 set x1 = 1;
- declare continue handler for condname1 set x2 = 1;
- declare exit handler for condname1 set x3 = 1;
- declare continue handler for condname2 set x4 = 1;
- declare exit handler for condname2 set x5 = 1;
+ DECLARE x1, x2, x3, x4, x5 int default 0;
+ DECLARE condname1 CONDITION FOR SQLSTATE '42000';
+ DECLARE condname2 CONDITION FOR SQLSTATE '42000';
+ DECLARE CONTINUE HANDLER FOR condname1 set x1 = 1;
+ DECLARE CONTINUE HANDLER FOR condname1 set x2 = 1;
+ DECLARE EXIT HANDLER FOR condname1 SET x3 = 1;
+ DECLARE CONTINUE HANDLER FOR condname2 SET x4 = 1;
+ DECLARE EXIT HANDLER FOR condname2 SET x5 = 1;
END//
delimiter ;//
@@ -29343,14 +29427,14 @@ DROP PROCEDURE IF EXISTS h1;
delimiter //;
CREATE PROCEDURE h1 ()
BEGIN
- declare x1 int default 0;
- BEGIN
- declare condname1 condition for sqlstate '00000';
- declare exit handler for sqlstate '00000' set @x = 1;
- set x1 = 1;
- set x1 = 2;
- END;
- SELECT @x, x1;
+ DECLARE x1 INT DEFAULT 0;
+ BEGIN
+ DECLARE condname1 CONDITION FOR SQLSTATE '00000';
+ DECLARE EXIT HANDLER FOR SQLSTATE '00000' SET @x = 1;
+ SET x1 = 1;
+ SET x1 = 2;
+ END;
+ SELECT @x, x1;
END//
delimiter ;//
@@ -29378,11 +29462,11 @@ DROP TABLE IF EXISTS res_t1;
delimiter //;
CREATE PROCEDURE h1()
BEGIN
- DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
- set @done=0;
- set @x=1;
- insert into res_t1 values('xxx', 'yy');
- set @x=0;
+ DECLARE EXIT HANDLER FOR SQLWARNING SET @done = 1;
+ SET @done=0;
+ SET @x=1;
+ INSERT INTO res_t1 VALUES('xxx', 'yy');
+ SET @x=0;
END//
delimiter ;//
@@ -29407,11 +29491,11 @@ DROP TABLE IF EXISTS res_t1;
delimiter //;
CREATE PROCEDURE h1()
BEGIN
- DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
- set @done=0;
- set @x=0;
- insert into res_t1 values('xxx', 'yy');
- set @x=1;
+ DECLARE CONTINUE HANDLER FOR SQLWARNING SET @done = 1;
+ SET @done=0;
+ SET @x=0;
+ INSERT INTO res_t1 VALUES('xxx', 'yy');
+ SET @x=1;
END//
delimiter ;//
diff --git a/mysql-test/suite/funcs_1/views/func_view.inc b/mysql-test/suite/funcs_1/views/func_view.inc
index cee63bfb605..6679a0f898f 100644
--- a/mysql-test/suite/funcs_1/views/func_view.inc
+++ b/mysql-test/suite/funcs_1/views/func_view.inc
@@ -158,10 +158,16 @@ DROP VIEW IF EXISTS v1;
--disable_query_log
# Storage for the SELECTs to be used for the VIEW definition
+# Attention: my_select must be no too small because a statement like
+# SELECT LOAD_FILE(< file in MYSQLTEST_VARDIR >)
+# AS my_col,
+# id FROM t1_values';
+# might be a very long
+# Bug#38427 "Data too long" ... tests "<ENGINE>_func_view" fail
CREATE TABLE t1_selects
(
id BIGINT AUTO_INCREMENT,
- my_select VARCHAR(200) NOT NULL,
+ my_select VARCHAR(1000) NOT NULL,
disable_result ENUM('Yes','No') NOT NULL default 'No',
PRIMARY KEY(id),
UNIQUE (my_select)
diff --git a/mysql-test/suite/ndb/t/disabled.def b/mysql-test/suite/ndb/t/disabled.def
index 6102d182684..c638c7b4774 100644
--- a/mysql-test/suite/ndb/t/disabled.def
+++ b/mysql-test/suite/ndb/t/disabled.def
@@ -12,6 +12,5 @@
partition_03ndb : BUG#16385 2006-03-24 mikael Partitions: crash when updating a range partitioned NDB table
ndb_partition_error2 : HF is not sure if the test can work as internded on all the platforms
-ndb_index_ordered : Bug#38370 The test ndb.ndb_index_ordered fails with the community features on
# the below testcase have been reworked to avoid the bug, test contains comment, keep bug open
diff --git a/mysql-test/suite/parts/inc/partition_auto_increment.inc b/mysql-test/suite/parts/inc/partition_auto_increment.inc
new file mode 100644
index 00000000000..341bf7ab860
--- /dev/null
+++ b/mysql-test/suite/parts/inc/partition_auto_increment.inc
@@ -0,0 +1,600 @@
+# inc/partition_auto_increment.inc
+#
+# auto_increment test
+# used variables: $engine
+#
+
+-- disable_warnings
+DROP TABLE IF EXISTS t1;
+-- enable_warnings
+
+-- echo # test without partitioning for reference
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine;
+SHOW CREATE TABLE t1;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (0);
+-- error 0, ER_DUP_KEY, ER_DUP_ENTRY
+INSERT INTO t1 VALUES (5), (16);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+if (!$skip_update)
+{
+ UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+ UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+ -- error 0, ER_BAD_NULL_ERROR
+ UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+ INSERT INTO t1 VALUES (NULL);
+ INSERT INTO t1 VALUES (NULL);
+}
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine;
+SHOW CREATE TABLE t1;
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+if (!$skip_delete)
+{
+DELETE FROM t1;
+}
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+if (!$skip_truncate)
+{
+TRUNCATE TABLE t1;
+}
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Simple test with NULL
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1;
+DROP TABLE t1;
+
+-- echo # Test with sql_mode and first insert as 0
+eval CREATE TABLE t1 (
+ c1 INT,
+ c2 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c2))
+ENGINE=$engine
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (1, NULL);
+let $old_sql_mode = `select @@session.sql_mode`;
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (1, 0);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+SELECT * FROM t1 ORDER BY c1, c2;
+DROP TABLE t1;
+eval CREATE TABLE t1 (
+ c1 INT,
+ c2 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c2))
+ENGINE=$engine
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (1, 0);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+eval SET @@session.sql_mode = '$old_sql_mode';
+DROP TABLE t1;
+
+
+-- echo # Simple test with NULL, 0 and explicit values both incr. and desc.
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (5), (16);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (17), (19), (NULL);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (NULL), (9);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (59), (55);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+if (!$skip_update)
+{
+ UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+ UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+ -- error 0, ER_BAD_NULL_ERROR
+ UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+ INSERT INTO t1 VALUES (NULL);
+ INSERT INTO t1 VALUES (NULL);
+}
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Test with auto_increment_increment and auto_increment_offset.
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+let $old_increment = `SELECT @@session.auto_increment_increment`;
+let $old_offset = `SELECT @@session.auto_increment_offset`;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 1);
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 2);
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 3);
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 4);
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 5);
+INSERT INTO t1 VALUES (NULL);
+let $new_val = `SELECT LAST_INSERT_ID()`;
+eval INSERT INTO t1 VALUES ($new_val + 6);
+INSERT INTO t1 VALUES (NULL);
+eval SET @@session.auto_increment_increment = $old_increment;
+eval SET @@session.auto_increment_offset = $old_offset;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+
+-- echo # Test reported auto_increment value
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ENGINE=$engine
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (10);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+SELECT * FROM t1 ORDER BY c1;
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+INSERT INTO t1 VALUES (NULL);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (15);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+INSERT INTO t1 VALUES (NULL);
+if (!$skip_delete)
+{
+DELETE FROM t1;
+}
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+if (!$skip_truncate)
+{
+TRUNCATE TABLE t1;
+}
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Test with two threads
+connection default;
+-- echo # con default
+eval CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = $engine
+ PARTITION BY HASH(c1)
+ PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+connect(con1, localhost, root,,);
+connection con1;
+-- echo # con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+connection default;
+-- echo # con default
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 (c1) VALUES (16);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+disconnect con1;
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Test with two threads + start transaction NO PARTITIONING
+connect(con1, localhost, root,,);
+connection default;
+-- echo # con default
+eval CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = $engine;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+connection con1;
+-- echo # con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+connection default;
+-- echo # con default
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 (c1) VALUES (16);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+disconnect con1;
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Test with two threads + start transaction
+connect(con1, localhost, root,,);
+connection default;
+-- echo # con default
+eval CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = $engine
+ PARTITION BY HASH(c1)
+ PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+connection con1;
+-- echo # con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+connection default;
+-- echo # con default
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 (c1) VALUES (16);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+-- echo # con1
+connection con1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+disconnect con1;
+connection default;
+-- echo # con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+if (!$only_ai_pk)
+{
+-- echo # Test with another column after
+eval CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = $engine
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+DROP TABLE t1;
+}
+
+-- echo # Test with another column before
+eval CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = $engine
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+-- error 0, ER_DUP_KEY, ER_DUP_ENTRY
+INSERT INTO t1 VALUES (1, 1);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+-- error 0, ER_DUP_KEY, ER_DUP_ENTRY
+INSERT INTO t1 VALUES (2, 2);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+DROP TABLE t1;
+
+-- echo # Test with auto_increment on secondary column in multi-column-index
+-- disable_abort_on_error
+eval CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = $engine
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+-- enable_abort_on_error
+-- disable_query_log
+eval SET @my_errno= $mysql_errno ;
+let $run = `SELECT @my_errno = 0`;
+# ER_WRONG_AUTO_KEY is 1075
+let $ER_WRONG_AUTO_KEY= 1075;
+if (`SELECT @my_errno NOT IN (0,$ER_WRONG_AUTO_KEY)`)
+{
+ -- echo # Unknown error code, exits
+ exit;
+}
+-- enable_query_log
+if ($run)
+{
+INSERT INTO t1 VALUES (1, 0);
+-- error 0, ER_DUP_KEY, ER_DUP_ENTRY
+INSERT INTO t1 VALUES (1, 1);
+if (!$mysql_errno)
+{
+ echo # ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (3, NULL);
+INSERT INTO t1 VALUES (3, NULL), (2, 0), (2, NULL);
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 VALUES (2, 2);
+if (!$mysql_errno)
+{
+echo # ERROR (only OK if Blackhole/NDB) should give ER_DUP_KEY or ER_DUP_ENTRY;
+}
+INSERT INTO t1 VALUES (2, 22), (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+DROP TABLE t1;
+}
+
+-- echo # Test AUTO_INCREMENT in CREATE
+eval CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = $engine
+ AUTO_INCREMENT = 15
+ PARTITION BY HASH(c1)
+ PARTITIONS 2;
+SHOW CREATE TABLE t1;
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 (c1) VALUES (4);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+SHOW CREATE TABLE t1;
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+
+-- echo # Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+let $old_sql_mode = `select @@session.sql_mode`;
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+-- error 0, ER_DUP_KEY
+INSERT INTO t1 (c1) VALUES (0);
+if ($mysql_errno)
+{
+ echo # ERROR (only OK if Archive) mysql_errno: $mysql_errno;
+}
+SHOW CREATE TABLE t1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+eval SET @@session.sql_mode = '$old_sql_mode';
+DROP TABLE t1;
+
+-- echo # Test SET INSERT_ID
+eval CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ ENGINE = $engine
+ PARTITION BY HASH(c1)
+ PARTITIONS 2;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1;
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
+-- echo # Testing with FLUSH TABLE
+eval CREATE TABLE t1 (
+ c1 INT NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (c1))
+ ENGINE=$engine
+ PARTITION BY HASH(c1)
+ PARTITIONS 2;
+SHOW CREATE TABLE t1;
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+SELECT * FROM t1 ORDER BY c1;
+DROP TABLE t1;
+
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_archive.result b/mysql-test/suite/parts/r/partition_auto_increment_archive.result
new file mode 100644
index 00000000000..edfe408a072
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_archive.result
@@ -0,0 +1,747 @@
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+22
+30
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=5 DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=6 DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=7 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+6
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=8 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+6
+7
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Archive'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+# ERROR (only OK if Archive) mysql_errno: 1022
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 1
+1 2
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Archive'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 1
+1 2
+1 8
+2 3
+4 7
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (NULL), (9);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (59), (55);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+22
+59
+60
+90
+91
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+5
+15
+25
+33
+34
+38
+40
+43
+46
+48
+52
+53
+58
+63
+69
+73
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+# ERROR (only OK if Archive) mysql_errno: 1022
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+# ERROR (only OK if Archive) mysql_errno: 1022
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+22
+23
+24
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+22
+23
+24
+25
+26
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=28 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+17
+19
+20
+21
+22
+23
+24
+25
+26
+27
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# ERROR (only OK if Archive) mysql_errno: 1022
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Archive';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# ERROR (only OK if Archive) mysql_errno: 1022
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# ERROR (only OK if Archive) mysql_errno: 1022
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'Archive'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 3
+2 13
+2 14
+2 22
+2 23
+3 11
+3 12
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'Archive'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Archive'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+# ERROR (only OK if Archive) mysql_errno: 1022
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+15
+16
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+# ERROR (only OK if Archive) mysql_errno: 1022
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=302 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+15
+16
+300
+301
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+23
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Archive'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ARCHIVE AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_blackhole.result b/mysql-test/suite/parts/r/partition_auto_increment_blackhole.result
new file mode 100644
index 00000000000..73b228c1b72
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_blackhole.result
@@ -0,0 +1,570 @@
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Blackhole'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Blackhole'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL), (9);
+INSERT INTO t1 VALUES (59), (55);
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+SELECT * FROM t1 ORDER BY c1;
+c1
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+INSERT INTO t1 VALUES (NULL);
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Blackhole';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Test with another column after
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+# ERROR (only OK if Blackhole) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (3, NULL);
+INSERT INTO t1 VALUES (3, NULL), (2, 0), (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+# ERROR (only OK if Blackhole/NDB) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (2, 22), (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+DROP TABLE t1;
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Blackhole'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=7 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=302 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Blackhole'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=BLACKHOLE DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_innodb.result b/mysql-test/suite/parts/r/partition_auto_increment_innodb.result
new file mode 100644
index 00000000000..3cec527c2a6
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_innodb.result
@@ -0,0 +1,747 @@
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+20
+22
+23
+25
+30
+31
+32
+50
+51
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+6
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='InnoDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='InnoDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+1 8
+2 3
+4 7
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL), (9);
+INSERT INTO t1 VALUES (59), (55);
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+9
+10
+20
+21
+22
+23
+55
+59
+60
+90
+91
+150
+151
+152
+153
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+5
+15
+25
+33
+34
+38
+40
+43
+46
+48
+52
+53
+58
+63
+69
+73
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+17
+19
+20
+21
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+15
+17
+19
+20
+21
+22
+23
+24
+INSERT INTO t1 VALUES (NULL);
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+26
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'InnoDB';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with another column after
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 0
+1 1
+2 0
+2 1
+2 2
+2 22
+3 2
+4 3
+5 3
+6 2
+7 2
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 3
+2 13
+2 14
+2 22
+2 23
+3 11
+3 12
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'InnoDB'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+15
+16
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=302 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+0
+4
+15
+16
+300
+301
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+23
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='InnoDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_memory.result b/mysql-test/suite/parts/r/partition_auto_increment_memory.result
new file mode 100644
index 00000000000..7a5d80c7758
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_memory.result
@@ -0,0 +1,775 @@
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+20
+21
+22
+23
+30
+50
+51
+52
+53
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=5 DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=6 DEFAULT CHARSET=latin1
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=7 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+6
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Memory'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='Memory'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+1 8
+2 3
+4 7
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL), (9);
+INSERT INTO t1 VALUES (59), (55);
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+9
+10
+20
+21
+22
+23
+55
+59
+60
+90
+91
+150
+151
+152
+153
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+5
+15
+25
+33
+34
+38
+40
+43
+46
+48
+52
+53
+58
+63
+69
+73
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+17
+19
+20
+21
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+15
+17
+19
+20
+21
+22
+23
+24
+INSERT INTO t1 VALUES (NULL);
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+26
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=28 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+27
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Memory';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with another column after
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'Memory'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 0
+1 1
+2 0
+2 1
+2 2
+2 22
+3 2
+4 3
+5 3
+6 2
+7 2
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'Memory'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 3
+2 13
+2 14
+2 22
+2 23
+3 11
+3 12
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'Memory'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+ERROR 42000: Incorrect table definition; there can be only one auto column and it must be defined as a key
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Memory'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+15
+16
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=302 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+0
+4
+15
+16
+300
+301
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+23
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='Memory'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MEMORY AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_myisam.result b/mysql-test/suite/parts/r/partition_auto_increment_myisam.result
new file mode 100644
index 00000000000..7ec76ee014c
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_myisam.result
@@ -0,0 +1,794 @@
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+20
+21
+22
+23
+30
+50
+51
+52
+53
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+6
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='MyISAM'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='MyISAM'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+1 8
+2 3
+4 7
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL), (9);
+INSERT INTO t1 VALUES (59), (55);
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+9
+10
+20
+21
+22
+23
+55
+59
+60
+90
+91
+150
+151
+152
+153
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+5
+15
+25
+33
+34
+38
+40
+43
+46
+48
+52
+53
+58
+63
+69
+73
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+17
+19
+20
+21
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+15
+17
+19
+20
+21
+22
+23
+24
+INSERT INTO t1 VALUES (NULL);
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=27 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+26
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+27
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'MyISAM';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with another column after
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 0
+1 1
+2 0
+2 1
+2 2
+2 22
+3 2
+4 3
+5 3
+6 2
+7 2
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 3
+2 13
+2 14
+2 22
+2 23
+3 11
+3 12
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (3, NULL);
+INSERT INTO t1 VALUES (3, NULL), (2, 0), (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22), (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 1
+2 2
+2 3
+2 22
+2 23
+3 1
+3 2
+DROP TABLE t1;
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'MyISAM'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=17 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+15
+16
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=301 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=302 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+0
+4
+15
+16
+300
+301
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+23
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='MyISAM'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/r/partition_auto_increment_ndb.result b/mysql-test/suite/parts/r/partition_auto_increment_ndb.result
new file mode 100644
index 00000000000..37b46ef63ba
--- /dev/null
+++ b/mysql-test/suite/parts/r/partition_auto_increment_ndb.result
@@ -0,0 +1,769 @@
+SET new=on;
+DROP TABLE IF EXISTS t1;
+# test without partitioning for reference
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL);
+SET INSERT_ID = 30;
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 50 WHERE c1 = 17;
+UPDATE t1 SET c1 = 51 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+20
+21
+22
+23
+30
+50
+51
+52
+53
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB';
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+6
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Simple test with NULL
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+DROP TABLE t1;
+# Test with sql_mode and first insert as 0
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='NDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (1, 1), (99, 99);
+INSERT INTO t1 VALUES (1, NULL);
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 VALUES (1, 0);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 100
+DROP TABLE t1;
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE='NDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1), (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (4, 7);
+INSERT INTO t1 VALUES (1, NULL);
+SELECT * FROM t1 ORDER BY c1, c2;
+c1 c2
+1 0
+1 1
+1 2
+1 8
+2 3
+4 7
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Simple test with NULL, 0 and explicit values both incr. and desc.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (2), (4), (NULL);
+INSERT INTO t1 VALUES (0);
+INSERT INTO t1 VALUES (5), (16);
+INSERT INTO t1 VALUES (17), (19), (NULL);
+INSERT INTO t1 VALUES (NULL), (10), (NULL);
+INSERT INTO t1 VALUES (NULL), (9);
+INSERT INTO t1 VALUES (59), (55);
+INSERT INTO t1 VALUES (NULL), (90);
+INSERT INTO t1 VALUES (NULL);
+UPDATE t1 SET c1 = 150 WHERE c1 = 17;
+UPDATE t1 SET c1 = 151 WHERE c1 = 19;
+UPDATE t1 SET c1 = NULL WHERE c1 = 4;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+9
+10
+20
+21
+22
+23
+55
+59
+60
+90
+91
+150
+151
+152
+153
+DROP TABLE t1;
+# Test with auto_increment_increment and auto_increment_offset.
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SET @@session.auto_increment_increment = 10;
+SET @@session.auto_increment_offset = 5;
+INSERT INTO t1 VALUES (1);
+INSERT INTO t1 VALUES (NULL), (NULL), (NULL);
+SET @@session.auto_increment_increment = 5;
+SET @@session.auto_increment_offset = 3;
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (33 + 1);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (38 + 2);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (43 + 3);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (48 + 4);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (53 + 5);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (63 + 6);
+INSERT INTO t1 VALUES (NULL);
+SET @@session.auto_increment_increment = 1;
+SET @@session.auto_increment_offset = 1;
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+5
+15
+25
+33
+34
+38
+40
+43
+46
+48
+52
+53
+58
+63
+69
+73
+DROP TABLE t1;
+# Test reported auto_increment value
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB'
+PARTITION BY HASH (c1)
+PARTITIONS 2;
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+1
+INSERT INTO t1 VALUES (2);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+3
+INSERT INTO t1 VALUES (4);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+6
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (17);
+INSERT INTO t1 VALUES (19);
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+22
+INSERT INTO t1 VALUES (10);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+17
+19
+20
+21
+INSERT INTO t1 VALUES (NULL);
+SELECT AUTO_INCREMENT FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA='test'
+AND TABLE_NAME='t1';
+AUTO_INCREMENT
+23
+INSERT INTO t1 VALUES (NULL);
+INSERT INTO t1 VALUES (15);
+INSERT INTO t1 VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+6
+10
+15
+17
+19
+20
+21
+22
+23
+24
+INSERT INTO t1 VALUES (NULL);
+DELETE FROM t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+26
+TRUNCATE TABLE t1;
+INSERT INTO t1 VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+DROP TABLE t1;
+# Test with two threads
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction NO PARTITIONING
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'NDB';
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (NULL);
+INSERT INTO t1 (c1) VALUES (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with two threads + start transaction
+# con default
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (2);
+INSERT INTO t1 (c1) VALUES (4);
+# con1
+START TRANSACTION;
+INSERT INTO t1 (c1) VALUES (NULL), (10);
+# con default
+INSERT INTO t1 (c1) VALUES (NULL), (NULL), (19);
+INSERT INTO t1 (c1) VALUES (21);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+# con default
+INSERT INTO t1 (c1) VALUES (16);
+# con1
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+5
+10
+22
+23
+# con default
+INSERT INTO t1 (c1) VALUES (NULL);
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+COMMIT;
+SELECT * FROM t1 ORDER BY c1;
+c1
+2
+4
+5
+10
+11
+12
+16
+19
+21
+22
+23
+24
+DROP TABLE t1;
+# Test with another column after
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+c2 INT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'NDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (NULL, 1), (NULL, 2), (NULL, 3);
+INSERT INTO t1 VALUES (NULL, 3);
+INSERT INTO t1 VALUES (2, 0), (NULL, 2);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (NULL, 2);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 0
+1 1
+2 0
+2 1
+2 2
+2 22
+3 2
+4 3
+5 3
+6 2
+7 2
+DROP TABLE t1;
+# Test with another column before
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c2))
+ENGINE = 'NDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL), (3, 11), (3, NULL), (2, 0);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+INSERT INTO t1 VALUES (2, 22);
+INSERT INTO t1 VALUES (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 3
+2 13
+2 14
+2 22
+2 23
+3 11
+3 12
+DROP TABLE t1;
+# Test with auto_increment on secondary column in multi-column-index
+CREATE TABLE t1 (
+c1 INT,
+c2 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1,c2))
+ENGINE = 'NDB'
+PARTITION BY HASH(c2)
+PARTITIONS 2;
+INSERT INTO t1 VALUES (1, 0);
+INSERT INTO t1 VALUES (1, 1);
+INSERT INTO t1 VALUES (1, NULL);
+INSERT INTO t1 VALUES (2, NULL);
+INSERT INTO t1 VALUES (3, NULL);
+INSERT INTO t1 VALUES (3, NULL), (2, 0), (2, NULL);
+INSERT INTO t1 VALUES (2, 2);
+# ERROR (only OK if Blackhole/NDB) should give ER_DUP_KEY or ER_DUP_ENTRY
+INSERT INTO t1 VALUES (2, 22), (2, NULL);
+SELECT * FROM t1 ORDER BY c1,c2;
+c1 c2
+1 1
+1 2
+2 2
+2 3
+2 6
+2 7
+2 22
+2 23
+3 4
+3 5
+DROP TABLE t1;
+# Test AUTO_INCREMENT in CREATE
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'NDB'
+AUTO_INCREMENT = 15
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (4);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+15
+16
+# Test sql_mode 'NO_AUTO_VALUE_ON_ZERO'
+SET @@session.sql_mode = 'NO_AUTO_VALUE_ON_ZERO';
+INSERT INTO t1 (c1) VALUES (300);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (0);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+0
+4
+15
+16
+300
+301
+SET @@session.sql_mode = '';
+DROP TABLE t1;
+# Test SET INSERT_ID
+CREATE TABLE t1 (c1 INT NOT NULL AUTO_INCREMENT, PRIMARY KEY (c1))
+ENGINE = 'NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1;
+c1
+1
+SET INSERT_ID = 23;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 (c1) VALUES (NULL);
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+1
+23
+DROP TABLE t1;
+# Testing with FLUSH TABLE
+CREATE TABLE t1 (
+c1 INT NOT NULL AUTO_INCREMENT,
+PRIMARY KEY (c1))
+ENGINE='NDB'
+PARTITION BY HASH(c1)
+PARTITIONS 2;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (4);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+INSERT INTO t1 VALUES (NULL);
+FLUSH TABLE;
+SHOW CREATE TABLE t1;
+Table Create Table
+t1 CREATE TABLE `t1` (
+ `c1` int(11) NOT NULL AUTO_INCREMENT,
+ PRIMARY KEY (`c1`)
+) ENGINE=ndbcluster DEFAULT CHARSET=latin1 /*!50100 PARTITION BY HASH (c1) PARTITIONS 2 */
+SELECT * FROM t1 ORDER BY c1;
+c1
+4
+5
+DROP TABLE t1;
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_archive.test b/mysql-test/suite/parts/t/partition_auto_increment_archive.test
new file mode 100644
index 00000000000..fb09557204f
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_archive.test
@@ -0,0 +1,40 @@
+################################################################################
+# t/partition_auto_increment_archive.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# Archive branch #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-09-02 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+--source include/have_archive.inc
+# Archve does not support delete
+let $skip_delete= 1;
+let $skip_truncate= 1;
+let $skip_update= 1;
+let $only_ai_pk= 1;
+
+##### Storage engine to be tested
+let $engine= 'Archive';
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_blackhole.test b/mysql-test/suite/parts/t/partition_auto_increment_blackhole.test
new file mode 100644
index 00000000000..64cd96c6173
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_blackhole.test
@@ -0,0 +1,35 @@
+################################################################################
+# t/partition_auto_increment_blackhole.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# Blackhole branch #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-09-02 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+--source include/have_blackhole.inc
+
+##### Storage engine to be tested
+let $engine= 'Blackhole';
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_innodb.test b/mysql-test/suite/parts/t/partition_auto_increment_innodb.test
new file mode 100644
index 00000000000..4e968d8758f
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_innodb.test
@@ -0,0 +1,35 @@
+################################################################################
+# t/partition_auto_increment_innodb.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# InnoDB branch #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-02-12 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+
+##### Storage engine to be tested
+let $engine= 'InnoDB';
+--source include/have_innodb.inc
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_memory.test b/mysql-test/suite/parts/t/partition_auto_increment_memory.test
new file mode 100644
index 00000000000..585a75cc9b5
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_memory.test
@@ -0,0 +1,34 @@
+################################################################################
+# t/partition_auto_increment_memory.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# Memory branch #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-02-12 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+
+##### Storage engine to be tested
+let $engine= 'Memory';
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_myisam.test b/mysql-test/suite/parts/t/partition_auto_increment_myisam.test
new file mode 100644
index 00000000000..2e3f49d5cb6
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_myisam.test
@@ -0,0 +1,34 @@
+################################################################################
+# t/partition_auto_increment_myisam.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# MyISAM branch #
+# #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-02-12 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+
+##### Storage engine to be tested
+let $engine= 'MyISAM';
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/parts/t/partition_auto_increment_ndb.test b/mysql-test/suite/parts/t/partition_auto_increment_ndb.test
new file mode 100644
index 00000000000..7aa3839762d
--- /dev/null
+++ b/mysql-test/suite/parts/t/partition_auto_increment_ndb.test
@@ -0,0 +1,41 @@
+################################################################################
+# t/partition_auto_increment_ndb.test #
+# #
+# Purpose: #
+# Tests around auto increment column #
+# NDB branch #
+# #
+# Note: NDB behavior for auto_increment on secondary column in #
+# multi-column-index is NOT like MyISAM, instead it uses the same #
+# behavior as if it was the primary column. #
+#------------------------------------------------------------------------------#
+# Original Author: MattiasJ #
+# Original Date: 2008-09-02 #
+# Change Author: #
+# Change Date: #
+# Change: #
+################################################################################
+
+#
+# NOTE: PLEASE DO NOT ADD NOT MYISAM SPECIFIC TESTCASES HERE !
+# TESTCASES WHICH MUST BE APPLIED TO ALL STORAGE ENGINES MUST BE ADDED IN
+# THE SOURCED FILES ONLY.
+#
+
+# The server must support partitioning.
+--source include/have_partition.inc
+
+#------------------------------------------------------------------------------#
+# Engine specific settings and requirements
+--source include/have_ndb.inc
+
+##### Storage engine to be tested
+let $engine= 'NDB';
+connection default;
+#enable hash partitioning
+SET new=on;
+
+#------------------------------------------------------------------------------#
+# Execute the tests to be applied to all storage engines
+--source suite/parts/inc/partition_auto_increment.inc
+
diff --git a/mysql-test/suite/rpl/r/rpl_blackhole.result b/mysql-test/suite/rpl/r/rpl_blackhole.result
new file mode 100644
index 00000000000..27094e761b0
--- /dev/null
+++ b/mysql-test/suite/rpl/r/rpl_blackhole.result
@@ -0,0 +1,100 @@
+stop slave;
+drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
+reset master;
+reset slave;
+drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
+start slave;
+CREATE TABLE t1 (a INT, b INT, c INT);
+CREATE TABLE t2 (a INT, b INT, c INT);
+ALTER TABLE t1 ENGINE=BLACKHOLE;
+INSERT INTO t2 VALUES (1,9,1), (2,9,2), (3,9,3), (4,9,4);
+[on master]
+INSERT INTO t1 VALUES (1,1,1),(2,1,2),(3,1,3),(4,1,4);
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 1;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+DELETE FROM t1 WHERE a % 2 = 0 AND b = 1;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+INSERT INTO t1 SELECT * FROM t2;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+INSERT INTO t2 SELECT * FROM t1;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+ALTER TABLE t1 ADD PRIMARY KEY pk_t1 (a,b);
+[on master]
+INSERT INTO t1 VALUES (1,2,1),(2,2,2),(3,2,3),(4,2,4);
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 2;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+DELETE FROM t1 WHERE a % 2 = 0 AND b = 2;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+ALTER TABLE t1 DROP PRIMARY KEY, ADD KEY key_t1 (a);
+[on master]
+INSERT INTO t1 VALUES (1,3,1),(2,3,2),(3,3,3),(4,3,4);
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 3;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
+[on master]
+DELETE FROM t1 WHERE a % 2 = 0 AND b = 3;
+[on slave]
+# Expect 0
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+0
+>>> Something was written to binary log <<<
diff --git a/mysql-test/suite/rpl/r/rpl_sp.result b/mysql-test/suite/rpl/r/rpl_sp.result
index 1255f9427b0..3ca4f86cf64 100644
--- a/mysql-test/suite/rpl/r/rpl_sp.result
+++ b/mysql-test/suite/rpl/r/rpl_sp.result
@@ -193,7 +193,7 @@ end|
ERROR HY000: You do not have the SUPER privilege and binary logging is enabled (you *might* want to use the less safe log_bin_trust_function_creators variable)
set global log_bin_trust_routine_creators=1;
Warnings:
-Warning 1287 The syntax 'log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use 'log_bin_trust_function_creators' instead
+Warning 1287 The syntax '@@log_bin_trust_routine_creators' is deprecated and will be removed in MySQL 5.2. Please use '@@log_bin_trust_function_creators' instead
set global log_bin_trust_function_creators=0;
set global log_bin_trust_function_creators=1;
set global log_bin_trust_function_creators=1;
@@ -526,7 +526,7 @@ master-bin.000001 # Query 1 # use `test`; DROP TABLE IF EXISTS t1
master-bin.000001 # Query 1 # use `test`; CREATE TABLE t1(col VARCHAR(10))
master-bin.000001 # Query 1 # use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10))
INSERT INTO t1 VALUES(arg)
-master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test'))
+master-bin.000001 # Query 1 # use `test`; INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci'))
master-bin.000001 # Query 1 # use `test`; DROP PROCEDURE p1
master-bin.000001 # Query 1 # use `test`; CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`()
SET @a = 1
@@ -869,7 +869,7 @@ CREATE DEFINER=`root`@`localhost` PROCEDURE `p1`(arg VARCHAR(10))
INSERT INTO t1 VALUES(arg)
/*!*/;
SET TIMESTAMP=t/*!*/;
-INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test'))
+INSERT INTO t1 VALUES( NAME_CONST('arg',_latin1'test' COLLATE 'latin1_swedish_ci'))
/*!*/;
SET TIMESTAMP=t/*!*/;
DROP PROCEDURE p1
diff --git a/mysql-test/suite/rpl/r/rpl_temporary.result b/mysql-test/suite/rpl/r/rpl_temporary.result
index 03d2ca660dc..d8fea78ecb4 100644
--- a/mysql-test/suite/rpl/r/rpl_temporary.result
+++ b/mysql-test/suite/rpl/r/rpl_temporary.result
@@ -24,6 +24,9 @@ drop table if exists t1,t2;
create table t1(f int);
create table t2(f int);
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
+SELECT COUNT(*) FROM t1;
+COUNT(*)
+10
create temporary table t3(f int);
insert into t3 select * from t1 where f<6;
create temporary table t3(f int);
diff --git a/mysql-test/suite/rpl/t/disabled.def b/mysql-test/suite/rpl/t/disabled.def
index f215cf75f3d..ebdb8014f88 100644
--- a/mysql-test/suite/rpl/t/disabled.def
+++ b/mysql-test/suite/rpl/t/disabled.def
@@ -12,5 +12,4 @@
rpl_redirect : Failure is sporadic and and the test is superfluous (mats)
rpl_innodb_bug28430 : Failure on Solaris Bug #36793
-#rpl_temporary : BUG#38269 2008-07-21 Sven valgrind error in pushbuild
rpl_flushlog_loop : BUG#37733 2008-07-23 Sven disabled in 5.1-bugteam. the bug has been fixed in 5.1-rpl: please re-enable when that gets pushed to main
diff --git a/mysql-test/suite/rpl/t/rpl_blackhole.test b/mysql-test/suite/rpl/t/rpl_blackhole.test
new file mode 100644
index 00000000000..e8dfbd51552
--- /dev/null
+++ b/mysql-test/suite/rpl/t/rpl_blackhole.test
@@ -0,0 +1,80 @@
+# PURPOSE. Test that blackhole works with replication in all three
+# modes: STATEMENT, MIXED, and ROW.
+#
+# METHOD. We start by creating a table on the master and then change
+# the engine to use blackhole on the slave.
+#
+# After insert/update/delete of one or more rows, the test the
+# proceeds to check that replication is running after replicating an
+# change, that the blackhole engine does not contain anything (which
+# is just a check that the correct engine is used), and that something
+# is written to the binary log.
+#
+# Whe check INSERT, UPDATE, and DELETE statement for tables with no
+# key (forcing a range search on the slave), primary keys (using a
+# primary key lookup), and index/key with multiple matches (forcing an
+# index search).
+
+source include/master-slave.inc;
+source include/have_blackhole.inc;
+
+# We start with no primary key
+CREATE TABLE t1 (a INT, b INT, c INT);
+CREATE TABLE t2 (a INT, b INT, c INT);
+
+sync_slave_with_master;
+ALTER TABLE t1 ENGINE=BLACKHOLE;
+
+connection master;
+INSERT INTO t2 VALUES (1,9,1), (2,9,2), (3,9,3), (4,9,4);
+sync_slave_with_master;
+
+# Test insert, no primary key
+let $statement = INSERT INTO t1 VALUES (1,1,1),(2,1,2),(3,1,3),(4,1,4);
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test update, no primary key
+let $statement = UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 1;
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test delete, no primary key
+let $statement = DELETE FROM t1 WHERE a % 2 = 0 AND b = 1;
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test INSERT-SELECT into Blackhole, no primary key
+let $statement = INSERT INTO t1 SELECT * FROM t2;
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test INSERT-SELECT from Blackhole, no primary key
+let $statement = INSERT INTO t2 SELECT * FROM t1;
+source extra/rpl_tests/rpl_blackhole.test;
+
+connection master;
+ALTER TABLE t1 ADD PRIMARY KEY pk_t1 (a,b);
+
+# Test insert, primary key
+let $statement = INSERT INTO t1 VALUES (1,2,1),(2,2,2),(3,2,3),(4,2,4);
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test update, primary key
+let $statement = UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 2;
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test delete, primary key
+let $statement = DELETE FROM t1 WHERE a % 2 = 0 AND b = 2;
+source extra/rpl_tests/rpl_blackhole.test;
+
+connection master;
+ALTER TABLE t1 DROP PRIMARY KEY, ADD KEY key_t1 (a);
+
+# Test insert, key
+let $statement = INSERT INTO t1 VALUES (1,3,1),(2,3,2),(3,3,3),(4,3,4);
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test update, key
+let $statement = UPDATE t1 SET c = 2*c WHERE a % 2 = 0 AND b = 3;
+source extra/rpl_tests/rpl_blackhole.test;
+
+# Test delete, key
+let $statement = DELETE FROM t1 WHERE a % 2 = 0 AND b = 3;
+source extra/rpl_tests/rpl_blackhole.test;
diff --git a/mysql-test/suite/rpl/t/rpl_temporary.test b/mysql-test/suite/rpl/t/rpl_temporary.test
index 51b38ed4837..a40d1cbb5c5 100644
--- a/mysql-test/suite/rpl/t/rpl_temporary.test
+++ b/mysql-test/suite/rpl/t/rpl_temporary.test
@@ -56,6 +56,8 @@ drop table if exists t1,t2;
create table t1(f int);
create table t2(f int);
insert into t1 values (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
+# Auxiliary select (We want that all rows are in the table)
+SELECT COUNT(*) FROM t1;
connection con1;
create temporary table t3(f int);
diff --git a/mysql-test/t/federated_bug_25714.test b/mysql-test/t/federated_bug_25714.test
index 26ff143135a..6d112cae5b8 100644
--- a/mysql-test/t/federated_bug_25714.test
+++ b/mysql-test/t/federated_bug_25714.test
@@ -1,15 +1,16 @@
--source include/have_bug25714.inc
source include/federated.inc;
-connection default;
-
+connection master;
# Disable concurrent inserts to avoid test failures when reading
# data from concurrent connections (insert might return before
# the data is actually in the table).
-SET @OLD_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
+SET @OLD_MASTER_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
SET @@GLOBAL.CONCURRENT_INSERT= 0;
connection slave;
+SET @OLD_SLAVE_CONCURRENT_INSERT= @@GLOBAL.CONCURRENT_INSERT;
+SET @@GLOBAL.CONCURRENT_INSERT= 0;
--disable_warnings
DROP TABLE IF EXISTS federated.bug_13118_table;
--enable_warnings
@@ -46,11 +47,12 @@ SELECT LAST_INSERT_ID();
SELECT * from federated.t1;
DROP TABLE federated.t1;
+SET @@GLOBAL.CONCURRENT_INSERT= @OLD_MASTER_CONCURRENT_INSERT;
connection slave;
DROP TABLE federated.t1;
+SET @@GLOBAL.CONCURRENT_INSERT= @OLD_SLAVE_CONCURRENT_INSERT;
+
source include/federated_cleanup.inc;
-connection default;
-SET @@GLOBAL.CONCURRENT_INSERT= @OLD_CONCURRENT_INSERT;
diff --git a/mysql-test/t/func_group.test b/mysql-test/t/func_group.test
index b6143bc0c78..4eedd433d34 100644
--- a/mysql-test/t/func_group.test
+++ b/mysql-test/t/func_group.test
@@ -933,5 +933,45 @@ SELECT AVG(a), CAST(AVG(a) AS DECIMAL) FROM t1;
DROP TABLE t1;
+#
+# Bug #37348: Crash in or immediately after JOIN::make_sum_func_list
+#
+
+CREATE TABLE derived1 (a bigint(21));
+INSERT INTO derived1 VALUES (2);
+
+
+CREATE TABLE D (
+ pk int(11) NOT NULL AUTO_INCREMENT,
+ int_nokey int(11) DEFAULT NULL,
+ int_key int(11) DEFAULT NULL,
+ filler blob,
+ PRIMARY KEY (pk),
+ KEY int_key (int_key)
+);
+
+INSERT INTO D VALUES
+ (39,40,4,repeat(' X', 42)),
+ (43,56,4,repeat(' X', 42)),
+ (47,12,4,repeat(' X', 42)),
+ (71,28,4,repeat(' X', 42)),
+ (76,54,4,repeat(' X', 42)),
+ (83,45,4,repeat(' X', 42)),
+ (105,53,12,NULL);
+
+SELECT
+ (SELECT COUNT( int_nokey )
+ FROM derived1 AS X
+ WHERE
+ X.int_nokey < 61
+ GROUP BY pk
+ LIMIT 1)
+FROM D AS X
+WHERE X.int_key < 13
+GROUP BY int_nokey LIMIT 1;
+
+DROP TABLE derived1;
+DROP TABLE D;
+
###
--echo End of 5.0 tests
diff --git a/mysql-test/t/innodb-semi-consistent.test b/mysql-test/t/innodb-semi-consistent.test
index c33126b93ff..a3496625e95 100644
--- a/mysql-test/t/innodb-semi-consistent.test
+++ b/mysql-test/t/innodb-semi-consistent.test
@@ -10,6 +10,7 @@ drop table if exists t1;
connect (a,localhost,root,,);
connect (b,localhost,root,,);
connection a;
+set binlog_format=mixed;
set session transaction isolation level read committed;
create table t1(a int not null) engine=innodb DEFAULT CHARSET=latin1;
insert into t1 values (1),(2),(3),(4),(5),(6),(7);
@@ -17,6 +18,7 @@ set autocommit=0;
# this should lock the entire table
select * from t1 where a=3 lock in share mode;
connection b;
+set binlog_format=mixed;
set session transaction isolation level read committed;
set autocommit=0;
-- error ER_LOCK_WAIT_TIMEOUT
diff --git a/mysql-test/t/innodb.test b/mysql-test/t/innodb.test
index 1073f5535df..339be87419a 100644
--- a/mysql-test/t/innodb.test
+++ b/mysql-test/t/innodb.test
@@ -701,6 +701,7 @@ insert into t1 (code, name) values (2, 'Erik'), (3, 'Sasha');
select id, code, name from t1 order by id;
COMMIT;
+SET binlog_format='MIXED';
BEGIN;
SET SESSION TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
insert into t1 (code, name) values (3, 'Jeremy'), (4, 'Matt');
@@ -2000,10 +2001,12 @@ connection a;
create table t1(a int not null, b int, primary key(a)) engine=innodb;
insert into t1 values(1,1),(2,2),(3,1),(4,2),(5,1),(6,2),(7,3);
commit;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
update t1 set b = 5 where b = 1;
connection b;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
#
@@ -2071,6 +2074,7 @@ commit;
set autocommit = 0;
select * from t2 for update;
connection b;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
insert into t1 select * from t2;
@@ -2127,46 +2131,55 @@ commit;
set autocommit = 0;
select * from t2 for update;
connection b;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
--send
insert into t1 select * from t2;
connection c;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
--send
update t3 set b = (select b from t2 where a = d);
connection d;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL SERIALIZABLE;
--send
create table t4(a int not null, b int, primary key(a)) engine=innodb select * from t2;
connection e;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
insert into t5 (select * from t2 lock in share mode);
connection f;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
update t6 set e = (select b from t2 where a = d lock in share mode);
connection g;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
create table t7(a int not null, b int, primary key(a)) engine=innodb select * from t2 lock in share mode;
connection h;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
insert into t8 (select * from t2 for update);
connection i;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
update t9 set e = (select b from t2 where a = d for update);
connection j;
+SET binlog_format='MIXED';
set autocommit = 0;
SET SESSION TRANSACTION ISOLATION LEVEL READ COMMITTED;
--send
@@ -2380,6 +2393,7 @@ DROP TABLE t1;
CONNECT (c1,localhost,root,,);
CONNECT (c2,localhost,root,,);
CONNECTION c1;
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
DROP TABLE IF EXISTS t1, t2;
@@ -2387,6 +2401,7 @@ CREATE TABLE t1 ( a int ) ENGINE=InnoDB;
CREATE TABLE t2 LIKE t1;
SELECT * FROM t2;
CONNECTION c2;
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
INSERT INTO t1 VALUES (1);
@@ -2398,10 +2413,12 @@ DISCONNECT c2;
CONNECT (c1,localhost,root,,);
CONNECT (c2,localhost,root,,);
CONNECTION c1;
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
SELECT * FROM t2;
CONNECTION c2;
+SET binlog_format='MIXED';
SET TX_ISOLATION='read-committed';
SET AUTOCOMMIT=0;
INSERT INTO t1 VALUES (2);
diff --git a/mysql-test/t/join.test b/mysql-test/t/join.test
index cb4be6dc948..b5e30e63f54 100644
--- a/mysql-test/t/join.test
+++ b/mysql-test/t/join.test
@@ -547,9 +547,9 @@ select * from v1a join v1b on t1.b = t2.b;
# Bug #17523 natural join and information_schema
#
# Omit columns.PRIVILIGES as it may vary with embedded server.
-# Omit columns.ORDINAL_POSITION as it may vary with hostname='localhost'.
+# Omit columns.ORDINAL_POSITION and statistics.CARDINALITY as it may vary with hostname='localhost'.
select
- statistics.TABLE_NAME, statistics.COLUMN_NAME, statistics.TABLE_CATALOG, statistics.TABLE_SCHEMA, statistics.NON_UNIQUE, statistics.INDEX_SCHEMA, statistics.INDEX_NAME, statistics.SEQ_IN_INDEX, statistics.COLLATION, statistics.CARDINALITY, statistics.SUB_PART, statistics.PACKED, statistics.NULLABLE, statistics.INDEX_TYPE, statistics.COMMENT,
+ statistics.TABLE_NAME, statistics.COLUMN_NAME, statistics.TABLE_CATALOG, statistics.TABLE_SCHEMA, statistics.NON_UNIQUE, statistics.INDEX_SCHEMA, statistics.INDEX_NAME, statistics.SEQ_IN_INDEX, statistics.COLLATION, statistics.SUB_PART, statistics.PACKED, statistics.NULLABLE, statistics.INDEX_TYPE, statistics.COMMENT,
columns.TABLE_CATALOG, columns.TABLE_SCHEMA, columns.COLUMN_DEFAULT, columns.IS_NULLABLE, columns.DATA_TYPE, columns.CHARACTER_MAXIMUM_LENGTH, columns.CHARACTER_OCTET_LENGTH, columns.NUMERIC_PRECISION, columns.NUMERIC_SCALE, columns.CHARACTER_SET_NAME, columns.COLLATION_NAME, columns.COLUMN_TYPE, columns.COLUMN_KEY, columns.EXTRA, columns.COLUMN_COMMENT
from information_schema.statistics join information_schema.columns using(table_name,column_name) where table_name='user';
diff --git a/mysql-test/t/log_basic.test b/mysql-test/t/log_basic.test
index 16d7a4bfe7f..b9a64f8981b 100644
--- a/mysql-test/t/log_basic.test
+++ b/mysql-test/t/log_basic.test
@@ -38,9 +38,9 @@ SELECT @@global.log AS INIT_VALUE;
SELECT @@log AS INIT_VALUE;
-SET @@global.log = ON;
+SET @@global.general_log = ON;
-SET global log = 0;
+SET global general_log = 0;
--echo 'Bug# 34832: log is a system but it is not accessible using SET @@global.log;'
--echo 'SET GLOBAL log; and SELECT @@global.log. SHOW VARIABLES shows the value of log.'
diff --git a/mysql-test/t/log_state.test b/mysql-test/t/log_state.test
index 2fd2cabc97c..977b74aa1e3 100644
--- a/mysql-test/t/log_state.test
+++ b/mysql-test/t/log_state.test
@@ -259,6 +259,32 @@ SET GLOBAL slow_query_log_file = @slow_query_log_file_saved;
###########################################################################
+
+
+## WL#4403 - deprecate @log and @slow_log_queries variables
+
+## these are all deprecated -- show for command-line as well!
+--echo deprecated:
+SET GLOBAL log = 0;
+SET GLOBAL log_slow_queries = 0;
+SET GLOBAL log = DEFAULT;
+SET GLOBAL log_slow_queries = DEFAULT;
+
+## these are NOT deprecated
+--echo not deprecated:
+SELECT @@global.general_log_file INTO @my_glf;
+SELECT @@global.slow_query_log_file INTO @my_sqlf;
+SET GLOBAL general_log = 0;
+SET GLOBAL slow_query_log = 0;
+SET GLOBAL general_log_file = 'WL4403_G.log';
+SET GLOBAL slow_query_log_file = 'WL4403_SQ.log';
+SET GLOBAL general_log_file = @my_glf;
+SET GLOBAL slow_query_log_file = @my_sqlf;
+SET GLOBAL general_log = DEFAULT;
+SET GLOBAL slow_query_log = DEFAULT;
+
+
+
--echo End of 5.1 tests
--enable_ps_protocol
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test
index 5270eced05f..83e0cde8991 100644
--- a/mysql-test/t/partition.test
+++ b/mysql-test/t/partition.test
@@ -1589,13 +1589,15 @@ drop table t;
#
USE mysql;
+TRUNCATE TABLE general_log;
+SET @old_general_log_state = @@global.general_log;
SET GLOBAL general_log = 0;
ALTER TABLE general_log ENGINE = MyISAM;
--error ER_WRONG_USAGE
ALTER TABLE general_log PARTITION BY RANGE (TO_DAYS(event_time))
(PARTITION p0 VALUES LESS THAN (733144), PARTITION p1 VALUES LESS THAN (3000000));
ALTER TABLE general_log ENGINE = CSV;
-SET GLOBAL general_log = default;
+SET GLOBAL general_log = @old_general_log_state;
use test;
#
@@ -1791,4 +1793,76 @@ select count(*) from t1, t2 where t1.createdDate = t2.createdDate;
drop table t1, t2;
+#
+# Bug #38083 Error-causing row inserted into partitioned table despite error
+#
+SET @orig_sql_mode = @@SQL_MODE;
+SET SQL_MODE='STRICT_ALL_TABLES,ERROR_FOR_DIVISION_BY_ZERO';
+CREATE TABLE t1 (c1 INT)
+ PARTITION BY LIST(1 DIV c1) (
+ PARTITION p0 VALUES IN (NULL),
+ PARTITION p1 VALUES IN (1)
+ );
+
+-- error ER_DIVISION_BY_ZERO
+INSERT INTO t1 VALUES (0);
+SELECT * FROM t1;
+TRUNCATE t1;
+-- error ER_DIVISION_BY_ZERO
+INSERT INTO t1 VALUES (NULL), (0), (1), (2);
+SELECT * FROM t1;
+DROP TABLE t1;
+SET SQL_MODE= @orig_sql_mode;
+
+
+
+#
+# Bug #38005 Partitions: error with insert select
+#
+
+create table t1 (s1 int) partition by hash(s1) partitions 2;
+create index i on t1 (s1);
+insert into t1 values (1);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+drop table t1;
+
+create table t1 (s1 int) partition by range(s1)
+ (partition pa1 values less than (10),
+ partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (1);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+drop table t1;
+
+create table t1 (s1 int) partition by range(s1)
+ (partition pa1 values less than (10),
+ partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (20);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+select * from t1;
+drop table t1;
+
+create table t1 (s1 int) partition by range(s1)
+ (partition pa1 values less than (10),
+ partition pa2 values less than MAXVALUE);
+create index i on t1 (s1);
+insert into t1 values (1), (2), (3), (4), (5), (6), (7), (8);
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1;
+insert into t1 select s1 from t1 order by s1 desc;
+insert into t1 select s1 from t1 where s1=3;
+select count(*) from t1;
+drop table t1;
+
--echo End of 5.1 tests
diff --git a/mysql-test/t/slow_launch_time_func.test b/mysql-test/t/slow_launch_time_func.test
index fe8d1ba4c02..c9a7d28bb8a 100644
--- a/mysql-test/t/slow_launch_time_func.test
+++ b/mysql-test/t/slow_launch_time_func.test
@@ -1,6 +1,6 @@
-############# mysql-test\t\SLOW_LAUNCH_time_func.test ##########################
+############# mysql-test\t\slow_launch_time_func.test ##########################
# #
-# Variable Name: slow_launch_time #
+# Variable Name: slow_launch_time #
# Scope: SESSION #
# Access Type: Dynamic #
# Data Type: NUMERIC #
@@ -9,14 +9,20 @@
# #
# #
# Creation Date: 2008-03-02 #
-# Author: Sharique Abdullah #
+# Author: Sharique Abdullah #
+# #
+# Last change: 2008-09-09 mleich Reimplementation of this test #
+# - Fix Bug#36874 : main.slow_launch_time_func test fails #
+# randomly #
+# - Fix other failures and streamline the test #
# #
# Description: Test Cases of Dynamic System Variable "slow_launch_time " #
# that checks behavior of this variable in the following ways #
# * Functionality based on different values #
# #
-#Reference: http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#
-# option_mysqld_slow_launch_time #
+# Reference: #
+# http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html #
+# option_mysqld_slow_launch_time #
# #
################################################################################
@@ -28,82 +34,71 @@
SET @global_slow_launch_time = @@GLOBAL.slow_launch_time;
+--echo ** Connection default **
+connection default;
--echo '#--------------------FN_DYNVARS_124_01-------------------------#'
-#####################################
-# Increase number of connection #
-#####################################
-
---echo ** Connection default **
-connection default;
+########################################################################
+# Reveal that a new connect gets counted as "slow launched thread" if #
+# @@GLOBAL.slow_launch_time = 0. #
+# The value of slow_launch_threads must be increased by 1. #
+########################################################################
SET @@GLOBAL.slow_launch_time=0;
SELECT @@GLOBAL.slow_launch_time;
---echo ** Connecting conn5 using username 'root' **
-CONNECT (conn5,localhost,root,,);
---echo ** Connecting conn6 using username 'root' **
-CONNECT (conn6,localhost,root,,);
---echo ** Connecting conn7 using username 'root' **
-CONNECT (conn7,localhost,root,,);
---echo ** Connecting conn8 using username 'root' **
-CONNECT (conn8,localhost,root,,);
---echo ** Connecting conn9 using username 'root' **
-CONNECT (conn9,localhost,root,,);
---echo ** Connecting conn10 using username 'root' **
-CONNECT (conn10,localhost,root,,);
---echo ** Connecting conn11 using username 'root' **
-CONNECT (conn11,localhost,root,,);
---echo ** Connecting conn12 using username 'root' **
-CONNECT (conn12,localhost,root,,);
---echo ** Connecting conn13 using username 'root' **
-CONNECT (conn13,localhost,root,,);
---echo ** Connecting conn14 using username 'root' **
-CONNECT (conn14,localhost,root,,);
---echo ** Connecting conn15 using username 'root' **
-CONNECT (conn15,localhost,root,,);
---echo ** Connecting conn16 using username 'root' **
-CONNECT (conn16,localhost,root,,);
+let $value_before=
+ query_get_value(show status like 'slow_launch_threads', Value, 1);
+--echo ** Connecting conn1 using username 'root' **
+CONNECT (conn1,localhost,root,,);
+let $value_after=
+ query_get_value(show status like 'slow_launch_threads', Value, 1);
+if (!`SELECT $value_after = $value_before + 1`)
+{
+ --echo ERROR: Subtest FN_DYNVARS_124_01 failed
+ --echo A new connect should be counted as 'slow_launch_thread' if
+ --echo @@GLOBAL.slow_launch_time=0
+ SELECT @@GLOBAL.slow_launch_time;
+ echo Number of slow_launch_threads before new connect: $value_before;
+ echo Number of slow_launch_threads after new connect: $value_after;
+}
+--echo ** Switch to connection default and disconnect conn1 **
+connection default;
+disconnect conn1;
+
+--echo '#--------------------FN_DYNVARS_124_02-------------------------#'
+########################################################################
+# Reveal that a new connect gets not counted as "slow launched thread" #
+# if @@GLOBAL.slow_launch_time is sufficient big. #
+# The value of slow_launch_threads must not change. #
+########################################################################
-#
-# Checking status of slow_launch_threads
-#
+SET @@GLOBAL.slow_launch_time= 1000;
+SELECT @@GLOBAL.slow_launch_time;
-show status like 'slow_launch_threads';
---echo 12 Expected
+let $value_before=
+ query_get_value(show status like 'slow_launch_threads', Value, 1);
+--echo ** Connecting conn2 using username 'root' **
+CONNECT (conn2,localhost,root,,);
+let $value_after=
+ query_get_value(show status like 'slow_launch_threads', Value, 1);
+if (!`SELECT $value_after = $value_before`)
+{
+ --echo ERROR: Subtest FN_DYNVARS_124_02 failed
+ --echo A new connect must not be counted as 'slow_launch_thread' if
+ --echo @@GLOBAL.slow_launch_time is sufficient big.
+ SELECT @@GLOBAL.slow_launch_time;
+ echo Number of slow_launch_threads before new connect: $value_before;
+ echo Number of slow_launch_threads after new connect: $value_after;
+}
#
# Cleanup
#
---echo ** Connection default **
+--echo ** Switch to connection default and disconnect conn2 **
connection default;
-
---echo ** Disconnecting conn5 **
-disconnect conn5;
---echo ** Disconnecting conn6 **
-disconnect conn6;
---echo ** Disconnecting conn7 **
-disconnect conn7;
---echo ** Disconnecting conn8 **
-disconnect conn8;
---echo ** Disconnecting conn9 **
-disconnect conn9;
---echo ** Disconnecting conn10 **
-disconnect conn10;
---echo ** Disconnecting conn11 **
-disconnect conn11;
---echo ** Disconnecting conn12 **
-disconnect conn12;
---echo ** Disconnecting conn13 **
-disconnect conn13;
---echo ** Disconnecting conn14 **
-disconnect conn14;
---echo ** Disconnecting conn15 **
-disconnect conn15;
---echo ** Disconnecting conn16 **
-disconnect conn16;
-
+disconnect conn2;
SET @@GLOBAL.slow_launch_time = @global_slow_launch_time;
diff --git a/mysql-test/t/trigger-trans.test b/mysql-test/t/trigger-trans.test
index 5db5b982773..4d6e82dedcb 100644
--- a/mysql-test/t/trigger-trans.test
+++ b/mysql-test/t/trigger-trans.test
@@ -162,3 +162,18 @@ DROP TABLE t2, t1;
--echo End of 5.0 tests
+
+--echo BUG#31612
+--echo Trigger fired multiple times leads to gaps in auto_increment sequence
+create table t1 (a int, val char(1)) engine=InnoDB;
+create table t2 (b int auto_increment primary key,
+ val char(1)) engine=InnoDB;
+create trigger t1_after_insert after
+ insert on t1 for each row insert into t2 set val=NEW.val;
+insert into t1 values ( 123, 'a'), ( 123, 'b'), ( 123, 'c'),
+ (123, 'd'), (123, 'e'), (123, 'f'), (123, 'g');
+insert into t1 values ( 654, 'a'), ( 654, 'b'), ( 654, 'c'),
+ (654, 'd'), (654, 'e'), (654, 'f'), (654, 'g');
+select * from t2 order by b;
+drop trigger t1_after_insert;
+drop table t1,t2;
diff --git a/mysql-test/t/tx_isolation_func.test b/mysql-test/t/tx_isolation_func.test
index 3a4167dc368..1fd2e323db8 100644
--- a/mysql-test/t/tx_isolation_func.test
+++ b/mysql-test/t/tx_isolation_func.test
@@ -75,10 +75,12 @@ INSERT INTO t1 VALUES(24, 24);
--echo ** Connection con0 **
connection con0;
SET SESSION tx_isolation = 'READ-UNCOMMITTED';
+set binlog_format=mixed;
--echo ** Connection con1 **
connection con1;
SET SESSION tx_isolation = 'READ-UNCOMMITTED';
+set binlog_format=mixed;
#
# Testing WHERE on keys using IN clause
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 4d521e9d3a0..14e321218ca 100644
--- a/sql/ha_partition.cc
+++ b/sql/ha_partition.cc
@@ -160,7 +160,8 @@ const uint ha_partition::NO_CURRENT_PART_ID= 0xFFFFFFFF;
ha_partition::ha_partition(handlerton *hton, TABLE_SHARE *share)
:handler(hton, share), m_part_info(NULL), m_create_handler(FALSE),
- m_is_sub_partitioned(0), is_clone(FALSE)
+ m_is_sub_partitioned(0), is_clone(FALSE), auto_increment_lock(FALSE),
+ auto_increment_safe_stmt_log_lock(FALSE)
{
DBUG_ENTER("ha_partition::ha_partition(table)");
init_handler_variables();
@@ -182,7 +183,8 @@ ha_partition::ha_partition(handlerton *hton, TABLE_SHARE *share)
ha_partition::ha_partition(handlerton *hton, partition_info *part_info)
:handler(hton, NULL), m_part_info(part_info),
m_create_handler(TRUE),
- m_is_sub_partitioned(m_part_info->is_sub_partitioned()), is_clone(FALSE)
+ m_is_sub_partitioned(m_part_info->is_sub_partitioned()), is_clone(FALSE),
+ auto_increment_lock(FALSE), auto_increment_safe_stmt_log_lock(FALSE)
{
DBUG_ENTER("ha_partition::ha_partition(part_info)");
init_handler_variables();
@@ -1248,7 +1250,7 @@ int ha_partition::prepare_new_partition(TABLE *tbl,
assumes that external_lock() is last call that may fail here.
Otherwise see description for cleanup_new_partition().
*/
- if ((error= file->ha_external_lock(current_thd, m_lock_type)))
+ if ((error= file->ha_external_lock(ha_thd(), m_lock_type)))
goto error;
DBUG_RETURN(0);
@@ -1336,8 +1338,8 @@ void ha_partition::cleanup_new_partition(uint part_count)
int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
const char *path,
- ulonglong *copied,
- ulonglong *deleted,
+ ulonglong * const copied,
+ ulonglong * const deleted,
const uchar *pack_frm_data
__attribute__((unused)),
size_t pack_frm_len
@@ -1354,7 +1356,7 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
int error= 1;
bool first;
uint temp_partitions= m_part_info->temp_partitions.elements;
- THD *thd= current_thd;
+ THD *thd= ha_thd();
DBUG_ENTER("ha_partition::change_partitions");
/*
@@ -1628,7 +1630,8 @@ int ha_partition::change_partitions(HA_CREATE_INFO *create_info,
partitions.
*/
-int ha_partition::copy_partitions(ulonglong *copied, ulonglong *deleted)
+int ha_partition::copy_partitions(ulonglong * const copied,
+ ulonglong * const deleted)
{
uint reorg_part= 0;
int result= 0;
@@ -1674,13 +1677,13 @@ int ha_partition::copy_partitions(ulonglong *copied, ulonglong *deleted)
table since it doesn't fit into any partition any longer due to
changed partitioning ranges or list values.
*/
- deleted++;
+ (*deleted)++;
}
else
{
THD *thd= ha_thd();
/* Copy record to new handler */
- copied++;
+ (*copied)++;
tmp_disable_binlog(thd); /* Do not replicate the low-level changes. */
result= m_new_file[new_part]->ha_write_row(m_rec0);
reenable_binlog(thd);
@@ -1714,6 +1717,14 @@ error:
void ha_partition::update_create_info(HA_CREATE_INFO *create_info)
{
+ /*
+ Fix for bug#38751, some engines needs info-calls in ALTER.
+ Archive need this since it flushes in ::info.
+ HA_STATUS_AUTO is optimized so it will not always be forwarded
+ to all partitions, but HA_STATUS_VARIABLE will.
+ */
+ info(HA_STATUS_VARIABLE);
+
info(HA_STATUS_AUTO);
if (!(create_info->used_fields & HA_CREATE_USED_AUTO))
@@ -1804,7 +1815,7 @@ uint ha_partition::del_ren_cre_table(const char *from,
handler **file, **abort_file;
DBUG_ENTER("del_ren_cre_table()");
- if (get_from_handler_file(from, current_thd->mem_root))
+ if (get_from_handler_file(from, ha_thd()->mem_root))
DBUG_RETURN(TRUE);
DBUG_ASSERT(m_file_buffer);
DBUG_PRINT("enter", ("from: (%s) to: (%s)", from, to));
@@ -1931,7 +1942,7 @@ int ha_partition::set_up_table_before_create(TABLE *tbl,
{
int error= 0;
const char *partition_name;
- THD *thd= current_thd;
+ THD *thd= ha_thd();
DBUG_ENTER("set_up_table_before_create");
if (!part_elem)
@@ -2327,7 +2338,7 @@ bool ha_partition::get_from_handler_file(const char *name, MEM_ROOT *mem_root)
tot_partition_words= (m_tot_parts + 3) / 4;
engine_array= (handlerton **) my_alloca(m_tot_parts * sizeof(handlerton*));
for (i= 0; i < m_tot_parts; i++)
- engine_array[i]= ha_resolve_by_legacy_type(current_thd,
+ engine_array[i]= ha_resolve_by_legacy_type(ha_thd(),
(enum legacy_db_type)
*(uchar *) ((file_buffer) + 12 + i));
address_tot_name_len= file_buffer + 12 + 4 * tot_partition_words;
@@ -2398,8 +2409,10 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
uint alloc_len;
handler **file;
char name_buff[FN_REFLEN];
+ bool is_not_tmp_table= (table_share->tmp_table == NO_TMP_TABLE);
DBUG_ENTER("ha_partition::open");
+ DBUG_ASSERT(table->s == table_share);
ref_length= 0;
m_mode= mode;
m_open_test_lock= test_if_locked;
@@ -2408,9 +2421,9 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
DBUG_RETURN(1);
m_start_key.length= 0;
m_rec0= table->record[0];
- m_rec_length= table->s->reclength;
+ m_rec_length= table_share->reclength;
alloc_len= m_tot_parts * (m_rec_length + PARTITION_BYTES_IN_POS);
- alloc_len+= table->s->max_key_length;
+ alloc_len+= table_share->max_key_length;
if (!m_ordered_rec_buffer)
{
if (!(m_ordered_rec_buffer= (uchar*)my_malloc(alloc_len, MYF(MY_WME))))
@@ -2483,6 +2496,30 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
goto err_handler;
/*
+ Use table_share->ha_data to share auto_increment_value among all handlers
+ for the same table.
+ */
+ if (is_not_tmp_table)
+ pthread_mutex_lock(&table_share->mutex);
+ if (!table_share->ha_data)
+ {
+ HA_DATA_PARTITION *ha_data;
+ /* currently only needed for auto_increment */
+ table_share->ha_data= ha_data= (HA_DATA_PARTITION*)
+ alloc_root(&table_share->mem_root,
+ sizeof(HA_DATA_PARTITION));
+ if (!ha_data)
+ {
+ if (is_not_tmp_table)
+ pthread_mutex_unlock(&table_share->mutex);
+ goto err_handler;
+ }
+ DBUG_PRINT("info", ("table_share->ha_data 0x%p", ha_data));
+ bzero(ha_data, sizeof(HA_DATA_PARTITION));
+ }
+ if (is_not_tmp_table)
+ pthread_mutex_unlock(&table_share->mutex);
+ /*
Some handlers update statistics as part of the open call. This will in
some cases corrupt the statistics of the partition handler and thus
to ensure we have correct statistics we call info from open after
@@ -2539,6 +2576,7 @@ int ha_partition::close(void)
handler **file;
DBUG_ENTER("ha_partition::close");
+ DBUG_ASSERT(table->s == table_share);
delete_queue(&m_queue);
if (!is_clone)
bitmap_free(&(m_part_info->used_partitions));
@@ -2607,6 +2645,7 @@ int ha_partition::external_lock(THD *thd, int lock_type)
handler **file;
DBUG_ENTER("ha_partition::external_lock");
+ DBUG_ASSERT(!auto_increment_lock && !auto_increment_safe_stmt_log_lock);
file= m_file;
m_lock_type= lock_type;
@@ -2825,8 +2864,9 @@ int ha_partition::write_row(uchar * buf)
uint32 part_id;
int error;
longlong func_value;
- bool autoincrement_lock= FALSE;
+ bool have_auto_increment= table->next_number_field && buf == table->record[0];
my_bitmap_map *old_map;
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
THD *thd= ha_thd();
timestamp_auto_set_type orig_timestamp_type= table->timestamp_field_type;
#ifdef NOT_NEEDED
@@ -2844,28 +2884,16 @@ int ha_partition::write_row(uchar * buf)
If we have an auto_increment column and we are writing a changed row
or a new row, then update the auto_increment value in the record.
*/
- if (table->next_number_field && buf == table->record[0])
+ if (have_auto_increment)
{
- /*
- Some engines (InnoDB for example) can change autoincrement
- counter only after 'table->write_row' operation.
- So if another thread gets inside the ha_partition::write_row
- before it is complete, it gets same auto_increment value,
- which means DUP_KEY error (bug #27405)
- Here we separate the access using table_share->mutex, and
- use autoincrement_lock variable to avoid unnecessary locks.
- Probably not an ideal solution.
- */
- if (table_share->tmp_table == NO_TMP_TABLE)
+ if (!ha_data->auto_inc_initialized &&
+ !table->s->next_number_keypart)
{
/*
- Bug#30878 crash when alter table from non partitioned table
- to partitioned.
- Checking if tmp table then there is no need to lock,
- and the table_share->mutex may not be initialised.
+ If auto_increment in table_share is not initialized, start by
+ initializing it.
*/
- autoincrement_lock= TRUE;
- pthread_mutex_lock(&table_share->mutex);
+ info(HA_STATUS_AUTO);
}
error= update_auto_increment();
@@ -2903,11 +2931,11 @@ int ha_partition::write_row(uchar * buf)
DBUG_PRINT("info", ("Insert in partition %d", part_id));
tmp_disable_binlog(thd); /* Do not replicate the low-level changes. */
error= m_file[part_id]->ha_write_row(buf);
+ if (have_auto_increment && !table->s->next_number_keypart)
+ set_auto_increment_if_higher(table->next_number_field->val_int());
reenable_binlog(thd);
exit:
table->timestamp_field_type= orig_timestamp_type;
- if (autoincrement_lock)
- pthread_mutex_unlock(&table_share->mutex);
DBUG_RETURN(error);
}
@@ -2931,13 +2959,6 @@ exit:
Keep in mind that the server can do updates based on ordering if an
ORDER BY clause was used. Consecutive ordering is not guarenteed.
- Currently new_data will not have an updated auto_increament record, or
- and updated timestamp field. You can do these for partition by doing these:
- if (table->timestamp_field_type & TIMESTAMP_AUTO_SET_ON_UPDATE)
- table->timestamp_field->set_time();
- if (table->next_number_field && record == table->record[0])
- update_auto_increment();
-
Called from sql_select.cc, sql_acl.cc, sql_update.cc, and sql_insert.cc.
new_data is always record[0]
old_data is normally record[1] but may be anything
@@ -2969,17 +2990,23 @@ int ha_partition::update_row(const uchar *old_data, uchar *new_data)
goto exit;
}
- /*
- TODO:
- set_internal_auto_increment=
- max(set_internal_auto_increment, new_data->auto_increment)
- */
m_last_part= new_part_id;
if (new_part_id == old_part_id)
{
DBUG_PRINT("info", ("Update in partition %d", new_part_id));
tmp_disable_binlog(thd); /* Do not replicate the low-level changes. */
error= m_file[new_part_id]->ha_update_row(old_data, new_data);
+ /*
+ if updating an auto_increment column, update
+ table_share->ha_data->next_auto_inc_val if needed.
+ (not to be used if auto_increment on secondary field in a multi-
+ column index)
+ mysql_update does not set table->next_number_field, so we use
+ table->found_next_number_field instead.
+ */
+ if (table->found_next_number_field && new_data == table->record[0] &&
+ !table->s->next_number_keypart)
+ set_auto_increment_if_higher(table->found_next_number_field->val_int());
reenable_binlog(thd);
goto exit;
}
@@ -2989,6 +3016,9 @@ int ha_partition::update_row(const uchar *old_data, uchar *new_data)
old_part_id, new_part_id));
tmp_disable_binlog(thd); /* Do not replicate the low-level changes. */
error= m_file[new_part_id]->ha_write_row(new_data);
+ if (table->found_next_number_field && new_data == table->record[0] &&
+ !table->s->next_number_keypart)
+ set_auto_increment_if_higher(table->found_next_number_field->val_int());
reenable_binlog(thd);
if (error)
goto exit;
@@ -3084,8 +3114,17 @@ int ha_partition::delete_all_rows()
{
int error;
handler **file;
+ THD *thd= ha_thd();
DBUG_ENTER("ha_partition::delete_all_rows");
+ if (thd->lex->sql_command == SQLCOM_TRUNCATE)
+ {
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
+ lock_auto_increment();
+ ha_data->next_auto_inc_val= 0;
+ ha_data->auto_inc_initialized= FALSE;
+ unlock_auto_increment();
+ }
file= m_file;
do
{
@@ -4251,6 +4290,17 @@ int ha_partition::handle_unordered_scan_next_partition(uchar * buf)
break;
case partition_index_first:
DBUG_PRINT("info", ("index_first on partition %d", i));
+ /* MyISAM engine can fail if we call index_first() when indexes disabled */
+ /* that happens if the table is empty. */
+ /* Here we use file->stats.records instead of file->records() because */
+ /* file->records() is supposed to return an EXACT count, and it can be */
+ /* possibly slow. We don't need an exact number, an approximate one- from*/
+ /* the last ::info() call - is sufficient. */
+ if (file->stats.records == 0)
+ {
+ error= HA_ERR_END_OF_FILE;
+ break;
+ }
error= file->index_first(buf);
break;
case partition_index_first_unordered:
@@ -4338,10 +4388,32 @@ int ha_partition::handle_ordered_index_scan(uchar *buf, bool reverse_order)
m_start_key.flag);
break;
case partition_index_first:
+ /* MyISAM engine can fail if we call index_first() when indexes disabled */
+ /* that happens if the table is empty. */
+ /* Here we use file->stats.records instead of file->records() because */
+ /* file->records() is supposed to return an EXACT count, and it can be */
+ /* possibly slow. We don't need an exact number, an approximate one- from*/
+ /* the last ::info() call - is sufficient. */
+ if (file->stats.records == 0)
+ {
+ error= HA_ERR_END_OF_FILE;
+ break;
+ }
error= file->index_first(rec_buf_ptr);
reverse_order= FALSE;
break;
case partition_index_last:
+ /* MyISAM engine can fail if we call index_last() when indexes disabled */
+ /* that happens if the table is empty. */
+ /* Here we use file->stats.records instead of file->records() because */
+ /* file->records() is supposed to return an EXACT count, and it can be */
+ /* possibly slow. We don't need an exact number, an approximate one- from*/
+ /* the last ::info() call - is sufficient. */
+ if (file->stats.records == 0)
+ {
+ error= HA_ERR_END_OF_FILE;
+ break;
+ }
error= file->index_last(rec_buf_ptr);
reverse_order= TRUE;
break;
@@ -4596,21 +4668,54 @@ int ha_partition::handle_ordered_prev(uchar *buf)
int ha_partition::info(uint flag)
{
- handler *file, **file_array;
- DBUG_ENTER("ha_partition:info");
+ DBUG_ENTER("ha_partition::info");
if (flag & HA_STATUS_AUTO)
{
- ulonglong auto_increment_value= 0;
+ bool auto_inc_is_first_in_idx= (table_share->next_number_keypart == 0);
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
DBUG_PRINT("info", ("HA_STATUS_AUTO"));
- file_array= m_file;
- do
+ if (!table->found_next_number_field)
+ stats.auto_increment_value= 0;
+ else if (ha_data->auto_inc_initialized)
{
- file= *file_array;
- file->info(HA_STATUS_AUTO);
- set_if_bigger(auto_increment_value, file->stats.auto_increment_value);
- } while (*(++file_array));
- stats.auto_increment_value= auto_increment_value;
+ lock_auto_increment();
+ stats.auto_increment_value= ha_data->next_auto_inc_val;
+ unlock_auto_increment();
+ }
+ else
+ {
+ lock_auto_increment();
+ /* to avoid two concurrent initializations, check again when locked */
+ if (ha_data->auto_inc_initialized)
+ stats.auto_increment_value= ha_data->next_auto_inc_val;
+ else
+ {
+ handler *file, **file_array;
+ ulonglong auto_increment_value= 0;
+ file_array= m_file;
+ DBUG_PRINT("info",
+ ("checking all partitions for auto_increment_value"));
+ do
+ {
+ file= *file_array;
+ file->info(HA_STATUS_AUTO);
+ set_if_bigger(auto_increment_value,
+ file->stats.auto_increment_value);
+ } while (*(++file_array));
+
+ DBUG_ASSERT(auto_increment_value);
+ stats.auto_increment_value= auto_increment_value;
+ if (auto_inc_is_first_in_idx)
+ {
+ set_if_bigger(ha_data->next_auto_inc_val, auto_increment_value);
+ ha_data->auto_inc_initialized= TRUE;
+ DBUG_PRINT("info", ("initializing next_auto_inc_val to %lu",
+ (ulong) ha_data->next_auto_inc_val));
+ }
+ }
+ unlock_auto_increment();
+ }
}
if (flag & HA_STATUS_VARIABLE)
{
@@ -4634,6 +4739,7 @@ int ha_partition::info(uint flag)
check_time: Time of last check (only applicable to MyISAM)
We report last time of all underlying handlers
*/
+ handler *file, **file_array;
stats.records= 0;
stats.deleted= 0;
stats.data_file_length= 0;
@@ -4715,6 +4821,7 @@ int ha_partition::info(uint flag)
So we calculate these constants by using the variables on the first
handler.
*/
+ handler *file;
file= m_file[0];
file->info(HA_STATUS_CONST);
@@ -4736,6 +4843,7 @@ int ha_partition::info(uint flag)
}
if (flag & HA_STATUS_TIME)
{
+ handler *file, **file_array;
DBUG_PRINT("info", ("info: HA_STATUS_TIME"));
/*
This flag is used to set the latest update time of the table.
@@ -5796,19 +5904,33 @@ int ha_partition::cmp_ref(const uchar *ref1, const uchar *ref2)
MODULE auto increment
****************************************************************************/
-void ha_partition::restore_auto_increment(ulonglong)
-{
- DBUG_ENTER("ha_partition::restore_auto_increment");
- DBUG_VOID_RETURN;
+int ha_partition::reset_auto_increment(ulonglong value)
+{
+ handler **file= m_file;
+ int res;
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
+ DBUG_ENTER("ha_partition::reset_auto_increment");
+ lock_auto_increment();
+ ha_data->auto_inc_initialized= FALSE;
+ ha_data->next_auto_inc_val= 0;
+ do
+ {
+ if ((res= (*file)->ha_reset_auto_increment(value)) != 0)
+ break;
+ } while (*(++file));
+ unlock_auto_increment();
+ DBUG_RETURN(res);
}
-/*
+/**
This method is called by update_auto_increment which in turn is called
- by the individual handlers as part of write_row. We will always let
- the first handler keep track of the auto increment value for all
- partitions.
+ by the individual handlers as part of write_row. We use the
+ table_share->ha_data->next_auto_inc_val, or search all
+ partitions for the highest auto_increment_value if not initialized or
+ if auto_increment field is a secondary part of a key, we must search
+ every partition when holding a mutex to be sure of correctness.
*/
void ha_partition::get_auto_increment(ulonglong offset, ulonglong increment,
@@ -5816,59 +5938,88 @@ void ha_partition::get_auto_increment(ulonglong offset, ulonglong increment,
ulonglong *first_value,
ulonglong *nb_reserved_values)
{
- ulonglong first_value_part, last_value_part, nb_reserved_values_part,
- last_value= ~ (ulonglong) 0;
- handler **pos, **end;
- bool retry= TRUE;
DBUG_ENTER("ha_partition::get_auto_increment");
-
-again:
- for (pos=m_file, end= m_file+ m_tot_parts; pos != end ; pos++)
+ DBUG_PRINT("info", ("offset: %lu inc: %lu desired_values: %lu "
+ "first_value: %lu", (ulong) offset, (ulong) increment,
+ (ulong) nb_desired_values, (ulong) *first_value));
+ DBUG_ASSERT(increment && nb_desired_values);
+ *first_value= 0;
+ if (table->s->next_number_keypart)
{
- first_value_part= *first_value;
- (*pos)->get_auto_increment(offset, increment, nb_desired_values,
- &first_value_part, &nb_reserved_values_part);
- if (first_value_part == ~(ulonglong)(0)) // error in one partition
- {
- *first_value= first_value_part;
- sql_print_error("Partition failed to reserve auto_increment value");
- DBUG_VOID_RETURN;
- }
/*
- Partition has reserved an interval. Intersect it with the intervals
- already reserved for the previous partitions.
+ next_number_keypart is != 0 if the auto_increment column is a secondary
+ column in the index (it is allowed in MyISAM)
*/
- last_value_part= (nb_reserved_values_part == ULONGLONG_MAX) ?
- ULONGLONG_MAX : (first_value_part + nb_reserved_values_part * increment);
- set_if_bigger(*first_value, first_value_part);
- set_if_smaller(last_value, last_value_part);
+ DBUG_PRINT("info", ("next_number_keypart != 0"));
+ ulonglong nb_reserved_values_part;
+ ulonglong first_value_part, max_first_value;
+ handler **file= m_file;
+ first_value_part= max_first_value= *first_value;
+ /* Must lock and find highest value among all partitions. */
+ lock_auto_increment();
+ do
+ {
+ /* Only nb_desired_values = 1 makes sense */
+ (*file)->get_auto_increment(offset, increment, 1,
+ &first_value_part, &nb_reserved_values_part);
+ if (first_value_part == ~(ulonglong)(0)) // error in one partition
+ {
+ *first_value= first_value_part;
+ /* log that the error was between table/partition handler */
+ sql_print_error("Partition failed to reserve auto_increment value");
+ unlock_auto_increment();
+ DBUG_VOID_RETURN;
+ }
+ DBUG_PRINT("info", ("first_value_part: %lu", (ulong) first_value_part));
+ set_if_bigger(max_first_value, first_value_part);
+ } while (*(++file));
+ *first_value= max_first_value;
+ *nb_reserved_values= 1;
+ unlock_auto_increment();
}
- if (last_value < *first_value) /* empty intersection, error */
+ else
{
+ THD *thd= ha_thd();
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
/*
- When we have an empty intersection, it means that one or more
- partitions may have a significantly different autoinc next value.
- We should not fail here - it just means that we should try to
- find a new reservation making use of the current *first_value
- wbich should now be compatible with all partitions.
+ This is initialized in the beginning of the first write_row call.
*/
- if (retry)
- {
- retry= FALSE;
- last_value= ~ (ulonglong) 0;
- release_auto_increment();
- goto again;
- }
+ DBUG_ASSERT(ha_data->auto_inc_initialized);
+ /*
+ Get a lock for handling the auto_increment in table_share->ha_data
+ for avoiding two concurrent statements getting the same number.
+ */
+
+ lock_auto_increment();
+
/*
- We should not get here.
+ In a multi-row insert statement like INSERT SELECT and LOAD DATA
+ where the number of candidate rows to insert is not known in advance
+ we must hold a lock/mutex for the whole statement if we have statement
+ based replication. Because the statement-based binary log contains
+ only the first generated value used by the statement, and slaves assumes
+ all other generated values used by this statement were consecutive to
+ this first one, we must exclusively lock the generator until the statement
+ is done.
*/
- sql_print_error("Failed to calculate auto_increment value for partition");
-
- *first_value= ~(ulonglong)(0);
+ if (!auto_increment_safe_stmt_log_lock &&
+ thd->lex->sql_command != SQLCOM_INSERT &&
+ mysql_bin_log.is_open() &&
+ !thd->current_stmt_binlog_row_based &&
+ (thd->options & OPTION_BIN_LOG))
+ {
+ DBUG_PRINT("info", ("locking auto_increment_safe_stmt_log_lock"));
+ auto_increment_safe_stmt_log_lock= TRUE;
+ }
+
+ /* this gets corrected (for offset/increment) in update_auto_increment */
+ *first_value= ha_data->next_auto_inc_val;
+ ha_data->next_auto_inc_val+= nb_desired_values * increment;
+
+ unlock_auto_increment();
+ DBUG_PRINT("info", ("*first_value: %lu", (ulong) *first_value));
+ *nb_reserved_values= nb_desired_values;
}
- if (increment) // If not check for values
- *nb_reserved_values= (last_value == ULONGLONG_MAX) ?
- ULONGLONG_MAX : ((last_value - *first_value) / increment);
DBUG_VOID_RETURN;
}
@@ -5876,9 +6027,31 @@ void ha_partition::release_auto_increment()
{
DBUG_ENTER("ha_partition::release_auto_increment");
- for (uint i= 0; i < m_tot_parts; i++)
+ if (table->s->next_number_keypart)
{
- m_file[i]->ha_release_auto_increment();
+ for (uint i= 0; i < m_tot_parts; i++)
+ m_file[i]->ha_release_auto_increment();
+ }
+ else if (next_insert_id)
+ {
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
+ ulonglong next_auto_inc_val;
+ lock_auto_increment();
+ next_auto_inc_val= ha_data->next_auto_inc_val;
+ if (next_insert_id < next_auto_inc_val &&
+ auto_inc_interval_for_cur_row.maximum() >= next_auto_inc_val)
+ ha_data->next_auto_inc_val= next_insert_id;
+ DBUG_PRINT("info", ("ha_data->next_auto_inc_val: %lu",
+ (ulong) ha_data->next_auto_inc_val));
+
+ /* Unlock the multi row statement lock taken in get_auto_increment */
+ if (auto_increment_safe_stmt_log_lock)
+ {
+ auto_increment_safe_stmt_log_lock= FALSE;
+ DBUG_PRINT("info", ("unlocking auto_increment_safe_stmt_log_lock"));
+ }
+
+ unlock_auto_increment();
}
DBUG_VOID_RETURN;
}
diff --git a/sql/ha_partition.h b/sql/ha_partition.h
index 459b566b6d8..685f057dfce 100644
--- a/sql/ha_partition.h
+++ b/sql/ha_partition.h
@@ -37,6 +37,15 @@ typedef struct st_partition_share
} PARTITION_SHARE;
#endif
+/**
+ Partition specific ha_data struct.
+ @todo: move all partition specific data from TABLE_SHARE here.
+*/
+typedef struct st_ha_data_partition
+{
+ ulonglong next_auto_inc_val; /**< first non reserved value */
+ bool auto_inc_initialized;
+} HA_DATA_PARTITION;
#define PARTITION_BYTES_IN_POS 2
class ha_partition :public handler
@@ -140,6 +149,12 @@ private:
"own" the m_part_info structure.
*/
bool is_clone;
+ bool auto_increment_lock; /**< lock reading/updating auto_inc */
+ /**
+ Flag to keep the auto_increment lock through out the statement.
+ This to ensure it will work with statement based replication.
+ */
+ bool auto_increment_safe_stmt_log_lock;
public:
handler *clone(MEM_ROOT *mem_root);
virtual void set_part_info(partition_info *part_info)
@@ -196,8 +211,8 @@ public:
virtual char *update_table_comment(const char *comment);
virtual int change_partitions(HA_CREATE_INFO *create_info,
const char *path,
- ulonglong *copied,
- ulonglong *deleted,
+ ulonglong * const copied,
+ ulonglong * const deleted,
const uchar *pack_frm_data,
size_t pack_frm_len);
virtual int drop_partitions(const char *path);
@@ -211,7 +226,7 @@ public:
virtual void change_table_ptr(TABLE *table_arg, TABLE_SHARE *share);
private:
int prepare_for_rename();
- int copy_partitions(ulonglong *copied, ulonglong *deleted);
+ int copy_partitions(ulonglong * const copied, ulonglong * const deleted);
void cleanup_new_partition(uint part_count);
int prepare_new_partition(TABLE *table, HA_CREATE_INFO *create_info,
handler *file, const char *part_name,
@@ -826,12 +841,51 @@ public:
auto_increment_column_changed
-------------------------------------------------------------------------
*/
- virtual void restore_auto_increment(ulonglong prev_insert_id);
virtual void get_auto_increment(ulonglong offset, ulonglong increment,
ulonglong nb_desired_values,
ulonglong *first_value,
ulonglong *nb_reserved_values);
virtual void release_auto_increment();
+private:
+ virtual int reset_auto_increment(ulonglong value);
+ virtual void lock_auto_increment()
+ {
+ /* lock already taken */
+ if (auto_increment_safe_stmt_log_lock)
+ return;
+ DBUG_ASSERT(table_share->ha_data && !auto_increment_lock);
+ if(table_share->tmp_table == NO_TMP_TABLE)
+ {
+ auto_increment_lock= TRUE;
+ pthread_mutex_lock(&table_share->mutex);
+ }
+ }
+ virtual void unlock_auto_increment()
+ {
+ DBUG_ASSERT(table_share->ha_data);
+ /*
+ If auto_increment_safe_stmt_log_lock is true, we have to keep the lock.
+ It will be set to false and thus unlocked at the end of the statement by
+ ha_partition::release_auto_increment.
+ */
+ if(auto_increment_lock && !auto_increment_safe_stmt_log_lock)
+ {
+ pthread_mutex_unlock(&table_share->mutex);
+ auto_increment_lock= FALSE;
+ }
+ }
+ virtual void set_auto_increment_if_higher(const ulonglong nr)
+ {
+ HA_DATA_PARTITION *ha_data= (HA_DATA_PARTITION*) table_share->ha_data;
+ lock_auto_increment();
+ /* must check when the mutex is taken */
+ if (nr >= ha_data->next_auto_inc_val)
+ ha_data->next_auto_inc_val= nr + 1;
+ ha_data->auto_inc_initialized= TRUE;
+ unlock_auto_increment();
+ }
+
+public:
/*
-------------------------------------------------------------------------
diff --git a/sql/handler.cc b/sql/handler.cc
index 8765a7f86bf..981984c812d 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -2202,7 +2202,12 @@ prev_insert_id(ulonglong nr, struct system_variables *variables)
- In both cases, the reserved intervals are remembered in
thd->auto_inc_intervals_in_cur_stmt_for_binlog if statement-based
binlogging; the last reserved interval is remembered in
- auto_inc_interval_for_cur_row.
+ auto_inc_interval_for_cur_row. The number of reserved intervals is
+ remembered in auto_inc_intervals_count. It differs from the number of
+ elements in thd->auto_inc_intervals_in_cur_stmt_for_binlog() because the
+ latter list is cumulative over all statements forming one binlog event
+ (when stored functions and triggers are used), and collapses two
+ contiguous intervals in one (see its append() method).
The idea is that generated auto_increment values are predictable and
independent of the column values in the table. This is needed to be
@@ -2286,8 +2291,6 @@ int handler::update_auto_increment()
handler::estimation_rows_to_insert was set by
handler::ha_start_bulk_insert(); if 0 it means "unknown".
*/
- uint nb_already_reserved_intervals=
- thd->auto_inc_intervals_in_cur_stmt_for_binlog.nb_elements();
ulonglong nb_desired_values;
/*
If an estimation was given to the engine:
@@ -2299,17 +2302,17 @@ int handler::update_auto_increment()
start, starting from AUTO_INC_DEFAULT_NB_ROWS.
Don't go beyond a max to not reserve "way too much" (because
reservation means potentially losing unused values).
+ Note that in prelocked mode no estimation is given.
*/
- if (nb_already_reserved_intervals == 0 &&
- (estimation_rows_to_insert > 0))
+ if ((auto_inc_intervals_count == 0) && (estimation_rows_to_insert > 0))
nb_desired_values= estimation_rows_to_insert;
else /* go with the increasing defaults */
{
/* avoid overflow in formula, with this if() */
- if (nb_already_reserved_intervals <= AUTO_INC_DEFAULT_NB_MAX_BITS)
+ if (auto_inc_intervals_count <= AUTO_INC_DEFAULT_NB_MAX_BITS)
{
- nb_desired_values= AUTO_INC_DEFAULT_NB_ROWS *
- (1 << nb_already_reserved_intervals);
+ nb_desired_values= AUTO_INC_DEFAULT_NB_ROWS *
+ (1 << auto_inc_intervals_count);
set_if_smaller(nb_desired_values, AUTO_INC_DEFAULT_NB_MAX);
}
else
@@ -2322,7 +2325,7 @@ int handler::update_auto_increment()
&nb_reserved_values);
if (nr == ~(ulonglong) 0)
DBUG_RETURN(HA_ERR_AUTOINC_READ_FAILED); // Mark failure
-
+
/*
That rounding below should not be needed when all engines actually
respect offset and increment in get_auto_increment(). But they don't
@@ -2333,7 +2336,7 @@ int handler::update_auto_increment()
*/
nr= compute_next_insert_id(nr-1, variables);
}
-
+
if (table->s->next_number_keypart == 0)
{
/* We must defer the appending until "nr" has been possibly truncated */
@@ -2377,8 +2380,9 @@ int handler::update_auto_increment()
{
auto_inc_interval_for_cur_row.replace(nr, nb_reserved_values,
variables->auto_increment_increment);
+ auto_inc_intervals_count++;
/* Row-based replication does not need to store intervals in binlog */
- if (!thd->current_stmt_binlog_row_based)
+ if (mysql_bin_log.is_open() && !thd->current_stmt_binlog_row_based)
thd->auto_inc_intervals_in_cur_stmt_for_binlog.append(auto_inc_interval_for_cur_row.minimum(),
auto_inc_interval_for_cur_row.values(),
variables->auto_increment_increment);
@@ -2498,6 +2502,7 @@ void handler::ha_release_auto_increment()
release_auto_increment();
insert_id_for_cur_row= 0;
auto_inc_interval_for_cur_row.replace(0, 0, 0);
+ auto_inc_intervals_count= 0;
if (next_insert_id > 0)
{
next_insert_id= 0;
diff --git a/sql/handler.h b/sql/handler.h
index df6157f80b4..b943e188962 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -1129,6 +1129,13 @@ public:
inserter.
*/
Discrete_interval auto_inc_interval_for_cur_row;
+ /**
+ Number of reserved auto-increment intervals. Serves as a heuristic
+ when we have no estimation of how many records the statement will insert:
+ the more intervals we have reserved, the bigger the next one. Reset in
+ handler::ha_release_auto_increment().
+ */
+ uint auto_inc_intervals_count;
handler(handlerton *ht_arg, TABLE_SHARE *share_arg)
:table_share(share_arg), table(0),
@@ -1137,7 +1144,8 @@ public:
ref_length(sizeof(my_off_t)),
ft_handler(0), inited(NONE),
locked(FALSE), implicit_emptied(0),
- pushed_cond(0), next_insert_id(0), insert_id_for_cur_row(0)
+ pushed_cond(0), next_insert_id(0), insert_id_for_cur_row(0),
+ auto_inc_intervals_count(0)
{}
virtual ~handler(void)
{
@@ -1241,8 +1249,8 @@ public:
int ha_change_partitions(HA_CREATE_INFO *create_info,
const char *path,
- ulonglong *copied,
- ulonglong *deleted,
+ ulonglong * const copied,
+ ulonglong * const deleted,
const uchar *pack_frm_data,
size_t pack_frm_len);
int ha_drop_partitions(const char *path);
@@ -1859,7 +1867,8 @@ private:
This is called to delete all rows in a table
If the handler don't support this, then this function will
return HA_ERR_WRONG_COMMAND and MySQL will delete the rows one
- by one.
+ by one. It should reset auto_increment if
+ thd->lex->sql_command == SQLCOM_TRUNCATE.
*/
virtual int delete_all_rows()
{ return (my_errno=HA_ERR_WRONG_COMMAND); }
@@ -1898,8 +1907,8 @@ private:
virtual int change_partitions(HA_CREATE_INFO *create_info,
const char *path,
- ulonglong *copied,
- ulonglong *deleted,
+ ulonglong * const copied,
+ ulonglong * const deleted,
const uchar *pack_frm_data,
size_t pack_frm_len)
{ return HA_ERR_WRONG_COMMAND; }
diff --git a/sql/item.cc b/sql/item.cc
index cdb71e86694..fc33f3d5cad 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1248,10 +1248,12 @@ Item_name_const::Item_name_const(Item *name_arg, Item *val):
if (!(valid_args= name_item->basic_const_item() &&
(value_item->basic_const_item() ||
((value_item->type() == FUNC_ITEM) &&
- (((Item_func *) value_item)->functype() ==
- Item_func::NEG_FUNC) &&
+ ((((Item_func *) value_item)->functype() ==
+ Item_func::COLLATE_FUNC) ||
+ ((((Item_func *) value_item)->functype() ==
+ Item_func::NEG_FUNC) &&
(((Item_func *) value_item)->key_item()->type() !=
- FUNC_ITEM)))))
+ FUNC_ITEM)))))))
my_error(ER_WRONG_ARGUMENTS, MYF(0), "NAME_CONST");
Item::maybe_null= TRUE;
}
@@ -1336,6 +1338,7 @@ public:
else
Item_ident::print(str, query_type);
}
+ virtual Ref_Type ref_type() { return AGGREGATE_REF; }
};
diff --git a/sql/item.h b/sql/item.h
index be343e25d3f..00a2759a739 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -2126,7 +2126,7 @@ class Item_ref :public Item_ident
protected:
void set_properties();
public:
- enum Ref_Type { REF, DIRECT_REF, VIEW_REF, OUTER_REF };
+ enum Ref_Type { REF, DIRECT_REF, VIEW_REF, OUTER_REF, AGGREGATE_REF };
Field *result_field; /* Save result here */
Item **ref;
Item_ref(Name_resolution_context *context_arg,
diff --git a/sql/log.cc b/sql/log.cc
index 7775fb44b65..b5539525ea6 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -4011,11 +4011,6 @@ bool MYSQL_BIN_LOG::write(Log_event *event_info)
DBUG_PRINT("info",("number of auto_inc intervals: %u",
thd->auto_inc_intervals_in_cur_stmt_for_binlog.
nb_elements()));
- /*
- If the auto_increment was second in a table's index (possible with
- MyISAM or BDB) (table->next_number_keypart != 0), such event is
- in fact not necessary. We could avoid logging it.
- */
Intvar_log_event e(thd, (uchar) INSERT_ID_EVENT,
thd->auto_inc_intervals_in_cur_stmt_for_binlog.
minimum());
diff --git a/sql/log_event.cc b/sql/log_event.cc
index fe9eba81f80..f91ebf3823f 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -3350,6 +3350,17 @@ int Start_log_event_v3::do_apply_event(Relay_log_info const *rli)
close_temporary_tables(thd);
cleanup_load_tmpdir();
}
+ else
+ {
+ /*
+ Set all temporary tables thread references to the current thread
+ as they may point to the "old" SQL slave thread in case of its
+ restart.
+ */
+ TABLE *table;
+ for (table= thd->temporary_tables; table; table= table->next)
+ table->in_use= thd;
+ }
break;
/*
@@ -8613,10 +8624,10 @@ int Rows_log_event::find_row(const Relay_log_info *rli)
the necessary bits on the bytes and don't set the filler bits
correctly.
*/
- my_ptrdiff_t const pos=
- table->s->null_bytes > 0 ? table->s->null_bytes - 1 : 0;
- table->record[0][pos]= 0xFF;
-
+ if (table->s->null_bytes > 0)
+ table->record[0][table->s->null_bytes - 1]|=
+ 256U - (1U << table->s->last_null_bit_pos);
+
if ((error= table->file->index_read_map(table->record[0], m_key,
HA_WHOLE_KEY,
HA_READ_KEY_EXACT)))
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index c2d28f9a821..76deffec789 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -3394,7 +3394,7 @@ static int init_common_variables(const char *conf_file_name, int argc,
if (opt_slow_log && opt_slow_logname && !(log_output_options & LOG_FILE)
&& !(log_output_options & LOG_NONE))
sql_print_warning("Although a path was specified for the "
- "--log-slow-queries option, log tables are used. "
+ "--log_slow_queries option, log tables are used. "
"To enable logging to files use the --log-output=file option.");
s= opt_logname ? opt_logname : make_default_log_name(buff, ".log");
@@ -3763,23 +3763,25 @@ with --log-bin instead.");
unireg_abort(1);
}
if (!opt_bin_log)
- if (opt_binlog_format_id != BINLOG_FORMAT_UNSPEC)
{
- sql_print_error("You need to use --log-bin to make "
- "--binlog-format work.");
- unireg_abort(1);
- }
+ if (opt_binlog_format_id != BINLOG_FORMAT_UNSPEC)
+ {
+ sql_print_error("You need to use --log-bin to make "
+ "--binlog-format work.");
+ unireg_abort(1);
+ }
else
- {
- global_system_variables.binlog_format= BINLOG_FORMAT_MIXED;
+ {
+ global_system_variables.binlog_format= BINLOG_FORMAT_STMT;
}
+ }
else
if (opt_binlog_format_id == BINLOG_FORMAT_UNSPEC)
- global_system_variables.binlog_format= BINLOG_FORMAT_MIXED;
+ global_system_variables.binlog_format= BINLOG_FORMAT_STMT;
else
{
DBUG_ASSERT(global_system_variables.binlog_format != BINLOG_FORMAT_UNSPEC);
- }
+ }
/* Check that we have not let the format to unspecified at this point */
DBUG_ASSERT((uint)global_system_variables.binlog_format <=
@@ -5540,7 +5542,9 @@ enum options_mysqld
OPT_MIN_EXAMINED_ROW_LIMIT,
OPT_LOG_SLOW_SLAVE_STATEMENTS,
OPT_OLD_MODE,
- OPT_SLAVE_EXEC_MODE
+ OPT_SLAVE_EXEC_MODE,
+ OPT_GENERAL_LOG_FILE,
+ OPT_SLOW_QUERY_LOG_FILE
};
@@ -5737,7 +5741,7 @@ struct my_option my_long_options[] =
"Set up signals usable for debugging",
(uchar**) &opt_debugging, (uchar**) &opt_debugging,
0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
- {"general-log", OPT_GENERAL_LOG,
+ {"general_log", OPT_GENERAL_LOG,
"Enable|disable general log", (uchar**) &opt_log,
(uchar**) &opt_log, 0, GET_BOOL, OPT_ARG, 0, 0, 0, 0, 0, 0},
#ifdef HAVE_LARGE_PAGES
@@ -5773,8 +5777,12 @@ Disable with --skip-large-pages.",
(uchar**) &opt_local_infile,
(uchar**) &opt_local_infile, 0, GET_BOOL, OPT_ARG,
1, 0, 0, 0, 0, 0},
- {"log", 'l', "Log connections and queries to file.", (uchar**) &opt_logname,
+ {"log", 'l', "Log connections and queries to file (deprecated option, use "
+ "--general_log/--general_log_file instead).", (uchar**) &opt_logname,
(uchar**) &opt_logname, 0, GET_STR, OPT_ARG, 0, 0, 0, 0, 0, 0},
+ {"general_log_file", OPT_GENERAL_LOG_FILE,
+ "Log connections and queries to given file.", (uchar**) &opt_logname,
+ (uchar**) &opt_logname, 0, GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"log-bin", OPT_BIN_LOG,
"Log update queries in binary format. Optional (but strongly recommended "
"to avoid replication problems if server's hostname changes) argument "
@@ -5848,10 +5856,17 @@ Disable with --skip-large-pages.",
(uchar**) &opt_log_slow_slave_statements,
(uchar**) &opt_log_slow_slave_statements,
0, GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0},
- {"log-slow-queries", OPT_SLOW_QUERY_LOG,
- "Log slow queries to a table or log file. Defaults logging to table mysql.slow_log or hostname-slow.log if --log-output=file is used. Must be enabled to activate other slow log options.",
+ {"log_slow_queries", OPT_SLOW_QUERY_LOG,
+ "Log slow queries to a table or log file. Defaults logging to table "
+ "mysql.slow_log or hostname-slow.log if --log-output=file is used. "
+ "Must be enabled to activate other slow log options. "
+ "(deprecated option, use --slow_query_log/--slow_query_log_file instead)",
(uchar**) &opt_slow_logname, (uchar**) &opt_slow_logname, 0, GET_STR, OPT_ARG,
0, 0, 0, 0, 0, 0},
+ {"slow_query_log_file", OPT_SLOW_QUERY_LOG_FILE,
+ "Log slow queries to given log file. Defaults logging to hostname-slow.log. Must be enabled to activate other slow log options.",
+ (uchar**) &opt_slow_logname, (uchar**) &opt_slow_logname, 0, GET_STR,
+ REQUIRED_ARG, 0, 0, 0, 0, 0, 0},
{"log-tc", OPT_LOG_TC,
"Path to transaction coordinator log (used for transactions that affect "
"more than one storage engine, when binary log is disabled)",
@@ -6233,7 +6248,7 @@ Can't be set to 1 if --log-slave-updates is used.",
{"skip-symlink", OPT_SKIP_SYMLINKS, "Don't allow symlinking of tables. Deprecated option. Use --skip-symbolic-links instead.",
0, 0, 0, GET_NO_ARG, NO_ARG, 0, 0, 0, 0, 0, 0},
{"skip-thread-priority", OPT_SKIP_PRIOR,
- "Don't give threads different priorities.", 0, 0, 0, GET_NO_ARG, NO_ARG,
+ "Don't give threads different priorities. Deprecated option.", 0, 0, 0, GET_NO_ARG, NO_ARG,
DEFAULT_SKIP_THREAD_PRIORITY, 0, 0, 0, 0, 0},
#ifdef HAVE_REPLICATION
{"slave-load-tmpdir", OPT_SLAVE_LOAD_TMPDIR,
@@ -7545,13 +7560,13 @@ static void mysql_init_variables(void)
have_community_features = SHOW_OPTION_YES;
#else
have_community_features = SHOW_OPTION_NO;
+#endif
global_system_variables.ndb_index_stat_enable=FALSE;
max_system_variables.ndb_index_stat_enable=TRUE;
global_system_variables.ndb_index_stat_cache_entries=32;
max_system_variables.ndb_index_stat_cache_entries=~0L;
global_system_variables.ndb_index_stat_update_freq=20;
max_system_variables.ndb_index_stat_update_freq=~0L;
-#endif
#ifdef HAVE_OPENSSL
have_ssl=SHOW_OPTION_YES;
#else
@@ -7659,6 +7674,9 @@ mysqld_get_one_option(int optid,
default_collation_name= 0;
break;
case 'l':
+ WARN_DEPRECATED(NULL, "7.0", "--log", "'--general_log'/'--general_log_file'");
+ /* FALL-THROUGH */
+ case OPT_GENERAL_LOG_FILE:
opt_log=1;
break;
case 'h':
@@ -7828,6 +7846,9 @@ mysqld_get_one_option(int optid,
}
#endif /* HAVE_REPLICATION */
case (int) OPT_SLOW_QUERY_LOG:
+ WARN_DEPRECATED(NULL, "7.0", "--log_slow_queries", "'--slow_query_log'/'--slow_query_log_file'");
+ /* FALL-THROUGH */
+ case (int) OPT_SLOW_QUERY_LOG_FILE:
opt_slow_log= 1;
break;
#ifdef WITH_CSV_STORAGE_ENGINE
@@ -7875,6 +7896,9 @@ mysqld_get_one_option(int optid,
break;
case (int) OPT_SKIP_PRIOR:
opt_specialflag|= SPECIAL_NO_PRIOR;
+ sql_print_warning("The --skip-thread-priority startup option is deprecated "
+ "and will be removed in MySQL 7.0. MySQL 6.0 and up do not "
+ "give threads different priorities.");
break;
case (int) OPT_SKIP_LOCK:
opt_external_locking=0;
@@ -8217,7 +8241,7 @@ static void get_options(int *argc,char **argv)
if ((opt_log_slow_admin_statements || opt_log_queries_not_using_indexes ||
opt_log_slow_slave_statements) &&
!opt_slow_log)
- sql_print_warning("options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --log-slow-queries is not set");
+ sql_print_warning("options --log-slow-admin-statements, --log-queries-not-using-indexes and --log-slow-slave-statements have no effect if --log_slow_queries is not set");
#if defined(HAVE_BROKEN_REALPATH)
my_use_symdir=0;
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index d2f098e710c..f228551b586 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -3215,10 +3215,12 @@ int find_used_partitions(PART_PRUNE_PARAM *ppar, SEL_ARG *key_tree)
ppar->subpart_fields););
/* Find the subpartition (it's HASH/KEY so we always have one) */
partition_info *part_info= ppar->part_info;
- uint32 subpart_id= part_info->get_subpartition_id(part_info);
-
+ uint32 part_id, subpart_id;
+
+ if (part_info->get_subpartition_id(part_info, &subpart_id))
+ return 0;
+
/* Mark this partition as used in each subpartition. */
- uint32 part_id;
while ((part_id= ppar->part_iter.get_next(&ppar->part_iter)) !=
NOT_A_PARTITION_ID)
{
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 2af7fa1717c..703b92305b1 100644
--- a/sql/partition_info.h
+++ b/sql/partition_info.h
@@ -25,8 +25,9 @@ class partition_info;
typedef int (*get_part_id_func)(partition_info *part_info,
uint32 *part_id,
longlong *func_value);
-typedef uint32 (*get_subpart_id_func)(partition_info *part_info);
-
+typedef int (*get_subpart_id_func)(partition_info *part_info,
+ uint32 *part_id);
+
struct st_ddl_log_memory_entry;
class partition_info : public Sql_alloc
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 4259c3a6aaf..a62cafc3873 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -2391,6 +2391,12 @@ end:
bool sys_var_log_state::update(THD *thd, set_var *var)
{
bool res;
+
+ if (this == &sys_var_log)
+ WARN_DEPRECATED(thd, "7.0", "@@log", "'@@general_log'");
+ else if (this == &sys_var_log_slow)
+ WARN_DEPRECATED(thd, "7.0", "@@log_slow_queries", "'@@slow_query_log'");
+
pthread_mutex_lock(&LOCK_global_system_variables);
if (!var->save_result.ulong_value)
{
@@ -2405,6 +2411,11 @@ bool sys_var_log_state::update(THD *thd, set_var *var)
void sys_var_log_state::set_default(THD *thd, enum_var_type type)
{
+ if (this == &sys_var_log)
+ WARN_DEPRECATED(thd, "7.0", "@@log", "'@@general_log'");
+ else if (this == &sys_var_log_slow)
+ WARN_DEPRECATED(thd, "7.0", "@@log_slow_queries", "'@@slow_query_log'");
+
pthread_mutex_lock(&LOCK_global_system_variables);
logger.deactivate_log_handler(thd, log_type);
pthread_mutex_unlock(&LOCK_global_system_variables);
@@ -3711,7 +3722,7 @@ bool sys_var_thd_storage_engine::update(THD *thd, set_var *var)
void sys_var_thd_table_type::warn_deprecated(THD *thd)
{
- WARN_DEPRECATED(thd, "5.2", "table_type", "'storage_engine'");
+ WARN_DEPRECATED(thd, "5.2", "@@table_type", "'@@storage_engine'");
}
void sys_var_thd_table_type::set_default(THD *thd, enum_var_type type)
@@ -3973,8 +3984,8 @@ bool process_key_caches(process_key_cache_t func)
void sys_var_trust_routine_creators::warn_deprecated(THD *thd)
{
- WARN_DEPRECATED(thd, "5.2", "log_bin_trust_routine_creators",
- "'log_bin_trust_function_creators'");
+ WARN_DEPRECATED(thd, "5.2", "@@log_bin_trust_routine_creators",
+ "'@@log_bin_trust_function_creators'");
}
void sys_var_trust_routine_creators::set_default(THD *thd, enum_var_type type)
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index cf6610dfa11..a0eda42f0c5 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -126,6 +126,9 @@ sp_get_item_value(THD *thd, Item *item, String *str)
if (cs->escape_with_backslash_is_dangerous)
buf.append(' ');
append_query_string(cs, result, &buf);
+ buf.append(" COLLATE '");
+ buf.append(item->collation.collation->name);
+ buf.append('\'');
str->copy(buf);
return str;
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 60051ed02cc..82c162f923f 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -1524,6 +1524,9 @@ public:
then the latter INSERT will insert no rows
(first_successful_insert_id_in_cur_stmt == 0), but storing "INSERT_ID=3"
in the binlog is still needed; the list's minimum will contain 3.
+ This variable is cumulative: if several statements are written to binlog
+ as one (stored functions or triggers are used) this list is the
+ concatenation of all intervals reserved by all statements.
*/
Discrete_intervals_list auto_inc_intervals_in_cur_stmt_for_binlog;
/* Used by replication and SET INSERT_ID */
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index 6419d336b9f..a45664a9767 100644
--- a/sql/sql_partition.cc
+++ b/sql/sql_partition.cc
@@ -73,10 +73,8 @@ static int get_part_id_charset_func_subpart(partition_info *part_info,
static int get_part_part_id_charset_func(partition_info *part_info,
uint32 *part_id,
longlong *func_value);
-static uint32 get_subpart_id_charset_func(partition_info *part_info);
-int get_partition_id_list(partition_info *part_info,
- uint32 *part_id,
- longlong *func_value);
+static int get_subpart_id_charset_func(partition_info *part_info,
+ uint32 *part_id);
int get_partition_id_list(partition_info *part_info,
uint32 *part_id,
longlong *func_value);
@@ -119,10 +117,14 @@ int get_partition_id_list_sub_linear_hash(partition_info *part_info,
int get_partition_id_list_sub_linear_key(partition_info *part_info,
uint32 *part_id,
longlong *func_value);
-uint32 get_partition_id_hash_sub(partition_info *part_info);
-uint32 get_partition_id_key_sub(partition_info *part_info);
-uint32 get_partition_id_linear_hash_sub(partition_info *part_info);
-uint32 get_partition_id_linear_key_sub(partition_info *part_info);
+int get_partition_id_hash_sub(partition_info *part_info,
+ uint32 *part_id);
+int get_partition_id_key_sub(partition_info *part_info,
+ uint32 *part_id);
+int get_partition_id_linear_hash_sub(partition_info *part_info,
+ uint32 *part_id);
+int get_partition_id_linear_key_sub(partition_info *part_info,
+ uint32 *part_id);
static uint32 get_next_partition_via_walking(PARTITION_ITERATOR*);
static void set_up_range_analysis_info(partition_info *part_info);
static uint32 get_next_subpartition_via_walking(PARTITION_ITERATOR*);
@@ -2232,17 +2234,24 @@ bool partition_key_modified(TABLE *table, const MY_BITMAP *fields)
SYNOPSIS
part_val_int()
item_expr The item expression to evaluate
+ out:result The value of the partition function,
+ LONGLONG_MIN if any null value in function
RETURN VALUES
- The value of the partition function, LONGLONG_MIN if any null value
- in function
+ TRUE Error in val_int()
+ FALSE ok
*/
-static inline longlong part_val_int(Item *item_expr)
+static inline int part_val_int(Item *item_expr, longlong *result)
{
- longlong value= item_expr->val_int();
+ *result= item_expr->val_int();
if (item_expr->null_value)
- value= LONGLONG_MIN;
- return value;
+ {
+ if (current_thd->is_error())
+ return TRUE;
+ else
+ *result= LONGLONG_MIN;
+ }
+ return FALSE;
}
@@ -2319,24 +2328,29 @@ static uint32 get_part_id_for_sub(uint32 loc_part_id, uint32 sub_part_id,
get_part_id_hash()
no_parts Number of hash partitions
part_expr Item tree of hash function
- out:func_value Value of hash function
+ out:part_id The returned partition id
+ out:func_value Value of hash function
RETURN VALUE
- Calculated partition id
+ != 0 Error code
+ FALSE Success
*/
-inline
-static uint32 get_part_id_hash(uint no_parts,
- Item *part_expr,
- longlong *func_value)
+static int get_part_id_hash(uint no_parts,
+ Item *part_expr,
+ uint32 *part_id,
+ longlong *func_value)
{
longlong int_hash_id;
DBUG_ENTER("get_part_id_hash");
- *func_value= part_val_int(part_expr);
+ if (part_val_int(part_expr, func_value))
+ DBUG_RETURN(HA_ERR_NO_PARTITION_FOUND);
+
int_hash_id= *func_value % no_parts;
- DBUG_RETURN(int_hash_id < 0 ? (uint32) -int_hash_id : (uint32) int_hash_id);
+ *part_id= int_hash_id < 0 ? (uint32) -int_hash_id : (uint32) int_hash_id;
+ DBUG_RETURN(FALSE);
}
@@ -2349,24 +2363,29 @@ static uint32 get_part_id_hash(uint no_parts,
desired information is given
no_parts Number of hash partitions
part_expr Item tree of hash function
+ out:part_id The returned partition id
out:func_value Value of hash function
RETURN VALUE
- Calculated partition id
+ != 0 Error code
+ 0 OK
*/
-inline
-static uint32 get_part_id_linear_hash(partition_info *part_info,
- uint no_parts,
- Item *part_expr,
- longlong *func_value)
+static int get_part_id_linear_hash(partition_info *part_info,
+ uint no_parts,
+ Item *part_expr,
+ uint32 *part_id,
+ longlong *func_value)
{
DBUG_ENTER("get_part_id_linear_hash");
- *func_value= part_val_int(part_expr);
- DBUG_RETURN(get_part_id_from_linear_hash(*func_value,
- part_info->linear_hash_mask,
- no_parts));
+ if (part_val_int(part_expr, func_value))
+ DBUG_RETURN(HA_ERR_NO_PARTITION_FOUND);
+
+ *part_id= get_part_id_from_linear_hash(*func_value,
+ part_info->linear_hash_mask,
+ no_parts);
+ DBUG_RETURN(FALSE);
}
@@ -2503,49 +2522,7 @@ static void restore_part_field_pointers(Field **ptr, uchar **restore_ptr)
}
return;
}
-/*
- This function is used to calculate the partition id where all partition
- fields have been prepared to point to a record where the partition field
- values are bound.
- SYNOPSIS
- get_partition_id()
- part_info A reference to the partition_info struct where all the
- desired information is given
- out:part_id The partition id is returned through this pointer
- out: func_value Value of partition function (longlong)
-
- RETURN VALUE
- part_id Partition id of partition that would contain
- row with given values of PF-fields
- HA_ERR_NO_PARTITION_FOUND The fields of the partition function didn't
- fit into any partition and thus the values of
- the PF-fields are not allowed.
-
- DESCRIPTION
- A routine used from write_row, update_row and delete_row from any
- handler supporting partitioning. It is also a support routine for
- get_partition_set used to find the set of partitions needed to scan
- for a certain index scan or full table scan.
-
- It is actually 14 different variants of this function which are called
- through a function pointer.
-
- get_partition_id_list
- get_partition_id_range
- get_partition_id_hash_nosub
- get_partition_id_key_nosub
- get_partition_id_linear_hash_nosub
- get_partition_id_linear_key_nosub
- get_partition_id_range_sub_hash
- get_partition_id_range_sub_key
- get_partition_id_range_sub_linear_hash
- get_partition_id_range_sub_linear_key
- get_partition_id_list_sub_hash
- get_partition_id_list_sub_key
- get_partition_id_list_sub_linear_hash
- get_partition_id_list_sub_linear_key
-*/
/*
This function is used to calculate the main partition to use in the case of
@@ -2557,14 +2534,13 @@ static void restore_part_field_pointers(Field **ptr, uchar **restore_ptr)
part_info A reference to the partition_info struct where all the
desired information is given
out:part_id The partition id is returned through this pointer
- out: func_value The value calculated by partition function
+ out:func_value The value calculated by partition function
RETURN VALUE
- part_id Partition id of partition that would contain
- row with given values of PF-fields
HA_ERR_NO_PARTITION_FOUND The fields of the partition function didn't
fit into any partition and thus the values of
the PF-fields are not allowed.
+ 0 OK
DESCRIPTION
@@ -2640,13 +2616,14 @@ static int get_part_part_id_charset_func(partition_info *part_info,
}
-static uint32 get_subpart_id_charset_func(partition_info *part_info)
+static int get_subpart_id_charset_func(partition_info *part_info,
+ uint32 *part_id)
{
int res;
copy_to_part_field_buffers(part_info->subpart_charset_field_array,
part_info->subpart_field_buffers,
part_info->restore_subpart_field_ptrs);
- res= part_info->get_subpartition_id_charset(part_info);
+ res= part_info->get_subpartition_id_charset(part_info, part_id);
restore_part_field_pointers(part_info->subpart_charset_field_array,
part_info->restore_subpart_field_ptrs);
return res;
@@ -2661,11 +2638,15 @@ int get_partition_id_list(partition_info *part_info,
int list_index;
int min_list_index= 0;
int max_list_index= part_info->no_list_values - 1;
- longlong part_func_value= part_val_int(part_info->part_expr);
+ longlong part_func_value;
+ int error= part_val_int(part_info->part_expr, &part_func_value);
longlong list_value;
bool unsigned_flag= part_info->part_expr->unsigned_flag;
DBUG_ENTER("get_partition_id_list");
+ if (error)
+ goto notfound;
+
if (part_info->part_expr->null_value)
{
if (part_info->has_null_value)
@@ -2809,10 +2790,14 @@ int get_partition_id_range(partition_info *part_info,
uint min_part_id= 0;
uint max_part_id= max_partition;
uint loc_part_id;
- longlong part_func_value= part_val_int(part_info->part_expr);
+ longlong part_func_value;
+ int error= part_val_int(part_info->part_expr, &part_func_value);
bool unsigned_flag= part_info->part_expr->unsigned_flag;
DBUG_ENTER("get_partition_id_range");
+ if (error)
+ DBUG_RETURN(HA_ERR_NO_PARTITION_FOUND);
+
if (part_info->part_expr->null_value)
{
*part_id= 0;
@@ -2970,9 +2955,8 @@ int get_partition_id_hash_nosub(partition_info *part_info,
uint32 *part_id,
longlong *func_value)
{
- *part_id= get_part_id_hash(part_info->no_parts, part_info->part_expr,
- func_value);
- return 0;
+ return get_part_id_hash(part_info->no_parts, part_info->part_expr,
+ part_id, func_value);
}
@@ -2980,9 +2964,8 @@ int get_partition_id_linear_hash_nosub(partition_info *part_info,
uint32 *part_id,
longlong *func_value)
{
- *part_id= get_part_id_linear_hash(part_info, part_info->no_parts,
- part_info->part_expr, func_value);
- return 0;
+ return get_part_id_linear_hash(part_info, part_info->no_parts,
+ part_info->part_expr, part_id, func_value);
}
@@ -3016,6 +2999,8 @@ int get_partition_id_range_sub_hash(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_range_sub_hash");
+ LINT_INIT(loc_part_id);
+ LINT_INIT(sub_part_id);
if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
func_value))))
@@ -3023,8 +3008,12 @@ int get_partition_id_range_sub_hash(partition_info *part_info,
DBUG_RETURN(error);
}
no_subparts= part_info->no_subparts;
- sub_part_id= get_part_id_hash(no_subparts, part_info->subpart_expr,
- &local_func_value);
+ if (unlikely((error= get_part_id_hash(no_subparts, part_info->subpart_expr,
+ &sub_part_id, &local_func_value))))
+ {
+ DBUG_RETURN(error);
+ }
+
*part_id= get_part_id_for_sub(loc_part_id, sub_part_id, no_subparts);
DBUG_RETURN(0);
}
@@ -3039,6 +3028,8 @@ int get_partition_id_range_sub_linear_hash(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_range_sub_linear_hash");
+ LINT_INIT(loc_part_id);
+ LINT_INIT(sub_part_id);
if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
func_value))))
@@ -3046,9 +3037,14 @@ int get_partition_id_range_sub_linear_hash(partition_info *part_info,
DBUG_RETURN(error);
}
no_subparts= part_info->no_subparts;
- sub_part_id= get_part_id_linear_hash(part_info, no_subparts,
- part_info->subpart_expr,
- &local_func_value);
+ if (unlikely((error= get_part_id_linear_hash(part_info, no_subparts,
+ part_info->subpart_expr,
+ &sub_part_id,
+ &local_func_value))))
+ {
+ DBUG_RETURN(error);
+ }
+
*part_id= get_part_id_for_sub(loc_part_id, sub_part_id, no_subparts);
DBUG_RETURN(0);
}
@@ -3063,6 +3059,7 @@ int get_partition_id_range_sub_key(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_range_sub_key");
+ LINT_INIT(loc_part_id);
if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
func_value))))
@@ -3086,6 +3083,7 @@ int get_partition_id_range_sub_linear_key(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_range_sub_linear_key");
+ LINT_INIT(loc_part_id);
if (unlikely((error= get_partition_id_range(part_info, &loc_part_id,
func_value))))
@@ -3110,6 +3108,7 @@ int get_partition_id_list_sub_hash(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_list_sub_hash");
+ LINT_INIT(sub_part_id);
if (unlikely((error= get_partition_id_list(part_info, &loc_part_id,
func_value))))
@@ -3117,8 +3116,12 @@ int get_partition_id_list_sub_hash(partition_info *part_info,
DBUG_RETURN(error);
}
no_subparts= part_info->no_subparts;
- sub_part_id= get_part_id_hash(no_subparts, part_info->subpart_expr,
- &local_func_value);
+ if (unlikely((error= get_part_id_hash(no_subparts, part_info->subpart_expr,
+ &sub_part_id, &local_func_value))))
+ {
+ DBUG_RETURN(error);
+ }
+
*part_id= get_part_id_for_sub(loc_part_id, sub_part_id, no_subparts);
DBUG_RETURN(0);
}
@@ -3133,6 +3136,7 @@ int get_partition_id_list_sub_linear_hash(partition_info *part_info,
longlong local_func_value;
int error;
DBUG_ENTER("get_partition_id_list_sub_linear_hash");
+ LINT_INIT(sub_part_id);
if (unlikely((error= get_partition_id_list(part_info, &loc_part_id,
func_value))))
@@ -3140,9 +3144,14 @@ int get_partition_id_list_sub_linear_hash(partition_info *part_info,
DBUG_RETURN(error);
}
no_subparts= part_info->no_subparts;
- sub_part_id= get_part_id_linear_hash(part_info, no_subparts,
- part_info->subpart_expr,
- &local_func_value);
+ if (unlikely((error= get_part_id_linear_hash(part_info, no_subparts,
+ part_info->subpart_expr,
+ &sub_part_id,
+ &local_func_value))))
+ {
+ DBUG_RETURN(error);
+ }
+
*part_id= get_part_id_for_sub(loc_part_id, sub_part_id, no_subparts);
DBUG_RETURN(0);
}
@@ -3219,36 +3228,43 @@ int get_partition_id_list_sub_linear_key(partition_info *part_info,
get_partition_id_linear_key_sub
*/
-uint32 get_partition_id_hash_sub(partition_info *part_info)
+int get_partition_id_hash_sub(partition_info *part_info,
+ uint32 *part_id)
{
longlong func_value;
return get_part_id_hash(part_info->no_subparts, part_info->subpart_expr,
- &func_value);
+ part_id, &func_value);
}
-uint32 get_partition_id_linear_hash_sub(partition_info *part_info)
+int get_partition_id_linear_hash_sub(partition_info *part_info,
+ uint32 *part_id)
{
longlong func_value;
return get_part_id_linear_hash(part_info, part_info->no_subparts,
- part_info->subpart_expr, &func_value);
+ part_info->subpart_expr, part_id,
+ &func_value);
}
-uint32 get_partition_id_key_sub(partition_info *part_info)
+int get_partition_id_key_sub(partition_info *part_info,
+ uint32 *part_id)
{
longlong func_value;
- return get_part_id_key(part_info->subpart_field_array,
- part_info->no_subparts, &func_value);
+ *part_id= get_part_id_key(part_info->subpart_field_array,
+ part_info->no_subparts, &func_value);
+ return FALSE;
}
-uint32 get_partition_id_linear_key_sub(partition_info *part_info)
+int get_partition_id_linear_key_sub(partition_info *part_info,
+ uint32 *part_id)
{
longlong func_value;
- return get_part_id_linear_key(part_info,
- part_info->subpart_field_array,
- part_info->no_subparts, &func_value);
+ *part_id= get_part_id_linear_key(part_info,
+ part_info->subpart_field_array,
+ part_info->no_subparts, &func_value);
+ return FALSE;
}
@@ -3337,37 +3353,40 @@ static bool check_part_func_bound(Field **ptr)
buf A buffer that can be used to evaluate the partition function
key_info The index object
key_spec A key_range containing key and key length
+ out:part_id The returned partition id
RETURN VALUES
- part_id Subpartition id to use
+ TRUE All fields in partition function are set
+ FALSE Not all fields in partition function are set
DESCRIPTION
Use key buffer to set-up record in buf, move field pointers and
get the partition identity and restore field pointers afterwards.
*/
-static uint32 get_sub_part_id_from_key(const TABLE *table,uchar *buf,
- KEY *key_info,
- const key_range *key_spec)
+static int get_sub_part_id_from_key(const TABLE *table,uchar *buf,
+ KEY *key_info,
+ const key_range *key_spec,
+ uint32 *part_id)
{
uchar *rec0= table->record[0];
partition_info *part_info= table->part_info;
- uint32 part_id;
+ int res;
DBUG_ENTER("get_sub_part_id_from_key");
key_restore(buf, (uchar*)key_spec->key, key_info, key_spec->length);
if (likely(rec0 == buf))
{
- part_id= part_info->get_subpartition_id(part_info);
+ res= part_info->get_subpartition_id(part_info, part_id);
}
else
{
Field **part_field_array= part_info->subpart_field_array;
set_field_ptr(part_field_array, buf, rec0);
- part_id= part_info->get_subpartition_id(part_info);
+ res= part_info->get_subpartition_id(part_info, part_id);
set_field_ptr(part_field_array, rec0, buf);
}
- DBUG_RETURN(part_id);
+ DBUG_RETURN(res);
}
/*
@@ -3586,7 +3605,13 @@ void get_partition_set(const TABLE *table, uchar *buf, const uint index,
else if (part_info->is_sub_partitioned())
{
if (part_info->all_fields_in_SPF.is_set(index))
- sub_part= get_sub_part_id_from_key(table, buf, key_info, key_spec);
+ {
+ if (get_sub_part_id_from_key(table, buf, key_info, key_spec, &sub_part))
+ {
+ part_spec->start_part= no_parts;
+ DBUG_VOID_RETURN;
+ }
+ }
else if (part_info->all_fields_in_PPF.is_set(index))
{
if (get_part_id_from_key(table,buf,key_info,
@@ -3632,7 +3657,14 @@ void get_partition_set(const TABLE *table, uchar *buf, const uint index,
else if (part_info->is_sub_partitioned())
{
if (check_part_func_bound(part_info->subpart_field_array))
- sub_part= get_sub_part_id_from_key(table, buf, key_info, key_spec);
+ {
+ if (get_sub_part_id_from_key(table, buf, key_info, key_spec, &sub_part))
+ {
+ part_spec->start_part= no_parts;
+ clear_indicator_in_key_fields(key_info);
+ DBUG_VOID_RETURN;
+ }
+ }
else if (check_part_func_bound(part_info->part_field_array))
{
if (get_part_id_from_key(table,buf,key_info,key_spec,&part_part))
@@ -6836,9 +6868,11 @@ int get_part_iter_for_interval_via_walking(partition_info *part_info,
field->set_null();
if (is_subpart)
{
- part_id= part_info->get_subpartition_id(part_info);
- init_single_partition_iterator(part_id, part_iter);
- return 1; /* Ok, iterator initialized */
+ if (!part_info->get_subpartition_id(part_info, &part_id))
+ {
+ init_single_partition_iterator(part_id, part_iter);
+ return 1; /* Ok, iterator initialized */
+ }
}
else
{
@@ -7007,13 +7041,18 @@ static uint32 get_next_partition_via_walking(PARTITION_ITERATOR *part_iter)
static uint32 get_next_subpartition_via_walking(PARTITION_ITERATOR *part_iter)
{
Field *field= part_iter->part_info->subpart_field_array[0];
+ uint32 res;
if (part_iter->field_vals.cur == part_iter->field_vals.end)
{
part_iter->field_vals.cur= part_iter->field_vals.start;
return NOT_A_PARTITION_ID;
}
field->store(part_iter->field_vals.cur++, FALSE);
- return part_iter->part_info->get_subpartition_id(part_iter->part_info);
+ if (part_iter->part_info->get_subpartition_id(part_iter->part_info,
+ &res))
+ return NOT_A_PARTITION_ID;
+ return res;
+
}
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 6510d2428db..102809f9f64 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -14804,6 +14804,7 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
Item *pos;
List_iterator_fast<Item> li(all_fields);
Copy_field *copy= NULL;
+ IF_DBUG(Copy_field *copy_start);
res_selected_fields.empty();
res_all_fields.empty();
List_iterator_fast<Item> itr(res_all_fields);
@@ -14816,12 +14817,19 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
goto err2;
param->copy_funcs.empty();
+ IF_DBUG(copy_start= copy);
for (i= 0; (pos= li++); i++)
{
Field *field;
uchar *tmp;
Item *real_pos= pos->real_item();
- if (real_pos->type() == Item::FIELD_ITEM)
+ /*
+ Aggregate functions can be substituted for fields (by e.g. temp tables).
+ We need to filter those substituted fields out.
+ */
+ if (real_pos->type() == Item::FIELD_ITEM &&
+ !(real_pos != pos &&
+ ((Item_ref *)pos)->ref_type() == Item_ref::AGGREGATE_REF))
{
Item_field *item;
if (!(item= new Item_field(thd, ((Item_field*) real_pos))))
@@ -14868,6 +14876,7 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
goto err;
if (copy)
{
+ DBUG_ASSERT (param->field_count > (uint) (copy - copy_start));
copy->set(tmp, item->result_field);
item->result_field->move_field(copy->to_ptr,copy->to_null_ptr,1);
#ifdef HAVE_purify
diff --git a/sql/table.h b/sql/table.h
index d21a9eefae8..fc172dd2f19 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -410,6 +410,7 @@ typedef struct st_table_share
int cached_row_logging_check;
#ifdef WITH_PARTITION_STORAGE_ENGINE
+ /** @todo: Move into *ha_data for partitioning */
bool auto_partitioned;
const char *partition_info;
uint partition_info_len;
@@ -419,6 +420,9 @@ typedef struct st_table_share
handlerton *default_part_db_type;
#endif
+ /** place to store storage engine specific data */
+ void *ha_data;
+
/*
Set share's table cache key and update its db and table name appropriately.
diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc
index 85b8117e501..1a1a0d02375 100644
--- a/storage/blackhole/ha_blackhole.cc
+++ b/storage/blackhole/ha_blackhole.cc
@@ -18,6 +18,7 @@
#pragma implementation // gcc: Class implementation
#endif
+#define MYSQL_SERVER 1
#include "mysql_priv.h"
#include "ha_blackhole.h"
@@ -100,6 +101,24 @@ int ha_blackhole::write_row(uchar * buf)
DBUG_RETURN(table->next_number_field ? update_auto_increment() : 0);
}
+int ha_blackhole::update_row(const uchar *old_data, uchar *new_data)
+{
+ DBUG_ENTER("ha_blackhole::update_row");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+
+int ha_blackhole::delete_row(const uchar *buf)
+{
+ DBUG_ENTER("ha_blackhole::delete_row");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
+ DBUG_RETURN(HA_ERR_WRONG_COMMAND);
+}
+
int ha_blackhole::rnd_init(bool scan)
{
DBUG_ENTER("ha_blackhole::rnd_init");
@@ -110,6 +129,9 @@ int ha_blackhole::rnd_init(bool scan)
int ha_blackhole::rnd_next(uchar *buf)
{
DBUG_ENTER("ha_blackhole::rnd_next");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
DBUG_RETURN(HA_ERR_END_OF_FILE);
}
@@ -189,6 +211,9 @@ int ha_blackhole::index_read_map(uchar * buf, const uchar * key,
enum ha_rkey_function find_flag)
{
DBUG_ENTER("ha_blackhole::index_read");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
DBUG_RETURN(HA_ERR_END_OF_FILE);
}
@@ -198,6 +223,9 @@ int ha_blackhole::index_read_idx_map(uchar * buf, uint idx, const uchar * key,
enum ha_rkey_function find_flag)
{
DBUG_ENTER("ha_blackhole::index_read_idx");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
DBUG_RETURN(HA_ERR_END_OF_FILE);
}
@@ -206,6 +234,9 @@ int ha_blackhole::index_read_last_map(uchar * buf, const uchar * key,
key_part_map keypart_map)
{
DBUG_ENTER("ha_blackhole::index_read_last");
+ THD *thd= ha_thd();
+ if (thd->system_thread == SYSTEM_THREAD_SLAVE_SQL && thd->query == NULL)
+ DBUG_RETURN(0);
DBUG_RETURN(HA_ERR_END_OF_FILE);
}
diff --git a/storage/blackhole/ha_blackhole.h b/storage/blackhole/ha_blackhole.h
index d5a0d08926c..085840cce43 100644
--- a/storage/blackhole/ha_blackhole.h
+++ b/storage/blackhole/ha_blackhole.h
@@ -53,7 +53,7 @@ public:
ulonglong table_flags() const
{
return(HA_NULL_IN_KEY | HA_CAN_FULLTEXT | HA_CAN_SQL_HANDLER |
- HA_BINLOG_STMT_CAPABLE |
+ HA_BINLOG_STMT_CAPABLE | HA_BINLOG_ROW_CAPABLE |
HA_CAN_INDEX_BLOBS | HA_AUTO_PART_KEY |
HA_FILE_BASED | HA_CAN_GEOMETRY | HA_CAN_INSERT_DELAYED);
}
@@ -72,7 +72,6 @@ public:
uint max_supported_key_part_length() const { return BLACKHOLE_MAX_KEY_LENGTH; }
int open(const char *name, int mode, uint test_if_locked);
int close(void);
- int write_row(uchar * buf);
int rnd_init(bool scan);
int rnd_next(uchar *buf);
int rnd_pos(uchar * buf, uchar *pos);
@@ -94,4 +93,8 @@ public:
THR_LOCK_DATA **store_lock(THD *thd,
THR_LOCK_DATA **to,
enum thr_lock_type lock_type);
+private:
+ virtual int write_row(uchar *buf);
+ virtual int update_row(const uchar *old_data, uchar *new_data);
+ virtual int delete_row(const uchar *buf);
};
diff --git a/support-files/my-huge.cnf.sh b/support-files/my-huge.cnf.sh
index f670adb460c..5be8f5e67a0 100644
--- a/support-files/my-huge.cnf.sh
+++ b/support-files/my-huge.cnf.sh
@@ -112,6 +112,9 @@ server-id = 1
#
# binary logging - not required for slaves, but recommended
#log-bin=mysql-bin
+#
+# binary logging format - mixed recommended
+#binlog_format=mixed
# Point the following paths to different dedicated disks
#tmpdir = /tmp/
diff --git a/support-files/my-innodb-heavy-4G.cnf.sh b/support-files/my-innodb-heavy-4G.cnf.sh
index cc11ebfe63f..60b8138880e 100644
--- a/support-files/my-innodb-heavy-4G.cnf.sh
+++ b/support-files/my-innodb-heavy-4G.cnf.sh
@@ -191,6 +191,9 @@ tmp_table_size = 64M
# the ability to do point in time recovery from your latest backup.
log-bin=mysql-bin
+# binary logging format - mixed recommended
+binlog_format=mixed
+
# If you're using replication with chained slaves (A->B->C), you need to
# enable this option on server B. It enables logging of updates done by
# the slave thread into the slave's binary log.
diff --git a/support-files/my-large.cnf.sh b/support-files/my-large.cnf.sh
index 2e3143ac449..0d5719e4438 100644
--- a/support-files/my-large.cnf.sh
+++ b/support-files/my-large.cnf.sh
@@ -53,6 +53,9 @@ skip-federated
# binary logging is required for replication
log-bin=mysql-bin
+# binary logging format - mixed recommended
+binlog_format=mixed
+
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
diff --git a/support-files/my-medium.cnf.sh b/support-files/my-medium.cnf.sh
index 10d3e74f619..211b8ed5e8e 100644
--- a/support-files/my-medium.cnf.sh
+++ b/support-files/my-medium.cnf.sh
@@ -51,6 +51,9 @@ skip-federated
# binary logging is required for replication
log-bin=mysql-bin
+# binary logging format - mixed recommended
+binlog_format=mixed
+
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
diff --git a/support-files/my-small.cnf.sh b/support-files/my-small.cnf.sh
index cfaca64c293..11ad69f1f71 100644
--- a/support-files/my-small.cnf.sh
+++ b/support-files/my-small.cnf.sh
@@ -48,6 +48,9 @@ server-id = 1
# Uncomment the following if you want to log updates
#log-bin=mysql-bin
+# binary logging format - mixed recommended
+#binlog_format=mixed
+
# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = @localstatedir@/
#innodb_data_file_path = ibdata1:10M:autoextend