diff --git a/configure.in b/configure.in
index 6ef3ce2c6b74377f0bf6df933daa200a6bbc694a..0a20bbdc279b8ba63bb3a2b57ba04ffbd3e24663 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)
@@ -2036,7 +2040,7 @@ AC_CHECK_FUNCS(alarm bcmp bfill bmove bsearch bzero \
   mkstemp mlockall perror poll pread pthread_attr_create mmap mmap64 getpagesize \
   pthread_attr_getstacksize pthread_attr_setprio pthread_attr_setschedparam \
   pthread_attr_setstacksize pthread_condattr_create pthread_getsequence_np \
-  pthread_key_delete pthread_rwlock_rdlock pthread_setprio \
+  pthread_key_delete pthread_rwlock_rdlock pthread_setprio pthread_setschedprio \
   pthread_setprio_np pthread_setschedparam pthread_sigmask readlink \
   realpath rename rint rwlock_init setupterm \
   shmget shmat shmdt shmctl sigaction sigemptyset sigaddset \
diff --git a/include/hash.h b/include/hash.h
index 4ca8dc0e8bfe99fe3cc253c54f8f9fcd934414ae..1f094d48585a5e62f0512217d12d6703583b7721 100644
--- a/include/hash.h
+++ b/include/hash.h
@@ -21,6 +21,40 @@
 extern "C" {
 #endif
 
+/*
+  There was a problem on MacOSX with a shared object ha_example.so.
+  It used hash_search(). During build of ha_example.so no libmysys
+  was specified. Since MacOSX had a hash_search() in the system
+  library, it built the shared object so that the dynamic linker
+  linked hash_search() to the system library, which caused a crash
+  when called. To come around this, we renamed hash_search() to
+  my_hash_search(), as we did long ago with hash_insert() and
+  hash_reset(). However, this time we made the move complete with
+  all names. To keep compatibility, we redefine the old names.
+  Since every C and C++ file, that uses HASH, needs to include
+  this file, the change is complete. Both names could be used
+  in the code, but the my_* versions are recommended now.
+*/
+#define hash_get_key    my_hash_get_key
+#define hash_free_key   my_hash_free_key
+#define hash_init       my_hash_init
+#define hash_init2      my_hash_init2
+#define _hash_init      _my_hash_init
+#define hash_free       my_hash_free
+#define hash_reset      my_hash_reset
+#define hash_element    my_hash_element
+#define hash_search     my_hash_search
+#define hash_first      my_hash_first
+#define hash_next       my_hash_next
+#define hash_insert     my_hash_insert
+#define hash_delete     my_hash_delete
+#define hash_update     my_hash_update
+#define hash_replace    my_hash_replace
+#define hash_check      my_hash_check
+#define hash_clear      my_hash_clear
+#define hash_inited     my_hash_inited
+#define hash_init_opt   my_hash_init_opt
+
 /*
   Overhead to store an element in hash
   Can be used to approximate memory consumption for a hash
@@ -30,8 +64,8 @@ extern "C" {
 /* flags for hash_init */
 #define HASH_UNIQUE     1       /* hash_insert fails on duplicate key */
 
-typedef uchar *(*hash_get_key)(const uchar *,size_t*,my_bool);
-typedef void (*hash_free_key)(void *);
+typedef uchar *(*my_hash_get_key)(const uchar *,size_t*,my_bool);
+typedef void (*my_hash_free_key)(void *);
 
 typedef struct st_hash {
   size_t key_offset,key_length;		/* Length of key if const length */
@@ -39,7 +73,7 @@ typedef struct st_hash {
   ulong records;
   uint flags;
   DYNAMIC_ARRAY array;				/* Place for hash_keys */
-  hash_get_key get_key;
+  my_hash_get_key get_key;
   void (*free)(void *);
   CHARSET_INFO *charset;
 } HASH;
@@ -47,30 +81,34 @@ typedef struct st_hash {
 /* A search iterator state */
 typedef uint HASH_SEARCH_STATE;
 
-#define hash_init(A,B,C,D,E,F,G,H) _hash_init(A,0,B,C,D,E,F,G,H CALLER_INFO)
-#define hash_init2(A,B,C,D,E,F,G,H,I) _hash_init(A,B,C,D,E,F,G,H,I CALLER_INFO)
-my_bool _hash_init(HASH *hash, uint growth_size,CHARSET_INFO *charset,
-		   ulong default_array_elements, size_t key_offset,
-		   size_t key_length, hash_get_key get_key,
-		   void (*free_element)(void*), uint flags CALLER_INFO_PROTO);
-void hash_free(HASH *tree);
+#define my_hash_init(A,B,C,D,E,F,G,H) \
+          _my_hash_init(A,0,B,C,D,E,F,G,H CALLER_INFO)
+#define my_hash_init2(A,B,C,D,E,F,G,H,I) \
+          _my_hash_init(A,B,C,D,E,F,G,H,I CALLER_INFO)
+my_bool _my_hash_init(HASH *hash, uint growth_size, CHARSET_INFO *charset,
+                      ulong default_array_elements, size_t key_offset,
+                      size_t key_length, my_hash_get_key get_key,
+                      void (*free_element)(void*),
+                      uint flags CALLER_INFO_PROTO);
+void my_hash_free(HASH *tree);
 void my_hash_reset(HASH *hash);
-uchar *hash_element(HASH *hash,ulong idx);
-uchar *hash_search(const HASH *info, const uchar *key, size_t length);
-uchar *hash_first(const HASH *info, const uchar *key, size_t length,
-                HASH_SEARCH_STATE *state);
-uchar *hash_next(const HASH *info, const uchar *key, size_t length,
-                 HASH_SEARCH_STATE *state);
-my_bool my_hash_insert(HASH *info,const uchar *data);
-my_bool hash_delete(HASH *hash,uchar *record);
-my_bool hash_update(HASH *hash,uchar *record,uchar *old_key,size_t old_key_length);
-void hash_replace(HASH *hash, HASH_SEARCH_STATE *state, uchar *new_row);
-my_bool hash_check(HASH *hash);			/* Only in debug library */
+uchar *my_hash_element(HASH *hash, ulong idx);
+uchar *my_hash_search(const HASH *info, const uchar *key, size_t length);
+uchar *my_hash_first(const HASH *info, const uchar *key, size_t length,
+                     HASH_SEARCH_STATE *state);
+uchar *my_hash_next(const HASH *info, const uchar *key, size_t length,
+                    HASH_SEARCH_STATE *state);
+my_bool my_hash_insert(HASH *info, const uchar *data);
+my_bool my_hash_delete(HASH *hash, uchar *record);
+my_bool my_hash_update(HASH *hash, uchar *record, uchar *old_key,
+                       size_t old_key_length);
+void my_hash_replace(HASH *hash, HASH_SEARCH_STATE *state, uchar *new_row);
+my_bool my_hash_check(HASH *hash); /* Only in debug library */
 
-#define hash_clear(H) bzero((char*) (H),sizeof(*(H)))
-#define hash_inited(H) ((H)->array.buffer != 0)
-#define hash_init_opt(A,B,C,D,E,F,G,H) \
-          (!hash_inited(A) && _hash_init(A,0,B,C,D,E,F,G, H CALLER_INFO))
+#define my_hash_clear(H) bzero((char*) (H), sizeof(*(H)))
+#define my_hash_inited(H) ((H)->array.buffer != 0)
+#define my_hash_init_opt(A,B,C,D,E,F,G,H) \
+          (!my_hash_inited(A) && _my_hash_init(A,0,B,C,D,E,F,G, H CALLER_INFO))
 
 #ifdef	__cplusplus
 }
diff --git a/include/my_pthread.h b/include/my_pthread.h
index 19cfb74c80fdd64a27d58e7461c025872f90fdc9..151cb34faff18f604ad1646d4130ccc69322b3df 100644
--- a/include/my_pthread.h
+++ b/include/my_pthread.h
@@ -279,6 +279,8 @@ int sigwait(sigset_t *setp, int *sigp);		/* Use our implemention */
 #define my_pthread_setprio(A,B) pthread_setprio_np((A),(B))
 #elif defined(HAVE_PTHREAD_SETPRIO)
 #define my_pthread_setprio(A,B) pthread_setprio((A),(B))
+#elif defined(HAVE_PTHREAD_SETSCHEDPRIO)
+#define my_pthread_setprio(A,B) pthread_setschedprio((A),(B))
 #else
 extern void my_pthread_setprio(pthread_t thread_id,int prior);
 #endif
@@ -519,6 +521,7 @@ typedef struct st_my_pthread_fastmutex_t
 {
   pthread_mutex_t mutex;
   uint spins;
+  uint rng_state;
 } my_pthread_fastmutex_t;
 void fastmutex_global_init(void);
 
diff --git a/mysql-test/extra/binlog_tests/binlog.test b/mysql-test/extra/binlog_tests/binlog.test
index 48fc5a81c7b3a4e38f0a0f3579dbf111459bed67..98bd116ba2971edf7b91780f73cd50e718299725 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 2d63ae27aa3d88cb528aa9f27662cb332832f07b..e8671ed2da04d79031ee202b164686aaf57775ad 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 0000000000000000000000000000000000000000..1a0eeb3cf15e9fe15c1fb1dc3eba9b2472897e6f
--- /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/extra/rpl_tests/rpl_insert_id.test b/mysql-test/extra/rpl_tests/rpl_insert_id.test
index d8ea267d62b75671c50a5b8bf132ef92bdcaf3f0..bd815d9de02194a6b5337151c91b82f2525121da 100644
--- a/mysql-test/extra/rpl_tests/rpl_insert_id.test
+++ b/mysql-test/extra/rpl_tests/rpl_insert_id.test
@@ -442,8 +442,6 @@ SELECT f1();
 INSERT INTO t1 VALUES (NULL, f2()), (NULL, LAST_INSERT_ID()),
                       (NULL, LAST_INSERT_ID()), (NULL, f2()), (NULL, f2());
 INSERT INTO t1 VALUES (NULL, f2());
-INSERT INTO t1 VALUES (NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID(5)),
-                      (NULL, @@LAST_INSERT_ID);
 # Test replication of substitution "IS NULL" -> "= LAST_INSERT_ID".
 INSERT INTO t1 VALUES (NULL, 0), (NULL, LAST_INSERT_ID());
 UPDATE t1 SET j= -1 WHERE i IS NULL;
diff --git a/mysql-test/include/mix1.inc b/mysql-test/include/mix1.inc
index f4e9cf74b7248554b39d146feffa1ed453b41328..d2332edd5dca198d967bf61f33252b8d8eead87f 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 3d593697ef64e76d949221cd51644415d7861378..3c78c3ca064208adb120b6a96632402996b7f8e8 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/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 5e63701751b24a6c4146d2b42a76e521944c7f2c..f67ce4db76185c3b7df1373155b5ac0d7360c9ae 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3601,7 +3601,16 @@ sub run_testcase ($) {
   {
     mtr_timer_stop_all($glob_timers);
     mtr_report("\nServers started, exiting");
-    exit(0);
+    if ($glob_win32_perl)
+    {
+      #ActiveState perl hangs  when using normal exit, use  POSIX::_exit instead
+      use POSIX qw[ _exit ]; 
+      POSIX::_exit(0);
+    }
+    else
+    {
+      exit(0);
+    }
   }
 
   {
diff --git a/mysql-test/r/alter_table.result b/mysql-test/r/alter_table.result
index d6986f4a95639ff2f16d22af61ae2df8de9306c8..e01f4fa047be56d71114acd625337d3cdb315fbe 100644
--- a/mysql-test/r/alter_table.result
+++ b/mysql-test/r/alter_table.result
@@ -1222,4 +1222,22 @@ ALTER TABLE t1 CHANGE d c varchar(10);
 affected rows: 0
 info: Records: 0  Duplicates: 0  Warnings: 0
 DROP TABLE t1;
+create table t1(f1 int not null, f2 int not null, key  (f1), key (f2));
+select index_length into @unpaked_keys_size from
+information_schema.tables where table_name='t1';
+alter table t1 pack_keys=1;
+select index_length into @paked_keys_size from
+information_schema.tables where table_name='t1';
+select (@unpaked_keys_size > @paked_keys_size);
+(@unpaked_keys_size > @paked_keys_size)
+1
+select max_data_length into @orig_max_data_length from
+information_schema.tables where table_name='t1';
+alter table t1 max_rows=100;
+select max_data_length into @changed_max_data_length from
+information_schema.tables where table_name='t1';
+select (@orig_max_data_length > @changed_max_data_length);
+(@orig_max_data_length > @changed_max_data_length)
+1
+drop table t1;
 End of 5.1 tests
diff --git a/mysql-test/r/create.result b/mysql-test/r/create.result
index b8723a87661e83dfe9b853493ad8668fe03118bf..c7997369f4d99b9cde19c0b444b031d9f4b93fba 100644
--- a/mysql-test/r/create.result
+++ b/mysql-test/r/create.result
@@ -1559,6 +1559,8 @@ SHOW INDEX FROM t1;
 Table	Non_unique	Key_name	Seq_in_index	Column_name	Collation	Cardinality	Sub_part	Packed	Null	Index_type	Comment
 t1	1	c1	1	c1	A	NULL	NULL	NULL	YES	BTREE	
 DROP TABLE t1;
+create user mysqltest_1@'test@test';
+ERROR HY000: Malformed hostname (illegal symbol: '@')
 CREATE TABLE t1 (a INTEGER AUTO_INCREMENT PRIMARY KEY, b INTEGER NOT NULL);
 INSERT IGNORE INTO t1 (b) VALUES (5);
 CREATE TABLE IF NOT EXISTS t2 (a INTEGER NOT NULL AUTO_INCREMENT PRIMARY KEY)
diff --git a/mysql-test/r/ctype_cp932_binlog_stm.result b/mysql-test/r/ctype_cp932_binlog_stm.result
index ff6957202d772f84f00e2d5b63cf5567964e7cc1..0cd2d395ebc6a99bc66b7770688ebb09cd83a1be 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/explain.result b/mysql-test/r/explain.result
index 2ce8b8c384f1373852862b82e45d435b26111f7a..742dc5ae49d31e9037b1faf1d2c81e7fb2cb3106 100644
--- a/mysql-test/r/explain.result
+++ b/mysql-test/r/explain.result
@@ -107,3 +107,51 @@ X	X	X	X	X	X	X	X	X
 X	X	X	X	X	X	X	X	X	Range checked for each record (index map: 0xFFFFFFFFFF)
 DROP TABLE t2;
 DROP TABLE t1;
+CREATE TABLE t1(a INT);
+CREATE TABLE t2(a INT);
+INSERT INTO t1 VALUES (1),(2);
+INSERT INTO t2 VALUES (1),(2);
+EXPLAIN EXTENDED SELECT 1
+FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
+1	PRIMARY	<derived2>	ALL	NULL	NULL	NULL	NULL	2	100.00	
+2	DERIVED	t1	ALL	NULL	NULL	NULL	NULL	2	100.00	Using temporary; Using filesort
+2	DERIVED	t2	ALL	NULL	NULL	NULL	NULL	2	100.00	Using join buffer
+Warnings:
+Note	1003	select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
+EXPLAIN EXTENDED SELECT 1
+FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
+1	PRIMARY	<derived2>	ALL	NULL	NULL	NULL	NULL	2	100.00	
+2	DERIVED	t1	ALL	NULL	NULL	NULL	NULL	2	100.00	Using temporary; Using filesort
+2	DERIVED	t2	ALL	NULL	NULL	NULL	NULL	2	100.00	Using join buffer
+Warnings:
+Note	1003	select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
+prepare s1 from 
+'EXPLAIN EXTENDED SELECT 1  
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1';
+execute s1;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
+1	PRIMARY	<derived2>	ALL	NULL	NULL	NULL	NULL	2	100.00	
+2	DERIVED	t1	ALL	NULL	NULL	NULL	NULL	2	100.00	Using temporary; Using filesort
+2	DERIVED	t2	ALL	NULL	NULL	NULL	NULL	2	100.00	Using join buffer
+Warnings:
+Note	1003	select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
+prepare s1 from 
+'EXPLAIN EXTENDED SELECT 1  
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1';
+execute s1;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
+1	PRIMARY	<derived2>	ALL	NULL	NULL	NULL	NULL	2	100.00	
+2	DERIVED	t1	ALL	NULL	NULL	NULL	NULL	2	100.00	Using temporary; Using filesort
+2	DERIVED	t2	ALL	NULL	NULL	NULL	NULL	2	100.00	Using join buffer
+Warnings:
+Note	1003	select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
+execute s1;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
+1	PRIMARY	<derived2>	ALL	NULL	NULL	NULL	NULL	2	100.00	
+2	DERIVED	t1	ALL	NULL	NULL	NULL	NULL	2	100.00	Using temporary; Using filesort
+2	DERIVED	t2	ALL	NULL	NULL	NULL	NULL	2	100.00	Using join buffer
+Warnings:
+Note	1003	select 1 AS `1` from (select count(distinct `test`.`t1`.`a`) AS `COUNT(DISTINCT t1.a)` from `test`.`t1` join `test`.`t2` group by `test`.`t1`.`a`) `s1`
+DROP TABLE t1,t2;
diff --git a/mysql-test/r/federated_bug_25714.result b/mysql-test/r/federated_bug_25714.result
index cad487ec791196db8c3afb580b995d3b9953395b..5730eedc246a79e5895a994f1b673c5cdcd299ef 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 c198176532f64f0d337b4eeb4fa59343b9ccc589..fd9cf69907ca3a565396264a6a1288cbc776e797 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/information_schema.result b/mysql-test/r/information_schema.result
index c5c79b15ca6bab4cb09dcf9f8f55fc295e823177..7da540dd8f6f859a9e88aba9c623c34f5d9af813 100644
--- a/mysql-test/r/information_schema.result
+++ b/mysql-test/r/information_schema.result
@@ -758,7 +758,6 @@ table_schema	table_name	column_name
 information_schema	COLUMNS	COLUMN_DEFAULT
 information_schema	COLUMNS	COLUMN_TYPE
 information_schema	EVENTS	EVENT_DEFINITION
-information_schema	EVENTS	SQL_MODE
 information_schema	PARTITIONS	PARTITION_EXPRESSION
 information_schema	PARTITIONS	SUBPARTITION_EXPRESSION
 information_schema	PARTITIONS	PARTITION_DESCRIPTION
@@ -768,8 +767,6 @@ information_schema	ROUTINES	ROUTINE_DEFINITION
 information_schema	ROUTINES	SQL_MODE
 information_schema	TRIGGERS	ACTION_CONDITION
 information_schema	TRIGGERS	ACTION_STATEMENT
-information_schema	TRIGGERS	SQL_MODE
-information_schema	TRIGGERS	DEFINER
 information_schema	VIEWS	VIEW_DEFINITION
 select table_name, column_name, data_type from information_schema.columns
 where data_type = 'datetime';
@@ -1646,4 +1643,13 @@ drop table t1;
 drop function f1;
 select * from information_schema.tables where 1=sleep(100000);
 select * from information_schema.columns where 1=sleep(100000);
+explain select count(*) from information_schema.tables;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
+1	SIMPLE	tables	ALL	NULL	NULL	NULL	NULL	NULL	Skip_open_table; Scanned all databases
+explain select count(*) from information_schema.columns;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
+1	SIMPLE	columns	ALL	NULL	NULL	NULL	NULL	NULL	Open_frm_only; Scanned all databases
+explain select count(*) from information_schema.views;
+id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
+1	SIMPLE	views	ALL	NULL	NULL	NULL	NULL	NULL	Open_frm_only; Scanned all databases
 End of 5.1 tests.
diff --git a/mysql-test/r/information_schema_db.result b/mysql-test/r/information_schema_db.result
index eff5f117c50bd794fb1b32d79b70ecaf3366493a..83b8217b570aec3d9177ea54c661c7ffc5fdf2e2 100644
--- a/mysql-test/r/information_schema_db.result
+++ b/mysql-test/r/information_schema_db.result
@@ -221,3 +221,24 @@ drop view testdb_1.v1, v2, testdb_1.v3, v4;
 drop database testdb_1;
 drop user testdb_1@localhost;
 drop user testdb_2@localhost;
+create database testdb_1;
+create table testdb_1.t1 (a int);
+create view testdb_1.v1 as select * from testdb_1.t1;
+grant show view on testdb_1.* to mysqltest_1@localhost;
+grant select on testdb_1.v1 to mysqltest_1@localhost;
+select table_schema, table_name, view_definition from information_schema.views
+where table_name='v1';
+table_schema	table_name	view_definition
+testdb_1	v1	select `testdb_1`.`t1`.`a` AS `a` from `testdb_1`.`t1`
+show create view testdb_1.v1;
+View	Create View	character_set_client	collation_connection
+v1	CREATE ALGORITHM=UNDEFINED DEFINER=`root`@`localhost` SQL SECURITY DEFINER VIEW `testdb_1`.`v1` AS select `testdb_1`.`t1`.`a` AS `a` from `testdb_1`.`t1`	latin1	latin1_swedish_ci
+revoke select on testdb_1.v1 from mysqltest_1@localhost;
+select table_schema, table_name, view_definition from information_schema.views
+where table_name='v1';
+table_schema	table_name	view_definition
+testdb_1	v1	
+show create view testdb_1.v1;
+ERROR 42000: SELECT command denied to user 'mysqltest_1'@'localhost' for table 'v1'
+drop user mysqltest_1@localhost;
+drop database testdb_1;
diff --git a/mysql-test/r/innodb-semi-consistent.result b/mysql-test/r/innodb-semi-consistent.result
index f1139390f2086588dc66a4467aa30c25c8103aac..6173048c32032e25b817325f92a624999da5a66f 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 84760e1720c66ac4e7339a2c98cbe2eed1d4974c..5f8c59b9a0cf521e913340d9af9b5d76e73c7e00 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_data_home_dir_basic.result b/mysql-test/r/innodb_data_home_dir_basic.result
index fb9a0b0bca5571f5a7276cd04919f78629faedbe..e4bdd79b7c3a262d0ca6d8b6de109d55c26a0592 100644
--- a/mysql-test/r/innodb_data_home_dir_basic.result
+++ b/mysql-test/r/innodb_data_home_dir_basic.result
@@ -1,7 +1,7 @@
 '#---------------------BS_STVARS_025_01----------------------#'
 SELECT COUNT(@@GLOBAL.innodb_data_home_dir);
 COUNT(@@GLOBAL.innodb_data_home_dir)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_025_02----------------------#'
 SET @@GLOBAL.innodb_data_home_dir=1;
@@ -9,7 +9,7 @@ ERROR HY000: Variable 'innodb_data_home_dir' is a read only variable
 Expected error 'Read only variable'
 SELECT COUNT(@@GLOBAL.innodb_data_home_dir);
 COUNT(@@GLOBAL.innodb_data_home_dir)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_025_03----------------------#'
 SELECT @@GLOBAL.innodb_data_home_dir = VARIABLE_VALUE
@@ -20,7 +20,7 @@ NULL
 1 Expected
 SELECT COUNT(@@GLOBAL.innodb_data_home_dir);
 COUNT(@@GLOBAL.innodb_data_home_dir)
-0
+1
 1 Expected
 SELECT COUNT(VARIABLE_VALUE)
 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
@@ -36,7 +36,7 @@ NULL
 '#---------------------BS_STVARS_025_05----------------------#'
 SELECT COUNT(@@innodb_data_home_dir);
 COUNT(@@innodb_data_home_dir)
-0
+1
 1 Expected
 SELECT COUNT(@@local.innodb_data_home_dir);
 ERROR HY000: Variable 'innodb_data_home_dir' is a GLOBAL variable
@@ -46,7 +46,7 @@ ERROR HY000: Variable 'innodb_data_home_dir' is a GLOBAL variable
 Expected error 'Variable is a GLOBAL variable'
 SELECT COUNT(@@GLOBAL.innodb_data_home_dir);
 COUNT(@@GLOBAL.innodb_data_home_dir)
-0
+1
 1 Expected
 SELECT innodb_data_home_dir = @@SESSION.innodb_data_home_dir;
 ERROR 42S22: Unknown column 'innodb_data_home_dir' in 'field list'
diff --git a/mysql-test/r/innodb_flush_method_basic.result b/mysql-test/r/innodb_flush_method_basic.result
index 836328c5c9bcc80d619cd64958e2653b40a7a4bc..8c8924cdd862e93de31b511a1071747b151dd405 100644
--- a/mysql-test/r/innodb_flush_method_basic.result
+++ b/mysql-test/r/innodb_flush_method_basic.result
@@ -1,7 +1,7 @@
 '#---------------------BS_STVARS_029_01----------------------#'
 SELECT COUNT(@@GLOBAL.innodb_flush_method);
 COUNT(@@GLOBAL.innodb_flush_method)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_029_02----------------------#'
 SET @@GLOBAL.innodb_flush_method=1;
@@ -9,7 +9,7 @@ ERROR HY000: Variable 'innodb_flush_method' is a read only variable
 Expected error 'Read only variable'
 SELECT COUNT(@@GLOBAL.innodb_flush_method);
 COUNT(@@GLOBAL.innodb_flush_method)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_029_03----------------------#'
 SELECT @@GLOBAL.innodb_flush_method = VARIABLE_VALUE
@@ -20,7 +20,7 @@ NULL
 1 Expected
 SELECT COUNT(@@GLOBAL.innodb_flush_method);
 COUNT(@@GLOBAL.innodb_flush_method)
-0
+1
 1 Expected
 SELECT COUNT(VARIABLE_VALUE)
 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
@@ -36,7 +36,7 @@ NULL
 '#---------------------BS_STVARS_029_05----------------------#'
 SELECT COUNT(@@innodb_flush_method);
 COUNT(@@innodb_flush_method)
-0
+1
 1 Expected
 SELECT COUNT(@@local.innodb_flush_method);
 ERROR HY000: Variable 'innodb_flush_method' is a GLOBAL variable
@@ -46,7 +46,7 @@ ERROR HY000: Variable 'innodb_flush_method' is a GLOBAL variable
 Expected error 'Variable is a GLOBAL variable'
 SELECT COUNT(@@GLOBAL.innodb_flush_method);
 COUNT(@@GLOBAL.innodb_flush_method)
-0
+1
 1 Expected
 SELECT innodb_flush_method = @@SESSION.innodb_flush_method;
 ERROR 42S22: Unknown column 'innodb_flush_method' in 'field list'
diff --git a/mysql-test/r/innodb_mysql.result b/mysql-test/r/innodb_mysql.result
index 0b33e51ea355fc56acf792a9b1c6b013a3e87adb..985f4d2b46403f0f5ba5ab7b19c32f5b894e0ce7 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 f01ab2bfb8d10146c3dd108de7fb50119ec5859b..736ecf1d90ea9640f177d419103d80bf0d01a909 100644
--- a/mysql-test/r/join.result
+++ b/mysql-test/r/join.result
@@ -747,11 +747,13 @@ select t1.b from v1a;
 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 * 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	ORDINAL_POSITION	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	PRIVILEGES	COLUMN_COMMENT
-user	Host	NULL	mysql	0	mysql	PRIMARY	1	A	#	NULL	NULL		BTREE		NULL	mysql	1		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	2		NO	char	16	48	NULL	NULL	utf8	utf8_bin	char(16)	PRI		#	
+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.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	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/limit.result b/mysql-test/r/limit.result
index 2acf74162a401dabdc4f9be77f3a268dd4c2a238..caed588acdbc0770573a3820a821c761ef63ac1e 100644
--- a/mysql-test/r/limit.result
+++ b/mysql-test/r/limit.result
@@ -111,3 +111,6 @@ set @a=-14632475938453979136;
 execute s using @a, @a;
 ERROR HY000: Incorrect arguments to EXECUTE
 End of 5.0 tests
+select 1 as a limit 4294967296,10;
+a
+End of 5.1 tests
diff --git a/mysql-test/r/lock_multi.result b/mysql-test/r/lock_multi.result
index cd05fc1473fb5d53a617a1ec4dd74be6e0bd9290..a0e3d9fad06d85d408887e6b088226dd04e7c59f 100644
--- a/mysql-test/r/lock_multi.result
+++ b/mysql-test/r/lock_multi.result
@@ -96,6 +96,40 @@ alter table t1 auto_increment=0;
 alter table t1 auto_increment=0;
 unlock tables;
 drop table t1;
+CREATE TABLE t1 (
+a int(11) unsigned default NULL,
+b varchar(255) default NULL,
+UNIQUE KEY a (a),
+KEY b (b)
+);
+INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3);
+CREATE TABLE t2 SELECT * FROM t1;
+CREATE TABLE t3 SELECT * FROM t1;
+# test altering of columns that multiupdate doesn't use
+# normal mode
+# PS mode
+# test altering of columns that multiupdate uses
+# normal mode
+# PS mode
+DROP TABLE t1, t2, t3;
+CREATE TABLE t1( a INT, b INT );
+INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
+# 1. test regular tables
+# 1.1. test altering of columns that multiupdate doesn't use
+# 1.1.1. normal mode
+# 1.1.2. PS mode
+# 1.2. test altering of columns that multiupdate uses
+# 1.2.1. normal mode
+# 1.2.2. PS mode
+ALTER TABLE t1 ADD COLUMN a INT;
+# 2. test UNIONs
+# 2.1. test altering of columns that multiupdate doesn't use
+# 2.1.1. normal mode
+# 2.1.2. PS mode
+# 2.2. test altering of columns that multiupdate uses
+# 2.2.1. normal mode
+# 2.2.2. PS mode
+DROP TABLE t1;
 End of 5.0 tests
 create table t1 (i int);
 lock table t1 read;
diff --git a/mysql-test/r/log_basic.result b/mysql-test/r/log_basic.result
index 44d0ff48f1da07b807cb25de6a64552a5091e648..edda72fa91e4a48d14b5f61e713e15316c576e70 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 2b7fb548f365f4773e10ef4a32c4f4854a91e56e..cfcbcddfca3e3d75073aa0d572ee4d7cdfc479e6 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 c293956148f0e7c9b1081f5f2a193d4ecc191908..63903a034d27f5dff1ac9f6772482cb33bd5725d 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/merge.result b/mysql-test/r/merge.result
index ef623b343e9e4ce9d8d206b8e5a55f8c0ebe9c61..cc05efded02417b152d3c3528887b195656e2ed0 100644
--- a/mysql-test/r/merge.result
+++ b/mysql-test/r/merge.result
@@ -830,7 +830,7 @@ ERROR HY000: Unable to open underlying table which is differently defined or of
 DROP TABLE t1, t2;
 CREATE TABLE t2(a INT) ENGINE=MERGE UNION=(t3);
 SELECT * FROM t2;
-ERROR 42S02: Table 'test.t3' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 DROP TABLE t2;
 CREATE TABLE t1(a INT, b TEXT);
 CREATE TABLE tm1(a TEXT, b INT) ENGINE=MERGE UNION=(t1);
@@ -895,17 +895,19 @@ drop table t2;
 drop table t1;
 CREATE TABLE tm1(a INT) ENGINE=MERGE UNION=(t1, t2);
 SELECT * FROM tm1;
-ERROR 42S02: Table 'test.t1' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 CHECK TABLE tm1;
 Table	Op	Msg_type	Msg_text
 test.tm1	check	Error	Table 'test.t1' doesn't exist
+test.tm1	check	Error	Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 test.tm1	check	error	Corrupt
 CREATE TABLE t1(a INT);
 SELECT * FROM tm1;
-ERROR 42S02: Table 'test.t2' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 CHECK TABLE tm1;
 Table	Op	Msg_type	Msg_text
 test.tm1	check	Error	Table 'test.t2' doesn't exist
+test.tm1	check	Error	Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 test.tm1	check	error	Corrupt
 CREATE TABLE t2(a BLOB);
 SELECT * FROM tm1;
@@ -1199,7 +1201,7 @@ c1
 3
 RENAME TABLE t2 TO t5;
 SELECT * FROM t3 ORDER BY c1;
-ERROR 42S02: Table 'test.t2' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 RENAME TABLE t5 TO t2;
 SELECT * FROM t3 ORDER BY c1;
 c1
@@ -1233,7 +1235,7 @@ UNLOCK TABLES;
 # 4. Alter table rename.
 ALTER TABLE t2 RENAME TO t5;
 SELECT * FROM t3 ORDER BY c1;
-ERROR 42S02: Table 'test.t2' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 ALTER TABLE t5 RENAME TO t2;
 SELECT * FROM t3 ORDER BY c1;
 c1
@@ -1317,7 +1319,7 @@ LOCK TABLES t1 WRITE, t2 WRITE;
 INSERT INTO t1 VALUES (1);
 DROP TABLE t1;
 SELECT * FROM t2;
-ERROR 42S02: Table 'test.t1' doesn't exist
+ERROR HY000: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist
 SELECT * FROM t1;
 ERROR 42S02: Table 'test.t1' doesn't exist
 UNLOCK TABLES;
@@ -2006,6 +2008,13 @@ test.t1	optimize	status	OK
 FLUSH TABLES m1, t1;
 UNLOCK TABLES;
 DROP TABLE t1, m1;
+CREATE TABLE tm1 (c1 INT) ENGINE=MRG_MYISAM UNION=(t1) INSERT_METHOD=FIRST;
+SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE
+TABLE_SCHEMA = 'test' and TABLE_NAME='tm1';
+TABLE_CATALOG	TABLE_SCHEMA	TABLE_NAME	TABLE_TYPE	ENGINE	VERSION	ROW_FORMAT	TABLE_ROWS	AVG_ROW_LENGTH	DATA_LENGTH	MAX_DATA_LENGTH	INDEX_LENGTH	DATA_FREE	AUTO_INCREMENT	CREATE_TIME	UPDATE_TIME	CHECK_TIME	TABLE_COLLATION	CHECKSUM	CREATE_OPTIONS	TABLE_COMMENT
+NULL	test	tm1	BASE TABLE	NULL	NULL	NULL	#	#	#	#	#	#	#	#	#	#	NULL	#	#	Unable to open underlying table which is differently defined or of non-MyISAM ty
+DROP TABLE tm1;
+End of 5.1 tests
 CREATE TABLE t1(C1 INT, C2 INT, KEY C1(C1), KEY C2(C2)) ENGINE=MYISAM;
 CREATE TABLE t2(C1 INT, C2 INT, KEY C1(C1), KEY C2(C2)) ENGINE=MYISAM;
 CREATE TABLE t3(C1 INT, C2 INT, KEY C1(C1), KEY C2(C2)) ENGINE=MYISAM;
diff --git a/mysql-test/r/metadata.result b/mysql-test/r/metadata.result
index 4d5a170a55ccc4a2757716e493bf32c1abaf9697..6b498e55d854d7e6c20b5bc2881dd528e2624c1c 100644
--- a/mysql-test/r/metadata.result
+++ b/mysql-test/r/metadata.result
@@ -181,4 +181,21 @@ c1	c2
 3	3
 DROP VIEW v1,v2;
 DROP TABLE t1,t2;
+CREATE TABLE t1 (i INT, d DATE);
+INSERT INTO t1 VALUES (1, '2008-01-01'), (2, '2008-01-02'), (3, '2008-01-03');
+SELECT COALESCE(d, d), IFNULL(d, d), IF(i, d, d),
+CASE i WHEN i THEN d ELSE d END, GREATEST(d, d), LEAST(d, d)
+FROM t1 ORDER BY RAND();
+Catalog	Database	Table	Table_alias	Column	Column_alias	Type	Length	Max length	Is_null	Flags	Decimals	Charsetnr
+2008-01-01	2008-01-01	2008-01-01	2008-01-01	2008-01-01	2008-01-01
+2008-01-02	2008-01-02	2008-01-02	2008-01-02	2008-01-02	2008-01-02
+2008-01-03	2008-01-03	2008-01-03	2008-01-03	2008-01-03	2008-01-03
+COALESCE(d, d)	IFNULL(d, d)	IF(i, d, d)	CASE i WHEN i THEN d ELSE d END	GREATEST(d, d)	LEAST(d, d)
+def				CASE i WHEN i THEN d ELSE d END	CASE i WHEN i THEN d ELSE d END	10	10	10	Y	128	0	63
+def				COALESCE(d, d)	COALESCE(d, d)	10	10	10	Y	128	0	63
+def				GREATEST(d, d)	GREATEST(d, d)	10	10	10	Y	128	0	63
+def				IF(i, d, d)	IF(i, d, d)	10	10	10	Y	128	0	63
+def				IFNULL(d, d)	IFNULL(d, d)	10	10	10	Y	128	0	63
+def				LEAST(d, d)	LEAST(d, d)	10	10	10	Y	128	0	63
+DROP TABLE t1;
 End of 5.0 tests
diff --git a/mysql-test/r/order_by.result b/mysql-test/r/order_by.result
index e70ce75797d4220c62a287a6ca12f6bfa545f653..dc29c5ec226fbc7a4f37d247db04c757051b75eb 100644
--- a/mysql-test/r/order_by.result
+++ b/mysql-test/r/order_by.result
@@ -1428,6 +1428,22 @@ set session max_sort_length= 2180;
 select * from t1 order by b;
 ERROR HY001: Out of sort memory; increase server sort buffer size
 drop table t1;
+#
+# Bug #39844: Query Crash Mysql Server 5.0.67
+#
+CREATE TABLE t1 (a INT PRIMARY KEY);
+CREATE TABLE t2 (a INT PRIMARY KEY, b INT);
+CREATE TABLE t3 (c INT);
+INSERT INTO t1 (a) VALUES (1), (2);
+INSERT INTO t2 (a,b) VALUES (1,2), (2,3);
+INSERT INTO t3 (c) VALUES (1), (2);
+SELECT
+(SELECT t1.a FROM t1, t2 WHERE t1.a = t2.b AND t2.a = t3.c ORDER BY t1.a)
+FROM t3;
+(SELECT t1.a FROM t1, t2 WHERE t1.a = t2.b AND t2.a = t3.c ORDER BY t1.a)
+2
+NULL
+DROP TABLE t1, t2, t3;
 CREATE TABLE t2 (a varchar(32), b int(11), c float, d double, 
 UNIQUE KEY a (a,b,c), KEY b (b), KEY c (c));
 CREATE TABLE t1 (a varchar(32), b char(3), UNIQUE KEY a (a,b), KEY b (b));
diff --git a/mysql-test/r/partition.result b/mysql-test/r/partition.result
index a441a841a07f264f2f1ae049597f7039af3e9666..e76c874324e84dc1438b38354af3a656e328a1a4 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/partition_not_windows.result b/mysql-test/r/partition_not_windows.result
index 44afdea3855dadc9e61c4f2c1602796c1156b9b4..c0247babb50326ea8cc5d6bf8a0a487b9a14da23 100644
--- a/mysql-test/r/partition_not_windows.result
+++ b/mysql-test/r/partition_not_windows.result
@@ -24,8 +24,8 @@ data directory='/not/existing'
   index directory='/not/existing'
 );
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 show create table t2;
 Table	Create Table
 t2	CREATE TABLE `t2` (
diff --git a/mysql-test/r/partition_symlink.result b/mysql-test/r/partition_symlink.result
index 73844e9e70de80ae16193684d65044927b77947e..00c9f5b3f015f4f116fd81c54470fe02fa56d456 100644
--- a/mysql-test/r/partition_symlink.result
+++ b/mysql-test/r/partition_symlink.result
@@ -101,8 +101,8 @@ data directory='/not/existing'
     index directory='/not/existing'
 );
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 show create table t2;
 Table	Create Table
 t2	CREATE TABLE `t2` (
diff --git a/mysql-test/r/partition_windows.result b/mysql-test/r/partition_windows.result
index c2d4054deeb7e54231da834464461b9290f9380d..87e3a3e970d16856c055271cfd334d053348ee5b 100644
--- a/mysql-test/r/partition_windows.result
+++ b/mysql-test/r/partition_windows.result
@@ -15,16 +15,16 @@ DATA DIRECTORY = 'E:/mysqltest/p2Data'
     INDEX DIRECTORY = 'F:/mysqltest/p2Index'
 );
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 INSERT INTO t1 VALUES (NULL, "first", 1);
 INSERT INTO t1 VALUES (NULL, "second", 2);
 INSERT INTO t1 VALUES (NULL, "third", 3);
 ALTER TABLE t1 ADD PARTITION (PARTITION p3 DATA DIRECTORY = 'G:/mysqltest/p3Data' INDEX DIRECTORY = 'H:/mysqltest/p3Index');
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 INSERT INTO t1 VALUES (NULL, "last", 4);
 DROP TABLE t1;
diff --git a/mysql-test/r/ps_11bugs.result b/mysql-test/r/ps_11bugs.result
index ebe161f46b3386974ae6d42449f81960f05e558d..a298c5528067ec40a81dd51a6243d20d9aa1e8a4 100644
--- a/mysql-test/r/ps_11bugs.result
+++ b/mysql-test/r/ps_11bugs.result
@@ -162,4 +162,32 @@ a	b
 12	NULL
 drop table t1;
 drop table t2;
+CREATE TABLE t1 (a INT);
+PREPARE stmt FROM 'select 1 from `t1` where `a` = any (select (@@tmpdir))';
+EXECUTE stmt;
+1
+DEALLOCATE PREPARE stmt;
+DROP TABLE t1;
+CREATE TABLE t2 (a INT PRIMARY KEY);
+INSERT INTO t2 VALUES (400000), (400001);
+SET @@sort_buffer_size=400000;
+CREATE FUNCTION p1(i INT) RETURNS INT
+BEGIN
+SET @@sort_buffer_size= i;
+RETURN i + 1;
+END|
+SELECT * FROM t2 WHERE a = @@sort_buffer_size AND p1(@@sort_buffer_size + 1) > a - 1;
+a
+400000
+DROP TABLE t2;
+DROP FUNCTION p1;
+SELECT CONCAT(@@sort_buffer_size);
+CONCAT(@@sort_buffer_size)
+400001
+SELECT LEFT("12345", @@ft_boolean_syntax);
+LEFT("12345", @@ft_boolean_syntax)
+
+Warnings:
+Warning	1292	Truncated incorrect INTEGER value: '+ -><()~*:""&|'
+SET @@sort_buffer_size=DEFAULT;
 End of 5.0 tests.
diff --git a/mysql-test/r/show_check.result b/mysql-test/r/show_check.result
index dfadfd878e821cf0702c0c986b96a9441c85593d..b9a5ddbf8ec84fbc35bb594e1ad4be74c828e45f 100644
--- a/mysql-test/r/show_check.result
+++ b/mysql-test/r/show_check.result
@@ -1001,8 +1001,8 @@ def			TRIGGERS	EVENT_OBJECT_TABLE	Table	253	192	2	N	1	0	33
 def			TRIGGERS	ACTION_STATEMENT	Statement	252	589815	10	N	17	0	33
 def			TRIGGERS	ACTION_TIMING	Timing	253	18	6	N	1	0	33
 def			TRIGGERS	CREATED	Created	12	19	0	Y	128	0	63
-def			TRIGGERS	SQL_MODE	sql_mode	252	589815	0	N	17	0	33
-def			TRIGGERS	DEFINER	Definer	252	589815	14	N	17	0	33
+def			TRIGGERS	SQL_MODE	sql_mode	253	24576	0	N	1	0	33
+def			TRIGGERS	DEFINER	Definer	253	231	14	N	1	0	33
 def			TRIGGERS	CHARACTER_SET_CLIENT	character_set_client	253	96	6	N	1	0	33
 def			TRIGGERS	COLLATION_CONNECTION	collation_connection	253	96	6	N	1	0	33
 def			TRIGGERS	DATABASE_COLLATION	Database Collation	253	96	17	N	1	0	33
@@ -1045,8 +1045,8 @@ def			TRIGGERS	ACTION_REFERENCE_OLD_TABLE	ACTION_REFERENCE_OLD_TABLE	253	192	0	Y
 def			TRIGGERS	ACTION_REFERENCE_NEW_TABLE	ACTION_REFERENCE_NEW_TABLE	253	192	0	Y	0	0	33
 def			TRIGGERS	ACTION_REFERENCE_OLD_ROW	ACTION_REFERENCE_OLD_ROW	253	9	3	N	1	0	33
 def			TRIGGERS	ACTION_REFERENCE_NEW_ROW	ACTION_REFERENCE_NEW_ROW	253	9	3	N	1	0	33
-def			TRIGGERS	SQL_MODE	SQL_MODE	252	589815	0	N	17	0	33
-def			TRIGGERS	DEFINER	DEFINER	252	589815	14	N	17	0	33
+def			TRIGGERS	SQL_MODE	SQL_MODE	253	24576	0	N	1	0	33
+def			TRIGGERS	DEFINER	DEFINER	253	231	14	N	1	0	33
 TRIGGER_CATALOG	TRIGGER_SCHEMA	TRIGGER_NAME	EVENT_MANIPULATION	EVENT_OBJECT_CATALOG	EVENT_OBJECT_SCHEMA	EVENT_OBJECT_TABLE	ACTION_CONDITION	ACTION_STATEMENT	ACTION_ORIENTATION	ACTION_TIMING	ACTION_REFERENCE_OLD_TABLE	ACTION_REFERENCE_NEW_TABLE	ACTION_REFERENCE_OLD_ROW	ACTION_REFERENCE_NEW_ROW	SQL_MODE	DEFINER
 NULL	test	t1_bi	INSERT	NULL	test	t1	NULL	SET @a = 1	ROW	BEFORE	NULL	NULL	OLD	NEW		root@localhost
 ----------------------------------------------------------------
diff --git a/mysql-test/r/slow_launch_time_func.result b/mysql-test/r/slow_launch_time_func.result
index 766d7fb4dd9cc0cd355cccc0d4434a36884d9e55..7665166ff29127b5526108525b094438652dd18f 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/sp.result b/mysql-test/r/sp.result
index 651f0b235d5fa5ee50d916927bfe24f2daa331e6..4052cd58c0fdad8d43e9f56c74f02dab813e625c 100644
--- a/mysql-test/r/sp.result
+++ b/mysql-test/r/sp.result
@@ -6846,6 +6846,19 @@ select substr(`str`, `pos`+ 1 ) into `str`;
 end $
 call `p2`('s s s s s s');
 drop procedure `p2`;
+drop table if exists t1;
+drop procedure if exists p1;
+create procedure p1() begin select * from t1; end$
+call p1$
+ERROR 42S02: Table 'test.t1' doesn't exist
+create table t1 (a integer)$
+call p1$
+a
+alter table t1 add b integer;
+call p1$
+a
+drop table t1;
+drop procedure p1;
 # ------------------------------------------------------------------
 # -- End of 5.0 tests
 # ------------------------------------------------------------------
diff --git a/mysql-test/r/ssl_capath_basic.result b/mysql-test/r/ssl_capath_basic.result
index a2c01aab806784c3164bcd7aeb7ea7d056033880..3d16139291761662e46d5144d68c04f329260299 100644
--- a/mysql-test/r/ssl_capath_basic.result
+++ b/mysql-test/r/ssl_capath_basic.result
@@ -1,7 +1,7 @@
 '#---------------------BS_STVARS_046_01----------------------#'
 SELECT COUNT(@@GLOBAL.ssl_capath);
 COUNT(@@GLOBAL.ssl_capath)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_046_02----------------------#'
 SET @@GLOBAL.ssl_capath=1;
@@ -9,7 +9,7 @@ ERROR HY000: Variable 'ssl_capath' is a read only variable
 Expected error 'Read only variable'
 SELECT COUNT(@@GLOBAL.ssl_capath);
 COUNT(@@GLOBAL.ssl_capath)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_046_03----------------------#'
 SELECT @@GLOBAL.ssl_capath = VARIABLE_VALUE
@@ -20,7 +20,7 @@ NULL
 1 Expected
 SELECT COUNT(@@GLOBAL.ssl_capath);
 COUNT(@@GLOBAL.ssl_capath)
-0
+1
 1 Expected
 SELECT COUNT(VARIABLE_VALUE)
 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
@@ -36,7 +36,7 @@ NULL
 '#---------------------BS_STVARS_046_05----------------------#'
 SELECT COUNT(@@ssl_capath);
 COUNT(@@ssl_capath)
-0
+1
 1 Expected
 SELECT COUNT(@@local.ssl_capath);
 ERROR HY000: Variable 'ssl_capath' is a GLOBAL variable
@@ -46,7 +46,7 @@ ERROR HY000: Variable 'ssl_capath' is a GLOBAL variable
 Expected error 'Variable is a GLOBAL variable'
 SELECT COUNT(@@GLOBAL.ssl_capath);
 COUNT(@@GLOBAL.ssl_capath)
-0
+1
 1 Expected
 SELECT ssl_capath = @@SESSION.ssl_capath;
 ERROR 42S22: Unknown column 'ssl_capath' in 'field list'
diff --git a/mysql-test/r/ssl_cipher_basic.result b/mysql-test/r/ssl_cipher_basic.result
index 3c7098e115024ce1da16fa76cf8fcae110294480..df0fc8b5aadb8e90ad7ddb59cfa84df24208d3c5 100644
--- a/mysql-test/r/ssl_cipher_basic.result
+++ b/mysql-test/r/ssl_cipher_basic.result
@@ -1,7 +1,7 @@
 '#---------------------BS_STVARS_048_01----------------------#'
 SELECT COUNT(@@GLOBAL.ssl_cipher);
 COUNT(@@GLOBAL.ssl_cipher)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_048_02----------------------#'
 SET @@GLOBAL.ssl_cipher=1;
@@ -9,7 +9,7 @@ ERROR HY000: Variable 'ssl_cipher' is a read only variable
 Expected error 'Read only variable'
 SELECT COUNT(@@GLOBAL.ssl_cipher);
 COUNT(@@GLOBAL.ssl_cipher)
-0
+1
 1 Expected
 '#---------------------BS_STVARS_048_03----------------------#'
 SELECT @@GLOBAL.ssl_cipher = VARIABLE_VALUE
@@ -20,7 +20,7 @@ NULL
 1 Expected
 SELECT COUNT(@@GLOBAL.ssl_cipher);
 COUNT(@@GLOBAL.ssl_cipher)
-0
+1
 1 Expected
 SELECT COUNT(VARIABLE_VALUE)
 FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES 
@@ -36,7 +36,7 @@ NULL
 '#---------------------BS_STVARS_048_05----------------------#'
 SELECT COUNT(@@ssl_cipher);
 COUNT(@@ssl_cipher)
-0
+1
 1 Expected
 SELECT COUNT(@@local.ssl_cipher);
 ERROR HY000: Variable 'ssl_cipher' is a GLOBAL variable
@@ -46,7 +46,7 @@ ERROR HY000: Variable 'ssl_cipher' is a GLOBAL variable
 Expected error 'Variable is a GLOBAL variable'
 SELECT COUNT(@@GLOBAL.ssl_cipher);
 COUNT(@@GLOBAL.ssl_cipher)
-0
+1
 1 Expected
 SELECT ssl_cipher = @@SESSION.ssl_cipher;
 ERROR 42S22: Unknown column 'ssl_cipher' in 'field list'
diff --git a/mysql-test/r/status.result b/mysql-test/r/status.result
index 97547ff7c473d42a73186eaecd55ef61176824d9..1e758ce68c7b5d7610743b2e6224d933476bfd03 100644
--- a/mysql-test/r/status.result
+++ b/mysql-test/r/status.result
@@ -1,3 +1,5 @@
+set @old_concurrent_insert= @@global.concurrent_insert;
+set @@global.concurrent_insert= 0;
 flush status;
 show status like 'Table_lock%';
 Variable_name	Value
@@ -7,22 +9,31 @@ select * from information_schema.session_status where variable_name like 'Table_
 VARIABLE_NAME	VARIABLE_VALUE
 TABLE_LOCKS_IMMEDIATE	2
 TABLE_LOCKS_WAITED	0
-SET SQL_LOG_BIN=0;
+# Switched to connection: con1
+set sql_log_bin=0;
 set @old_general_log = @@global.general_log;
 set global general_log = 'OFF';
 drop table if exists t1;
 create table t1(n int) engine=myisam;
 insert into t1 values(1);
+select 1;
+1
+1
+# Switched to connection: con2
 lock tables t1 read;
 unlock tables;
 lock tables t1 read;
+# Switched to connection: con1
 update t1 set n = 3;
+# Switched to connection: con2
 unlock tables;
+# Switched to connection: con1
 show status like 'Table_locks_waited';
 Variable_name	Value
 Table_locks_waited	1
 drop table t1;
 set global general_log = @old_general_log;
+# Switched to connection: default
 select 1;
 1
 1
@@ -198,3 +209,4 @@ ERROR 42000: SELECT command denied to user 'mysqltest_1'@'localhost' for table '
 drop database db37908;
 drop procedure proc37908;
 drop function func37908;
+set @@global.concurrent_insert= @old_concurrent_insert;
diff --git a/mysql-test/r/subselect3.result b/mysql-test/r/subselect3.result
index f4fd041731deb80f3685396bf0bbbbf60a99c565..b15ec9dbe4e34c397d616769630efea3d871fab6 100644
--- a/mysql-test/r/subselect3.result
+++ b/mysql-test/r/subselect3.result
@@ -779,6 +779,22 @@ SELECT 1 FROM t1 WHERE t1.a NOT IN (SELECT 1 FROM t1, t2 WHERE 0);
 1
 1
 DROP TABLE t1, t2;
+CREATE TABLE t1 (
+pk INT PRIMARY KEY,
+int_key INT,
+varchar_key VARCHAR(5) UNIQUE,
+varchar_nokey VARCHAR(5)
+);
+INSERT INTO t1 VALUES (9, 7,NULL,NULL), (10,8,'p' ,'p');
+SELECT varchar_nokey
+FROM t1
+WHERE NULL NOT IN (
+SELECT INNR.pk FROM t1 AS INNR2
+LEFT JOIN t1 AS INNR ON ( INNR2.int_key = INNR.int_key )
+WHERE INNR.varchar_key > 'n{'
+);
+varchar_nokey
+DROP TABLE t1;
 End of 5.0 tests
 create table t0 (a int);
 insert into t0 values (0),(1),(2),(3),(4),(5),(6),(7),(8),(9);
diff --git a/mysql-test/r/symlink.result b/mysql-test/r/symlink.result
index b8c1660f9474229bf2b4eaa52cd119f8c289c17b..df4aa343f1ff78c781cb6011015bc20b825f1677 100644
--- a/mysql-test/r/symlink.result
+++ b/mysql-test/r/symlink.result
@@ -79,7 +79,7 @@ drop database mysqltest;
 create table t1 (a int not null) engine=myisam;
 alter table t1 data directory="MYSQLTEST_VARDIR/tmp";
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
 show create table t1;
 Table	Create Table
 t1	CREATE TABLE `t1` (
@@ -88,7 +88,7 @@ t1	CREATE TABLE `t1` (
 alter table t1 add b int;
 alter table t1 data directory="MYSQLTEST_VARDIR/log";
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
 show create table t1;
 Table	Create Table
 t1	CREATE TABLE `t1` (
@@ -97,7 +97,7 @@ t1	CREATE TABLE `t1` (
 ) ENGINE=MyISAM DEFAULT CHARSET=latin1
 alter table t1 index directory="MYSQLTEST_VARDIR/log";
 Warnings:
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 show create table t1;
 Table	Create Table
 t1	CREATE TABLE `t1` (
@@ -164,8 +164,8 @@ ERROR HY000: Can't create/write to file 'TEST_DIR/master-data_var/t1.MYI' (Errco
 SET @OLD_SQL_MODE=@@SQL_MODE, @@SQL_MODE='NO_DIR_IN_CREATE';
 CREATE TABLE t1(a INT) DATA DIRECTORY='MYSQLTEST_VARDIR/tmp' INDEX DIRECTORY='MYSQLTEST_VARDIR/tmp';
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 DROP TABLE t1;
 SET @@SQL_MODE=@OLD_SQL_MODE;
 End of 5.1 tests
diff --git a/mysql-test/r/thread_cache_size_func.result b/mysql-test/r/thread_cache_size_func.result
index ccca75bd3162a8efdef141d324d321800df3bcdc..f808e28a51263f9961662661fba61a1dcfe9e18d 100644
--- a/mysql-test/r/thread_cache_size_func.result
+++ b/mysql-test/r/thread_cache_size_func.result
@@ -2,67 +2,31 @@ SET @global_thread_cache_size = @@GLOBAL.thread_cache_size;
 FLUSH STATUS;
 '# Test1#'
 SET @@GLOBAL.thread_cache_size=3;
-Saving threads cached, threads created values
 SHOW STATUS LIKE 'Threads_cached';
 Variable_name	Value
 Threads_cached	0
 0 Expected
-'#Old value for thread_cache'#
 ** Connecting conn1 using username 'root' **
 ** Connecting conn2 using username 'root' **
 ** Connecting conn3 using username 'root' **
 ** Connecting conn4 using username 'root' **
-Saving threads cached, threads created values
-Threads Created Difference
-4
-4 Expected
+** Connection default **
 SHOW STATUS LIKE 'Threads_cached';
 Variable_name	Value
 Threads_cached	0
 0 Expected
-** Connection default **
 ** Disconnecting conn1,conn2,conn3,conn4 **
-'#new  values for thread cache after disconnecting'#
-Saving threads cached, threads created values
-Threads Created Difference
-0
-0 Expected
 SHOW STATUS LIKE 'Threads_cached';
 Variable_name	Value
 Threads_cached	3
 3 Expected
-SET @@GLOBAL.thread_cache_size=1;
-Saving threads cached, threads created values
-Threads Created Difference
-0
-0 Expected
-SHOW STATUS LIKE 'Threads_cached';
-Variable_name	Value
-Threads_cached	3
-1 Expected
-Bug: The number of threads cached should have decreased with cache size decrease.
+SET @@GLOBAL.thread_cache_size= 1;
 ** Connecting conn1 using username 'root' **
 ** Connecting conn2 using username 'root' **
-Saving threads cached, threads created values
-Threads Created Difference
-0
-1 Expected
-Bug: The number of threads created should have increased because the cache should have 1 thread only
-SHOW STATUS LIKE 'Threads_cached';
-Variable_name	Value
-Threads_cached	1
-0 Expected
-Bug: The number of threads created should have decreased because atleast 1 new connection came in
-** Connection default **
+connection default;
 ** Disconnecting conn1,conn2 **
-'#new status values for thread cache'#
-Saving threads cached, threads created values
-Threads Created Difference
-0
-0 Expected
 SHOW STATUS LIKE 'Threads_cached';
 Variable_name	Value
 Threads_cached	1
 1 Expected
-Saving threads cached, threads created values
 SET @@GLOBAL.thread_cache_size = @global_thread_cache_size;
diff --git a/mysql-test/r/trigger-trans.result b/mysql-test/r/trigger-trans.result
index 9e0f1e2c3511e9a9920f523c0688d386ce4e1853..2c4e355af9d4640c917decddbcdd795bdc45424b 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 8b763edd70c596ac306a012157cf8f8e79ac4578..2242525f14bce63edcca34eb24fccd390d9508d1 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/variables.result b/mysql-test/r/variables.result
index 3f66599751d218a8e1d8aa2a80ab20f5aaada75f..aee84c98e4f4c953ee0a27423071b53049a3896b 100644
--- a/mysql-test/r/variables.result
+++ b/mysql-test/r/variables.result
@@ -157,7 +157,7 @@ explain extended select @@IDENTITY,last_insert_id(), @@identity;
 id	select_type	table	type	possible_keys	key	key_len	ref	rows	filtered	Extra
 1	SIMPLE	NULL	NULL	NULL	NULL	NULL	NULL	NULL	NULL	No tables used
 Warnings:
-Note	1003	select 345 AS `@@IDENTITY`,last_insert_id() AS `last_insert_id()`,345 AS `@@identity`
+Note	1003	select @@IDENTITY AS `@@IDENTITY`,last_insert_id() AS `last_insert_id()`,@@identity AS `@@identity`
 set big_tables=OFF, big_tables=ON, big_tables=0, big_tables=1, big_tables="OFF", big_tables="ON";
 set global concurrent_insert=2;
 show variables like 'concurrent_insert';
diff --git a/mysql-test/r/warnings.result b/mysql-test/r/warnings.result
index aad8a33ea61b6b74333ef1cb7d6c862690bd264e..090ac1340ea32ab544737c9bfda0e0e359bd8364 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/r/windows.result b/mysql-test/r/windows.result
index e58a891838a188816e33f475d24b335cab98aec2..7ade7b851cc575060c6b4bbe8e627869be499792 100644
--- a/mysql-test/r/windows.result
+++ b/mysql-test/r/windows.result
@@ -9,8 +9,8 @@ drop table nu;
 drop table if exists t1;
 CREATE TABLE t1 ( `ID` int(6) ) data directory 'c:/tmp/' index directory 'c:/tmp/' engine=MyISAM;
 Warnings:
-Warning	0	DATA DIRECTORY option ignored
-Warning	0	INDEX DIRECTORY option ignored
+Warning	1616	<DATA DIRECTORY> option ignored
+Warning	1616	<INDEX DIRECTORY> option ignored
 drop table t1;
 CREATE TABLE t1 (a int, b int);
 INSERT INTO t1 VALUES (1,1);
@@ -18,6 +18,7 @@ EXPLAIN SELECT * FROM t1 WHERE b =  (SELECT max(2));
 id	select_type	table	type	possible_keys	key	key_len	ref	rows	Extra
 1	PRIMARY	NULL	NULL	NULL	NULL	NULL	NULL	NULL	Impossible WHERE noticed after reading const tables
 2	SUBQUERY	NULL	NULL	NULL	NULL	NULL	NULL	NULL	No tables used
+DROP TABLE t1;
 End of 5.0 tests.
 drop procedure if exists proc_1;
 create procedure proc_1() install plugin my_plug soname '\\root\\some_plugin.dll';
diff --git a/mysql-test/suite/binlog/r/binlog_multi_engine.result b/mysql-test/suite/binlog/r/binlog_multi_engine.result
index ffe7915f1f802a5967f33f7cc5e53d60729a3aaf..a295657b8f806bdfa766304c11d302312f223deb 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 9668c7ce5ea5c4b6edef934e13577b4e32544da4..1a56e048b27bc19e9d7f9c92aa82f0418e64ffc3 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 ae8c1e11737029c462b409d369fd9be0a16cada3..aadbf950b21e71182997071c5e863ef8116cb5d0 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 619fd39a2a9ec70458afc32f5482f276793ea2c6..30f298488fc6ce915046b282dbfccb446fa883ef 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_killed.test b/mysql-test/suite/binlog/t/binlog_killed.test
index ab8a8cd59bd015a3c257bc0bffb821e114192713..e63186b64c87c40212757a2574655c9171f26616 100644
--- a/mysql-test/suite/binlog/t/binlog_killed.test
+++ b/mysql-test/suite/binlog/t/binlog_killed.test
@@ -1,5 +1,10 @@
 -- source include/have_innodb.inc
 -- source include/have_binlog_format_mixed_or_statement.inc
+
+# You cannot use `KILL' with the Embedded MySQL Server library,
+# because the embedded server merely runs inside the threads of the host
+# application. -- the docs
+
 -- source include/not_embedded.inc
 
 ###
@@ -22,6 +27,12 @@ select get_lock("a", 20);
 
 connection con2;
 let $ID= `select connection_id()`;
+
+#
+# reset master does not reset binlogging on the embedded server.
+# the test is not run on the embedded for reason of using KILL query.
+# `reset master' problem is to be addressed by bug#15580 fixes.
+#
 reset master;
 send insert into t2 values (null, null), (null, get_lock("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 bf84eed6ec1a537c38130549375f16537ac83f7b..c8136d669e4bc4f98646f40ebba6f9896a313287 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,12 +80,10 @@ 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;
 
diff --git a/mysql-test/suite/funcs_1/r/is_columns_is.result b/mysql-test/suite/funcs_1/r/is_columns_is.result
index c1813a1add2c4f7554eecccfab9de0528f4f3155..84daef5f8dacd020c59d4ca461fbc59b0d68c3e2 100644
--- a/mysql-test/suite/funcs_1/r/is_columns_is.result
+++ b/mysql-test/suite/funcs_1/r/is_columns_is.result
@@ -67,7 +67,7 @@ NULL	information_schema	EVENTS	LAST_ALTERED	18	0000-00-00 00:00:00	NO	datetime	N
 NULL	information_schema	EVENTS	LAST_EXECUTED	19	NULL	YES	datetime	NULL	NULL	NULL	NULL	NULL	NULL	datetime			select	
 NULL	information_schema	EVENTS	ON_COMPLETION	16		NO	varchar	12	36	NULL	NULL	utf8	utf8_general_ci	varchar(12)			select	
 NULL	information_schema	EVENTS	ORIGINATOR	21	0	NO	bigint	NULL	NULL	19	0	NULL	NULL	bigint(10)			select	
-NULL	information_schema	EVENTS	SQL_MODE	12	NULL	NO	longtext	4294967295	4294967295	NULL	NULL	utf8	utf8_general_ci	longtext			select	
+NULL	information_schema	EVENTS	SQL_MODE	12		NO	varchar	8192	24576	NULL	NULL	utf8	utf8_general_ci	varchar(8192)			select	
 NULL	information_schema	EVENTS	STARTS	13	NULL	YES	datetime	NULL	NULL	NULL	NULL	NULL	NULL	datetime			select	
 NULL	information_schema	EVENTS	STATUS	15		NO	varchar	18	54	NULL	NULL	utf8	utf8_general_ci	varchar(18)			select	
 NULL	information_schema	EVENTS	TIME_ZONE	5		NO	varchar	64	192	NULL	NULL	utf8	utf8_general_ci	varchar(64)			select	
@@ -277,12 +277,12 @@ NULL	information_schema	TRIGGERS	CHARACTER_SET_CLIENT	20		NO	varchar	32	96	NULL
 NULL	information_schema	TRIGGERS	COLLATION_CONNECTION	21		NO	varchar	32	96	NULL	NULL	utf8	utf8_general_ci	varchar(32)			select	
 NULL	information_schema	TRIGGERS	CREATED	17	NULL	YES	datetime	NULL	NULL	NULL	NULL	NULL	NULL	datetime			select	
 NULL	information_schema	TRIGGERS	DATABASE_COLLATION	22		NO	varchar	32	96	NULL	NULL	utf8	utf8_general_ci	varchar(32)			select	
-NULL	information_schema	TRIGGERS	DEFINER	19	NULL	NO	longtext	4294967295	4294967295	NULL	NULL	utf8	utf8_general_ci	longtext			select	
+NULL	information_schema	TRIGGERS	DEFINER	19		NO	varchar	77	231	NULL	NULL	utf8	utf8_general_ci	varchar(77)			select	
 NULL	information_schema	TRIGGERS	EVENT_MANIPULATION	4		NO	varchar	6	18	NULL	NULL	utf8	utf8_general_ci	varchar(6)			select	
 NULL	information_schema	TRIGGERS	EVENT_OBJECT_CATALOG	5	NULL	YES	varchar	512	1536	NULL	NULL	utf8	utf8_general_ci	varchar(512)			select	
 NULL	information_schema	TRIGGERS	EVENT_OBJECT_SCHEMA	6		NO	varchar	64	192	NULL	NULL	utf8	utf8_general_ci	varchar(64)			select	
 NULL	information_schema	TRIGGERS	EVENT_OBJECT_TABLE	7		NO	varchar	64	192	NULL	NULL	utf8	utf8_general_ci	varchar(64)			select	
-NULL	information_schema	TRIGGERS	SQL_MODE	18	NULL	NO	longtext	4294967295	4294967295	NULL	NULL	utf8	utf8_general_ci	longtext			select	
+NULL	information_schema	TRIGGERS	SQL_MODE	18		NO	varchar	8192	24576	NULL	NULL	utf8	utf8_general_ci	varchar(8192)			select	
 NULL	information_schema	TRIGGERS	TRIGGER_CATALOG	1	NULL	YES	varchar	512	1536	NULL	NULL	utf8	utf8_general_ci	varchar(512)			select	
 NULL	information_schema	TRIGGERS	TRIGGER_NAME	3		NO	varchar	64	192	NULL	NULL	utf8	utf8_general_ci	varchar(64)			select	
 NULL	information_schema	TRIGGERS	TRIGGER_SCHEMA	2		NO	varchar	64	192	NULL	NULL	utf8	utf8_general_ci	varchar(64)			select	
@@ -412,7 +412,7 @@ NULL	information_schema	COLUMNS	NUMERIC_SCALE	bigint	NULL	NULL	NULL	NULL	bigint(
 NULL	information_schema	EVENTS	EXECUTE_AT	datetime	NULL	NULL	NULL	NULL	datetime
 3.0000	information_schema	EVENTS	INTERVAL_VALUE	varchar	256	768	utf8	utf8_general_ci	varchar(256)
 3.0000	information_schema	EVENTS	INTERVAL_FIELD	varchar	18	54	utf8	utf8_general_ci	varchar(18)
-1.0000	information_schema	EVENTS	SQL_MODE	longtext	4294967295	4294967295	utf8	utf8_general_ci	longtext
+3.0000	information_schema	EVENTS	SQL_MODE	varchar	8192	24576	utf8	utf8_general_ci	varchar(8192)
 NULL	information_schema	EVENTS	STARTS	datetime	NULL	NULL	NULL	NULL	datetime
 NULL	information_schema	EVENTS	ENDS	datetime	NULL	NULL	NULL	NULL	datetime
 3.0000	information_schema	EVENTS	STATUS	varchar	18	54	utf8	utf8_general_ci	varchar(18)
@@ -635,8 +635,8 @@ NULL	information_schema	TRIGGERS	ACTION_ORDER	bigint	NULL	NULL	NULL	NULL	bigint(
 3.0000	information_schema	TRIGGERS	ACTION_REFERENCE_OLD_ROW	varchar	3	9	utf8	utf8_general_ci	varchar(3)
 3.0000	information_schema	TRIGGERS	ACTION_REFERENCE_NEW_ROW	varchar	3	9	utf8	utf8_general_ci	varchar(3)
 NULL	information_schema	TRIGGERS	CREATED	datetime	NULL	NULL	NULL	NULL	datetime
-1.0000	information_schema	TRIGGERS	SQL_MODE	longtext	4294967295	4294967295	utf8	utf8_general_ci	longtext
-1.0000	information_schema	TRIGGERS	DEFINER	longtext	4294967295	4294967295	utf8	utf8_general_ci	longtext
+3.0000	information_schema	TRIGGERS	SQL_MODE	varchar	8192	24576	utf8	utf8_general_ci	varchar(8192)
+3.0000	information_schema	TRIGGERS	DEFINER	varchar	77	231	utf8	utf8_general_ci	varchar(77)
 3.0000	information_schema	TRIGGERS	CHARACTER_SET_CLIENT	varchar	32	96	utf8	utf8_general_ci	varchar(32)
 3.0000	information_schema	TRIGGERS	COLLATION_CONNECTION	varchar	32	96	utf8	utf8_general_ci	varchar(32)
 3.0000	information_schema	TRIGGERS	DATABASE_COLLATION	varchar	32	96	utf8	utf8_general_ci	varchar(32)
diff --git a/mysql-test/suite/funcs_1/r/is_events.result b/mysql-test/suite/funcs_1/r/is_events.result
index 52673f1d285bbf5cfcd31a5bea392a3e0031a8d0..6dfe5899bf4157179b5adbf60a09ff847d17ae6e 100644
--- a/mysql-test/suite/funcs_1/r/is_events.result
+++ b/mysql-test/suite/funcs_1/r/is_events.result
@@ -39,7 +39,7 @@ EVENT_TYPE	varchar(9)	NO
 EXECUTE_AT	datetime	YES		NULL	
 INTERVAL_VALUE	varchar(256)	YES		NULL	
 INTERVAL_FIELD	varchar(18)	YES		NULL	
-SQL_MODE	longtext	NO		NULL	
+SQL_MODE	varchar(8192)	NO			
 STARTS	datetime	YES		NULL	
 ENDS	datetime	YES		NULL	
 STATUS	varchar(18)	NO			
@@ -66,7 +66,7 @@ EVENTS	CREATE TEMPORARY TABLE `EVENTS` (
   `EXECUTE_AT` datetime DEFAULT NULL,
   `INTERVAL_VALUE` varchar(256) DEFAULT NULL,
   `INTERVAL_FIELD` varchar(18) DEFAULT NULL,
-  `SQL_MODE` longtext NOT NULL,
+  `SQL_MODE` varchar(8192) NOT NULL DEFAULT '',
   `STARTS` datetime DEFAULT NULL,
   `ENDS` datetime DEFAULT NULL,
   `STATUS` varchar(18) NOT NULL DEFAULT '',
@@ -93,7 +93,7 @@ EVENT_TYPE	varchar(9)	NO
 EXECUTE_AT	datetime	YES		NULL	
 INTERVAL_VALUE	varchar(256)	YES		NULL	
 INTERVAL_FIELD	varchar(18)	YES		NULL	
-SQL_MODE	longtext	NO		NULL	
+SQL_MODE	varchar(8192)	NO			
 STARTS	datetime	YES		NULL	
 ENDS	datetime	YES		NULL	
 STATUS	varchar(18)	NO			
diff --git a/mysql-test/suite/funcs_1/r/is_triggers.result b/mysql-test/suite/funcs_1/r/is_triggers.result
index ca62bd26e8088c20523bac1c55097e9c8441dd13..edf4a9e5032e95a5004a81e0914ea3c59b55421d 100644
--- a/mysql-test/suite/funcs_1/r/is_triggers.result
+++ b/mysql-test/suite/funcs_1/r/is_triggers.result
@@ -45,8 +45,8 @@ ACTION_REFERENCE_NEW_TABLE	varchar(64)	YES		NULL
 ACTION_REFERENCE_OLD_ROW	varchar(3)	NO			
 ACTION_REFERENCE_NEW_ROW	varchar(3)	NO			
 CREATED	datetime	YES		NULL	
-SQL_MODE	longtext	NO		NULL	
-DEFINER	longtext	NO		NULL	
+SQL_MODE	varchar(8192)	NO			
+DEFINER	varchar(77)	NO			
 CHARACTER_SET_CLIENT	varchar(32)	NO			
 COLLATION_CONNECTION	varchar(32)	NO			
 DATABASE_COLLATION	varchar(32)	NO			
@@ -70,8 +70,8 @@ TRIGGERS	CREATE TEMPORARY TABLE `TRIGGERS` (
   `ACTION_REFERENCE_OLD_ROW` varchar(3) NOT NULL DEFAULT '',
   `ACTION_REFERENCE_NEW_ROW` varchar(3) NOT NULL DEFAULT '',
   `CREATED` datetime DEFAULT NULL,
-  `SQL_MODE` longtext NOT NULL,
-  `DEFINER` longtext NOT NULL,
+  `SQL_MODE` varchar(8192) NOT NULL DEFAULT '',
+  `DEFINER` varchar(77) NOT NULL DEFAULT '',
   `CHARACTER_SET_CLIENT` varchar(32) NOT NULL DEFAULT '',
   `COLLATION_CONNECTION` varchar(32) NOT NULL DEFAULT '',
   `DATABASE_COLLATION` varchar(32) NOT NULL DEFAULT ''
@@ -95,8 +95,8 @@ ACTION_REFERENCE_NEW_TABLE	varchar(64)	YES		NULL
 ACTION_REFERENCE_OLD_ROW	varchar(3)	NO			
 ACTION_REFERENCE_NEW_ROW	varchar(3)	NO			
 CREATED	datetime	YES		NULL	
-SQL_MODE	longtext	NO		NULL	
-DEFINER	longtext	NO		NULL	
+SQL_MODE	varchar(8192)	NO			
+DEFINER	varchar(77)	NO			
 CHARACTER_SET_CLIENT	varchar(32)	NO			
 COLLATION_CONNECTION	varchar(32)	NO			
 DATABASE_COLLATION	varchar(32)	NO			
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 47e8ab24a0167cf065f3caacec0ad03b970e26b2..0000000000000000000000000000000000000000
--- 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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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@')
-�������������4@������4@
-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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������4@������4@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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 47e8ab24a0167cf065f3caacec0ad03b970e26b2..0000000000000000000000000000000000000000
--- 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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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@')
-�������������4@������4@
-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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������4@������4@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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 04c1a45e67eb26537f8b822a2f273d317e469d11..0000000000000000000000000000000000000000
--- 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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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@')
-�������������4@������4@
-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\
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
-�������������4@������4@
-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
-�������������������?������?������4@������?������4@������4@������?������4@������?������?���������@������@������ @������@������ @������ @������@������ @������@������@
-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
similarity index 90%
rename from mysql-test/suite/funcs_1/r/innodb_storedproc.result
rename to mysql-test/suite/funcs_1/r/storedproc.result
index 04c1a45e67eb26537f8b822a2f273d317e469d11..38fa933e13f2199c47b0fac5301a8d68dc52bb93 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:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+77);
+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+76;
+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+76, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+75);
+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+74;
+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+74, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+73);
+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+72;
+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+72, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+71);
+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+70;
+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+70, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+69);
+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+68;
+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+68, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+67);
+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+66;
+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+66, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+65);
+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+64;
+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+64, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+63);
+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+62;
+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+62, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+61);
+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+60;
+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+60, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+59);
+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+58;
+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+58, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+57);
+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+56;
+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+56, @v1_proc);
+Warnings:
+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
+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:
+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
+SET @v1_func = func_1(0.1234567890987654321e+55);
+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+54;
+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+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
+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
+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
-CALL sp1( 0.1234567890987654321e+66 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-66 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+65 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-44);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-65 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+64 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-64 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+63 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-63 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+62 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-42);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-62 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+61 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-61 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+60 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-60 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+59 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-40);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-59 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+58 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-58 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+57 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-57 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+56 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-38);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-56 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+55 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-55 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+54 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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
-CALL sp1( 0.1234567890987654321e-54 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+53 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-36);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-53 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+52 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-35, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-52 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+51 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-51 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+50 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-34);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-50 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+49 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-33, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-49 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+48 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-48 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+47 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-32);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-47 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+46 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-31, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-46 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+45 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-45 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+44 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-30);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-44 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+43 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-29, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-43 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+42 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-42 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+41 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-28);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-41 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+40 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-27, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-40 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+39 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-39 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+38 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-26);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-38 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+37 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-25, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-37 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+36 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-36 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+35 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-24);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-35 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+34 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-23, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-34 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+33 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+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:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-33 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+32 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SET @v1_func = func_1(0.1234567890987654321e-22);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-32 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+31 );
-@v1
-999999999999999999999999999999.999999999999999999999999999999
+SELECT f1 INTO @v1_tab FROM t1_aux;
+CALL sproc_1(0.1234567890987654321e-21, @v1_proc);
 Warnings:
-Warning	1264	Out of range value for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-31 );
-@v1
-0.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e+30 );
-@v1
-123456789098765400000000000000.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-20;
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-30 );
-@v1
-0.000000000000000000000000000000
+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+29 );
-@v1
-12345678909876540000000000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-20);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-29 );
-@v1
-0.000000000000000000000000000001
+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+28 );
-@v1
-1234567890987654000000000000.000000000000000000000000000000
+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-28 );
-@v1
-0.000000000000000000000000000012
+SET @v1_func = func_1(0.1234567890987654321e-19);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+27 );
-@v1
-123456789098765400000000000.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-18;
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-27 );
-@v1
-0.000000000000000000000000000123
+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+26 );
-@v1
-12345678909876540000000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-18);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-26 );
-@v1
-0.000000000000000000000000001235
+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+25 );
-@v1
-1234567890987654000000000.000000000000000000000000000000
+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-25 );
-@v1
-0.000000000000000000000000012346
+SET @v1_func = func_1(0.1234567890987654321e-17);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+24 );
-@v1
-123456789098765400000000.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-16;
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-24 );
-@v1
-0.000000000000000000000000123457
+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+23 );
-@v1
-12345678909876540000000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-16);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-23 );
-@v1
-0.000000000000000000000001234568
+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+22 );
-@v1
-1234567890987654000000.000000000000000000000000000000
+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-22 );
-@v1
-0.000000000000000000000012345679
+SET @v1_func = func_1(0.1234567890987654321e-15);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+21 );
-@v1
-123456789098765400000.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-14;
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-21 );
-@v1
-0.000000000000000000000123456789
+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
-CALL sp1( 0.1234567890987654321e+20 );
-@v1
-12345678909876540000.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-14);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-20 );
-@v1
-0.000000000000000000001234567891
+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
-CALL sp1( 0.1234567890987654321e+19 );
-@v1
-1234567890987654000.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-19 );
-@v1
-0.000000000000000000012345678910
+SET @v1_func = func_1(0.1234567890987654321e-13);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+18 );
-@v1
-123456789098765400.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-12;
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-18 );
-@v1
-0.000000000000000000123456789099
+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
-CALL sp1( 0.1234567890987654321e+17 );
-@v1
-12345678909876540.000000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-12);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-17 );
-@v1
-0.000000000000000001234567890988
+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
-CALL sp1( 0.1234567890987654321e+16 );
-@v1
-1234567890987654.000000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-16 );
-@v1
-0.000000000000000012345678909877
+SET @v1_func = func_1(0.1234567890987654321e-11);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+15 );
-@v1
-123456789098765.400000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-15 );
-@v1
-0.000000000000000123456789098765
+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
-CALL sp1( 0.1234567890987654321e+14 );
-@v1
-12345678909876.540000000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-10);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-14 );
-@v1
-0.000000000000001234567890987654
+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
-CALL sp1( 0.1234567890987654321e+13 );
-@v1
-1234567890987.654000000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-13 );
-@v1
-0.000000000000012345678909876540
+SET @v1_func = func_1(0.1234567890987654321e-9);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+12 );
-@v1
-123456789098.765400000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-12 );
-@v1
-0.000000000000123456789098765400
+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
-CALL sp1( 0.1234567890987654321e+11 );
-@v1
-12345678909.876540000000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-8);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-11 );
-@v1
-0.000000000001234567890987654000
+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
-CALL sp1( 0.1234567890987654321e+10 );
-@v1
-1234567890.987654000000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-10 );
-@v1
-0.000000000012345678909876540000
+SET @v1_func = func_1(0.1234567890987654321e-7);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+9 );
-@v1
-123456789.098765400000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-9 );
-@v1
-0.000000000123456789098765400000
+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
-CALL sp1( 0.1234567890987654321e+8 );
-@v1
-12345678.909876540000000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-6);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-8 );
-@v1
-0.000000001234567890987654000000
+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
-CALL sp1( 0.1234567890987654321e+7 );
-@v1
-1234567.890987654000000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-7 );
-@v1
-0.000000012345678909876540000000
+SET @v1_func = func_1(0.1234567890987654321e-5);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+6 );
-@v1
-123456.789098765400000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-6 );
-@v1
-0.000000123456789098765400000000
+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
-CALL sp1( 0.1234567890987654321e+5 );
-@v1
-12345.678909876540000000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-4);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-5 );
-@v1
-0.000001234567890987654000000000
+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
-CALL sp1( 0.1234567890987654321e+4 );
-@v1
-1234.567890987654000000000000000000
+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
-CALL sp1( 0.1234567890987654321e-4 );
-@v1
-0.000012345678909876550000000000
+SET @v1_func = func_1(0.1234567890987654321e-3);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+3 );
-@v1
-123.456789098765400000000000000000
+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
-CALL sp1( 0.1234567890987654321e-3 );
-@v1
-0.000123456789098765400000000000
+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
-CALL sp1( 0.1234567890987654321e+2 );
-@v1
-12.345678909876540000000000000000
+SET @v1_func = func_1(0.1234567890987654321e-2);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e-2 );
-@v1
-0.001234567890987654000000000000
+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
-CALL sp1( 0.1234567890987654321e+1 );
-@v1
-1.234567890987654000000000000000
+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
-CALL sp1( 0.1234567890987654321e-1 );
-@v1
-0.012345678909876540000000000000
+SET @v1_func = func_1(0.1234567890987654321e-1);
 Warnings:
 Note	1265	Data truncated for column 'f1' at row 1
-CALL sp1( 0.1234567890987654321e+0 );
-@v1
-0.123456789098765400000000000000
+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
-CALL sp1( 0.1234567890987654321e-0 );
-@v1
-0.123456789098765400000000000000
+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
-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
+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 0000000000000000000000000000000000000000..f6c0b30ab8b203de73d17ca899fa3011b5d09b08
--- /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 380fae64fb8e44388e7e4f29752607d94955b57b..0000000000000000000000000000000000000000
--- 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 57f181dc00c073d126c0f034c751a48cae920a42..0000000000000000000000000000000000000000
--- 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 379aea11dd6b5c64cfba3596702e8d7e7058ce05..0000000000000000000000000000000000000000
--- 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 3fbda118357b1d8fa6c529ad6d40ab5382969a70..0000000000000000000000000000000000000000
--- 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
similarity index 98%
rename from mysql-test/suite/funcs_1/storedproc/storedproc_master.inc
rename to mysql-test/suite/funcs_1/t/storedproc.test
index b740cf387085906b36cae6e0e9c4a01f8ea35bdd..d7ef1f2712bd2a2153bc478ab1949ed1d73faa8c 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 cee63bfb605599917cc7829d0f441228c70f8288..6679a0f898fe27f75df0d8078822eaecc1f5dce7 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 6102d18268431240a139a92011346c5b4f666e8f..c638c7b4774a2e543818f7530f3b9622af046448 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 0000000000000000000000000000000000000000..341bf7ab860aef932c31ff4581f8c0da8467c5ce
--- /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 0000000000000000000000000000000000000000..edfe408a072d3d978b531fcf6c88537bf482574b
--- /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 0000000000000000000000000000000000000000..73b228c1b72ff14ebb766e989ccf9ddeff905d0a
--- /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 0000000000000000000000000000000000000000..3cec527c2a6e1966ba9f0bb501c22de7cb2a4e52
--- /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 0000000000000000000000000000000000000000..7a5d80c7758fe0cd91454ab189791299be990175
--- /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 0000000000000000000000000000000000000000..7ec76ee014c7e1fb24dfcab38b93c7f467334b98
--- /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 0000000000000000000000000000000000000000..37b46ef63ba3c8a9ddd5d32243a07bacc7d2a892
--- /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 0000000000000000000000000000000000000000..fb09557204f2699740cfee43fcd32194faf05306
--- /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 0000000000000000000000000000000000000000..64cd96c61737faf1055a74651589b097c13e53df
--- /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 0000000000000000000000000000000000000000..4e968d8758f787aadfed6f546c7a04bb366a50c7
--- /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 0000000000000000000000000000000000000000..585a75cc9b5128ee91511ac1fb4a66b46e7829a4
--- /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 0000000000000000000000000000000000000000..2e3f49d5cb6beeb9a2e265b1fcbcc107183d2d76
--- /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 0000000000000000000000000000000000000000..7aa3839762dced1558dda02c2c240d9c537e3494
--- /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 0000000000000000000000000000000000000000..27094e761b0319ca2351da6970b9b18728e96962
--- /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_insert_id.result b/mysql-test/suite/rpl/r/rpl_insert_id.result
index 76e405c68de9653ff10950c779a2a5be91bc7c91..e171e247b6c75da4a07a9dc1d15ae9f27ae06751 100644
--- a/mysql-test/suite/rpl/r/rpl_insert_id.result
+++ b/mysql-test/suite/rpl/r/rpl_insert_id.result
@@ -398,8 +398,6 @@ f1()
 INSERT INTO t1 VALUES (NULL, f2()), (NULL, LAST_INSERT_ID()),
 (NULL, LAST_INSERT_ID()), (NULL, f2()), (NULL, f2());
 INSERT INTO t1 VALUES (NULL, f2());
-INSERT INTO t1 VALUES (NULL, LAST_INSERT_ID()), (NULL, LAST_INSERT_ID(5)),
-(NULL, @@LAST_INSERT_ID);
 INSERT INTO t1 VALUES (NULL, 0), (NULL, LAST_INSERT_ID());
 UPDATE t1 SET j= -1 WHERE i IS NULL;
 INSERT INTO t1 (i) VALUES (NULL);
@@ -422,20 +420,17 @@ i	j
 11	3
 12	3
 13	8
-14	13
-15	5
-16	13
-17	-1
-18	14
-19	0
-20	0
+14	-1
+15	13
+16	0
+17	0
 SELECT * FROM t2 ORDER BY i;
 i
 2
 3
 5
 6
-19
+16
 SELECT * FROM t1;
 i	j
 1	-1
@@ -451,20 +446,17 @@ i	j
 11	3
 12	3
 13	8
-14	13
-15	5
-16	13
-17	-1
-18	14
-19	0
-20	0
+14	-1
+15	13
+16	0
+17	0
 SELECT * FROM t2;
 i
 2
 3
 5
 6
-19
+16
 DROP PROCEDURE p1;
 DROP FUNCTION f1;
 DROP FUNCTION f2;
diff --git a/mysql-test/suite/rpl/r/rpl_row_create_table.result b/mysql-test/suite/rpl/r/rpl_row_create_table.result
index c4cf8353bca08745a8c8416ed7df89d9bcd6ac3f..ad659c37b7f06c19f3e8cff1bf7f656da40f86b8 100644
--- a/mysql-test/suite/rpl/r/rpl_row_create_table.result
+++ b/mysql-test/suite/rpl/r/rpl_row_create_table.result
@@ -430,4 +430,25 @@ a
 1
 2
 DROP TABLE t1;
+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 DATABASE mysqltest1;
+CREATE TABLE mysqltest1.without_select (f1 BIGINT);
+CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
+show binlog events from <binlog_start>;
+Log_name	Pos	Event_type	Server_id	End_log_pos	Info
+master-bin.000001	#	Query	#	#	CREATE DATABASE mysqltest1
+master-bin.000001	#	Query	#	#	use `test`; CREATE TABLE mysqltest1.without_select (f1 BIGINT)
+master-bin.000001	#	Query	#	#	use `test`; BEGIN
+master-bin.000001	#	Query	#	#	use `test`; CREATE TABLE `mysqltest1`.`with_select` (
+  `f1` int(1) NOT NULL DEFAULT '0'
+)
+master-bin.000001	#	Table_map	#	#	table_id: # (mysqltest1.with_select)
+master-bin.000001	#	Write_rows	#	#	table_id: # flags: STMT_END_F
+master-bin.000001	#	Query	#	#	use `test`; COMMIT
+DROP DATABASE mysqltest1;
 end of the tests
diff --git a/mysql-test/suite/rpl/r/rpl_row_stop_middle.result b/mysql-test/suite/rpl/r/rpl_row_stop_middle.result
deleted file mode 100644
index 46ca57481746488caebca1b7b32fb594bb5cde94..0000000000000000000000000000000000000000
--- a/mysql-test/suite/rpl/r/rpl_row_stop_middle.result
+++ /dev/null
@@ -1,26 +0,0 @@
-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 not null auto_increment primary key, b int, key(b));
-stop slave;
-INSERT INTO t1 (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-start slave;
-stop slave;
-drop table t1;
-drop table t1;
diff --git a/mysql-test/suite/rpl/r/rpl_sp.result b/mysql-test/suite/rpl/r/rpl_sp.result
index 1255f9427b073effc5a32657b8f9c3b312786120..3ca4f86cf64d62ebe34de7e6b796aed6c01180ee 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 03d2ca660dc93f5474fb2bf13d72bf8e7696028a..d8fea78ecb48d1d7f5b42affd20219aee135fe00 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 f215cf75f3d923ca1bd90e5109018456e0f7392a..ebdb8014f88598e26ccf39dab4f35ce9bc71f0f3 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 0000000000000000000000000000000000000000..e8dfbd51552324c927d1d7280c884c2a55cbf3d7
--- /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_row_create_table.test b/mysql-test/suite/rpl/t/rpl_row_create_table.test
index e5cdfa4341a4d88aab08b8ff39a3c2baaa7262ea..3fb5aa8e1f2f647e7a222fe726a3710472d5f927 100644
--- a/mysql-test/suite/rpl/t/rpl_row_create_table.test
+++ b/mysql-test/suite/rpl/t/rpl_row_create_table.test
@@ -259,5 +259,22 @@ connection master;
 DROP TABLE t1;
 sync_slave_with_master;
 
+#
+# BUG#34707: Row based replication: slave creates table within wrong database
+#
+
+source include/master-slave-reset.inc;
+
+connection master;
+CREATE DATABASE mysqltest1;
+
+CREATE TABLE mysqltest1.without_select (f1 BIGINT);
+CREATE TABLE mysqltest1.with_select AS SELECT 1 AS f1;
+source include/show_binlog_events.inc;
+sync_slave_with_master;
+
+connection master;
+DROP DATABASE mysqltest1;
+sync_slave_with_master;
 
 --echo end of the tests
diff --git a/mysql-test/suite/rpl/t/rpl_row_stop_middle.test b/mysql-test/suite/rpl/t/rpl_row_stop_middle.test
deleted file mode 100644
index bc169bebfcd273bbb4b318a91bef3cddec883d0c..0000000000000000000000000000000000000000
--- a/mysql-test/suite/rpl/t/rpl_row_stop_middle.test
+++ /dev/null
@@ -1,45 +0,0 @@
-# Test for BUG#11729: see if, when STOP SLAVE occurs while the slave
-# SQL thread has processed a Table_map_log_event but has not processed
-# the last Rows_log_event associated to it, the slave thread does not
-# forget to close its tables.
-
-# Can be run with statement-based but no interest (and long test)
---source include/have_binlog_format_row.inc
---source include/master-slave.inc
-
-connection master;
-create table t1 (a int not null auto_increment primary key, b int, key(b));
-sync_slave_with_master;
-stop slave;
-connection master;
-INSERT INTO t1 (a) VALUES (1),(2),(3),(4),(5),(6),(7),(8),(9),(10);
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-INSERT INTO t1 (a) SELECT null FROM t1;
-
-connection slave;
-start slave;
-
-# hope one second is not enough for slave to reach the last
-# Rows_log_event, so that test actually tests something.
-
-let $wait_condition= SELECT COUNT(*) >= 10 FROM t1;
---source include/wait_condition.inc
-stop slave;
-
-# see if slave hangs on DROP TABLE
-
-drop table t1;
-
-connection master; # cleanup
-drop table t1;
diff --git a/mysql-test/suite/rpl/t/rpl_temporary.test b/mysql-test/suite/rpl/t/rpl_temporary.test
index 51b38ed48377ba3c7862692f9ec8cf8e99920e09..a40d1cbb5c58a09c50baaf8c11784fd9c70a590e 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/alter_table.test b/mysql-test/t/alter_table.test
index 662f9095810cbe360b0209d44912240b57dd8def..8502ba3f3d3722fadf5d1fd0fe928ebba5be0b31 100644
--- a/mysql-test/t/alter_table.test
+++ b/mysql-test/t/alter_table.test
@@ -947,4 +947,34 @@ ALTER TABLE t1 CHANGE d c varchar(10);
 --disable_info
 DROP TABLE t1;
 
+#
+# Bug#39372 "Smart" ALTER TABLE not so smart after all.
+#
+create table t1(f1 int not null, f2 int not null, key  (f1), key (f2));
+let $count= 50;
+--disable_query_log
+while ($count)
+{
+  EVAL insert into t1 values (1,1),(1,1),(1,1),(1,1),(1,1);
+  EVAL insert into t1 values (2,2),(2,2),(2,2),(2,2),(2,2);
+  dec $count ;
+}
+--enable_query_log
+
+select index_length into @unpaked_keys_size from
+information_schema.tables where table_name='t1';
+alter table t1 pack_keys=1;
+select index_length into @paked_keys_size from
+information_schema.tables where table_name='t1';
+select (@unpaked_keys_size > @paked_keys_size);
+
+select max_data_length into @orig_max_data_length from
+information_schema.tables where table_name='t1';
+alter table t1 max_rows=100;
+select max_data_length into @changed_max_data_length from
+information_schema.tables where table_name='t1';
+select (@orig_max_data_length > @changed_max_data_length);
+
+drop table t1;
+
 --echo End of 5.1 tests
diff --git a/mysql-test/t/create.test b/mysql-test/t/create.test
index 60d98fce49080ab5626f412dd68b13b8df32f36b..2eeca1eea90fdf8b3bfbcf3734710fdc4edb6fb5 100644
--- a/mysql-test/t/create.test
+++ b/mysql-test/t/create.test
@@ -1175,6 +1175,11 @@ CREATE TABLE t1(c1 VARCHAR(33), KEY USING HASH (c1) USING BTREE) ENGINE=MEMORY;
 SHOW INDEX FROM t1;
 DROP TABLE t1;
 
+#
+# Bug#35924 DEFINER should be stored 'quoted' in I_S
+#
+--error ER_UNKNOWN_ERROR
+create user mysqltest_1@'test@test';
 
 #
 # Bug#38821: Assert table->auto_increment_field_not_null failed in open_table()
diff --git a/mysql-test/t/disabled.def b/mysql-test/t/disabled.def
index ada7cb3aa9763f6993ee8fce6b35fe5b26be881d..a2c875301f86e69493020e4b8ce555f3fb34497b 100644
--- a/mysql-test/t/disabled.def
+++ b/mysql-test/t/disabled.def
@@ -11,7 +11,6 @@
 ##############################################################################
 federated_transactions   : Bug#29523 Transactions do not work
 csv_alter_table      : Bug#33696 2008-01-21 pcrews no .result file - bug allows NULL columns in CSV tables
-thread_cache_size_func : Bug#36733 main.thread_cache_size_func fails randomly
 log_tables.test                       : Bug #37798: main.log_tables fails randomly on powermacg5 and windows
 slow_query_log_func.test              : Bug #37962: *_func tests containing sleeps/race conditions
-
+events-bugs.test                      : Bug #39848, Bug #39863, Bug #39569, Bug #37774
diff --git a/mysql-test/t/explain.test b/mysql-test/t/explain.test
index c9ae8aceaf6adf5046f839cfdf0d88d3fcec1177..0247aca82df1fa23763620df6243d5860caf2477 100644
--- a/mysql-test/t/explain.test
+++ b/mysql-test/t/explain.test
@@ -94,4 +94,33 @@ EXPLAIN SELECT 1 FROM
 DROP TABLE t2;
 DROP TABLE t1;
 
+#
+# Bug #34773: query with explain extended and derived table / other table
+# crashes server
+#
+
+CREATE TABLE t1(a INT);
+CREATE TABLE t2(a INT);
+INSERT INTO t1 VALUES (1),(2);
+INSERT INTO t2 VALUES (1),(2);
+
+EXPLAIN EXTENDED SELECT 1
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1;
+
+EXPLAIN EXTENDED SELECT 1
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1;
+
+prepare s1 from 
+'EXPLAIN EXTENDED SELECT 1  
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1';
+execute s1;
+
+prepare s1 from 
+'EXPLAIN EXTENDED SELECT 1  
+ FROM (SELECT COUNT(DISTINCT t1.a) FROM t1,t2 GROUP BY t1.a) AS s1';
+execute s1;
+execute s1;
+
+DROP TABLE t1,t2;
+
 # End of 5.0 tests.
diff --git a/mysql-test/t/federated_bug_25714.test b/mysql-test/t/federated_bug_25714.test
index 26ff143135a0ccf05b0e014f88686f32d7cd5db4..6d112cae5b88bcdb8fceb1bfcc73e35c9ac901b4 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 b6143bc0c780ca5821f00d93bcdc4232300a94a7..4eedd433d3496784f700232dbd64c0c9a638768c 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/information_schema.test b/mysql-test/t/information_schema.test
index bb9cb127d07f0bfba86e673c0cc4580fde29848c..4027293da66bbadb830adb0b196ea7eca478858c 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -1338,4 +1338,12 @@ where state='User sleep' and
 info='select * from information_schema.columns where 1=sleep(100000)';
 --source include/wait_condition.inc
 
+
+#
+# Bug#38918 selecting from information_schema.columns is disproportionately slow
+#
+explain select count(*) from information_schema.tables;
+explain select count(*) from information_schema.columns;
+explain select count(*) from information_schema.views;
+
 --echo End of 5.1 tests.
diff --git a/mysql-test/t/information_schema_db.test b/mysql-test/t/information_schema_db.test
index 666f331c7b95766d132a522d9f56e5b06837c9bf..6353e94fd512f60b4369dbdbc71c71dbb3e658c2 100644
--- a/mysql-test/t/information_schema_db.test
+++ b/mysql-test/t/information_schema_db.test
@@ -82,6 +82,7 @@ drop function func2;
 drop database `inf%`;
 drop procedure mbase.p1;
 drop database mbase;
+disconnect user1;
 
 #
 # Bug#18282 INFORMATION_SCHEMA.TABLES provides inconsistent info about invalid views
@@ -210,3 +211,32 @@ drop view testdb_1.v1, v2, testdb_1.v3, v4;
 drop database testdb_1;
 drop user testdb_1@localhost;
 drop user testdb_2@localhost;
+
+#
+# Bug#22763 Disrepancy between SHOW CREATE VIEW and I_S.VIEWS
+#
+create database testdb_1;
+create table testdb_1.t1 (a int);
+create view testdb_1.v1 as select * from testdb_1.t1;
+
+grant show view on testdb_1.* to mysqltest_1@localhost;
+grant select on testdb_1.v1 to mysqltest_1@localhost;
+
+connect (user1,localhost,mysqltest_1,,test);
+connection user1;
+select table_schema, table_name, view_definition from information_schema.views
+where table_name='v1';
+show create view testdb_1.v1;
+
+connection default;
+revoke select on testdb_1.v1 from mysqltest_1@localhost;
+connection user1;
+select table_schema, table_name, view_definition from information_schema.views
+where table_name='v1';
+--error ER_TABLEACCESS_DENIED_ERROR
+show create view testdb_1.v1;
+
+connection default;
+drop user mysqltest_1@localhost;
+drop database testdb_1;
+disconnect user1;
diff --git a/mysql-test/t/innodb-semi-consistent.test b/mysql-test/t/innodb-semi-consistent.test
index c33126b93ff9ad3dd03522f4e1a6515a135f23a8..a3496625e95c61474ede4346f8240a47a83b3a57 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 1073f5535df8a47cacd1d040331c8efe0acddf77..339be87419aa67db7c78c5c92e5b063226aa6754 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 09082cbd7a7a47220ff33511e251eb7b6d69bcdd..b5e30e63f54037205e63617c9883383e6d4ad97f 100644
--- a/mysql-test/t/join.test
+++ b/mysql-test/t/join.test
@@ -546,10 +546,12 @@ select * from v1a join v1b on t1.b = t2.b;
 #
 # Bug #17523 natural join and information_schema
 #
-# We mask out the Privileges column because it differs with embedded server
---replace_column 31 # 10 #
-select * from information_schema.statistics join information_schema.columns
-              using(table_name,column_name) where table_name='user';
+# Omit columns.PRIVILIGES as it may vary with embedded server.
+# 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.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';
 
 drop table t1;
 drop table t2;
diff --git a/mysql-test/t/limit.test b/mysql-test/t/limit.test
index 9cccca1adc3a40aa7479c318f839e8be548c48e1..5847b90367ae5b3a9a36757c4548181aacf3292c 100644
--- a/mysql-test/t/limit.test
+++ b/mysql-test/t/limit.test
@@ -95,3 +95,11 @@ set @a=-14632475938453979136;
 execute s using @a, @a;
 
 --echo End of 5.0 tests
+
+#
+# Bug#37075: offset of limit clause might be truncated to 0 on 32-bits server w/o big tables
+#
+
+select 1 as a limit 4294967296,10;
+
+--echo End of 5.1 tests
diff --git a/mysql-test/t/lock_multi.test b/mysql-test/t/lock_multi.test
index 54c2e4e76eea2158afcf6920f38857b5b9a960df..08747b0f92e5fd750775f6c71552c8f3beb31a52 100644
--- a/mysql-test/t/lock_multi.test
+++ b/mysql-test/t/lock_multi.test
@@ -291,7 +291,328 @@ connection reader;
 reap;
 connection locker;
 drop table t1;
+
+#
+# Bug #38691: segfault/abort in ``UPDATE ...JOIN'' while
+#             ``FLUSH TABLES WITH READ LOCK''
+#
+
+--connection default
+CREATE TABLE t1 (
+  a int(11) unsigned default NULL,
+  b varchar(255) default NULL,
+  UNIQUE KEY a (a),
+  KEY b (b)
+);
+
+INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3);
+CREATE TABLE t2 SELECT * FROM t1;
+CREATE TABLE t3 SELECT * FROM t1;
+
+--echo # test altering of columns that multiupdate doesn't use
+
+--echo # normal mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+  send UPDATE t2 INNER JOIN (t1 JOIN t3 USING(a)) USING(a)
+         SET a = NULL WHERE t1.b <> t2.b;
+
+--connection locker
+  ALTER TABLE t2 ADD COLUMN (c INT);
+  ALTER TABLE t2 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+
+--echo # PS mode
+
+--connection writer
+PREPARE stmt FROM 'UPDATE t2 INNER JOIN (t1 JOIN t3 USING(a)) USING(a)
+                     SET a = NULL WHERE t1.b <> t2.b';
+
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+--send EXECUTE stmt
+
+--connection locker
+  ALTER TABLE t2 ADD COLUMN (c INT);
+  ALTER TABLE t2 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+--enable_query_log
+
+
+--echo # test altering of columns that multiupdate uses
+
+--echo # normal mode
+
+--connection default
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t2 ADD COLUMN a int(11) unsigned default NULL;
+  UPDATE t2 SET a=b;
+
+--connection writer
+--send UPDATE t2 INNER JOIN (t1 JOIN t3 USING(a)) USING(a) SET a = NULL WHERE t1.b <> t2.b
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t2 DROP COLUMN a;
+
+--connection writer
+--error 0,1054
+--reap
+}
+--enable_query_log
+
+--echo # PS mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t2 ADD COLUMN a int(11) unsigned default NULL;
+  UPDATE t2 SET a=b;
+
+--connection writer
+  PREPARE stmt FROM 'UPDATE t2 INNER JOIN (t1 JOIN t3 USING(a)) USING(a) SET a = NULL WHERE t1.b <> t2.b';
+--send EXECUTE stmt
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t2 DROP COLUMN a;
+
+--connection writer
+--error 0,1054
+--reap
+
+}
+--enable_query_log
+--connection default
+DROP TABLE t1, t2, t3;
+
 #
+# Bug#38499: flush tables and multitable table update with derived table cause 
+#            crash
+#
+
+CREATE TABLE t1( a INT, b INT );
+INSERT INTO t1 VALUES (1, 1), (2, 2), (3, 3), (4, 4);
+
+--echo # 1. test regular tables
+--echo # 1.1. test altering of columns that multiupdate doesn't use
+--echo # 1.1.1. normal mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+  send UPDATE t1, (SELECT 1 FROM t1 t1i) d SET a = 0 WHERE 1=0;
+
+--connection locker
+  ALTER TABLE t1 ADD COLUMN (c INT);
+  ALTER TABLE t1 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+
+--echo # 1.1.2. PS mode
+
+--connection writer
+PREPARE stmt FROM 'UPDATE t1, (SELECT 1 FROM t1 t1i) d SET a = 0 WHERE 1=0';
+
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+--send EXECUTE stmt
+
+--connection locker
+  ALTER TABLE t1 ADD COLUMN (c INT);
+  ALTER TABLE t1 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+--enable_query_log
+
+--echo # 1.2. test altering of columns that multiupdate uses
+--echo # 1.2.1. normal mode
+
+--connection default
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t1 ADD COLUMN a int(11) unsigned default NULL;
+  UPDATE t1 SET a=b;
+
+--connection writer
+--send UPDATE t1, (SELECT 1 FROM t1 t1i) d SET a = 0 WHERE 1=0;
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t1 DROP COLUMN a;
+
+--connection writer
+--error 0,1054 # unknown column error
+--reap
+}
+--enable_query_log
+
+--echo # 1.2.2. PS mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t1 ADD COLUMN a INT;
+  UPDATE t1 SET a=b;
+
+--connection writer
+  PREPARE stmt FROM 'UPDATE t1, (SELECT 1 FROM t1 t1i) d SET a = 0 WHERE 1=0';
+--send EXECUTE stmt
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t1 DROP COLUMN a;
+
+--connection writer
+--error 0,1054 # Unknown column 'a' in 'field list'
+--reap
+}
+--enable_query_log
+--connection default
+ALTER TABLE t1 ADD COLUMN a INT;
+
+--echo # 2. test UNIONs
+--echo # 2.1. test altering of columns that multiupdate doesn't use
+--echo # 2.1.1. normal mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+  send UPDATE t1, ((SELECT 1 FROM t1 t1i) UNION (SELECT 2 FROM t1 t1ii)) e SET a = 0 WHERE 1=0;
+
+--connection locker
+  ALTER TABLE t1 ADD COLUMN (c INT);
+  ALTER TABLE t1 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+
+--echo # 2.1.2. PS mode
+
+--connection writer
+PREPARE stmt FROM 'UPDATE t1, ((SELECT 1 FROM t1 t1i) UNION (SELECT 2 FROM t1 t1ii)) e SET a = 0 WHERE 1=0';
+
+let $i = 100;
+while ($i) {
+--dec $i
+
+--connection writer
+--send EXECUTE stmt
+
+--connection locker
+  ALTER TABLE t1 ADD COLUMN (c INT);
+  ALTER TABLE t1 DROP COLUMN c;
+
+--connection writer
+--reap
+}
+--enable_query_log
+
+--echo # 2.2. test altering of columns that multiupdate uses
+--echo # 2.2.1. normal mode
+
+--connection default
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t1 ADD COLUMN a int(11) unsigned default NULL;
+  UPDATE t1 SET a=b;
+
+--connection writer
+--send UPDATE t1, ((SELECT 1 FROM t1 t1i) UNION (SELECT 2 FROM t1 t1ii)) e SET a = 0 WHERE 1=0;
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t1 DROP COLUMN a;
+
+--connection writer
+--error 0,1054 # Unknown column 'a' in 'field list'
+--reap
+}
+--enable_query_log
+
+--echo # 2.2.2. PS mode
+
+--disable_query_log
+let $i = 100;
+while ($i) {
+  dec $i;
+
+--connection locker
+--error 0,1060
+  ALTER TABLE t1 ADD COLUMN a INT;
+  UPDATE t1 SET a=b;
+
+--connection writer
+  PREPARE stmt FROM 'UPDATE t1, ((SELECT 1 FROM t1 t1i) UNION (SELECT 2 FROM t1 t1ii)) e SET a = 0 WHERE 1=0';
+--send EXECUTE stmt
+
+--connection locker
+--error 0,1091
+  ALTER TABLE t1 DROP COLUMN a;
+
+--connection writer
+--error 0,1054 # Unknown column 'a' in 'field list'
+--reap
+}
+--enable_query_log
+--connection default
+DROP TABLE t1;
+
 --echo End of 5.0 tests
 
 
diff --git a/mysql-test/t/log_basic.test b/mysql-test/t/log_basic.test
index 16d7a4bfe7fb6a330de886381201f4a14b1dec03..b9a64f8981bc734d905ea856be9471beac099274 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 2fd2cabc97cbb3fa4f997b4830753f0871332151..977b74aa1e3088d0c4e2f8552c17a8e6c7a127d8 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/merge.test b/mysql-test/t/merge.test
index fd1336491aa4ca6b2f244f60ff168a0f07ffc6e1..dd3e4e28aeb46a6565e12c42a8a3d033e80bc8d8 100644
--- a/mysql-test/t/merge.test
+++ b/mysql-test/t/merge.test
@@ -456,7 +456,7 @@ CREATE TABLE t2(a INT) ENGINE=MERGE UNION=(t1);
 SELECT * FROM t2;
 DROP TABLE t1, t2;
 CREATE TABLE t2(a INT) ENGINE=MERGE UNION=(t3);
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM t2;
 DROP TABLE t2;
 
@@ -548,11 +548,11 @@ drop table t1;
 #             CREATE TABLE fails
 #
 CREATE TABLE tm1(a INT) ENGINE=MERGE UNION=(t1, t2);
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM tm1;
 CHECK TABLE tm1;
 CREATE TABLE t1(a INT);
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM tm1;
 CHECK TABLE tm1;
 CREATE TABLE t2(a BLOB);
@@ -878,7 +878,7 @@ DROP TABLE t4;
 --echo # 2. Normal rename.
 SELECT * FROM t3 ORDER BY c1;
 RENAME TABLE t2 TO t5;
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM t3 ORDER BY c1;
 RENAME TABLE t5 TO t2;
 SELECT * FROM t3 ORDER BY c1;
@@ -896,7 +896,7 @@ UNLOCK TABLES;
 --echo #
 --echo # 4. Alter table rename.
 ALTER TABLE t2 RENAME TO t5;
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM t3 ORDER BY c1;
 ALTER TABLE t5 RENAME TO t2;
 SELECT * FROM t3 ORDER BY c1;
@@ -956,7 +956,7 @@ CREATE TABLE t2 (c1 INT, INDEX(c1)) ENGINE=MRG_MYISAM UNION=(t1)
 LOCK TABLES t1 WRITE, t2 WRITE;
 INSERT INTO t1 VALUES (1);
 DROP TABLE t1;
---error ER_NO_SUCH_TABLE
+--error 1168
 SELECT * FROM t2;
 --error ER_NO_SUCH_TABLE
 SELECT * FROM t1;
@@ -1394,6 +1394,19 @@ FLUSH TABLES m1, t1;
 UNLOCK TABLES;
 DROP TABLE t1, m1;
 
+#
+# Bug#35068 - Assertion fails when reading from i_s.tables
+#             and there is incorrect merge table
+#
+CREATE TABLE tm1 (c1 INT) ENGINE=MRG_MYISAM UNION=(t1) INSERT_METHOD=FIRST;
+--replace_column 8 # 9 # 10 # 11 # 12 # 13 # 14 # 15 # 16 # 17 # 19 # 20 #
+SELECT * FROM INFORMATION_SCHEMA.TABLES WHERE
+TABLE_SCHEMA = 'test' and TABLE_NAME='tm1';
+
+DROP TABLE tm1;
+
+--echo End of 5.1 tests
+
 #
 # Bug#36006 - Optimizer does table scan for select count(*)
 #
diff --git a/mysql-test/t/metadata.test b/mysql-test/t/metadata.test
index 65c062399b71f790491355423c6968028efa0e0a..a10767579fb560625b1ea909c1d148e0fcc847a7 100644
--- a/mysql-test/t/metadata.test
+++ b/mysql-test/t/metadata.test
@@ -112,4 +112,21 @@ SELECT v1.c1, v2.c2 FROM v1 JOIN v2 ON c1=c2 GROUP BY v1.c1 ORDER BY v2.c2;
 DROP VIEW v1,v2;
 DROP TABLE t1,t2;
 
+#
+# Bug #39283: Date returned as VARBINARY to client for queries
+#             with COALESCE and JOIN
+#
+
+CREATE TABLE t1 (i INT, d DATE);
+INSERT INTO t1 VALUES (1, '2008-01-01'), (2, '2008-01-02'), (3, '2008-01-03');
+
+--enable_metadata
+--sorted_result
+SELECT COALESCE(d, d), IFNULL(d, d), IF(i, d, d),
+       CASE i WHEN i THEN d ELSE d END, GREATEST(d, d), LEAST(d, d)
+  FROM t1 ORDER BY RAND(); # force filesort
+--disable_metadata
+
+DROP TABLE t1;
+
 --echo End of 5.0 tests
diff --git a/mysql-test/t/order_by.test b/mysql-test/t/order_by.test
index bf4cc37a80f0b049c9a9237ea47cf287915c3f67..f09c1aa7bd4b10fcc96ffc9d9f5bc0c80cc28803 100644
--- a/mysql-test/t/order_by.test
+++ b/mysql-test/t/order_by.test
@@ -847,6 +847,26 @@ set session max_sort_length= 2180;
 select * from t1 order by b;
 drop table t1;
 
+
+--echo #
+--echo # Bug #39844: Query Crash Mysql Server 5.0.67
+--echo #
+
+CREATE TABLE t1 (a INT PRIMARY KEY);
+CREATE TABLE t2 (a INT PRIMARY KEY, b INT);
+CREATE TABLE t3 (c INT);
+
+INSERT INTO t1 (a) VALUES (1), (2);
+INSERT INTO t2 (a,b) VALUES (1,2), (2,3);
+INSERT INTO t3 (c) VALUES (1), (2);
+
+SELECT
+  (SELECT t1.a FROM t1, t2 WHERE t1.a = t2.b AND t2.a = t3.c ORDER BY t1.a)
+  FROM t3;
+
+DROP TABLE t1, t2, t3;
+
+
 #
 # Bug #35206: select query result different if the key is indexed or not
 #
diff --git a/mysql-test/t/partition.test b/mysql-test/t/partition.test
index 5270eced05fbf91b9d436b37734db6801741b33d..83e0cde899149c441c5881a27f100d0133833488 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/ps_11bugs.test b/mysql-test/t/ps_11bugs.test
index 515bcc03c1a0e40b1e2949839def5356ab08edeb..ccab833e8787d9c4c69eb6a8aed474df019c8f98 100644
--- a/mysql-test/t/ps_11bugs.test
+++ b/mysql-test/t/ps_11bugs.test
@@ -177,4 +177,41 @@ select * from t2;
 drop table t1;
 drop table t2;
 
+#
+# Bug #32124: crash if prepared statements refer to variables in the where
+# clause
+#
+
+CREATE TABLE t1 (a INT);
+PREPARE stmt FROM 'select 1 from `t1` where `a` = any (select (@@tmpdir))';
+EXECUTE stmt;
+DEALLOCATE PREPARE stmt;
+DROP TABLE t1;
+
+CREATE TABLE t2 (a INT PRIMARY KEY);
+INSERT INTO t2 VALUES (400000), (400001);
+
+SET @@sort_buffer_size=400000;
+
+DELIMITER |;
+
+CREATE FUNCTION p1(i INT) RETURNS INT
+BEGIN
+  SET @@sort_buffer_size= i;
+  RETURN i + 1;
+END|
+
+DELIMITER ;|
+
+SELECT * FROM t2 WHERE a = @@sort_buffer_size AND p1(@@sort_buffer_size + 1) > a - 1;
+
+DROP TABLE t2;
+DROP FUNCTION p1;
+
+
+SELECT CONCAT(@@sort_buffer_size);
+SELECT LEFT("12345", @@ft_boolean_syntax);
+
+SET @@sort_buffer_size=DEFAULT;
+
 --echo End of 5.0 tests.
diff --git a/mysql-test/t/slow_launch_time_func.test b/mysql-test/t/slow_launch_time_func.test
index fe8d1ba4c021de33abb1c37001617549aa2693bb..c9a7d28bb8a16422e7aa238522524bffe9808dcf 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/sp.test b/mysql-test/t/sp.test
index c1e8d4b6f6c479212914b21978944ca2b1c780b3..632201a9e771fe18724ccd0ad63a18b31d413126 100644
--- a/mysql-test/t/sp.test
+++ b/mysql-test/t/sp.test
@@ -8041,6 +8041,28 @@ delimiter ;$
 call `p2`('s s s s s s');
 drop procedure `p2`;
 
+#
+# Bug#38823: Invalid memory access when a SP statement does wildcard expansion
+#
+
+--disable_warnings
+drop table if exists t1;
+drop procedure if exists p1;
+--enable_warnings
+
+delimiter $;
+create procedure p1() begin select * from t1; end$
+--error ER_NO_SUCH_TABLE
+call p1$
+create table t1 (a integer)$
+call p1$
+alter table t1 add b integer;
+call p1$
+delimiter ;$
+
+drop table t1;
+drop procedure p1;
+
 --echo # ------------------------------------------------------------------
 --echo # -- End of 5.0 tests
 --echo # ------------------------------------------------------------------
diff --git a/mysql-test/t/status.test b/mysql-test/t/status.test
index 8bd9ee26b26674ebdf29a8d93d6ddf4ce7aacfb6..bc241423417f3b802c826a9ee35011e56bb27bfd 100644
--- a/mysql-test/t/status.test
+++ b/mysql-test/t/status.test
@@ -4,6 +4,11 @@
 # embedded server causes different stat
 -- source include/not_embedded.inc
 
+# Disable concurrent inserts to avoid sporadic test failures as it might
+# affect the the value of variables used throughout the test case.
+set @old_concurrent_insert= @@global.concurrent_insert;
+set @@global.concurrent_insert= 0;
+
 # PS causes different statistics
 --disable_ps_protocol
 
@@ -12,54 +17,45 @@ connect (con2,localhost,root,,);
 
 flush status;
 
-# Logging to the general query log table (--log-output=table --log) increments
-# Table_locks_immediate with each query, so here Immediate becomes 1
 show status like 'Table_lock%';
-# ++Immediate = 2
 select * from information_schema.session_status where variable_name like 'Table_lock%';
 
 connection con1;
-# ++Immediate = 3
-SET SQL_LOG_BIN=0;
-set @old_general_log = @@global.general_log;                                      
+--echo # Switched to connection: con1
+set sql_log_bin=0;
+set @old_general_log = @@global.general_log;
 set global general_log = 'OFF';
 --disable_warnings
-# ++Immediate = 4
 drop table if exists t1;
 --enable_warnings
 
-# ++Immediate = 5
 create table t1(n int) engine=myisam;
-# Immediate + 2 = 7
 insert into t1 values(1);
+# Execute dummy select in order to ensure that tables used in the
+# previous statement are unlocked and closed.
+select 1;
 
 connection con2;
-# Immediate + 2 = 9
+--echo # Switched to connection: con2
 lock tables t1 read;
-# ++Immediate = 10
 unlock tables;
-# Immediate + 2 = 12
 lock tables t1 read;
 
 connection con1;
-# ++Immediate = 13
+--echo # Switched to connection: con1
 let $ID= `select connection_id()`;
-# ++Immediate = 14 (Not +2, because this increments Table_locks_waited)
---send
-update t1 set n = 3;
+--send update t1 set n = 3
 
 connection con2;
+--echo # Switched to connection: con2
 # wait for the other query to start executing
 let $wait_condition= select 1 from INFORMATION_SCHEMA.PROCESSLIST where ID = $ID and STATE = "Locked";
-# Immediate = 14 + $wait_condition_reps ($wait_timeout is 0, so no extra select
-# is done inside wait_condition.inc)
 --source include/wait_condition.inc
-# ++Immediate = 15 + $wait_condition_reps
 unlock tables;
 
 connection con1;
+--echo # Switched to connection: con1
 reap;
-# ++Immediate = 16 + $wait_condition_reps
 show status like 'Table_locks_waited';
 drop table t1;
 set global general_log = @old_general_log;
@@ -67,6 +63,7 @@ set global general_log = @old_general_log;
 disconnect con2;
 disconnect con1;
 connection default;
+--echo # Switched to connection: default
 
 # End of 4.1 tests
 
@@ -295,3 +292,7 @@ drop database db37908;
 drop procedure proc37908;
 drop function func37908;
 # End of 5.1 tests
+
+# Restore global concurrent_insert value. Keep in the end of the test file.
+--connection default
+set @@global.concurrent_insert= @old_concurrent_insert;
diff --git a/mysql-test/t/subselect3.test b/mysql-test/t/subselect3.test
index ec13f8af705978c3338dfded49b6a501afa4fc48..7c3d5013b8dc9504689a2ae7335298595bf490d1 100644
--- a/mysql-test/t/subselect3.test
+++ b/mysql-test/t/subselect3.test
@@ -618,6 +618,28 @@ SELECT 1 FROM t1 WHERE t1.a NOT IN (SELECT 1 FROM t1, t2 WHERE 0);
 
 DROP TABLE t1, t2;
 
+#
+# Bug #37894: Assertion in init_read_record_seq in handler.h line 1444
+#
+
+CREATE TABLE t1 (
+  pk INT PRIMARY KEY,
+  int_key INT,
+  varchar_key VARCHAR(5) UNIQUE,
+  varchar_nokey VARCHAR(5)
+);
+INSERT INTO t1 VALUES (9, 7,NULL,NULL), (10,8,'p' ,'p');
+
+SELECT varchar_nokey
+FROM t1
+WHERE NULL NOT IN (
+ SELECT INNR.pk FROM t1 AS INNR2
+   LEFT JOIN t1 AS INNR ON ( INNR2.int_key = INNR.int_key )
+   WHERE INNR.varchar_key > 'n{'
+);
+
+DROP TABLE t1;
+
 --echo End of 5.0 tests
 
 #
diff --git a/mysql-test/t/thread_cache_size_func.test b/mysql-test/t/thread_cache_size_func.test
index 302f66a36c66bcfc03e8a5612f92d09e2befdfe7..fe9f4242c0d8cfbe347953fafa5550fdf26f07d2 100644
--- a/mysql-test/t/thread_cache_size_func.test
+++ b/mysql-test/t/thread_cache_size_func.test
@@ -1,26 +1,27 @@
-############# mysql-test\t\thread_cache_size_func.test #######################################
-#                                                                                       #
-# Variable Name: thread_cache_size                                                      #
-# Scope: SESSION                                                                        #
-# Access Type: Dynamic                                                                  #
-# Data Type: Enumeration                                                                #
-# Default Value: 0                                                                      #
-# Values:      0-16384                                                                  #
-#                                                                                       #
-#                                                                                       #
-# Creation Date: 2008-03-02                                                             #
-# Author:  Sharique Abdullah                                                                #
-#                                                                                       #
-# Description: Test Cases of Dynamic System Variable "thread_cache_size"                #
-#              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_thread_cache_size                                                       #
-#                                                                                       #
-#########################################################################################
-
-
+############# mysql-test\t\thread_cache_size_func.test ##########################
+#                                                                               #
+# Variable Name: thread_cache_size                                              #
+# Scope: SESSION                                                                #
+# Access Type: Dynamic                                                          #
+# Data Type: Enumeration                                                        #
+# Default Value: 0                                                              #
+# Values:      0-16384                                                          #
+#                                                                               #
+#                                                                               #
+# Creation Date: 2008-03-02                                                     #
+# Author:  Sharique Abdullah                                                    #
+#                                                                               #
+# Modified: HHunger 2008-08-27 Reduced test to needed function and inserted     #
+#                              wait-loops                                       #
+#                                                                               #
+# Description: Test Cases of Dynamic System Variable "thread_cache_size"        #
+#              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         #
+#                                                                               #
+#################################################################################
 
 #
 # Setup
@@ -32,41 +33,31 @@ SET @global_thread_cache_size = @@GLOBAL.thread_cache_size;
 
 FLUSH STATUS;
 
-#
-# Greater than cache threads, setting cache size to 3
-#
 -- ECHO '# Test1#'
 SET @@GLOBAL.thread_cache_size=3;
-
-let $threadsCreated1 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
---echo Saving threads cached, threads created values
-
 SHOW STATUS LIKE 'Threads_cached';
 --echo 0 Expected
 
---ECHO '#Old value for thread_cache'#
-
 ##################################
 # Make 4 connections             #
 ##################################
 
 --echo ** Connecting conn1 using username 'root' **
-connect (conn1,localhost,root,,);
+CONNECT (conn1,localhost,root,,);
 --echo ** Connecting conn2 using username 'root' **
-connect (conn2,localhost,root,,);
+CONNECT (conn2,localhost,root,,);
 --echo ** Connecting conn3 using username 'root' **
-connect (conn3,localhost,root,,);
+CONNECT (conn3,localhost,root,,);
 --echo ** Connecting conn4 using username 'root' **
-connect (conn4,localhost,root,,);
+CONNECT (conn4,localhost,root,,);
 
-let $threadsCreated2 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
---echo Saving threads cached, threads created values
+--echo ** Connection default **
+CONNECTION default;
 
---disable_query_log
-eval SELECT ($threadsCreated2 - $threadsCreated1) AS 'Threads Created Difference';
---enable_query_log
+# Wait until all connections done
+let $wait_condition= SELECT COUNT(*)= 5 FROM INFORMATION_SCHEMA.PROCESSLIST;
+--source include/wait_condition.inc
 
---echo 4 Expected
 SHOW STATUS LIKE 'Threads_cached';
 --echo 0 Expected
 
@@ -74,85 +65,54 @@ SHOW STATUS LIKE 'Threads_cached';
 #Disconnecting all the connections #
 ####################################
 
---echo ** Connection default **
-connection default;
-
 --echo ** Disconnecting conn1,conn2,conn3,conn4 **
-disconnect conn1;
-disconnect conn2;
-disconnect conn3;
-disconnect conn4;
+DISCONNECT conn1;
+DISCONNECT conn2;
+DISCONNECT conn3;
+DISCONNECT conn4;
 
 #
 # Checking the status
 #
 
---echo '#new  values for thread cache after disconnecting'#
-let $threadsCreated3 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
+# Wait until all disconnects ready
+let $wait_condition= SELECT COUNT(*)= 1 FROM INFORMATION_SCHEMA.PROCESSLIST;
+--source include/wait_condition.inc
 
---echo Saving threads cached, threads created values
---disable_query_log
-eval SELECT ($threadsCreated3 - $threadsCreated2) AS 'Threads Created Difference';
---enable_query_log
---echo 0 Expected
 SHOW STATUS LIKE 'Threads_cached';
 --echo 3 Expected
 
-
 #
 # Decreasing cache size to 1
 #
-SET @@GLOBAL.thread_cache_size=1;
-
-connection default;
-
-let $threadsCreated6 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
---echo Saving threads cached, threads created values
---disable_query_log
-eval SELECT $threadsCreated6 - $threadsCreated3 AS 'Threads Created Difference';
---enable_query_log
---echo 0 Expected
-SHOW STATUS LIKE 'Threads_cached';
---echo 1 Expected
---echo Bug: The number of threads cached should have decreased with cache size decrease.
+SET @@GLOBAL.thread_cache_size= 1;
 
 --echo ** Connecting conn1 using username 'root' **
 CONNECT (conn1,localhost,root,,);
 --echo ** Connecting conn2 using username 'root' **
 CONNECT (conn2,localhost,root,,);
 
-let $threadsCreated4 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
---echo Saving threads cached, threads created values
---disable_query_log
-eval SELECT $threadsCreated4 - $threadsCreated3 AS 'Threads Created Difference';
---enable_query_log
---echo 1 Expected
---echo Bug: The number of threads created should have increased because the cache should have 1 thread only
-SHOW STATUS LIKE 'Threads_cached';
---echo 0 Expected
---echo Bug: The number of threads created should have decreased because atleast 1 new connection came in
+--echo connection default;
+CONNECTION default;
 
---echo ** Connection default **
-connection default;
+# Wait until all connects ready
+let $wait_condition= SELECT COUNT(*)= 3 FROM INFORMATION_SCHEMA.PROCESSLIST;
+--source include/wait_condition.inc
 
 --echo ** Disconnecting conn1,conn2 **
-disconnect conn1;
-disconnect conn2;
-
---ECHO '#new status values for thread cache'#
-let $threadsCreated5 = query_get_value(SHOW STATUS LIKE 'Threads_created', Value, 1);
---echo Saving threads cached, threads created values
---disable_query_log
-eval SELECT ($threadsCreated5 - $threadsCreated4) AS 'Threads Created Difference';
---enable_query_log
---echo 0 Expected
+DISCONNECT conn1;
+DISCONNECT conn2;
+
+# Wait until all disconnects ready
+let $wait_condition= SELECT COUNT(*)= 1 FROM INFORMATION_SCHEMA.PROCESSLIST;
+--source include/wait_condition.inc
+
 SHOW STATUS LIKE 'Threads_cached';
 --echo 1 Expected
 
---echo Saving threads cached, threads created values
-
 #
 # Cleanup
 #
 
 SET @@GLOBAL.thread_cache_size = @global_thread_cache_size;
+
diff --git a/mysql-test/t/trigger-trans.test b/mysql-test/t/trigger-trans.test
index 5db5b982773c6abdf68d8e44d9bc41370525b161..4d6e82dedcb1ddba1ad4b2b8e3571534353e812b 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 3a4167dc36802ce54a5db78fc6338e5e577198bb..1fd2e323db878126cf53ae7f54dada63319d9803 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/mysql-test/t/windows.test b/mysql-test/t/windows.test
old mode 100644
new mode 100755
index 92ca0c3a3ec895084c1da6183a6d9aafa3576c8e..6871caaa7560c787dcb76b57dcd313e5505501c2
--- a/mysql-test/t/windows.test
+++ b/mysql-test/t/windows.test
@@ -33,6 +33,7 @@ drop table t1;
 #
 CREATE TABLE t1 (a int, b int); INSERT INTO t1 VALUES (1,1);
 EXPLAIN SELECT * FROM t1 WHERE b =  (SELECT max(2));
+DROP TABLE t1;
 
 --echo End of 5.0 tests.
 
diff --git a/mysql-test/valgrind.supp b/mysql-test/valgrind.supp
index cb1b07c83b0f8456bb798b9552002f85b34fe49d..64c439314a9c1aaed88e01e97f33d770704761d2 100644
--- a/mysql-test/valgrind.supp
+++ b/mysql-test/valgrind.supp
@@ -444,6 +444,15 @@
    fun:_dl_open
 }
 
+{
+   libc pthread_exit 8
+   Memcheck:Leak
+   fun:malloc
+   fun:local_strdup
+   fun:_dl_map_object
+   fun:dl_open_worker
+}
+
 #
 # This is seen internally in the system libraries on 64-bit RHAS3.
 #
diff --git a/mysys/hash.c b/mysys/hash.c
index 9166ae6f7882a0a34c63c4bb982c2d4ae1009f91..65a60c9e3413692e24598d6f1f38f575d194351c 100644
--- a/mysys/hash.c
+++ b/mysys/hash.c
@@ -33,7 +33,7 @@ typedef struct st_hash_info {
   uchar *data;					/* data for current entry */
 } HASH_LINK;
 
-static uint hash_mask(uint hashnr,uint buffmax,uint maxlength);
+static uint my_hash_mask(uint hashnr, uint buffmax, uint maxlength);
 static void movelink(HASH_LINK *array,uint pos,uint next_link,uint newlink);
 static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
                    size_t length);
@@ -46,19 +46,19 @@ static uint calc_hash(const HASH *hash, const uchar *key, size_t length)
 }
 
 my_bool
-_hash_init(HASH *hash,uint growth_size, CHARSET_INFO *charset,
-	   ulong size, size_t key_offset, size_t key_length,
-	   hash_get_key get_key,
-	   void (*free_element)(void*),uint flags CALLER_INFO_PROTO)
+_my_hash_init(HASH *hash, uint growth_size, CHARSET_INFO *charset,
+              ulong size, size_t key_offset, size_t key_length,
+              my_hash_get_key get_key,
+              void (*free_element)(void*), uint flags CALLER_INFO_PROTO)
 {
-  DBUG_ENTER("hash_init");
+  DBUG_ENTER("my_hash_init");
   DBUG_PRINT("enter",("hash: 0x%lx  size: %u", (long) hash, (uint) size));
 
   hash->records=0;
   if (my_init_dynamic_array_ci(&hash->array, sizeof(HASH_LINK), size,
                                growth_size))
   {
-    hash->free=0;				/* Allow call to hash_free */
+    hash->free=0;				/* Allow call to my_hash_free */
     DBUG_RETURN(1);
   }
   hash->key_offset=key_offset;
@@ -76,14 +76,14 @@ _hash_init(HASH *hash,uint growth_size, CHARSET_INFO *charset,
   Call hash->free on all elements in hash.
 
   SYNOPSIS
-    hash_free_elements()
+    my_hash_free_elements()
     hash   hash table
 
   NOTES:
     Sets records to 0
 */
 
-static inline void hash_free_elements(HASH *hash)
+static inline void my_hash_free_elements(HASH *hash)
 {
   if (hash->free)
   {
@@ -100,18 +100,18 @@ static inline void hash_free_elements(HASH *hash)
   Free memory used by hash.
 
   SYNOPSIS
-    hash_free()
+    my_hash_free()
     hash   the hash to delete elements of
 
-  NOTES: Hash can't be reused without calling hash_init again.
+  NOTES: Hash can't be reused without calling my_hash_init again.
 */
 
-void hash_free(HASH *hash)
+void my_hash_free(HASH *hash)
 {
-  DBUG_ENTER("hash_free");
+  DBUG_ENTER("my_hash_free");
   DBUG_PRINT("enter",("hash: 0x%lx", (long) hash));
 
-  hash_free_elements(hash);
+  my_hash_free_elements(hash);
   hash->free= 0;
   delete_dynamic(&hash->array);
   DBUG_VOID_RETURN;
@@ -131,7 +131,7 @@ void my_hash_reset(HASH *hash)
   DBUG_ENTER("my_hash_reset");
   DBUG_PRINT("enter",("hash: 0x%lxd", (long) hash));
 
-  hash_free_elements(hash);
+  my_hash_free_elements(hash);
   reset_dynamic(&hash->array);
   /* Set row pointers so that the hash can be reused at once */
   hash->blength= 1;
@@ -146,8 +146,8 @@ void my_hash_reset(HASH *hash)
 */
 
 static inline char*
-hash_key(const HASH *hash, const uchar *record, size_t *length,
-         my_bool first)
+my_hash_key(const HASH *hash, const uchar *record, size_t *length,
+            my_bool first)
 {
   if (hash->get_key)
     return (char*) (*hash->get_key)(record,length,first);
@@ -157,18 +157,18 @@ hash_key(const HASH *hash, const uchar *record, size_t *length,
 
 	/* Calculate pos according to keys */
 
-static uint hash_mask(uint hashnr,uint buffmax,uint maxlength)
+static uint my_hash_mask(uint hashnr, uint buffmax, uint maxlength)
 {
   if ((hashnr & (buffmax-1)) < maxlength) return (hashnr & (buffmax-1));
   return (hashnr & ((buffmax >> 1) -1));
 }
 
-static uint hash_rec_mask(const HASH *hash, HASH_LINK *pos,
-                          uint buffmax, uint maxlength)
+static uint my_hash_rec_mask(const HASH *hash, HASH_LINK *pos,
+                             uint buffmax, uint maxlength)
 {
   size_t length;
-  uchar *key= (uchar*) hash_key(hash,pos->data,&length,0);
-  return hash_mask(calc_hash(hash,key,length),buffmax,maxlength);
+  uchar *key= (uchar*) my_hash_key(hash, pos->data, &length, 0);
+  return my_hash_mask(calc_hash(hash, key, length), buffmax, maxlength);
 }
 
 
@@ -181,15 +181,15 @@ inline
 unsigned int rec_hashnr(HASH *hash,const uchar *record)
 {
   size_t length;
-  uchar *key= (uchar*) hash_key(hash,record,&length,0);
+  uchar *key= (uchar*) my_hash_key(hash, record, &length, 0);
   return calc_hash(hash,key,length);
 }
 
 
-uchar* hash_search(const HASH *hash, const uchar *key, size_t length)
+uchar* my_hash_search(const HASH *hash, const uchar *key, size_t length)
 {
   HASH_SEARCH_STATE state;
-  return hash_first(hash, key, length, &state);
+  return my_hash_first(hash, key, length, &state);
 }
 
 /*
@@ -199,18 +199,18 @@ uchar* hash_search(const HASH *hash, const uchar *key, size_t length)
    Assigns the number of the found record to HASH_SEARCH_STATE state
 */
 
-uchar* hash_first(const HASH *hash, const uchar *key, size_t length,
-                HASH_SEARCH_STATE *current_record)
+uchar* my_hash_first(const HASH *hash, const uchar *key, size_t length,
+                     HASH_SEARCH_STATE *current_record)
 {
   HASH_LINK *pos;
   uint flag,idx;
-  DBUG_ENTER("hash_first");
+  DBUG_ENTER("my_hash_first");
 
   flag=1;
   if (hash->records)
   {
-    idx=hash_mask(calc_hash(hash,key,length ? length : hash->key_length),
-		    hash->blength,hash->records);
+    idx= my_hash_mask(calc_hash(hash, key, length ? length : hash->key_length),
+                      hash->blength, hash->records);
     do
     {
       pos= dynamic_element(&hash->array,idx,HASH_LINK*);
@@ -223,7 +223,7 @@ uchar* hash_first(const HASH *hash, const uchar *key, size_t length,
       if (flag)
       {
 	flag=0;					/* Reset flag */
-	if (hash_rec_mask(hash,pos,hash->blength,hash->records) != idx)
+	if (my_hash_rec_mask(hash, pos, hash->blength, hash->records) != idx)
 	  break;				/* Wrong link */
       }
     }
@@ -234,10 +234,10 @@ uchar* hash_first(const HASH *hash, const uchar *key, size_t length,
 }
 
 	/* Get next record with identical key */
-	/* Can only be called if previous calls was hash_search */
+	/* Can only be called if previous calls was my_hash_search */
 
-uchar* hash_next(const HASH *hash, const uchar *key, size_t length,
-               HASH_SEARCH_STATE *current_record)
+uchar* my_hash_next(const HASH *hash, const uchar *key, size_t length,
+                    HASH_SEARCH_STATE *current_record)
 {
   HASH_LINK *pos;
   uint idx;
@@ -297,7 +297,7 @@ static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
                    size_t length)
 {
   size_t rec_keylength;
-  uchar *rec_key= (uchar*) hash_key(hash,pos->data,&rec_keylength,1);
+  uchar *rec_key= (uchar*) my_hash_key(hash, pos->data, &rec_keylength, 1);
   return ((length && length != rec_keylength) ||
 	  my_strnncoll(hash->charset, (uchar*) rec_key, rec_keylength,
 		       (uchar*) key, rec_keylength));
@@ -306,7 +306,7 @@ static int hashcmp(const HASH *hash, HASH_LINK *pos, const uchar *key,
 
 	/* Write a hash-key to the hash-index */
 
-my_bool my_hash_insert(HASH *info,const uchar *record)
+my_bool my_hash_insert(HASH *info, const uchar *record)
 {
   int flag;
   size_t idx;
@@ -321,8 +321,8 @@ my_bool my_hash_insert(HASH *info,const uchar *record)
 
   if (HASH_UNIQUE & info->flags)
   {
-    uchar *key= (uchar*) hash_key(info, record, &idx, 1);
-    if (hash_search(info, key, idx))
+    uchar *key= (uchar*) my_hash_key(info, record, &idx, 1);
+    if (my_hash_search(info, key, idx))
       return(TRUE);				/* Duplicate entry */
   }
 
@@ -341,7 +341,7 @@ my_bool my_hash_insert(HASH *info,const uchar *record)
       pos=data+idx;
       hash_nr=rec_hashnr(info,pos->data);
       if (flag == 0)				/* First loop; Check if ok */
-	if (hash_mask(hash_nr,info->blength,info->records) != first_index)
+	if (my_hash_mask(hash_nr, info->blength, info->records) != first_index)
 	  break;
       if (!(hash_nr & halfbuff))
       {						/* Key will not move */
@@ -413,7 +413,7 @@ my_bool my_hash_insert(HASH *info,const uchar *record)
   }
   /* Check if we are at the empty position */
 
-  idx=hash_mask(rec_hashnr(info,record),info->blength,info->records+1);
+  idx= my_hash_mask(rec_hashnr(info, record), info->blength, info->records + 1);
   pos=data+idx;
   if (pos == empty)
   {
@@ -424,7 +424,7 @@ my_bool my_hash_insert(HASH *info,const uchar *record)
   {
     /* Check if more records in same hash-nr family */
     empty[0]=pos[0];
-    gpos=data+hash_rec_mask(info,pos,info->blength,info->records+1);
+    gpos= data + my_hash_rec_mask(info, pos, info->blength, info->records + 1);
     if (pos == gpos)
     {
       pos->data=(uchar*) record;
@@ -449,18 +449,18 @@ my_bool my_hash_insert(HASH *info,const uchar *record)
 ** if there is a free-function it's called for record if found
 ******************************************************************************/
 
-my_bool hash_delete(HASH *hash,uchar *record)
+my_bool my_hash_delete(HASH *hash, uchar *record)
 {
   uint blength,pos2,pos_hashnr,lastpos_hashnr,idx,empty_index;
   HASH_LINK *data,*lastpos,*gpos,*pos,*pos3,*empty;
-  DBUG_ENTER("hash_delete");
+  DBUG_ENTER("my_hash_delete");
   if (!hash->records)
     DBUG_RETURN(1);
 
   blength=hash->blength;
   data=dynamic_element(&hash->array,0,HASH_LINK*);
   /* Search after record with key */
-  pos=data+ hash_mask(rec_hashnr(hash,record),blength,hash->records);
+  pos= data + my_hash_mask(rec_hashnr(hash, record), blength, hash->records);
   gpos = 0;
 
   while (pos->data != record)
@@ -491,7 +491,7 @@ my_bool hash_delete(HASH *hash,uchar *record)
   /* Move the last key (lastpos) */
   lastpos_hashnr=rec_hashnr(hash,lastpos->data);
   /* pos is where lastpos should be */
-  pos=data+hash_mask(lastpos_hashnr,hash->blength,hash->records);
+  pos= data + my_hash_mask(lastpos_hashnr, hash->blength, hash->records);
   if (pos == empty)			/* Move to empty position. */
   {
     empty[0]=lastpos[0];
@@ -499,7 +499,7 @@ my_bool hash_delete(HASH *hash,uchar *record)
   }
   pos_hashnr=rec_hashnr(hash,pos->data);
   /* pos3 is where the pos should be */
-  pos3= data+hash_mask(pos_hashnr,hash->blength,hash->records);
+  pos3= data + my_hash_mask(pos_hashnr, hash->blength, hash->records);
   if (pos != pos3)
   {					/* pos is on wrong posit */
     empty[0]=pos[0];			/* Save it here */
@@ -507,8 +507,8 @@ my_bool hash_delete(HASH *hash,uchar *record)
     movelink(data,(uint) (pos-data),(uint) (pos3-data),empty_index);
     goto exit;
   }
-  pos2= hash_mask(lastpos_hashnr,blength,hash->records+1);
-  if (pos2 == hash_mask(pos_hashnr,blength,hash->records+1))
+  pos2= my_hash_mask(lastpos_hashnr, blength, hash->records + 1);
+  if (pos2 == my_hash_mask(pos_hashnr, blength, hash->records + 1))
   {					/* Identical key-positions */
     if (pos2 != hash->records)
     {
@@ -536,26 +536,26 @@ my_bool hash_delete(HASH *hash,uchar *record)
 	  This is much more efficent than using a delete & insert.
 	  */
 
-my_bool hash_update(HASH *hash, uchar *record, uchar *old_key,
-                    size_t old_key_length)
+my_bool my_hash_update(HASH *hash, uchar *record, uchar *old_key,
+                       size_t old_key_length)
 {
   uint new_index,new_pos_index,blength,records,empty;
   size_t idx;
   HASH_LINK org_link,*data,*previous,*pos;
-  DBUG_ENTER("hash_update");
+  DBUG_ENTER("my_hash_update");
   
   if (HASH_UNIQUE & hash->flags)
   {
     HASH_SEARCH_STATE state;
-    uchar *found, *new_key= (uchar*) hash_key(hash, record, &idx, 1);
-    if ((found= hash_first(hash, new_key, idx, &state)))
+    uchar *found, *new_key= (uchar*) my_hash_key(hash, record, &idx, 1);
+    if ((found= my_hash_first(hash, new_key, idx, &state)))
     {
       do 
       {
         if (found != record)
           DBUG_RETURN(1);		/* Duplicate entry */
       } 
-      while ((found= hash_next(hash, new_key, idx, &state)));
+      while ((found= my_hash_next(hash, new_key, idx, &state)));
     }
   }
 
@@ -564,11 +564,11 @@ my_bool hash_update(HASH *hash, uchar *record, uchar *old_key,
 
   /* Search after record with key */
 
-  idx=hash_mask(calc_hash(hash, old_key,(old_key_length ?
-					      old_key_length :
-					      hash->key_length)),
-		  blength,records);
-  new_index=hash_mask(rec_hashnr(hash,record),blength,records);
+  idx= my_hash_mask(calc_hash(hash, old_key, (old_key_length ?
+                                              old_key_length :
+                                              hash->key_length)),
+                    blength, records);
+  new_index= my_hash_mask(rec_hashnr(hash, record), blength, records);
   if (idx == new_index)
     DBUG_RETURN(0);			/* Nothing to do (No record check) */
   previous=0;
@@ -618,7 +618,7 @@ my_bool hash_update(HASH *hash, uchar *record, uchar *old_key,
     DBUG_RETURN(0);
   }
   pos=data+new_index;
-  new_pos_index=hash_rec_mask(hash,pos,blength,records);
+  new_pos_index= my_hash_rec_mask(hash, pos, blength, records);
   if (new_index != new_pos_index)
   {					/* Other record in wrong position */
     data[empty] = *pos;
@@ -636,7 +636,7 @@ my_bool hash_update(HASH *hash, uchar *record, uchar *old_key,
 }
 
 
-uchar *hash_element(HASH *hash,ulong idx)
+uchar *my_hash_element(HASH *hash, ulong idx)
 {
   if (idx < hash->records)
     return dynamic_element(&hash->array,idx,HASH_LINK*)->data;
@@ -649,7 +649,8 @@ uchar *hash_element(HASH *hash,ulong idx)
   isn't changed
 */
 
-void hash_replace(HASH *hash, HASH_SEARCH_STATE *current_record, uchar *new_row)
+void my_hash_replace(HASH *hash, HASH_SEARCH_STATE *current_record,
+                     uchar *new_row)
 {
   if (*current_record != NO_RECORD)            /* Safety */
     dynamic_element(&hash->array, *current_record, HASH_LINK*)->data= new_row;
@@ -658,7 +659,7 @@ void hash_replace(HASH *hash, HASH_SEARCH_STATE *current_record, uchar *new_row)
 
 #ifndef DBUG_OFF
 
-my_bool hash_check(HASH *hash)
+my_bool my_hash_check(HASH *hash)
 {
   int error;
   uint i,rec_link,found,max_links,seek,links,idx;
@@ -671,7 +672,7 @@ my_bool hash_check(HASH *hash)
 
   for (i=found=max_links=seek=0 ; i < records ; i++)
   {
-    if (hash_rec_mask(hash,data+i,blength,records) == i)
+    if (my_hash_rec_mask(hash, data + i, blength, records) == i)
     {
       found++; seek++; links=1;
       for (idx=data[i].next ;
@@ -687,11 +688,12 @@ my_bool hash_check(HASH *hash)
 	}
 	hash_info=data+idx;
 	seek+= ++links;
-	if ((rec_link=hash_rec_mask(hash,hash_info,blength,records)) != i)
+	if ((rec_link= my_hash_rec_mask(hash, hash_info,
+                                        blength, records)) != i)
 	{
-	  DBUG_PRINT("error",
-		     ("Record in wrong link at %d: Start %d  Record: 0x%lx  Record-link %d",
-                      idx, i, (long) hash_info->data, rec_link));
+          DBUG_PRINT("error", ("Record in wrong link at %d: Start %d  "
+                               "Record: 0x%lx  Record-link %d",
+                               idx, i, (long) hash_info->data, rec_link));
 	  error=1;
 	}
 	else
diff --git a/mysys/thr_mutex.c b/mysys/thr_mutex.c
index 49003553f0be79b7330172eb61c45f3ec809b71b..8f9928026ba3d5a74758c75a762cf0b75804feae 100644
--- a/mysys/thr_mutex.c
+++ b/mysys/thr_mutex.c
@@ -438,9 +438,33 @@ int my_pthread_fastmutex_init(my_pthread_fastmutex_t *mp,
     mp->spins= MY_PTHREAD_FASTMUTEX_SPINS; 
   else
     mp->spins= 0;
+  mp->rng_state= 1;
   return pthread_mutex_init(&mp->mutex, attr); 
 }
 
+/**
+  Park-Miller random number generator. A simple linear congruential
+  generator that operates in multiplicative group of integers modulo n.
+
+  x_{k+1} = (x_k g) mod n
+
+  Popular pair of parameters: n = 2^32 − 5 = 4294967291 and g = 279470273.
+  The period of the generator is about 2^31.
+  Largest value that can be returned: 2147483646 (RAND_MAX)
+
+  Reference:
+
+  S. K. Park and K. W. Miller
+  "Random number generators: good ones are hard to find"
+  Commun. ACM, October 1988, Volume 31, No 10, pages 1192-1201.
+*/
+
+static double park_rng(my_pthread_fastmutex_t *mp)
+{
+  mp->rng_state= ((my_ulonglong)mp->rng_state * 279470273U) % 4294967291U;
+  return (mp->rng_state / 2147483647.0);
+}
+
 int my_pthread_fastmutex_lock(my_pthread_fastmutex_t *mp)
 {
   int   res;
@@ -458,8 +482,7 @@ int my_pthread_fastmutex_lock(my_pthread_fastmutex_t *mp)
       return res;
 
     mutex_delay(maxdelay);
-    maxdelay += ((double) random() / (double) RAND_MAX) * 
-	        MY_PTHREAD_FASTMUTEX_DELAY + 1;
+    maxdelay += park_rng(mp) * MY_PTHREAD_FASTMUTEX_DELAY + 1;
   }
   return pthread_mutex_lock(&mp->mutex);
 }
diff --git a/scripts/mysql_system_tables_data.sql b/scripts/mysql_system_tables_data.sql
index 6db9430b972fba16fc91fd0e210070fd0cb70227..9a3a3f7bb84ddb7fa6ab7535fdff8aaca8e4a05f 100644
--- a/scripts/mysql_system_tables_data.sql
+++ b/scripts/mysql_system_tables_data.sql
@@ -22,9 +22,9 @@ DROP TABLE tmp_db;
 CREATE TEMPORARY TABLE tmp_user LIKE user;
 set @current_hostname= @@hostname;
 INSERT INTO tmp_user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
-REPLACE INTO tmp_user VALUES (@current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
+REPLACE INTO tmp_user SELECT @current_hostname,'root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0 FROM dual WHERE LOWER( @current_hostname) != 'localhost';
 REPLACE INTO tmp_user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0,0);
 INSERT INTO tmp_user (host,user) VALUES ('localhost','');
-INSERT INTO tmp_user (host,user) VALUES (@current_hostname,'');
+INSERT INTO tmp_user (host,user) SELECT @current_hostname,'' FROM dual WHERE LOWER(@current_hostname ) != 'localhost';
 INSERT INTO user SELECT * FROM tmp_user WHERE @had_user_table=0;
 DROP TABLE tmp_user;
diff --git a/scripts/mysqldumpslow.sh b/scripts/mysqldumpslow.sh
index f05761bb8376e4da96aa5f815d6f434ebc0381a2..60d972e1c8bef44a64fcebdf8aaa6f217f75532e 100644
--- a/scripts/mysqldumpslow.sh
+++ b/scripts/mysqldumpslow.sh
@@ -83,7 +83,7 @@ while ( defined($_ = shift @pending) or defined($_ = <>) ) {
     s/^#? Time: \d{6}\s+\d+:\d+:\d+.*\n//;
     my ($user,$host) = s/^#? User\@Host:\s+(\S+)\s+\@\s+(\S+).*\n// ? ($1,$2) : ('','');
 
-    s/^# Query_time: (\d+)  Lock_time: (\d+)  Rows_sent: (\d+).*\n//;
+    s/^# Query_time: ([0-9.]+)\s+Lock_time: ([0-9.]+)\s+Rows_sent: ([0-9.]+).*\n//;
     my ($t, $l, $r) = ($1, $2, $3);
     $t -= $l unless $opt{l};
 
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc
index 4d521e9d3a0ed139720fb2bbe3c64d740a4d9e26..14e321218ca8b1f517ea2102f2fcd78d8e7b6440 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 @@ int ha_partition::copy_partitions(ulonglong *copied, ulonglong *deleted)
 
 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))))
@@ -2482,6 +2495,30 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
                          0, key_rec_cmp, (void*)this)))
     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
@@ -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 @@ int ha_partition::write_row(uchar * buf)
     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 459b566b6d83c85bb71524fc9c3935853873681c..685f057dfce71bc5b749a08afd3e5e33e16ed3c9 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 @@ class ha_partition :public handler
     "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 @@ class ha_partition :public handler
   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 @@ class ha_partition :public handler
   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 @@ class ha_partition :public handler
     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 f26e84bdfdf8e6513a36ac8a79c114df610bfc23..a988c34b7cacede813ac55f3baed76cd1f43cb6e 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -373,6 +373,10 @@ int ha_finalize_handlerton(st_plugin_int *plugin)
   handlerton *hton= (handlerton *)plugin->data;
   DBUG_ENTER("ha_finalize_handlerton");
 
+  /* hton can be NULL here, if ha_initialize_handlerton() failed. */
+  if (!hton)
+    goto end;
+
   switch (hton->state)
   {
   case SHOW_OPTION_NO:
@@ -401,8 +405,16 @@ int ha_finalize_handlerton(st_plugin_int *plugin)
     }
   }
 
+  /*
+    In case a plugin is uninstalled and re-installed later, it should
+    reuse an array slot. Otherwise the number of uninstall/install
+    cycles would be limited.
+  */
+  hton2plugin[hton->slot]= NULL;
+
   my_free((uchar*)hton, MYF(0));
 
+ end:
   DBUG_RETURN(0);
 }
 
@@ -437,6 +449,7 @@ int ha_initialize_handlerton(st_plugin_int *plugin)
   case SHOW_OPTION_YES:
     {
       uint tmp;
+      ulong fslot;
       /* now check the db_type for conflict */
       if (hton->db_type <= DB_TYPE_UNKNOWN ||
           hton->db_type >= DB_TYPE_DEFAULT ||
@@ -461,7 +474,31 @@ int ha_initialize_handlerton(st_plugin_int *plugin)
       tmp= hton->savepoint_offset;
       hton->savepoint_offset= savepoint_alloc_size;
       savepoint_alloc_size+= tmp;
-      hton->slot= total_ha++;
+
+      /*
+        In case a plugin is uninstalled and re-installed later, it should
+        reuse an array slot. Otherwise the number of uninstall/install
+        cycles would be limited. So look for a free slot.
+      */
+      DBUG_PRINT("plugin", ("total_ha: %lu", total_ha));
+      for (fslot= 0; fslot < total_ha; fslot++)
+      {
+        if (!hton2plugin[fslot])
+          break;
+      }
+      if (fslot < total_ha)
+        hton->slot= fslot;
+      else
+      {
+        if (total_ha >= MAX_HA)
+        {
+          sql_print_error("Too many plugins loaded. Limit is %lu. "
+                          "Failed on '%s'", (ulong) MAX_HA, plugin->name.str);
+          goto err;
+        }
+        hton->slot= total_ha++;
+      }
+
       hton2plugin[hton->slot]=plugin;
       if (hton->prepare)
         total_ha_2pc++;
@@ -2165,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
@@ -2249,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:
@@ -2262,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
@@ -2285,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
@@ -2296,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 */
@@ -2340,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);
@@ -2461,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;
@@ -2710,8 +2752,53 @@ bool handler::get_error_message(int error, String* buf)
 }
 
 
+/**
+  Check for incompatible collation changes.
+   
+  @retval
+    HA_ADMIN_NEEDS_UPGRADE   Table may have data requiring upgrade.
+  @retval
+    0                        No upgrade required.
+*/
+
+int handler::check_collation_compatibility()
+{
+  ulong mysql_version= table->s->mysql_version;
+
+  if (mysql_version < 50048)
+  {
+    KEY *key= table->key_info;
+    KEY *key_end= key + table->s->keys;
+    for (; key < key_end; key++)
+    {
+      KEY_PART_INFO *key_part= key->key_part;
+      KEY_PART_INFO *key_part_end= key_part + key->key_parts;
+      for (; key_part < key_part_end; key_part++)
+      {
+        if (!key_part->fieldnr)
+          continue;
+        Field *field= table->field[key_part->fieldnr - 1];
+        uint cs_number= field->charset()->number;
+        if (mysql_version < 50048 &&
+            (cs_number == 11 || /* ascii_general_ci - bug #29499, bug #27562 */
+             cs_number == 41 || /* latin7_general_ci - bug #29461 */
+             cs_number == 42 || /* latin7_general_cs - bug #29461 */
+             cs_number == 20 || /* latin7_estonian_cs - bug #29461 */
+             cs_number == 21 || /* latin2_hungarian_ci - bug #29461 */
+             cs_number == 22 || /* koi8u_general_ci - bug #29461 */
+             cs_number == 23 || /* cp1251_ukrainian_ci - bug #29461 */
+             cs_number == 26))  /* cp1250_general_ci - bug #29461 */
+          return HA_ADMIN_NEEDS_UPGRADE;
+      }  
+    }  
+  }  
+  return 0;
+}
+
+
 int handler::ha_check_for_upgrade(HA_CHECK_OPT *check_opt)
 {
+  int error;
   KEY *keyinfo, *keyend;
   KEY_PART_INFO *keypart, *keypartend;
 
@@ -2740,6 +2827,10 @@ int handler::ha_check_for_upgrade(HA_CHECK_OPT *check_opt)
   }
   if (table->s->frm_version != FRM_VER_TRUE_VARCHAR)
     return HA_ADMIN_NEEDS_ALTER;
+
+  if ((error= check_collation_compatibility()))
+    return error;
+    
   return check_for_upgrade(check_opt);
 }
 
@@ -4333,6 +4424,8 @@ static int write_locked_table_maps(THD *thd)
                        (long) thd, (long) thd->lock,
                        (long) thd->locked_tables, (long) thd->extra_lock));
 
+  DBUG_PRINT("debug", ("get_binlog_table_maps(): %d", thd->get_binlog_table_maps()));
+
   if (thd->get_binlog_table_maps() == 0)
   {
     MYSQL_LOCK *locks[3];
diff --git a/sql/handler.h b/sql/handler.h
index df6157f80b49cfd11bb2e4bb60bccdd93f4d92d1..b7d4d689d4024c49df92e1a19a1d9d489708746a 100644
--- a/sql/handler.h
+++ b/sql/handler.h
@@ -1129,6 +1129,13 @@ class handler :public Sql_alloc
     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 @@ class handler :public Sql_alloc
     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)
   {
@@ -1203,6 +1211,7 @@ class handler :public Sql_alloc
   int ha_delete_row(const uchar * buf);
   void ha_release_auto_increment();
 
+  int check_collation_compatibility();
   int ha_check_for_upgrade(HA_CHECK_OPT *check_opt);
   /** to be actually called to get 'check()' functionality*/
   int ha_check(THD *thd, HA_CHECK_OPT *check_opt);
@@ -1241,8 +1250,8 @@ class handler :public Sql_alloc
 
   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);
@@ -1724,6 +1733,12 @@ class handler :public Sql_alloc
     but we don't have a primary key
   */
   virtual void use_hidden_primary_key();
+  virtual uint alter_table_flags(uint flags)
+  {
+    if (ht->alter_table_flags)
+      return ht->alter_table_flags(flags);
+    return 0;
+  } 
 
 protected:
   /* Service methods for use by storage engines. */
@@ -1859,7 +1874,8 @@ class handler :public Sql_alloc
     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 +1914,8 @@ class handler :public Sql_alloc
 
   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 cdb71e86694af0a76a3c8347006e5f642bb1821f..7b7c44b4719bc330b5ae017e39b48490dba52052 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 @@ class Item_aggregate_ref : public Item_ref
     else
       Item_ident::print(str, query_type);
   }
+  virtual Ref_Type ref_type() { return AGGREGATE_REF; }
 };
 
 
@@ -1801,14 +1804,17 @@ Item_field::Item_field(THD *thd, Name_resolution_context *context_arg,
     We need to copy db_name, table_name and field_name because they must
     be allocated in the statement memory, not in table memory (the table
     structure can go away and pop up again between subsequent executions
-    of a prepared statement).
+    of a prepared statement or after the close_tables_for_reopen() call
+    in mysql_multi_update_prepare() or due to wildcard expansion in stored
+    procedures).
   */
-  if (thd->stmt_arena->is_stmt_prepare_or_first_sp_execute())
   {
     if (db_name)
       orig_db_name= thd->strdup(db_name);
-    orig_table_name= thd->strdup(table_name);
-    orig_field_name= thd->strdup(field_name);
+    if (table_name)
+      orig_table_name= thd->strdup(table_name);
+    if (field_name)
+      orig_field_name= thd->strdup(field_name);
     /*
       We don't restore 'name' in cleanup because it's not changed
       during execution. Still we need it to point to persistent
@@ -2380,17 +2386,15 @@ void Item_string::print(String *str, enum_query_type query_type)
 }
 
 
-double Item_string::val_real()
+double 
+double_from_string_with_check (CHARSET_INFO *cs, const char *cptr, char *end)
 {
-  DBUG_ASSERT(fixed == 1);
   int error;
-  char *end, *org_end;
+  char *org_end;
   double tmp;
-  CHARSET_INFO *cs= str_value.charset();
 
-  org_end= (char*) str_value.ptr() + str_value.length();
-  tmp= my_strntod(cs, (char*) str_value.ptr(), str_value.length(), &end,
-                  &error);
+  org_end= end;
+  tmp= my_strntod(cs, (char*) cptr, end - cptr, &end, &error);
   if (error || (end != org_end && !check_if_only_end_space(cs, end, org_end)))
   {
     /*
@@ -2400,26 +2404,28 @@ double Item_string::val_real()
     push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
                         ER_TRUNCATED_WRONG_VALUE,
                         ER(ER_TRUNCATED_WRONG_VALUE), "DOUBLE",
-                        str_value.ptr());
+                        cptr);
   }
   return tmp;
 }
 
 
-/**
-  @todo
-  Give error if we wanted a signed integer and we got an unsigned one
-*/
-longlong Item_string::val_int()
+double Item_string::val_real()
 {
   DBUG_ASSERT(fixed == 1);
+  return double_from_string_with_check (str_value.charset(), str_value.ptr(), 
+                                        (char *) str_value.ptr() + str_value.length());
+}
+
+
+longlong 
+longlong_from_string_with_check (CHARSET_INFO *cs, const char *cptr, char *end)
+{
   int err;
   longlong tmp;
-  char *end= (char*) str_value.ptr()+ str_value.length();
   char *org_end= end;
-  CHARSET_INFO *cs= str_value.charset();
 
-  tmp= (*(cs->cset->strtoll10))(cs, str_value.ptr(), &end, &err);
+  tmp= (*(cs->cset->strtoll10))(cs, cptr, &end, &err);
   /*
     TODO: Give error if we wanted a signed integer and we got an unsigned
     one
@@ -2430,12 +2436,24 @@ longlong Item_string::val_int()
     push_warning_printf(current_thd, MYSQL_ERROR::WARN_LEVEL_WARN,
                         ER_TRUNCATED_WRONG_VALUE,
                         ER(ER_TRUNCATED_WRONG_VALUE), "INTEGER",
-                        str_value.ptr());
+                        cptr);
   }
   return tmp;
 }
 
 
+/**
+  @todo
+  Give error if we wanted a signed integer and we got an unsigned one
+*/
+longlong Item_string::val_int()
+{
+  DBUG_ASSERT(fixed == 1);
+  return longlong_from_string_with_check(str_value.charset(), str_value.ptr(),
+                             (char *) str_value.ptr()+ str_value.length());
+}
+
+
 my_decimal *Item_string::val_decimal(my_decimal *decimal_value)
 {
   return val_decimal_from_string(decimal_value);
@@ -6937,7 +6955,7 @@ enum_field_types Item_type_holder::get_real_type(Item *item)
     */
     Item_sum *item_sum= (Item_sum *) item;
     if (item_sum->keep_field_type())
-      return get_real_type(item_sum->args[0]);
+      return get_real_type(item_sum->get_arg(0));
     break;
   }
   case FUNC_ITEM:
@@ -7201,7 +7219,7 @@ void Item_type_holder::get_full_info(Item *item)
     if (item->type() == Item::SUM_FUNC_ITEM &&
         (((Item_sum*)item)->sum_func() == Item_sum::MAX_FUNC ||
          ((Item_sum*)item)->sum_func() == Item_sum::MIN_FUNC))
-      item = ((Item_sum*)item)->args[0];
+      item = ((Item_sum*)item)->get_arg(0);
     /*
       We can have enum/set type after merging only if we have one enum|set
       field (or MIN|MAX(enum|set field)) and number of NULL fields
diff --git a/sql/item.h b/sql/item.h
index be343e25d3fa29c98c28c2cf8640a246407ceb71..a3c3cbc78c19970fce292b6d29a1c3f1956a8ad9 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1981,6 +1981,11 @@ class Item_string :public Item_basic_constant
 };
 
 
+longlong 
+longlong_from_string_with_check (CHARSET_INFO *cs, const char *cptr, char *end);
+double 
+double_from_string_with_check (CHARSET_INFO *cs, const char *cptr, char *end);
+
 class Item_static_string_func :public Item_string
 {
   const char *func_name;
@@ -2126,7 +2131,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/item_func.cc b/sql/item_func.cc
index d7e6fc1f8f228da8ef50a7c28dcdaf7f6c062802..185100bf125520920f189bf6ed9b8b8c3556f80c 100644
--- a/sql/item_func.cc
+++ b/sql/item_func.cc
@@ -4800,36 +4800,398 @@ Item_func_get_system_var::
 Item_func_get_system_var(sys_var *var_arg, enum_var_type var_type_arg,
                        LEX_STRING *component_arg, const char *name_arg,
                        size_t name_len_arg)
-  :var(var_arg), var_type(var_type_arg), component(*component_arg)
+  :var(var_arg), var_type(var_type_arg), orig_var_type(var_type_arg),
+  component(*component_arg), cache_present(0)
 {
   /* set_name() will allocate the name */
   set_name(name_arg, name_len_arg, system_charset_info);
 }
 
 
-bool
-Item_func_get_system_var::fix_fields(THD *thd, Item **ref)
+bool Item_func_get_system_var::is_written_to_binlog()
 {
-  Item *item;
-  DBUG_ENTER("Item_func_get_system_var::fix_fields");
+  return var->is_written_to_binlog(var_type);
+}
+
+
+void Item_func_get_system_var::fix_length_and_dec()
+{
+  maybe_null=0;
+
+  if (var->check_type(var_type))
+  {
+    if (var_type != OPT_DEFAULT)
+    {
+      my_error(ER_INCORRECT_GLOBAL_LOCAL_VAR, MYF(0),
+               var->name, var_type == OPT_GLOBAL ? "SESSION" : "GLOBAL");
+      return;
+    }
+    /* As there was no local variable, return the global value */
+    var_type= OPT_GLOBAL;
+  }
+
+  switch (var->show_type())
+  {
+    case SHOW_LONG:
+    case SHOW_INT:
+    case SHOW_HA_ROWS:
+      unsigned_flag= TRUE;
+      max_length= MY_INT64_NUM_DECIMAL_DIGITS;
+      decimals=0;
+      break;
+    case SHOW_LONGLONG:
+      unsigned_flag= FALSE;
+      max_length= MY_INT64_NUM_DECIMAL_DIGITS;
+      decimals=0;
+      break;
+    case SHOW_CHAR:
+    case SHOW_CHAR_PTR:
+      collation.set(system_charset_info, DERIVATION_SYSCONST);
+      max_length= MAX_BLOB_WIDTH;
+      decimals=NOT_FIXED_DEC;
+      break;
+    case SHOW_MY_BOOL:
+      unsigned_flag= FALSE;
+      max_length= 1;
+      decimals=0;
+      break;
+    case SHOW_DOUBLE:
+      unsigned_flag= FALSE;
+      decimals= 6;
+      max_length= DBL_DIG + 6;
+      break;
+    default:
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name);
+      break;
+  }
+}
 
-  /*
-    Evaluate the system variable and substitute the result (a basic constant)
-    instead of this item. If the variable can not be evaluated,
-    the error is reported in sys_var::item().
-  */
-  if (!(item= var->item(thd, var_type, &component)))
-    DBUG_RETURN(1);                             // Impossible
-  item->set_name(name, 0, system_charset_info); // don't allocate a new name
-  thd->change_item_tree(ref, item);
 
-  DBUG_RETURN(0);
+void Item_func_get_system_var::print(String *str, enum_query_type query_type)
+{
+  str->append(name, name_length);
 }
 
 
-bool Item_func_get_system_var::is_written_to_binlog()
+enum Item_result Item_func_get_system_var::result_type() const
 {
-  return var->is_written_to_binlog(var_type);
+  switch (var->show_type())
+  {
+    case SHOW_MY_BOOL:
+    case SHOW_INT:
+    case SHOW_LONG:
+    case SHOW_LONGLONG:
+    case SHOW_HA_ROWS:
+      return INT_RESULT;
+    case SHOW_CHAR: 
+    case SHOW_CHAR_PTR: 
+      return STRING_RESULT;
+    case SHOW_DOUBLE:
+      return REAL_RESULT;
+    default:
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name);
+      return STRING_RESULT;                   // keep the compiler happy
+  }
+}
+
+
+enum_field_types Item_func_get_system_var::field_type() const
+{
+  switch (var->show_type())
+  {
+    case SHOW_MY_BOOL:
+    case SHOW_INT:
+    case SHOW_LONG:
+    case SHOW_LONGLONG:
+    case SHOW_HA_ROWS:
+      return MYSQL_TYPE_LONGLONG;
+    case SHOW_CHAR: 
+    case SHOW_CHAR_PTR: 
+      return MYSQL_TYPE_VARCHAR;
+    case SHOW_DOUBLE:
+      return MYSQL_TYPE_DOUBLE;
+    default:
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name);
+      return MYSQL_TYPE_VARCHAR;              // keep the compiler happy
+  }
+}
+
+
+#define get_sys_var_safe(type) \
+do { \
+  type value; \
+  pthread_mutex_lock(&LOCK_global_system_variables); \
+  value= *(type*) var->value_ptr(thd, var_type, &component); \
+  pthread_mutex_unlock(&LOCK_global_system_variables); \
+  cache_present |= GET_SYS_VAR_CACHE_LONG; \
+  used_query_id= thd->query_id; \
+  cached_llval= null_value ? 0 : (longlong) value; \
+  cached_null_value= null_value; \
+  return cached_llval; \
+} while (0)
+
+
+longlong Item_func_get_system_var::val_int()
+{
+  THD *thd= current_thd;
+
+  if (cache_present && thd->query_id == used_query_id)
+  {
+    if (cache_present & GET_SYS_VAR_CACHE_LONG)
+    {
+      null_value= cached_null_value;
+      return cached_llval;
+    } 
+    else if (cache_present & GET_SYS_VAR_CACHE_DOUBLE)
+    {
+      null_value= cached_null_value;
+      cached_llval= (longlong) cached_dval;
+      cache_present|= GET_SYS_VAR_CACHE_LONG;
+      return cached_llval;
+    }
+    else if (cache_present & GET_SYS_VAR_CACHE_STRING)
+    {
+      null_value= cached_null_value;
+      if (!null_value)
+        cached_llval= longlong_from_string_with_check (cached_strval.charset(),
+                                                       cached_strval.c_ptr(),
+                                                       cached_strval.c_ptr() +
+                                                       cached_strval.length());
+      else
+        cached_llval= 0;
+      cache_present|= GET_SYS_VAR_CACHE_LONG;
+      return cached_llval;
+    }
+  }
+
+  switch (var->show_type())
+  {
+    case SHOW_INT:      get_sys_var_safe (uint);
+    case SHOW_LONG:     get_sys_var_safe (ulong);
+    case SHOW_LONGLONG: get_sys_var_safe (longlong);
+    case SHOW_HA_ROWS:  get_sys_var_safe (ha_rows);
+    case SHOW_MY_BOOL:  get_sys_var_safe (my_bool);
+    case SHOW_DOUBLE:
+      {
+        double dval= val_real();
+
+        used_query_id= thd->query_id;
+        cached_llval= (longlong) dval;
+        cache_present|= GET_SYS_VAR_CACHE_LONG;
+        return cached_llval;
+      }
+    case SHOW_CHAR:
+    case SHOW_CHAR_PTR:
+      {
+        String *str_val= val_str(NULL);
+
+        if (str_val && str_val->length())
+          cached_llval= longlong_from_string_with_check (system_charset_info,
+                                                          str_val->c_ptr(), 
+                                                          str_val->c_ptr() + 
+                                                          str_val->length());
+        else
+        {
+          null_value= TRUE;
+          cached_llval= 0;
+        }
+
+        cache_present|= GET_SYS_VAR_CACHE_LONG;
+        return cached_llval;
+      }
+
+    default:            
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name); 
+      return 0;                               // keep the compiler happy
+  }
+}
+
+
+String* Item_func_get_system_var::val_str(String* str)
+{
+  THD *thd= current_thd;
+
+  if (cache_present && thd->query_id == used_query_id)
+  {
+    if (cache_present & GET_SYS_VAR_CACHE_STRING)
+    {
+      null_value= cached_null_value;
+      return null_value ? NULL : &cached_strval;
+    }
+    else if (cache_present & GET_SYS_VAR_CACHE_LONG)
+    {
+      null_value= cached_null_value;
+      if (!null_value)
+        cached_strval.set (cached_llval, collation.collation);
+      cache_present|= GET_SYS_VAR_CACHE_STRING;
+      return null_value ? NULL : &cached_strval;
+    }
+    else if (cache_present & GET_SYS_VAR_CACHE_DOUBLE)
+    {
+      null_value= cached_null_value;
+      if (!null_value)
+        cached_strval.set_real (cached_dval, decimals, collation.collation);
+      cache_present|= GET_SYS_VAR_CACHE_STRING;
+      return null_value ? NULL : &cached_strval;
+    }
+  }
+
+  str= &cached_strval;
+  switch (var->show_type())
+  {
+    case SHOW_CHAR:
+    case SHOW_CHAR_PTR:
+    {
+      pthread_mutex_lock(&LOCK_global_system_variables);
+      char *cptr= var->show_type() == SHOW_CHAR_PTR ? 
+        *(char**) var->value_ptr(thd, var_type, &component) :
+        (char*) var->value_ptr(thd, var_type, &component);
+      if (cptr)
+      {
+        if (str->copy(cptr, strlen(cptr), collation.collation))
+        {
+          null_value= TRUE;
+          str= NULL;
+        }
+      }
+      else
+      {
+        null_value= TRUE;
+        str= NULL;
+      }
+      pthread_mutex_unlock(&LOCK_global_system_variables);
+      break;
+    }
+
+    case SHOW_INT:
+    case SHOW_LONG:
+    case SHOW_LONGLONG:
+    case SHOW_HA_ROWS:
+    case SHOW_MY_BOOL:
+      str->set (val_int(), collation.collation);
+      break;
+    case SHOW_DOUBLE:
+      str->set_real (val_real(), decimals, collation.collation);
+      break;
+
+    default:
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name);
+      str= NULL;
+      break;
+  }
+
+  cache_present|= GET_SYS_VAR_CACHE_STRING;
+  used_query_id= thd->query_id;
+  cached_null_value= null_value;
+  return str;
+}
+
+
+double Item_func_get_system_var::val_real()
+{
+  THD *thd= current_thd;
+
+  if (cache_present && thd->query_id == used_query_id)
+  {
+    if (cache_present & GET_SYS_VAR_CACHE_DOUBLE)
+    {
+      null_value= cached_null_value;
+      return cached_dval;
+    }
+    else if (cache_present & GET_SYS_VAR_CACHE_LONG)
+    {
+      null_value= cached_null_value;
+      cached_dval= (double)cached_llval;
+      cache_present|= GET_SYS_VAR_CACHE_DOUBLE;
+      return cached_dval;
+    }
+    else if (cache_present & GET_SYS_VAR_CACHE_STRING)
+    {
+      null_value= cached_null_value;
+      if (!null_value)
+        cached_dval= double_from_string_with_check (cached_strval.charset(),
+                                                    cached_strval.c_ptr(),
+                                                    cached_strval.c_ptr() +
+                                                    cached_strval.length());
+      else
+        cached_dval= 0;
+      cache_present|= GET_SYS_VAR_CACHE_DOUBLE;
+      return cached_dval;
+    }
+  }
+
+  switch (var->show_type())
+  {
+    case SHOW_DOUBLE:
+      pthread_mutex_lock(&LOCK_global_system_variables);
+      cached_dval= *(double*) var->value_ptr(thd, var_type, &component);
+      pthread_mutex_unlock(&LOCK_global_system_variables);
+      used_query_id= thd->query_id;
+      cached_null_value= null_value;
+      if (null_value)
+        cached_dval= 0;
+      cache_present|= GET_SYS_VAR_CACHE_DOUBLE;
+      return cached_dval;
+    case SHOW_CHAR:
+    case SHOW_CHAR_PTR:
+      {
+        char *cptr;
+
+        pthread_mutex_lock(&LOCK_global_system_variables);
+        cptr= var->show_type() == SHOW_CHAR ? 
+          (char*) var->value_ptr(thd, var_type, &component) :
+          *(char**) var->value_ptr(thd, var_type, &component);
+        if (cptr)
+          cached_dval= double_from_string_with_check (system_charset_info, 
+                                                cptr, cptr + strlen (cptr));
+        else
+        {
+          null_value= TRUE;
+          cached_dval= 0;
+        }
+        pthread_mutex_unlock(&LOCK_global_system_variables);
+        used_query_id= thd->query_id;
+        cached_null_value= null_value;
+        cache_present|= GET_SYS_VAR_CACHE_DOUBLE;
+        return cached_dval;
+      }
+    case SHOW_INT:
+    case SHOW_LONG:
+    case SHOW_LONGLONG:
+    case SHOW_HA_ROWS:
+    case SHOW_MY_BOOL:
+        cached_dval= (double) val_int();
+        cache_present|= GET_SYS_VAR_CACHE_DOUBLE;
+        used_query_id= thd->query_id;
+        cached_null_value= null_value;
+        return cached_dval;
+    default:
+      my_error(ER_VAR_CANT_BE_READ, MYF(0), var->name);
+      return 0;
+  }
+}
+
+
+bool Item_func_get_system_var::eq(const Item *item, bool binary_cmp) const
+{
+  /* Assume we don't have rtti */
+  if (this == item)
+    return 1;					// Same item is same.
+  /* Check if other type is also a get_user_var() object */
+  if (item->type() != FUNC_ITEM ||
+      ((Item_func*) item)->functype() != functype())
+    return 0;
+  Item_func_get_system_var *other=(Item_func_get_system_var*) item;
+  return (var == other->var && var_type == other->var_type);
+}
+
+
+void Item_func_get_system_var::cleanup()
+{
+  Item_func::cleanup();
+  cache_present= 0;
+  var_type= orig_var_type;
+  cached_strval.free();
 }
 
 
diff --git a/sql/item_func.h b/sql/item_func.h
index d84abdb6e56c43fbe387c1f4a8f7ca16c8fa8595..08906ae826e56f74008c17ea7a1e8ff16a3f3074 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -55,7 +55,7 @@ class Item_func :public Item_result_field
                   NOW_FUNC, TRIG_COND_FUNC,
                   SUSERVAR_FUNC, GUSERVAR_FUNC, COLLATE_FUNC,
                   EXTRACT_FUNC, CHAR_TYPECAST_FUNC, FUNC_SP, UDF_FUNC,
-                  NEG_FUNC };
+                  NEG_FUNC, GSYSVAR_FUNC };
   enum optimize_type { OPTIMIZE_NONE,OPTIMIZE_KEY,OPTIMIZE_OP, OPTIMIZE_NULL,
                        OPTIMIZE_EQUAL };
   enum Type type() const { return FUNC_ITEM; }
@@ -1426,24 +1426,36 @@ class Item_user_var_as_out_param :public Item
 
 /* A system variable */
 
+#define GET_SYS_VAR_CACHE_LONG     1
+#define GET_SYS_VAR_CACHE_DOUBLE   2
+#define GET_SYS_VAR_CACHE_STRING   4
+
 class Item_func_get_system_var :public Item_func
 {
   sys_var *var;
-  enum_var_type var_type;
+  enum_var_type var_type, orig_var_type;
   LEX_STRING component;
+  longlong cached_llval;
+  double cached_dval;
+  String cached_strval;
+  my_bool cached_null_value;
+  query_id_t used_query_id;
+  uchar cache_present;
+
 public:
   Item_func_get_system_var(sys_var *var_arg, enum_var_type var_type_arg,
                            LEX_STRING *component_arg, const char *name_arg,
                            size_t name_len_arg);
-  bool fix_fields(THD *thd, Item **ref);
-  /*
-    Stubs for pure virtual methods. Should never be called: this
-    item is always substituted with a constant in fix_fields().
-  */
-  double val_real()         { DBUG_ASSERT(0); return 0.0; }
-  longlong val_int()        { DBUG_ASSERT(0); return 0; }
-  String* val_str(String*)  { DBUG_ASSERT(0); return 0; }
-  void fix_length_and_dec() { DBUG_ASSERT(0); }
+  enum Functype functype() const { return GSYSVAR_FUNC; }
+  void fix_length_and_dec();
+  void print(String *str, enum_query_type query_type);
+  bool const_item() const { return true; }
+  table_map used_tables() const { return 0; }
+  enum Item_result result_type() const;
+  enum_field_types field_type() const;
+  double val_real();
+  longlong val_int();
+  String* val_str(String*);
   /* TODO: fix to support views */
   const char *func_name() const { return "get_system_var"; }
   /**
@@ -1455,6 +1467,9 @@ class Item_func_get_system_var :public Item_func
     @return true if the variable is written to the binlog, false otherwise.
   */
   bool is_written_to_binlog();
+  bool eq(const Item *item, bool binary_cmp) const;
+
+  void cleanup();
 };
 
 
diff --git a/sql/item_sum.cc b/sql/item_sum.cc
index 96f0b6a142d7094e14b3014cd3bbb6aa95b0b094..c2b3b954634b46f0c2562f88d2b3fcd2bf916cec 100644
--- a/sql/item_sum.cc
+++ b/sql/item_sum.cc
@@ -369,6 +369,10 @@ Item_sum::Item_sum(List<Item> &list) :arg_count(list.elements),
       args[i++]= item;
     }
   }
+  if (!(orig_args= (Item **) sql_alloc(sizeof(Item *) * arg_count)))
+  {
+    args= NULL;
+  }
   mark_as_sum_func();
   list.empty();					// Fields are used
 }
@@ -379,18 +383,28 @@ Item_sum::Item_sum(List<Item> &list) :arg_count(list.elements),
 */
 
 Item_sum::Item_sum(THD *thd, Item_sum *item):
-  Item_result_field(thd, item), arg_count(item->arg_count),
+  Item_result_field(thd, item),
   aggr_sel(item->aggr_sel),
   nest_level(item->nest_level), aggr_level(item->aggr_level),
-  quick_group(item->quick_group), used_tables_cache(item->used_tables_cache),
+  quick_group(item->quick_group),
+  arg_count(item->arg_count), orig_args(NULL),
+  used_tables_cache(item->used_tables_cache),
   forced_const(item->forced_const) 
 {
   if (arg_count <= 2)
+  {
     args=tmp_args;
+    orig_args=tmp_orig_args;
+  }
   else
+  {
     if (!(args= (Item**) thd->alloc(sizeof(Item*)*arg_count)))
       return;
+    if (!(orig_args= (Item**) thd->alloc(sizeof(Item*)*arg_count)))
+      return;
+  }
   memcpy(args, item->args, sizeof(Item*)*arg_count);
+  memcpy(orig_args, item->orig_args, sizeof(Item*)*arg_count);
 }
 
 
@@ -425,12 +439,13 @@ void Item_sum::make_field(Send_field *tmp_field)
 
 void Item_sum::print(String *str, enum_query_type query_type)
 {
+  Item **pargs= orig_args;
   str->append(func_name());
   for (uint i=0 ; i < arg_count ; i++)
   {
     if (i)
       str->append(',');
-    args[i]->print(str, query_type);
+    pargs[i]->print(str, query_type);
   }
   str->append(')');
 }
@@ -535,6 +550,13 @@ void Item_sum::update_used_tables ()
 }
 
 
+Item *Item_sum::set_arg(int i, THD *thd, Item *new_val) 
+{
+  thd->change_item_tree(args + i, new_val);
+  return new_val;
+}
+
+
 String *
 Item_sum_num::val_str(String *str)
 {
@@ -586,6 +608,7 @@ Item_sum_num::fix_fields(THD *thd, Item **ref)
   if (check_sum_func(thd, ref))
     return TRUE;
 
+  memcpy (orig_args, args, sizeof (Item *) * arg_count);
   fixed= 1;
   return FALSE;
 }
@@ -673,6 +696,7 @@ Item_sum_hybrid::fix_fields(THD *thd, Item **ref)
   if (check_sum_func(thd, ref))
     return TRUE;
 
+  orig_args[0]= args[0];
   fixed= 1;
   return FALSE;
 }
@@ -3141,6 +3165,12 @@ Item_func_group_concat(Name_resolution_context *context_arg,
                                  sizeof(ORDER*)*arg_count_order)))
     return;
 
+  if (!(orig_args= (Item **) sql_alloc(sizeof(Item *) * arg_count)))
+  {
+    args= NULL;
+    return;
+  }
+
   order= (ORDER**)(args + arg_count);
 
   /* fill args items of show and sort */
@@ -3368,6 +3398,7 @@ Item_func_group_concat::fix_fields(THD *thd, Item **ref)
   if (check_sum_func(thd, ref))
     return TRUE;
 
+  memcpy (orig_args, args, sizeof (Item *) * arg_count);
   fixed= 1;
   return FALSE;
 }
diff --git a/sql/item_sum.h b/sql/item_sum.h
index bee8792fbfa156d831a4c55dcf53c38f3de5e798..d991327d847f114a18d09863f28558cb6718639c 100644
--- a/sql/item_sum.h
+++ b/sql/item_sum.h
@@ -228,10 +228,8 @@ class Item_sum :public Item_result_field
     VARIANCE_FUNC, SUM_BIT_FUNC, UDF_SUM_FUNC, GROUP_CONCAT_FUNC
   };
 
-  Item **args, *tmp_args[2];
   Item **ref_by; /* pointer to a ref to the object used to register it */
   Item_sum *next; /* next in the circular chain of registered objects  */
-  uint arg_count;
   Item_sum *in_sum_func;  /* embedding set function if any */ 
   st_select_lex * aggr_sel; /* select where the function is aggregated       */ 
   int8 nest_level;        /* number of the nesting level of the set function */
@@ -248,24 +246,32 @@ class Item_sum :public Item_result_field
   List<Item_field> outer_fields;
 
 protected:  
+  uint arg_count;
+  Item **args, *tmp_args[2];
+  /* 
+    Copy of the arguments list to hold the original set of arguments.
+    Used in EXPLAIN EXTENDED instead of the current argument list because 
+    the current argument list can be altered by usage of temporary tables.
+  */
+  Item **orig_args, *tmp_orig_args[2];
   table_map used_tables_cache;
   bool forced_const;
 
 public:  
 
   void mark_as_sum_func();
-  Item_sum() :arg_count(0), quick_group(1), forced_const(FALSE)
+  Item_sum() :quick_group(1), arg_count(0), forced_const(FALSE)
   {
     mark_as_sum_func();
   }
-  Item_sum(Item *a) :args(tmp_args), arg_count(1), quick_group(1), 
-    forced_const(FALSE)
+  Item_sum(Item *a) :quick_group(1), arg_count(1), args(tmp_args),
+    orig_args(tmp_orig_args), forced_const(FALSE)
   {
     args[0]=a;
     mark_as_sum_func();
   }
-  Item_sum( Item *a, Item *b ) :args(tmp_args), arg_count(2), quick_group(1),
-    forced_const(FALSE)
+  Item_sum( Item *a, Item *b ) :quick_group(1), arg_count(2), args(tmp_args),
+    orig_args(tmp_orig_args), forced_const(FALSE)
   {
     args[0]=a; args[1]=b;
     mark_as_sum_func();
@@ -374,6 +380,10 @@ class Item_sum :public Item_result_field
   bool register_sum_func(THD *thd, Item **ref);
   st_select_lex *depended_from() 
     { return (nest_level == aggr_level ? 0 : aggr_sel); }
+
+  Item *get_arg(int i) { return args[i]; }
+  Item *set_arg(int i, THD *thd, Item *new_val);
+  uint get_arg_count() { return arg_count; }
 };
 
 
@@ -981,6 +991,7 @@ class Item_udf_sum : public Item_sum
     if (udf.fix_fields(thd, this, this->arg_count, this->args))
       return TRUE;
 
+    memcpy (orig_args, args, sizeof (Item *) * arg_count);
     return check_sum_func(thd, ref);
   }
   enum Sumfunctype sum_func () const { return UDF_SUM_FUNC; }
diff --git a/sql/log.cc b/sql/log.cc
index 7401737b6e4f5e7ede273d46f8278bc6483c8273..fb8669a5731a174e01773b85149669f458ccc655 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -1377,6 +1377,8 @@ binlog_end_trans(THD *thd, binlog_trx_data *trx_data,
                       FLAGSTR(thd->options, OPTION_NOT_AUTOCOMMIT),
                       FLAGSTR(thd->options, OPTION_BEGIN)));
 
+  thd->binlog_flush_pending_rows_event(TRUE);
+
   /*
     NULL denotes ROLLBACK with nothing to replicate: i.e., rollback of
     only transactional tables.  If the transaction contain changes to
@@ -1395,8 +1397,6 @@ binlog_end_trans(THD *thd, binlog_trx_data *trx_data,
       were, we would have to ensure that we're not ending a statement
       inside a stored function.
      */
-    thd->binlog_flush_pending_rows_event(TRUE);
-
     error= mysql_bin_log.write(thd, &trx_data->trans_log, end_ev);
     trx_data->reset();
 
@@ -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 fe9eba81f801e667e50dc682ea1b574da5cc0e67..f91ebf3823fb5a272a23382ed2bbb0bd989bfd9e 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/mysql_priv.h b/sql/mysql_priv.h
index f2b2806ea600770abe74ae55ca98ea6a418a771d..d11f2838e3a00594226b672010b9cbb85ab27891 100644
--- a/sql/mysql_priv.h
+++ b/sql/mysql_priv.h
@@ -803,6 +803,7 @@ bool check_string_byte_length(LEX_STRING *str, const char *err_msg,
 bool check_string_char_length(LEX_STRING *str, const char *err_msg,
                               uint max_char_length, CHARSET_INFO *cs,
                               bool no_error);
+bool check_host_name(LEX_STRING *str);
 
 bool parse_sql(THD *thd,
                Parser_state *parser_state,
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index b04d4e3cecd48bbdbaf4bfc416eb1760715f83f8..abb778394e63554a588728e33ef431a039640931 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -2800,11 +2800,25 @@ int my_message_sql(uint error, const char *str, myf MyFlags)
   THD *thd;
   DBUG_ENTER("my_message_sql");
   DBUG_PRINT("error", ("error: %u  message: '%s'", error, str));
+
+  DBUG_ASSERT(str != NULL);
   /*
-    Put here following assertion when situation with EE_* error codes
-    will be fixed
+    An error should have a valid error number (!= 0), so it can be caught
+    in stored procedures by SQL exception handlers.
+    Calling my_error() with error == 0 is a bug.
+    Remaining known places to fix:
+    - storage/myisam/mi_create.c, my_printf_error()
+    TODO:
     DBUG_ASSERT(error != 0);
   */
+
+  if (error == 0)
+  {
+    /* At least, prevent new abuse ... */
+    DBUG_ASSERT(strncmp(str, "MyISAM table", 12) == 0);
+    error= ER_UNKNOWN_ERROR;
+  }
+
   if ((thd= current_thd))
   {
     /*
@@ -2835,10 +2849,6 @@ int my_message_sql(uint error, const char *str, myf MyFlags)
     {
       if (! thd->main_da.is_error())            // Return only first message
       {
-        if (error == 0)
-          error= ER_UNKNOWN_ERROR;
-        if (str == NULL)
-          str= ER(error);
         thd->main_da.set_error_status(thd, error, str);
       }
       query_cache_abort(&thd->net);
@@ -3384,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");
@@ -3753,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 <=
@@ -5530,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
 };
 
 
@@ -5727,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
@@ -5763,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 "
@@ -5838,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)",
@@ -6223,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,
@@ -7535,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
@@ -7649,6 +7674,7 @@ mysqld_get_one_option(int optid,
       default_collation_name= 0;
     break;
   case 'l':
+    WARN_DEPRECATED(NULL, "7.0", "--log", "'--general_log'/'--general_log_file'");
     opt_log=1;
     break;
   case 'h':
@@ -7818,6 +7844,7 @@ 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'");
     opt_slow_log= 1;
     break;
 #ifdef WITH_CSV_STORAGE_ENGINE
@@ -7865,6 +7892,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;
@@ -8207,7 +8237,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 d2f098e710cb5ded3990984be4feb14cc68baee5..bafc368e4152f432eb5b6dbf790a8b708b703869 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -1151,7 +1151,7 @@ int QUICK_RANGE_SELECT::init()
 
   if (file->inited != handler::NONE)
     file->ha_index_or_rnd_end();
-  DBUG_RETURN(error= file->ha_index_init(index, 1));
+  DBUG_RETURN(FALSE);
 }
 
 
@@ -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)
         {
@@ -9198,7 +9200,7 @@ get_best_group_min_max(PARAM *param, SEL_TREE *tree)
         DBUG_RETURN(NULL);
 
       /* The argument of MIN/MAX. */
-      Item *expr= min_max_item->args[0]->real_item();    
+      Item *expr= min_max_item->get_arg(0)->real_item();
       if (expr->type() == Item::FIELD_ITEM) /* Is it an attribute? */
       {
         if (! min_max_arg_item)
diff --git a/sql/opt_sum.cc b/sql/opt_sum.cc
index 42d367568458a2cacb14272b42189ac7c077af2f..3ccc1e5cf41089d0d338f9660fde277253a7b21d 100644
--- a/sql/opt_sum.cc
+++ b/sql/opt_sum.cc
@@ -199,7 +199,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
           to the number of rows in the tables if this number is exact and
           there are no outer joins.
         */
-        if (!conds && !((Item_sum_count*) item)->args[0]->maybe_null &&
+        if (!conds && !((Item_sum_count*) item)->get_arg(0)->maybe_null &&
             !outer_tables && maybe_exact_count)
         {
           if (!is_exact_count)
@@ -225,7 +225,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
           parts of the key is found in the COND, then we can use
           indexes to find the key.
         */
-        Item *expr=item_sum->args[0];
+        Item *expr=item_sum->get_arg(0);
         if (expr->real_item()->type() == Item::FIELD_ITEM)
         {
           uchar key_buff[MAX_KEY_LENGTH];
@@ -373,7 +373,7 @@ int opt_sum_query(TABLE_LIST *tables, List<Item> &all_fields,COND *conds)
           parts of the key is found in the COND, then we can use
           indexes to find the key.
         */
-        Item *expr=item_sum->args[0];
+        Item *expr=item_sum->get_arg(0);
         if (expr->real_item()->type() == Item::FIELD_ITEM)
         {
           uchar key_buff[MAX_KEY_LENGTH];
diff --git a/sql/partition_info.cc b/sql/partition_info.cc
index 8feac884c775f6a67ca70f5b5b155b1de8f907f4..02f2c9b0ab1533daacd00a76287fad3cfd260c2a 100644
--- a/sql/partition_info.cc
+++ b/sql/partition_info.cc
@@ -956,11 +956,13 @@ bool partition_info::check_partition_info(THD *thd, handlerton **eng_type,
 #endif
       {
         if (part_elem->data_file_name)
-          push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                       "DATA DIRECTORY option ignored");
+          push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                              WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                              "DATA DIRECTORY");
         if (part_elem->index_file_name)
-          push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                       "INDEX DIRECTORY option ignored");
+          push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                              WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                              "INDEX DIRECTORY");
         part_elem->data_file_name= part_elem->index_file_name= NULL;
       }
       if (!is_sub_partitioned())
diff --git a/sql/partition_info.h b/sql/partition_info.h
index 2af7fa1717cfb0396471fd59fd6748fbf506198c..703b92305b12e426658d96820ed1712ed9b35531 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 4259c3a6aafa61f36641e4f1901d79282fe1b94b..3e15cce2cea5ef067ad59c0e920932255b0a9e7f 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -1734,119 +1734,6 @@ bool sys_var::check_set(THD *thd, set_var *var, TYPELIB *enum_names)
 }
 
 
-/**
-  Return an Item for a variable.
-
-  Used with @@[global.]variable_name.
-
-  If type is not given, return local value if exists, else global.
-*/
-
-Item *sys_var::item(THD *thd, enum_var_type var_type, LEX_STRING *base)
-{
-  if (check_type(var_type))
-  {
-    if (var_type != OPT_DEFAULT)
-    {
-      my_error(ER_INCORRECT_GLOBAL_LOCAL_VAR, MYF(0),
-               name, var_type == OPT_GLOBAL ? "SESSION" : "GLOBAL");
-      return 0;
-    }
-    /* As there was no local variable, return the global value */
-    var_type= OPT_GLOBAL;
-  }
-  switch (show_type()) {
-  case SHOW_INT:
-  {
-    uint value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(uint*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return new Item_uint((ulonglong) value);
-  }
-  case SHOW_LONG:
-  {
-    ulong value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(ulong*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return new Item_uint((ulonglong) value);
-  }
-  case SHOW_LONGLONG:
-  {
-    longlong value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(longlong*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return new Item_int(value);
-  }
-  case SHOW_DOUBLE:
-  {
-    double value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(double*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    /* 6, as this is for now only used with microseconds */
-    return new Item_float(value, 6);
-  }
-  case SHOW_HA_ROWS:
-  {
-    ha_rows value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(ha_rows*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return new Item_int((ulonglong) value);
-  }
-  case SHOW_MY_BOOL:
-  {
-    int32 value;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    value= *(my_bool*) value_ptr(thd, var_type, base);
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return new Item_int(value,1);
-  }
-  case SHOW_CHAR_PTR:
-  {
-    Item *tmp;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    char *str= *(char**) value_ptr(thd, var_type, base);
-    if (str)
-    {
-      uint length= strlen(str);
-      tmp= new Item_string(thd->strmake(str, length), length,
-                           system_charset_info, DERIVATION_SYSCONST);
-    }
-    else
-    {
-      tmp= new Item_null();
-      tmp->collation.set(system_charset_info, DERIVATION_SYSCONST);
-    }
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return tmp;
-  }
-  case SHOW_CHAR:
-  {
-    Item *tmp;
-    pthread_mutex_lock(&LOCK_global_system_variables);
-    char *str= (char*) value_ptr(thd, var_type, base);
-    if (str)
-      tmp= new Item_string(str, strlen(str),
-                           system_charset_info, DERIVATION_SYSCONST);
-    else
-    {
-      tmp= new Item_null();
-      tmp->collation.set(system_charset_info, DERIVATION_SYSCONST);
-    }
-    pthread_mutex_unlock(&LOCK_global_system_variables);
-    return tmp;
-  }
-  default:
-    my_error(ER_VAR_CANT_BE_READ, MYF(0), name);
-  }
-  return 0;
-}
-
-
 bool sys_var_thd_enum::update(THD *thd, set_var *var)
 {
   if (var->type == OPT_GLOBAL)
@@ -2391,6 +2278,12 @@ bool sys_var_key_cache_long::update(THD *thd, set_var *var)
 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 +2298,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 +3609,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 +3871,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/set_var.h b/sql/set_var.h
index 8ae97c6502d45c9ecd7f78d28aadbd81c97cd70d..9681c955a9869aaf461c26485d45a24e736c4e36 100644
--- a/sql/set_var.h
+++ b/sql/set_var.h
@@ -105,7 +105,6 @@ class sys_var
   { return type != INT_RESULT; }		/* Assume INT */
   virtual bool check_default(enum_var_type type)
   { return option_limits == 0; }
-  Item *item(THD *thd, enum_var_type type, LEX_STRING *base);
   virtual bool is_struct() { return 0; }
   virtual bool is_readonly() const { return 0; }
   virtual sys_var_pluginvar *cast_pluginvar() { return 0; }
diff --git a/sql/share/errmsg.txt b/sql/share/errmsg.txt
index 84eb5f5ba6494b545f1f58e79c48545d74a61432..1b2785230191c33d43fd66c39584b696557507c7 100644
--- a/sql/share/errmsg.txt
+++ b/sql/share/errmsg.txt
@@ -6133,3 +6133,15 @@ ER_NEED_REPREPARE
 
 ER_DELAYED_NOT_SUPPORTED  
   eng "DELAYED option not supported for table '%-.192s'"
+
+WARN_NO_MASTER_INFO  
+  eng "The master info structure does not exist"
+
+WARN_OPTION_IGNORED
+  eng "<%-.64s> option ignored"
+
+WARN_PLUGIN_DELETE_BUILTIN
+  eng "Built-in plugins cannot be deleted"
+
+WARN_PLUGIN_BUSY
+  eng "Plugin is busy and will be uninstalled on shutdown"
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index cf6610dfa110541449057651f228dd4e6640f6cf..534cd0a7ca12a768b5f2002f8d941aeff1690520 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;
@@ -1946,8 +1949,8 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
       thd->rollback_item_tree_changes();
     }
 
-    DBUG_PRINT("info",(" %.*s: eval args done",
-                       (int) m_name.length, m_name.str));
+    DBUG_PRINT("info",(" %.*s: eval args done", (int) m_name.length, 
+                       m_name.str));
   }
   if (!(m_flags & LOG_SLOW_STATEMENTS) && thd->enable_slow_log)
   {
diff --git a/sql/sql_base.cc b/sql/sql_base.cc
index 49efc72ba68cea2466079624b3dd6e9305b90a89..658acadf2265a169726f59da8479e0fca1c559ec 100644
--- a/sql/sql_base.cc
+++ b/sql/sql_base.cc
@@ -489,12 +489,20 @@ static TABLE_SHARE
       "no such table" errors.
       @todo Rework the alternative ways to deal with ER_NO_SUCH TABLE.
     */
-    if (thd->is_error() && table_list->belong_to_view)
+    if (thd->is_error())
     {
-      TABLE_LIST *view= table_list->belong_to_view;
-      thd->clear_error();
-      my_error(ER_VIEW_INVALID, MYF(0),
-               view->view_db.str, view->view_name.str);
+      if (table_list->parent_l)
+      {
+        thd->clear_error();
+        my_error(ER_WRONG_MRG_TABLE, MYF(0));
+      }
+      else if (table_list->belong_to_view)
+      {
+        TABLE_LIST *view= table_list->belong_to_view;
+        thd->clear_error();
+        my_error(ER_VIEW_INVALID, MYF(0),
+                 view->view_db.str, view->view_name.str);
+      }
     }
     DBUG_RETURN(0);
   }
@@ -3720,6 +3728,20 @@ void assign_new_table_id(TABLE_SHARE *share)
   DBUG_VOID_RETURN;
 }
 
+#ifndef DBUG_OFF
+/* Cause a spurious statement reprepare for debug purposes. */
+static bool inject_reprepare(THD *thd)
+{
+  if (thd->m_reprepare_observer && thd->stmt_arena->is_reprepared == FALSE)
+  {
+    thd->m_reprepare_observer->report_error(thd);
+    return TRUE;
+  }
+
+  return FALSE;
+}
+#endif
+
 /**
   Compare metadata versions of an element obtained from the table
   definition cache and its corresponding node in the parse tree.
@@ -3773,15 +3795,7 @@ check_and_update_table_version(THD *thd,
     tables->set_table_ref_id(table_share);
   }
 
-#ifndef DBUG_OFF
-  /* Spuriously reprepare each statement. */
-  if (_db_strict_keyword_("reprepare_each_statement") &&
-      thd->m_reprepare_observer && thd->stmt_arena->is_reprepared == FALSE)
-  {
-    thd->m_reprepare_observer->report_error(thd);
-    return TRUE;
-  }
-#endif
+  DBUG_EXECUTE_IF("reprepare_each_statement", return inject_reprepare(thd););
 
   return FALSE;
 }
@@ -5745,8 +5759,21 @@ find_field_in_natural_join(THD *thd, TABLE_LIST *table_ref, const char *name,
   {
     /* This is a base table. */
     DBUG_ASSERT(nj_col->view_field == NULL);
-    DBUG_ASSERT(nj_col->table_ref->table == nj_col->table_field->table);
-    found_field= nj_col->table_field;
+    /*
+      This fix_fields is not necessary (initially this item is fixed by
+      the Item_field constructor; after reopen_tables the Item_func_eq
+      calls fix_fields on that item), it's just a check during table
+      reopening for columns that was dropped by the concurrent connection.
+    */
+    if (!nj_col->table_field->fixed &&
+        nj_col->table_field->fix_fields(thd, (Item **)&nj_col->table_field))
+    {
+      DBUG_PRINT("info", ("column '%s' was dropped by the concurrent connection",
+                          nj_col->table_field->name));
+      DBUG_RETURN(NULL);
+    }
+    DBUG_ASSERT(nj_col->table_ref->table == nj_col->table_field->field->table);
+    found_field= nj_col->table_field->field;
     update_field_dependencies(thd, found_field, nj_col->table_ref->table);
   }
 
@@ -6671,7 +6698,7 @@ mark_common_columns(THD *thd, TABLE_LIST *table_ref_1, TABLE_LIST *table_ref_2,
     const char *field_name_1;
     /* true if field_name_1 is a member of using_fields */
     bool is_using_column_1;
-    if (!(nj_col_1= it_1.get_or_create_column_ref(leaf_1)))
+    if (!(nj_col_1= it_1.get_or_create_column_ref(thd, leaf_1)))
       goto err;
     field_name_1= nj_col_1->name();
     is_using_column_1= using_fields && 
@@ -6692,7 +6719,7 @@ mark_common_columns(THD *thd, TABLE_LIST *table_ref_1, TABLE_LIST *table_ref_2,
     {
       Natural_join_column *cur_nj_col_2;
       const char *cur_field_name_2;
-      if (!(cur_nj_col_2= it_2.get_or_create_column_ref(leaf_2)))
+      if (!(cur_nj_col_2= it_2.get_or_create_column_ref(thd, leaf_2)))
         goto err;
       cur_field_name_2= cur_nj_col_2->name();
       DBUG_PRINT ("info", ("cur_field_name_2=%s.%s", 
@@ -7182,15 +7209,24 @@ static bool setup_natural_join_row_types(THD *thd,
   TABLE_LIST *left_neighbor;
   /* Table reference to the right of the current. */
   TABLE_LIST *right_neighbor= NULL;
+  bool save_first_natural_join_processing=
+    context->select_lex->first_natural_join_processing;
+
+  context->select_lex->first_natural_join_processing= FALSE;
 
   /* Note that tables in the list are in reversed order */
   for (left_neighbor= table_ref_it++; left_neighbor ; )
   {
     table_ref= left_neighbor;
     left_neighbor= table_ref_it++;
-    /* For stored procedures do not redo work if already done. */
-    if (context->select_lex->first_execution)
+    /* 
+      Do not redo work if already done:
+      1) for stored procedures,
+      2) for multitable update after lock failure and table reopening.
+    */
+    if (save_first_natural_join_processing)
     {
+      context->select_lex->first_natural_join_processing= FALSE;
       if (store_top_level_join_columns(thd, table_ref,
                                        left_neighbor, right_neighbor))
         return TRUE;
diff --git a/sql/sql_class.cc b/sql/sql_class.cc
index 68972c9cf97297927546dc8e4ad44836cdb05aa1..e63eed2d23c45a9be269127a672659456a00d190 100644
--- a/sql/sql_class.cc
+++ b/sql/sql_class.cc
@@ -3558,6 +3558,29 @@ int THD::binlog_flush_pending_rows_event(bool stmt_end)
 }
 
 
+#if !defined(DBUG_OFF) && !defined(_lint)
+static const char *
+show_query_type(THD::enum_binlog_query_type qtype)
+{
+  switch (qtype) {
+  case THD::ROW_QUERY_TYPE:
+    return "ROW";
+  case THD::STMT_QUERY_TYPE:
+    return "STMT";
+  case THD::MYSQL_QUERY_TYPE:
+    return "MYSQL";
+  case THD::QUERY_TYPE_COUNT:
+  default:
+    DBUG_ASSERT(0 <= qtype && qtype < THD::QUERY_TYPE_COUNT);
+  }
+
+  static char buf[64];
+  sprintf(buf, "UNKNOWN#%d", qtype);
+  return buf;
+}
+#endif
+
+
 /*
   Member function that will log query, either row-based or
   statement-based depending on the value of the 'current_stmt_binlog_row_based'
@@ -3586,7 +3609,8 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
                       THD::killed_state killed_status_arg)
 {
   DBUG_ENTER("THD::binlog_query");
-  DBUG_PRINT("enter", ("qtype: %d  query: '%s'", qtype, query_arg));
+  DBUG_PRINT("enter", ("qtype: %s  query: '%s'",
+                       show_query_type(qtype), query_arg));
   DBUG_ASSERT(query_arg && mysql_bin_log.is_open());
 
   /*
@@ -3625,6 +3649,9 @@ int THD::binlog_query(THD::enum_binlog_query_type qtype, char const *query_arg,
 
   switch (qtype) {
   case THD::ROW_QUERY_TYPE:
+    DBUG_PRINT("debug",
+               ("current_stmt_binlog_row_based: %d",
+                current_stmt_binlog_row_based));
     if (current_stmt_binlog_row_based)
       DBUG_RETURN(0);
     /* Otherwise, we fall through */
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 60051ed02cc38c231bf321ecb304b8be5af0b30f..7696882bbcc76766ec4b59165e2d317f39fe5123 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -996,6 +996,22 @@ enum enum_thread_type
   SYSTEM_THREAD_EVENT_WORKER= 32
 };
 
+inline char const *
+show_system_thread(enum_thread_type thread)
+{
+#define RETURN_NAME_AS_STRING(NAME) case (NAME): return #NAME
+  switch (thread) {
+    RETURN_NAME_AS_STRING(NON_SYSTEM_THREAD);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_DELAYED_INSERT);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_IO);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_SLAVE_SQL);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_NDBCLUSTER_BINLOG);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_SCHEDULER);
+    RETURN_NAME_AS_STRING(SYSTEM_THREAD_EVENT_WORKER);
+  }
+#undef RETURN_NAME_AS_STRING
+  return "UNKNOWN"; /* keep gcc happy */
+}
 
 /**
   This class represents the interface for internal error handlers.
@@ -1524,6 +1540,9 @@ class THD :public Statement,
     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 */
@@ -2089,6 +2108,10 @@ class THD :public Statement,
 
       Don't reset binlog format for NDB binlog injector thread.
     */
+    DBUG_PRINT("debug",
+               ("temporary_tables: %p, in_sub_stmt: %d, system_thread: %s",
+                temporary_tables, in_sub_stmt,
+                show_system_thread(system_thread)));
     if ((temporary_tables == NULL) && (in_sub_stmt == 0) &&
         (system_thread != SYSTEM_THREAD_NDBCLUSTER_BINLOG))
     {
diff --git a/sql/sql_error.cc b/sql/sql_error.cc
index 0b74e3455eba94393c2c41517c33f7544b666999..79da1936eb90c3e9598d1e11f509166843427c83 100644
--- a/sql/sql_error.cc
+++ b/sql/sql_error.cc
@@ -109,6 +109,9 @@ MYSQL_ERROR *push_warning(THD *thd, MYSQL_ERROR::enum_warning_level level,
   DBUG_ENTER("push_warning");
   DBUG_PRINT("enter", ("code: %d, msg: %s", code, msg));
 
+  DBUG_ASSERT(code != 0);
+  DBUG_ASSERT(msg != NULL);
+
   if (level == MYSQL_ERROR::WARN_LEVEL_NOTE &&
       !(thd->options & OPTION_SQL_NOTES))
     DBUG_RETURN(0);
@@ -177,7 +180,10 @@ void push_warning_printf(THD *thd, MYSQL_ERROR::enum_warning_level level,
   char    warning[ERRMSGSIZE+20];
   DBUG_ENTER("push_warning_printf");
   DBUG_PRINT("enter",("warning: %u", code));
-  
+
+  DBUG_ASSERT(code != 0);
+  DBUG_ASSERT(format != NULL);
+
   va_start(args,format);
   my_vsnprintf(warning, sizeof(warning), format, args);
   va_end(args);
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index 268e040288e628d484650531ac49007f8a375628..b0dd0ae5f24f958e10dd13ce9248b8ae835d12b8 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -830,7 +830,6 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
       info.copied=values_list.elements;
       end_delayed_insert(thd);
     }
-    query_cache_invalidate3(thd, table_list, 1);
   }
   else
 #endif
@@ -3635,7 +3634,8 @@ select_create::binlog_show_create_table(TABLE **tables, uint count)
   tmp_table_list.table = *tables;
   query.length(0);      // Have to zero it since constructor doesn't
 
-  result= store_create_info(thd, &tmp_table_list, &query, create_info);
+  result= store_create_info(thd, &tmp_table_list, &query, create_info,
+                            /* show_database */ TRUE);
   DBUG_ASSERT(result == 0); /* store_create_info() always return 0 */
 
   if (mysql_bin_log.is_open())
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc
index 18c61910e89c75663556b7cbe84f9c9432c1f6b4..983d53a041d335c6aceaf6d92802753d010c7f04 100644
--- a/sql/sql_lex.cc
+++ b/sql/sql_lex.cc
@@ -1553,6 +1553,7 @@ void st_select_lex::init_query()
   subquery_in_having= explicit_limit= 0;
   is_item_list_lookup= 0;
   first_execution= 1;
+  first_natural_join_processing= 1;
   first_cond_optimization= 1;
   parsing_place= NO_MATTER;
   exclude_from_table_unique_test= no_wrap_view_item= FALSE;
@@ -2396,15 +2397,20 @@ void st_select_lex_unit::set_limit(st_select_lex *sl)
   val= sl->select_limit ? sl->select_limit->val_uint() : HA_POS_ERROR;
   select_limit_val= (ha_rows)val;
 #ifndef BIG_TABLES
-  /* 
+  /*
     Check for overflow : ha_rows can be smaller then ulonglong if
     BIG_TABLES is off.
     */
   if (val != (ulonglong)select_limit_val)
     select_limit_val= HA_POS_ERROR;
 #endif
-  offset_limit_cnt= (ha_rows)(sl->offset_limit ? sl->offset_limit->val_uint() :
-                                                 ULL(0));
+  val= sl->offset_limit ? sl->offset_limit->val_uint() : ULL(0);
+  offset_limit_cnt= (ha_rows)val;
+#ifndef BIG_TABLES
+  /* Check for truncation. */
+  if (val != (ulonglong)offset_limit_cnt)
+    offset_limit_cnt= HA_POS_ERROR;
+#endif
   select_limit_cnt= select_limit_val + offset_limit_cnt;
   if (select_limit_cnt < select_limit_val)
     select_limit_cnt= HA_POS_ERROR;		// no limit
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index 7674b5c7ac239a7bdb6f5d9a8363e0bda9e7185d..53ae984e7955bf8ef0c98e98a227e62791b0c929 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -667,6 +667,7 @@ class st_select_lex: public st_select_lex_node
     case of an error during prepare the PS is not created.
   */
   bool first_execution;
+  bool first_natural_join_processing;
   bool first_cond_optimization;
   /* do not wrap view fields with Item_ref */
   bool no_wrap_view_item;
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 30fef9c7ee70ece4c43ecd7ef3e6cff2f79f8c1d..87088c6a8af0f6298a41b8b8a8bd69593755705a 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2324,8 +2324,8 @@ mysql_execute_command(THD *thd)
     }
     else
     {
-      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                   "the master info structure does not exist");
+      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                   WARN_NO_MASTER_INFO, ER(WARN_NO_MASTER_INFO));
       my_ok(thd);
     }
     pthread_mutex_unlock(&LOCK_active_mi);
@@ -2722,11 +2722,13 @@ mysql_execute_command(THD *thd)
 
       /* Don't yet allow changing of symlinks with ALTER TABLE */
       if (create_info.data_file_name)
-        push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                     "DATA DIRECTORY option ignored");
+        push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                            WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                            "DATA DIRECTORY");
       if (create_info.index_file_name)
-        push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                     "INDEX DIRECTORY option ignored");
+        push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                            WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                            "INDEX DIRECTORY");
       create_info.data_file_name= create_info.index_file_name= NULL;
       /* ALTER TABLE ends previous transaction */
       if (end_active_trans(thd))
@@ -5488,6 +5490,10 @@ void mysql_reset_thd_for_next_command(THD *thd)
   */
   thd->reset_current_stmt_binlog_row_based();
 
+  DBUG_PRINT("debug",
+             ("current_stmt_binlog_row_based: %d",
+              thd->current_stmt_binlog_row_based));
+
   DBUG_VOID_RETURN;
 }
 
@@ -7503,6 +7509,39 @@ int test_if_data_home_dir(const char *dir)
 C_MODE_END
 
 
+/**
+  Check that host name string is valid.
+
+  @param[in] str string to be checked
+
+  @return             Operation status
+    @retval  FALSE    host name is ok
+    @retval  TRUE     host name string is longer than max_length or
+                      has invalid symbols
+*/
+
+bool check_host_name(LEX_STRING *str)
+{
+  const char *name= str->str;
+  const char *end= str->str + str->length;
+  if (check_string_byte_length(str, ER(ER_HOSTNAME), HOSTNAME_LENGTH))
+    return TRUE;
+
+  while (name != end)
+  {
+    if (*name == '@')
+    {
+      my_printf_error(ER_UNKNOWN_ERROR, 
+                      "Malformed hostname (illegal symbol: '%c')", MYF(0),
+                      *name);
+      return TRUE;
+    }
+    name++;
+  }
+  return FALSE;
+}
+
+
 extern int MYSQLparse(void *thd); // from sql_yacc.cc
 
 
diff --git a/sql/sql_partition.cc b/sql/sql_partition.cc
index 6419d336b9fcc9f7185666159c9819e92319a452..a45664a976750c101547fb4ff6b17b6c6945622e 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_plugin.cc b/sql/sql_plugin.cc
index 089ef012d3aa68c84cfdb583d7f7710f0dc3c1e0..13b2bfef24dc39ce2def0056e1943a72a427245e 100644
--- a/sql/sql_plugin.cc
+++ b/sql/sql_plugin.cc
@@ -1715,16 +1715,16 @@ bool mysql_uninstall_plugin(THD *thd, const LEX_STRING *name)
   }
   if (!plugin->plugin_dl)
   {
-    push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                 "Built-in plugins cannot be deleted,.");
+    push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                 WARN_PLUGIN_DELETE_BUILTIN, ER(WARN_PLUGIN_DELETE_BUILTIN));
     my_error(ER_SP_DOES_NOT_EXIST, MYF(0), "PLUGIN", name->str);
     goto err;
   }
 
   plugin->state= PLUGIN_IS_DELETED;
   if (plugin->ref_count)
-    push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                 "Plugin is busy and will be uninstalled on shutdown");
+    push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                 WARN_PLUGIN_BUSY, ER(WARN_PLUGIN_BUSY));
   else
     reap_needed= true;
   reap_plugins();
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 6510d2428db567c3ea40b380f35e775efdd71c13..9debe2bb038b1475397832d7dc1227db0a2b140b 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -6863,6 +6863,7 @@ only_eq_ref_tables(JOIN *join,ORDER *order,table_map tables)
 {
   if (specialflag &  SPECIAL_SAFE_MODE)
     return 0;			// skip this optimize /* purecov: inspected */
+  tables&= ~PSEUDO_TABLE_BITS;
   for (JOIN_TAB **tab=join->map2table ; tables ; tab++, tables>>=1)
   {
     if (tables & 1 && !eq_ref_table(join, order, *tab))
@@ -9274,6 +9275,7 @@ static Field *create_tmp_field_from_item(THD *thd, Item *item, TABLE *table,
     */
     if ((type= item->field_type()) == MYSQL_TYPE_DATETIME ||
         type == MYSQL_TYPE_TIME || type == MYSQL_TYPE_DATE ||
+        type == MYSQL_TYPE_NEWDATE ||
         type == MYSQL_TYPE_TIMESTAMP || type == MYSQL_TYPE_GEOMETRY)
       new_field= item->tmp_table_field_from_field_type(table, 1);
     /* 
@@ -9791,11 +9793,11 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
     }
     if (type == Item::SUM_FUNC_ITEM && !group && !save_sum_fields)
     {						/* Can't calc group yet */
-      ((Item_sum*) item)->result_field=0;
-      for (i=0 ; i < ((Item_sum*) item)->arg_count ; i++)
+      Item_sum *sum_item= (Item_sum *) item;
+      sum_item->result_field=0;
+      for (i=0 ; i < sum_item->get_arg_count() ; i++)
       {
-	Item **argp= ((Item_sum*) item)->args + i;
-	Item *arg= *argp;
+	Item *arg= sum_item->get_arg(i);
 	if (!arg->const_item())
 	{
 	  Field *new_field=
@@ -9823,7 +9825,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
             string_total_length+= new_field->pack_length();
           }
           thd->mem_root= mem_root_save;
-          thd->change_item_tree(argp, new Item_field(new_field));
+          arg= sum_item->set_arg(i, thd, new Item_field(new_field));
           thd->mem_root= &table->mem_root;
 	  if (!(new_field->flags & NOT_NULL_FLAG))
           {
@@ -9832,7 +9834,7 @@ create_tmp_table(THD *thd,TMP_TABLE_PARAM *param,List<Item> &fields,
               new_field->maybe_null() is still false, it will be
               changed below. But we have to setup Item_field correctly
             */
-            (*argp)->maybe_null=1;
+            arg->maybe_null=1;
           }
           new_field->field_index= fieldnr++;
 	}
@@ -14533,9 +14535,9 @@ count_field_types(SELECT_LEX *select_lex, TMP_TABLE_PARAM *param,
             param->quick_group=0;			// UDF SUM function
           param->sum_func_count++;
 
-          for (uint i=0 ; i < sum_item->arg_count ; i++)
+          for (uint i=0 ; i < sum_item->get_arg_count() ; i++)
           {
-            if (sum_item->args[0]->real_item()->type() == Item::FIELD_ITEM)
+            if (sum_item->get_arg(i)->real_item()->type() == Item::FIELD_ITEM)
               param->field_count++;
             else
               param->func_count++;
@@ -14804,6 +14806,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 +14819,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 +14878,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/sql_show.cc b/sql/sql_show.cc
index cc465db77206ee16b866da7a5369eb9e2595b526..ca7e222e18d20dd3db8cc8a6f3760be3fa54a2f5 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -619,7 +619,8 @@ mysqld_show_create(THD *thd, TABLE_LIST *table_list)
 
   if ((table_list->view ?
        view_store_create_info(thd, table_list, &buffer) :
-       store_create_info(thd, table_list, &buffer, NULL)))
+       store_create_info(thd, table_list, &buffer, NULL,
+                         FALSE /* show_database */)))
     DBUG_RETURN(TRUE);
 
   List<Item> field_list;
@@ -810,7 +811,8 @@ mysqld_dump_create_info(THD *thd, TABLE_LIST *table_list, int fd)
   DBUG_PRINT("enter",("table: %s",table_list->table->s->table_name.str));
 
   protocol->prepare_for_resend();
-  if (store_create_info(thd, table_list, packet, NULL))
+  if (store_create_info(thd, table_list, packet, NULL,
+                        FALSE /* show_database */))
     DBUG_RETURN(-1);
 
   if (fd < 0)
@@ -1062,7 +1064,7 @@ static bool get_field_default_value(THD *thd, TABLE *table,
  */
 
 int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
-                      HA_CREATE_INFO *create_info_arg)
+                      HA_CREATE_INFO *create_info_arg, bool show_database)
 {
   List<Item> field_list;
   char tmp[MAX_FIELD_WIDTH], *for_str, buff[128], def_value_buf[MAX_FIELD_WIDTH];
@@ -1110,6 +1112,25 @@ int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
       alias= share->table_name.str;
     }
   }
+
+  /*
+    Print the database before the table name if told to do that. The
+    database name is only printed in the event that it is different
+    from the current database.  The main reason for doing this is to
+    avoid having to update gazillions of tests and result files, but
+    it also saves a few bytes of the binary log.
+   */
+  if (show_database)
+  {
+    const LEX_STRING *const db=
+      table_list->schema_table ? &INFORMATION_SCHEMA_NAME : &table->s->db;
+    if (strcmp(db->str, thd->db) != 0)
+    {
+      append_identifier(thd, packet, db->str, db->length);
+      packet->append(STRING_WITH_LEN("."));
+    }
+  }
+
   append_identifier(thd, packet, alias, strlen(alias));
   packet->append(STRING_WITH_LEN(" (\n"));
   /*
@@ -2962,7 +2983,7 @@ static int fill_schema_table_names(THD *thd, TABLE *table,
     @retval       SKIP_OPEN_TABLE | OPEN_FRM_ONLY | OPEN_FULL_TABLE
 */
 
-static uint get_table_open_method(TABLE_LIST *tables,
+uint get_table_open_method(TABLE_LIST *tables,
                                   ST_SCHEMA_TABLE *schema_table,
                                   enum enum_schema_tables schema_table_idx)
 {
@@ -2973,12 +2994,22 @@ static uint get_table_open_method(TABLE_LIST *tables,
   {
     Field **ptr, *field;
     int table_open_method= 0, field_indx= 0;
+    uint star_table_open_method= OPEN_FULL_TABLE;
+    bool used_star= true;                  // true if '*' is used in select
     for (ptr=tables->table->field; (field= *ptr) ; ptr++)
     {
+      star_table_open_method=
+        min(star_table_open_method,
+            schema_table->fields_info[field_indx].open_method);
       if (bitmap_is_set(tables->table->read_set, field->field_index))
+      {
+        used_star= false;
         table_open_method|= schema_table->fields_info[field_indx].open_method;
+      }
       field_indx++;
     }
+    if (used_star)
+      return star_table_open_method;
     return table_open_method;
   }
   /* I_S tables which use get_all_tables but can not be optimized */
@@ -4236,6 +4267,27 @@ static int get_schema_views_record(THD *thd, TABLE_LIST *tables,
           !my_strcasecmp(system_charset_info, tables->definer.host.str,
                          sctx->priv_host))
         tables->allowed_show= TRUE;
+#ifndef NO_EMBEDDED_ACCESS_CHECKS
+      else
+      {
+        if ((thd->col_access & (SHOW_VIEW_ACL|SELECT_ACL)) ==
+            (SHOW_VIEW_ACL|SELECT_ACL))
+          tables->allowed_show= TRUE;
+        else
+        {
+          TABLE_LIST table_list;
+          uint view_access;
+          memset(&table_list, 0, sizeof(table_list));
+          table_list.db= tables->view_db.str;
+          table_list.table_name= tables->view_name.str;
+          table_list.grant.privilege= thd->col_access;
+          view_access= get_table_grant(thd, &table_list);
+          if ((view_access & (SHOW_VIEW_ACL|SELECT_ACL)) ==
+              (SHOW_VIEW_ACL|SELECT_ACL))
+            tables->allowed_show= TRUE;
+        }
+      }
+#endif
     }
     restore_record(table, s->default_values);
     tmp_db_name= &tables->view_db;
@@ -6095,7 +6147,7 @@ ST_FIELD_INFO events_fields_info[]=
    SKIP_OPEN_TABLE},
   {"INTERVAL_FIELD", 18, MYSQL_TYPE_STRING, 0, 1, "Interval field",
    SKIP_OPEN_TABLE},
-  {"SQL_MODE", 65535, MYSQL_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
+  {"SQL_MODE", 32*256, MYSQL_TYPE_STRING, 0, 0, 0, SKIP_OPEN_TABLE},
   {"STARTS", 0, MYSQL_TYPE_DATETIME, 0, 1, "Starts", SKIP_OPEN_TABLE},
   {"ENDS", 0, MYSQL_TYPE_DATETIME, 0, 1, "Ends", SKIP_OPEN_TABLE},
   {"STATUS", 18, MYSQL_TYPE_STRING, 0, 0, "Status", SKIP_OPEN_TABLE},
@@ -6338,8 +6390,8 @@ ST_FIELD_INFO triggers_fields_info[]=
   {"ACTION_REFERENCE_OLD_ROW", 3, MYSQL_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
   {"ACTION_REFERENCE_NEW_ROW", 3, MYSQL_TYPE_STRING, 0, 0, 0, OPEN_FULL_TABLE},
   {"CREATED", 0, MYSQL_TYPE_DATETIME, 0, 1, "Created", OPEN_FULL_TABLE},
-  {"SQL_MODE", 65535, MYSQL_TYPE_STRING, 0, 0, "sql_mode", OPEN_FULL_TABLE},
-  {"DEFINER", 65535, MYSQL_TYPE_STRING, 0, 0, "Definer", OPEN_FULL_TABLE},
+  {"SQL_MODE", 32*256, MYSQL_TYPE_STRING, 0, 0, "sql_mode", OPEN_FULL_TABLE},
+  {"DEFINER", 77, MYSQL_TYPE_STRING, 0, 0, "Definer", OPEN_FULL_TABLE},
   {"CHARACTER_SET_CLIENT", MY_CS_NAME_SIZE, MYSQL_TYPE_STRING, 0, 0,
    "character_set_client", OPEN_FULL_TABLE},
   {"COLLATION_CONNECTION", MY_CS_NAME_SIZE, MYSQL_TYPE_STRING, 0, 0,
diff --git a/sql/sql_show.h b/sql/sql_show.h
index d63217584b25c6c254f6dd76456074a9f275f07d..3baaef00a7db5830c946936c28375bf93e85a1a7 100644
--- a/sql/sql_show.h
+++ b/sql/sql_show.h
@@ -33,7 +33,7 @@ find_files_result find_files(THD *thd, List<LEX_STRING> *files, const char *db,
                              const char *path, const char *wild, bool dir);
 
 int store_create_info(THD *thd, TABLE_LIST *table_list, String *packet,
-                      HA_CREATE_INFO  *create_info_arg);
+                      HA_CREATE_INFO  *create_info_arg, bool show_database);
 int view_store_create_info(THD *thd, TABLE_LIST *table, String *buff);
 
 int copy_event_to_schema_table(THD *thd, TABLE *sch_table, TABLE *event_table);
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index e317cdab952e69b3c8495d823ff06d9dcfe876e4..ff9a968f7f2c315c5f2c545e48065ca36bee32e7 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -3540,11 +3540,13 @@ bool mysql_create_table_no_lock(THD *thd,
 #endif /* HAVE_READLINK */
   {
     if (create_info->data_file_name)
-      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                   "DATA DIRECTORY option ignored");
+      push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                          WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                          "DATA DIRECTORY");
     if (create_info->index_file_name)
-      push_warning(thd, MYSQL_ERROR::WARN_LEVEL_WARN, 0,
-                   "INDEX DIRECTORY option ignored");
+      push_warning_printf(thd, MYSQL_ERROR::WARN_LEVEL_WARN,
+                          WARN_OPTION_IGNORED, ER(WARN_OPTION_IGNORED),
+                          "INDEX DIRECTORY");
     create_info->data_file_name= create_info->index_file_name= 0;
   }
   create_info->table_options=db_options;
@@ -5010,8 +5012,9 @@ bool mysql_create_like_table(THD* thd, TABLE_LIST* table, TABLE_LIST* src_table,
         }
         VOID(pthread_mutex_unlock(&LOCK_open));
 
-        IF_DBUG(int result=) store_create_info(thd, table, &query,
-                                               create_info);
+        IF_DBUG(int result=)
+          store_create_info(thd, table, &query,
+                            create_info, FALSE /* show_database */);
 
         DBUG_ASSERT(result == 0); // store_create_info() always return 0
         write_bin_log(thd, TRUE, query.ptr(), query.length());
@@ -5279,6 +5282,8 @@ compare_tables(TABLE *table,
       create_info->used_fields & HA_CREATE_USED_CHARSET ||
       create_info->used_fields & HA_CREATE_USED_DEFAULT_CHARSET ||
       create_info->used_fields & HA_CREATE_USED_ROW_FORMAT ||
+      create_info->used_fields & HA_CREATE_USED_PACK_KEYS ||
+      create_info->used_fields & HA_CREATE_USED_MAX_ROWS ||
       (alter_info->flags & (ALTER_RECREATE | ALTER_FOREIGN_KEY)) ||
       order_num ||
       !table->s->mysql_version ||
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index 5f7e3c5b620f055c6a995f77afa38922bf4b50b2..2f3282f58f6d9b1b8698332a592799ca78e08d2f 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -399,7 +399,6 @@ bool st_select_lex_unit::prepare(THD *thd_arg, select_result *sel_result,
     }
     else
     {
-      DBUG_ASSERT(!thd->stmt_arena->is_conventional());
       /*
         We're in execution of a prepared statement or stored procedure:
         reset field items to point at fields from the created temporary table.
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index e2ed33717111a89f887f555444e4c794cdff4d6b..197e5290aba7c40de626baec89e981427d212b13 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -1076,11 +1076,14 @@ int mysql_multi_update_prepare(THD *thd)
   }
 
   /* now lock and fill tables */
-  if (lock_tables(thd, table_list, table_count, &need_reopen))
+  if (!thd->stmt_arena->is_stmt_prepare() &&
+      lock_tables(thd, table_list, table_count, &need_reopen))
   {
     if (!need_reopen)
       DBUG_RETURN(TRUE);
 
+    DBUG_PRINT("info", ("lock_tables failed, reopening"));
+
     /*
       We have to reopen tables since some of them were altered or dropped
       during lock_tables() or something was done with their triggers.
@@ -1096,6 +1099,34 @@ int mysql_multi_update_prepare(THD *thd)
     for (TABLE_LIST *tbl= table_list; tbl; tbl= tbl->next_global)
       tbl->cleanup_items();
 
+    /*
+      To not to hog memory (as a result of the 
+      unit->reinit_exec_mechanism() call below):
+    */
+    lex->unit.cleanup();
+
+    for (SELECT_LEX *sl= lex->all_selects_list;
+        sl;
+        sl= sl->next_select_in_list())
+    {
+      SELECT_LEX_UNIT *unit= sl->master_unit();
+      unit->reinit_exec_mechanism(); // reset unit->prepared flags
+      /*
+        Reset 'clean' flag back to force normal execution of
+        unit->cleanup() in Prepared_statement::cleanup_stmt()
+        (call to lex->unit.cleanup() above sets this flag to TRUE).
+      */
+      unit->unclean();
+    }
+
+    /*
+      Also we need to cleanup Natural_join_column::table_field items.
+      To not to traverse a join tree we will cleanup whole
+      thd->free_list (in PS execution mode that list may not contain
+      items from 'fields' list, so the cleanup above is necessary to.
+    */
+    cleanup_items(thd->free_list);
+
     close_tables_for_reopen(thd, &table_list);
     goto reopen_tables;
   }
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index 278fe88c3367fb38156577afc6fa4a86f2bf9856..8d9b3a2d4b5081bb3292d056c6cd2e5105d807d8 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -11301,8 +11301,7 @@ user:
             if (check_string_char_length(&$$->user, ER(ER_USERNAME),
                                          USERNAME_CHAR_LENGTH,
                                          system_charset_info, 0) ||
-                check_string_byte_length(&$$->host, ER(ER_HOSTNAME),
-                                         HOSTNAME_LENGTH))
+                check_host_name(&$$->host))
               MYSQL_YYABORT;
           }
         | CURRENT_USER optional_braces
diff --git a/sql/table.cc b/sql/table.cc
index 40264a7cbb34be1c07e84673601a45910326df34..89714e4e47e24b686c47fc010f65543260d6ea32 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -3390,7 +3390,7 @@ TABLE_LIST *TABLE_LIST::find_underlying_table(TABLE *table_to_find)
 }
 
 /*
-  cleunup items belonged to view fields translation table
+  cleanup items belonged to view fields translation table
 
   SYNOPSIS
     TABLE_LIST::cleanup_items()
@@ -3836,10 +3836,10 @@ Natural_join_column::Natural_join_column(Field_translator *field_param,
 }
 
 
-Natural_join_column::Natural_join_column(Field *field_param,
+Natural_join_column::Natural_join_column(Item_field *field_param,
                                          TABLE_LIST *tab)
 {
-  DBUG_ASSERT(tab->table == field_param->table);
+  DBUG_ASSERT(tab->table == field_param->field->table);
   table_field= field_param;
   view_field= NULL;
   table_ref= tab;
@@ -3867,7 +3867,7 @@ Item *Natural_join_column::create_item(THD *thd)
     return create_view_field(thd, table_ref, &view_field->item,
                              view_field->name);
   }
-  return new Item_field(thd, &thd->lex->current_select->context, table_field);
+  return table_field;
 }
 
 
@@ -3878,7 +3878,7 @@ Field *Natural_join_column::field()
     DBUG_ASSERT(table_field == NULL);
     return NULL;
   }
-  return table_field;
+  return table_field->field;
 }
 
 
@@ -4010,7 +4010,7 @@ void Field_iterator_natural_join::next()
   cur_column_ref= column_ref_it++;
   DBUG_ASSERT(!cur_column_ref || ! cur_column_ref->table_field ||
               cur_column_ref->table_ref->table ==
-              cur_column_ref->table_field->table);
+              cur_column_ref->table_field->field->table);
 }
 
 
@@ -4174,7 +4174,7 @@ GRANT_INFO *Field_iterator_table_ref::grant()
 */
 
 Natural_join_column *
-Field_iterator_table_ref::get_or_create_column_ref(TABLE_LIST *parent_table_ref)
+Field_iterator_table_ref::get_or_create_column_ref(THD *thd, TABLE_LIST *parent_table_ref)
 {
   Natural_join_column *nj_col;
   bool is_created= TRUE;
@@ -4187,7 +4187,11 @@ Field_iterator_table_ref::get_or_create_column_ref(TABLE_LIST *parent_table_ref)
   {
     /* The field belongs to a stored table. */
     Field *tmp_field= table_field_it.field();
-    nj_col= new Natural_join_column(tmp_field, table_ref);
+    Item_field *tmp_item=
+      new Item_field(thd, &thd->lex->current_select->context, tmp_field);
+    if (!tmp_item)
+      return NULL;
+    nj_col= new Natural_join_column(tmp_item, table_ref);
     field_count= table_ref->table->s->fields;
   }
   else if (field_it == &view_field_it)
@@ -4211,7 +4215,7 @@ Field_iterator_table_ref::get_or_create_column_ref(TABLE_LIST *parent_table_ref)
     DBUG_ASSERT(nj_col);
   }
   DBUG_ASSERT(!nj_col->table_field ||
-              nj_col->table_ref->table == nj_col->table_field->table);
+              nj_col->table_ref->table == nj_col->table_field->field->table);
 
   /*
     If the natural join column was just created add it to the list of
@@ -4276,7 +4280,7 @@ Field_iterator_table_ref::get_natural_column_ref()
   nj_col= natural_join_it.column_ref();
   DBUG_ASSERT(nj_col &&
               (!nj_col->table_field ||
-               nj_col->table_ref->table == nj_col->table_field->table));
+               nj_col->table_ref->table == nj_col->table_field->field->table));
   return nj_col;
 }
 
diff --git a/sql/table.h b/sql/table.h
index d21a9eefae8d159a7f086ec37c4f76a61a77ad14..ccd6b60664e1adc12f0a67c97bbc461b2097f91c 100644
--- a/sql/table.h
+++ b/sql/table.h
@@ -18,6 +18,7 @@
 
 class Item;				/* Needed by ORDER */
 class Item_subselect;
+class Item_field;
 class GRANT_TABLE;
 class st_select_lex_unit;
 class st_select_lex;
@@ -410,6 +411,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 +421,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.
@@ -1012,7 +1017,7 @@ class Natural_join_column: public Sql_alloc
 {
 public:
   Field_translator *view_field;  /* Column reference of merge view. */
-  Field            *table_field; /* Column reference of table or temp view. */
+  Item_field       *table_field; /* Column reference of table or temp view. */
   TABLE_LIST *table_ref; /* Original base table/view reference. */
   /*
     True if a common join column of two NATURAL/USING join operands. Notice
@@ -1024,7 +1029,7 @@ class Natural_join_column: public Sql_alloc
   bool is_common;
 public:
   Natural_join_column(Field_translator *field_param, TABLE_LIST *tab);
-  Natural_join_column(Field *field_param, TABLE_LIST *tab);
+  Natural_join_column(Item_field *field_param, TABLE_LIST *tab);
   const char *name();
   Item *create_item(THD *thd);
   Field *field();
@@ -1603,7 +1608,7 @@ class Field_iterator_table_ref: public Field_iterator
   GRANT_INFO *grant();
   Item *create_item(THD *thd) { return field_it->create_item(thd); }
   Field *field() { return field_it->field(); }
-  Natural_join_column *get_or_create_column_ref(TABLE_LIST *parent_table_ref);
+  Natural_join_column *get_or_create_column_ref(THD *thd, TABLE_LIST *parent_table_ref);
   Natural_join_column *get_natural_column_ref();
 };
 
diff --git a/storage/blackhole/ha_blackhole.cc b/storage/blackhole/ha_blackhole.cc
index 85b8117e5014e914535464000c5a66b37a1d5c0e..1a1a0d023752c454de04fc72efa747e83518d659 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 d5a0d08926c198b4dc1e8c2131370da85f9ccb6f..085840cce438102161fe9483d642a2f4807ababe 100644
--- a/storage/blackhole/ha_blackhole.h
+++ b/storage/blackhole/ha_blackhole.h
@@ -53,7 +53,7 @@ class ha_blackhole: public handler
   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 @@ class ha_blackhole: public handler
   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 @@ class ha_blackhole: public handler
   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 f670adb460c887dbfdb56bfbeff7133b8fc56884..5be8f5e67a06071436e1920dcdb7f4d9ca4b0ce7 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 cc11ebfe63fed261da67c52ade7decc870520780..60b8138880e8075f21d105453b20479033d63d19 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 2e3143ac449ee8ef6b4844c59892cac38e4274e6..0d5719e44382a97ec9d19c28d6a4f88db1cdde97 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 10d3e74f619785c7974ca9d59638d33e0060142a..211b8ed5e8e217e426d5358ce08ec9cf2a55e75a 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 cfaca64c29368b495ed55ad3cfec3aee195c3e15..11ad69f1f71ad84246e11253f4086091957222fc 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
diff --git a/tests/mysql_client_test.c b/tests/mysql_client_test.c
index 6da7b3e80720f8cb8d4105a521751e8f31d388c5..a50b009303a395edba49a3af169f4fba84c6f3d9 100644
--- a/tests/mysql_client_test.c
+++ b/tests/mysql_client_test.c
@@ -7201,9 +7201,6 @@ static void test_field_misc()
 {
   MYSQL_STMT  *stmt;
   MYSQL_RES   *result;
-  MYSQL_BIND  my_bind[1];
-  char        table_type[NAME_LEN];
-  ulong       type_length;
   int         rc;
 
   myheader("test_field_misc");
@@ -7246,53 +7243,6 @@ static void test_field_misc()
   mysql_free_result(result);
   mysql_stmt_close(stmt);
 
-  stmt= mysql_simple_prepare(mysql, "SELECT @@table_type");
-  check_stmt(stmt);
-
-  rc= mysql_stmt_execute(stmt);
-  check_execute(stmt, rc);
-
-  bzero((char*) my_bind, sizeof(my_bind));
-  my_bind[0].buffer_type= MYSQL_TYPE_STRING;
-  my_bind[0].buffer= table_type;
-  my_bind[0].length= &type_length;
-  my_bind[0].buffer_length= NAME_LEN;
-
-  rc= mysql_stmt_bind_result(stmt, my_bind);
-  check_execute(stmt, rc);
-
-  rc= mysql_stmt_fetch(stmt);
-  check_execute(stmt, rc);
-  if (!opt_silent)
-    fprintf(stdout, "\n default table type: %s(%ld)", table_type, type_length);
-
-  rc= mysql_stmt_fetch(stmt);
-  DIE_UNLESS(rc == MYSQL_NO_DATA);
-
-  mysql_stmt_close(stmt);
-
-  stmt= mysql_simple_prepare(mysql, "SELECT @@table_type");
-  check_stmt(stmt);
-
-  result= mysql_stmt_result_metadata(stmt);
-  mytest(result);
-  DIE_UNLESS(mysql_stmt_field_count(stmt) == mysql_num_fields(result));
-
-  rc= mysql_stmt_execute(stmt);
-  check_execute(stmt, rc);
-
-  DIE_UNLESS(1 == my_process_stmt_result(stmt));
-
-  verify_prepare_field(result, 0,
-                       "@@table_type", "",   /* field and its org name */
-                       mysql_get_server_version(mysql) <= 50000 ?
-                       MYSQL_TYPE_STRING : MYSQL_TYPE_VAR_STRING,
-                       "", "",              /* table and its org name */
-                       "", type_length, 0);   /* db name, length */
-
-  mysql_free_result(result);
-  mysql_stmt_close(stmt);
-
   stmt= mysql_simple_prepare(mysql, "SELECT @@max_error_count");
   check_stmt(stmt);
 
@@ -7309,7 +7259,8 @@ static void test_field_misc()
                        "@@max_error_count", "",   /* field and its org name */
                        MYSQL_TYPE_LONGLONG, /* field type */
                        "", "",              /* table and its org name */
-                       "", 10, 0);            /* db name, length */
+                       /* db name, length */
+                       "", MY_INT64_NUM_DECIMAL_DIGITS , 0);
 
   mysql_free_result(result);
   mysql_stmt_close(stmt);
@@ -7329,7 +7280,8 @@ static void test_field_misc()
                        "@@max_allowed_packet", "", /* field and its org name */
                        MYSQL_TYPE_LONGLONG, /* field type */
                        "", "",              /* table and its org name */
-                       "", 10, 0);          /* db name, length */
+                       /* db name, length */
+                       "", MY_INT64_NUM_DECIMAL_DIGITS, 0);
 
   mysql_free_result(result);
   mysql_stmt_close(stmt);