1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Move HA_EXTRA_NO_READCHECK to ha_open

Fixed bug in multi-table-delete
This commit is contained in:
monty@hundin.mysql.fi
2002-01-16 23:02:26 +02:00
parent bea12d761a
commit df5f8c18eb
15 changed files with 126 additions and 64 deletions

View File

@@ -425,9 +425,8 @@ int handler::ha_open(const char *name, int mode, int test_if_locked)
{
if (table->db_options_in_use & HA_OPTION_READ_ONLY_DATA)
table->db_stat|=HA_READ_ONLY;
}
if (!error)
{
(void) extra(HA_EXTRA_NO_READCHECK); // Not needed in SQL
if (!alloc_root_inited(&table->mem_root)) // If temporary table
ref=(byte*) sql_alloc(ALIGN_SIZE(ref_length)*2);
else