-
unknown authored
try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later (BUG#9597) mysql-test/r/view.result: opening table in correct locking mode test mysql-test/t/view.test: opening table in correct locking mode test sql/sql_base.cc: take into account table lock mode when opening table: try to find most suitable table, to avouid pickup table with too low locking mode or occupy table with write mode for select when it will be need for update later
7f80ca54