1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Added a test for a problem that was fixed by automerge and fixed a typo.

This commit is contained in:
unknown
2004-05-07 03:32:51 +04:00
parent 6810ca1b71
commit dee8f22c07
2 changed files with 25 additions and 4 deletions

View File

@@ -8,7 +8,7 @@ drop table if exists t1,t2;
create table t1
(
a int primary key,
b char(10),
b char(10)
);
insert into t1 values (1,'one');
insert into t1 values (2,'two');
@@ -86,5 +86,17 @@ prepare stmt6 from 'insert into t1 values (5,"five"); select2';
--error 1064
explain prepare stmt6 from 'insert into t1 values (5,"five"); select2';
drop table t1;
create table t2
(
a int
);
insert into t2 values (0);
# parameter is NULL
set @arg00=NULL ;
prepare stmt1 from 'select 1 FROM t2 where a=?' ;
execute stmt1 using @arg00 ;
drop table t1,t2;