diff options
author | unknown <konstantin@mysql.com> | 2004-10-30 17:17:52 +0400 |
---|---|---|
committer | unknown <konstantin@mysql.com> | 2004-10-30 17:17:52 +0400 |
commit | d46c7366ebf3e7cd37253f61b927d62fbe180170 (patch) | |
tree | cb0d870d6cf9627fd71546bc821f1123a821efd1 /mysql-test/include | |
parent | 6ca39e960376b99d311c9ea954c3ae0f9119da74 (diff) | |
download | mariadb-git-d46c7366ebf3e7cd37253f61b927d62fbe180170.tar.gz |
Enable REPLACE ... SELECT in prepared statements.
mysql-test/include/ps_modify.inc:
replace ... select now works.
mysql-test/r/ps_2myisam.result:
replace ... select now works.
mysql-test/r/ps_3innodb.result:
replace ... select now works.
mysql-test/r/ps_4heap.result:
replace ... select now works.
mysql-test/r/ps_5merge.result:
replace ... select now works.
mysql-test/r/ps_6bdb.result:
replace ... select now works.
mysql-test/r/ps_7ndb.result:
replace ... select now works.
mysql-test/t/ps_7ndb.test:
replace ... select now works.
sql/sql_prepare.cc:
Enable SQLCOM_REPLACE_SELECT: no need for any code changes but
enable this SQLCOM in the switch.
Diffstat (limited to 'mysql-test/include')
-rw-r--r-- | mysql-test/include/ps_modify.inc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mysql-test/include/ps_modify.inc b/mysql-test/include/ps_modify.inc index 9cf11709e69..eb6820934f3 100644 --- a/mysql-test/include/ps_modify.inc +++ b/mysql-test/include/ps_modify.inc @@ -322,8 +322,11 @@ select a,b from t1 where a >= 1000 order by a ; delete from t1 where a >= 1000 ; ## replace ---error 1295 prepare stmt1 from ' replace into t1 (a,b) select 100, ''hundred'' '; +execute stmt1; +execute stmt1; +execute stmt1; + ## multi table statements |