[Commits] d9415d74fa9: Fix embedded compilation.
revision-id: d9415d74fa9de87c50a9565521d923432f0d82b2 (mariadb-10.3.6-183-gd9415d74fa9) parent(s): 4866bd24e1a02530eddeea3a733970259d646a86 author: Jan Lindström committer: Jan Lindström timestamp: 2018-11-02 16:10:45 +0200 message: Fix embedded compilation. --- sql/sql_alter.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sql/sql_alter.cc b/sql/sql_alter.cc index 958fc2c9566..b1dc1325870 100644 --- a/sql/sql_alter.cc +++ b/sql/sql_alter.cc @@ -476,6 +476,7 @@ bool Sql_cmd_alter_table::execute(THD *thd) thd->work_part_info= 0; #endif +#ifdef WITH_WSREP if (WSREP(thd) && (!thd->is_current_stmt_binlog_format_row() || !thd->find_temporary_table(first_table))) @@ -487,6 +488,7 @@ bool Sql_cmd_alter_table::execute(THD *thd) thd->variables.auto_increment_offset = 1; thd->variables.auto_increment_increment = 1; } +#endif result= mysql_alter_table(thd, &select_lex->db, &lex->name, &create_info,
participants (1)
-
jan