1
0
mirror of https://github.com/MariaDB/server.git synced 2025-06-12 01:53:02 +03:00

Backout the patch for bug#11758263.

This commit is contained in:
Rohit Kalhans
2012-02-08 12:10:55 +05:30
parent de85a60049
commit b7430d73e4
27 changed files with 26 additions and 153 deletions

View File

@ -2414,12 +2414,9 @@ case SQLCOM_PREPARE:
select_result *result;
/*
- CREATE TABLE...IGNORE
- REPLACE SELECT...
- CREATE TABLE [with auto inc. column]...SELECT
can be unsafe, unless ORDER BY PRIMARY KEY clause is used in SELECT
statement. We therefore use row based logging if mixed or row based
logging is available.
CREATE TABLE...IGNORE/REPLACE SELECT... can be unsafe, unless
ORDER BY PRIMARY KEY clause is used in SELECT statement. We therefore
use row based logging if mixed or row based logging is available.
TODO: Check if the order of the output of the select statement is
deterministic. Waiting for BUG#42415
*/
@ -2429,9 +2426,6 @@ case SQLCOM_PREPARE:
if(lex->duplicates == DUP_REPLACE)
lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_CREATE_REPLACE_SELECT);
if (lex->type & AUTO_INCREMENT_FLAG)
lex->set_stmt_unsafe(LEX::BINLOG_STMT_UNSAFE_CREATE_SELECT_AUTOINC);
/*
If:
a) we inside an SP and there was NAME_CONST substitution,