Commit c0b12553 authored by unknown's avatar unknown

ha_innodb.cc:

  delete_all_rows(): Revert previous change.
  The transaction has been marked started already
  in external_lock().


sql/ha_innodb.cc:
  delete_all_rows(): Revert previous change.
  The transaction has been marked started already
  in external_lock().
parent 8c9d2612
......@@ -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