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:
@ -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,
|
||||
|
Reference in New Issue
Block a user