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

MDEV-6139: UPDATE w/ join against MRG_MyISAM table with read-only sub-table failsUPDATE w/ join against MRG_MyISAM table with read-only sub-table fails

The problem was that on opening all tables TL_WRITE, than local tables which is not updated set to TL_READ, but underlying tables of MyISAMmrg left untouched.

Prartition engine has not this problem.

All cases where lock_type assigned is not changed because call of virtual function is not cheap.
This commit is contained in:
unknown
2014-04-28 09:13:53 +03:00
parent 772aa0c575
commit 968f4d4e25
7 changed files with 77 additions and 1 deletions

View File

@@ -5285,6 +5285,10 @@ void signal_log_not_needed(struct handlerton, char *log_file)
DBUG_VOID_RETURN;
}
void handler::ha_set_lock_type(enum thr_lock_type lock)
{
table->reginfo.lock_type= lock;
}
#ifdef TRANS_LOG_MGM_EXAMPLE_CODE
/*