mirror of
https://github.com/MariaDB/server.git
synced 2026-04-29 19:55:32 +02:00
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:
parent
e1051590b6
commit
5dd8e1bf2d
19 changed files with 64 additions and 62 deletions
|
|
@ -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)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue