diff options
author | unknown <davi@buzz.(none)> | 2008-02-28 20:22:50 -0300 |
---|---|---|
committer | unknown <davi@buzz.(none)> | 2008-02-28 20:22:50 -0300 |
commit | 05480a88636a16119fe2ac658869a5dc415d88af (patch) | |
tree | 676edb9a4be1993cb98b1e11f9a509999832bf6d /mysql-test/r/ps.result | |
parent | 944f2599fedfaa7c9a4348a2fd505419eb59a5b6 (diff) | |
parent | 8b77945615ed06a9ae0c1861943b73f46f3cbb71 (diff) | |
download | mariadb-git-05480a88636a16119fe2ac658869a5dc415d88af.tar.gz |
Merge buzz.(none):/home/davi/mysql-5.0-runtime
into buzz.(none):/home/davi/mysql-5.1-runtime
mysql-test/r/ps.result:
Auto merged
mysql-test/t/limit.test:
Auto merged
mysql-test/t/ps.test:
Auto merged
sql/item.h:
Auto merged
sql/item_func.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/item.cc:
Auto merged
mysql-test/suite/rpl/r/rpl_user_variables.result:
Manual merge
mysql-test/suite/rpl/t/rpl_user_variables.test:
Manual merge
sql/sql_yacc.yy:
Manual merge
Diffstat (limited to 'mysql-test/r/ps.result')
-rw-r--r-- | mysql-test/r/ps.result | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mysql-test/r/ps.result b/mysql-test/r/ps.result index f2c1d5da3b5..dbc8620398a 100644 --- a/mysql-test/r/ps.result +++ b/mysql-test/r/ps.result @@ -1885,6 +1885,36 @@ prepare stmt from "create view v1 as select * from t1"; ERROR 42S02: Table 'test.t1' doesn't exist prepare stmt from "create view v1 as select * from `t1` `b`"; ERROR 42S02: Table 'test.t1' doesn't exist +prepare stmt from "select ?"; +set @arg= 123456789.987654321; +select @arg; +@arg +123456789.987654321 +execute stmt using @arg; +? +123456789.987654321 +set @arg= "string"; +select @arg; +@arg +string +execute stmt using @arg; +? +string +set @arg= 123456; +select @arg; +@arg +123456 +execute stmt using @arg; +? +123456 +set @arg= cast(-12345.54321 as decimal(20, 10)); +select @arg; +@arg +-12345.5432100000 +execute stmt using @arg; +? +-12345.5432100000 +deallocate prepare stmt; End of 5.0 tests. create procedure proc_1() reset query cache; call proc_1(); |