diff options
author | unknown <bell@sanja.is.com.ua> | 2004-06-25 15:16:00 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-06-25 15:16:00 +0300 |
commit | ef0b6f07034d715f4d7e9669d4111906d19746dc (patch) | |
tree | 07ef6265c7e1ff66d5737e4eb9fa248e19ee31dd /mysql-test/r/ps.result | |
parent | d1e4305187a2e2c613f7cd289ad2cd2df914ea18 (diff) | |
download | mariadb-git-ef0b6f07034d715f4d7e9669d4111906d19746dc.tar.gz |
type of parameter assignment for parameters from variables added (BUG#4280)
mysql-test/r/ps.result:
parameters from variables (for field creation)
mysql-test/t/ps.test:
parameters from variables (for field creation)
sql/item.cc:
type of parameter assignment for parameters from variables
sql/item.h:
removed spaces at line ends in Item_param definition
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r-- | mysql-test/r/ps.result | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result index 7d80d08e663..0ff526fd2fe 100644 --- a/mysql-test/r/ps.result +++ b/mysql-test/r/ps.result @@ -137,3 +137,17 @@ execute stmt1; FOUND_ROWS() 0 deallocate prepare stmt1; +drop table t1; +set @arg00=1; +prepare stmt1 from ' create table t1 (m int) as select 1 as m ' ; +execute stmt1 ; +select m from t1; +m +1 +drop table t1; +prepare stmt1 from ' create table t1 (m int) as select ? as m ' ; +execute stmt1 using @arg00; +select m from t1; +m +1 +drop table t1; |