1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

row0purge.c, row0mysql.c, os0file.c, os0file.h, fil0fil.h, fil0fil.c:

IMPORT TABLESPACE must reset lsns if they are too high
ha_innodb.cc:
  DISCARD/IMPORT TABLESPACE must have a TL_WRITE lock on the table
This commit is contained in:
heikki@hundin.mysql.fi
2003-10-14 14:53:16 +03:00
parent f77336e69d
commit d3827c1b22
7 changed files with 250 additions and 11 deletions

View File

@ -4572,8 +4572,7 @@ ha_innobase::external_lock(
update_thd(thd);
if (lock_type != F_UNLCK && prebuilt->table->ibd_file_missing
&& !current_thd->tablespace_op) {
if (prebuilt->table->ibd_file_missing && !current_thd->tablespace_op) {
ut_print_timestamp(stderr);
fprintf(stderr, " InnoDB error:\n"
"MySQL is trying to use a table handle but the .ibd file for\n"