Commit 95243ec1 authored by marko@hundin.mysql.fi's avatar marko@hundin.mysql.fi

ha_innodb.cc:

  delete_all_rows(): Revert previous change.
  The transaction has been marked started already
  in external_lock().
parent 28cbed10
......@@ -4250,8 +4250,6 @@ ha_innobase::delete_all_rows(void)
/* Truncate the table in InnoDB */
trx->active_trans = 1;
error = row_truncate_table_for_mysql(prebuilt->table, trx);
if (error == DB_ERROR) {
/* Cannot truncate; resort to ha_innobase::delete_row() */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment