simplify READ_RECORD usage NFC

READ_RECORD read_record;
...
// this
// read_record.read_record(&read_record);
// becomes just
read_record.read_record();
This commit is contained in:
Eugene Kosov 2017-08-25 14:36:13 +03:00 committed by Sergey Vojtovich
commit 5dd8e1bf2d
19 changed files with 64 additions and 62 deletions

View file

@ -208,7 +208,7 @@ static bool servers_load(THD *thd, TABLE_LIST *tables)
if (init_read_record(&read_record_info,thd,table=tables[0].table, NULL, NULL,
1,0, FALSE))
DBUG_RETURN(1);
while (!(read_record_info.read_record(&read_record_info)))
while (!(read_record_info.read_record()))
{
/* return_val is already TRUE, so no need to set */
if ((get_server_from_table_to_cache(table)))