summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <mats@romeo.(none)>2007-01-16 11:58:48 +0100
committerunknown <mats@romeo.(none)>2007-01-16 11:58:48 +0100
commita242b20d3660794f29329423e3ce449036bce1c1 (patch)
treeeea9e8138d320eaffff6ad11e347b80e2814896f
parentb95a43aad5c2c3fce6621bdb770099760665b314 (diff)
downloadmariadb-git-a242b20d3660794f29329423e3ce449036bce1c1.tar.gz
Post-merge fixes.
sql/sql_insert.cc: Removing HAVE_ROW_BASED_REPLICATION conditional that is no longer used.
-rw-r--r--sql/sql_insert.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_insert.cc b/sql/sql_insert.cc
index db89cc091d4..989b78f3517 100644
--- a/sql/sql_insert.cc
+++ b/sql/sql_insert.cc
@@ -2919,9 +2919,7 @@ static TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
save us from that ?
*/
table->reginfo.lock_type=TL_WRITE;
-#ifdef HAVE_ROW_BASED_REPLICATION
hooks->prelock(&table, 1); // Call prelock hooks
-#endif
if (! ((*lock)= mysql_lock_tables(thd, &table, 1,
MYSQL_LOCK_IGNORE_FLUSH, &not_used)))
{