mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
Merge moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0
into moonlight.intranet:/home/tomash/src/mysql_ab/mysql-5.0-bug21856 sql/sql_parse.cc: Auto merged mysql-test/r/ps.result: Manual merge. mysql-test/t/ps.test: Manual merge.
This commit is contained in:
commit
de304106ca
4 changed files with 39 additions and 2 deletions
|
|
@ -1475,4 +1475,5 @@ i
|
|||
1
|
||||
DEALLOCATE PREPARE stmt;
|
||||
DROP TABLE t1, t2;
|
||||
DROP PROCEDURE IF EXISTS p1;
|
||||
End of 5.0 tests.
|
||||
|
|
|
|||
|
|
@ -1513,4 +1513,24 @@ DEALLOCATE PREPARE stmt;
|
|||
DROP TABLE t1, t2;
|
||||
|
||||
|
||||
#
|
||||
# BUG#21856: Prepared Statments: crash if bad create
|
||||
#
|
||||
--disable_warnings
|
||||
DROP PROCEDURE IF EXISTS p1;
|
||||
--enable_warnings
|
||||
|
||||
let $iterations= 100;
|
||||
--disable_query_log
|
||||
--disable_result_log
|
||||
while ($iterations > 0)
|
||||
{
|
||||
--error ER_PARSE_ERROR
|
||||
PREPARE stmt FROM "CREATE PROCEDURE p1()";
|
||||
dec $iterations;
|
||||
}
|
||||
--enable_query_log
|
||||
--enable_result_log
|
||||
|
||||
|
||||
--echo End of 5.0 tests.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue