mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 06:35:33 +02:00
Cleanup of checking of user resources
Added missing checking of no_keyread Docs/manual.texi: Fixed wrong example myisam/myisamchk.c: Removed not needed include file mysys/my_pthread.c: Fix for HPUX mysys/my_thr_init.c: Removed not needed warning scripts/mysql_fix_privilege_tables.sh: Cleanup sql/sql_lex.cc: Removed not needed initialization sql/sql_parse.cc: Cleanup of checking of user resources sql/sql_select.cc: Added checking of no_keyread
This commit is contained in:
parent
c554eeec98
commit
8a8e4be22f
8 changed files with 35 additions and 37 deletions
|
|
@ -4779,7 +4779,8 @@ join_read_last(JOIN_TAB *tab)
|
|||
{
|
||||
TABLE *table=tab->table;
|
||||
int error;
|
||||
if (!table->key_read && (table->used_keys & ((key_map) 1 << tab->index)))
|
||||
if (!table->key_read && (table->used_keys & ((key_map) 1 << tab->index)) &&
|
||||
!table->no_keyread)
|
||||
{
|
||||
table->key_read=1;
|
||||
table->file->extra(HA_EXTRA_KEYREAD);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue