prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -1381,10 +1382,8 @@ execute stmt1 ;
...
@@ -1381,10 +1382,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -1364,10 +1365,8 @@ execute stmt1 ;
...
@@ -1364,10 +1365,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -1365,10 +1366,8 @@ execute stmt1 ;
...
@@ -1365,10 +1366,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -1407,10 +1408,8 @@ execute stmt1 ;
...
@@ -1407,10 +1408,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
test_sequence
test_sequence
------ insert tests ------
------ insert tests ------
delete from t1 ;
delete from t1 ;
...
@@ -3500,9 +3499,10 @@ limit 1 ';
...
@@ -3500,9 +3499,10 @@ limit 1 ';
execute stmt1 ;
execute stmt1 ;
a b
a b
1 one
1 one
prepare stmt1 from ' select a,b from t1
prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -4420,10 +4420,8 @@ execute stmt1 ;
...
@@ -4420,10 +4420,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
prepare stmt1 from ' select a,b from t1 limit ? ';
limit ? ';
execute stmt1 using @arg00;
ERROR 42000: You 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 2
a b
1 one
set @arg00='b' ;
set @arg00='b' ;
set @arg01=0 ;
set @arg01=0 ;
set @arg02=2 ;
set @arg02=2 ;
...
@@ -1364,10 +1365,8 @@ execute stmt1 ;
...
@@ -1364,10 +1365,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3
use test; drop table if exists t1, t9 ; create table t1
drop table if exists t1, t9 ;
create table t1
(
(
a int, b varchar(30),
a int, b varchar(30),
primary key(a)
primary key(a)
...
@@ -1364,10 +1362,8 @@ execute stmt1 ;
...
@@ -1364,10 +1362,8 @@ execute stmt1 ;
select a,b from t1 where b = 'bla' ;
select a,b from t1 where b = 'bla' ;
a b
a b
2 bla
2 bla
prepare stmt1 from 'update t1 set b=''bla''
prepare stmt1 from 'update t1 set b=''bla'' where a=2 limit ?';
where a=2
execute stmt1 using @arg00;
limit ?';
ERROR 42000: You 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 3