1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03: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:
Eugene Kosov
2017-08-25 14:36:13 +03:00
committed by Sergey Vojtovich
parent e1051590b6
commit 5dd8e1bf2d
19 changed files with 64 additions and 62 deletions

View File

@ -1840,7 +1840,7 @@ static void plugin_load(MEM_ROOT *tmp_root)
goto end;
}
table->use_all_columns();
while (!(error= read_record_info.read_record(&read_record_info)))
while (!(error= read_record_info.read_record()))
{
DBUG_PRINT("info", ("init plugin record"));
String str_name, str_dl;