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:
committed by
Sergey Vojtovich
parent
e1051590b6
commit
5dd8e1bf2d
@ -739,7 +739,7 @@ public:
|
||||
void init(READ_RECORD *info)
|
||||
{
|
||||
ref_length= info->ref_length;
|
||||
if (info->read_record == rr_from_pointers)
|
||||
if (info->read_record_func == rr_from_pointers)
|
||||
{
|
||||
io_cache= NULL;
|
||||
cache_start= info->cache_pos;
|
||||
@ -2699,7 +2699,7 @@ bool compute_window_func(THD *thd,
|
||||
|
||||
while (true)
|
||||
{
|
||||
if ((err= info.read_record(&info)))
|
||||
if ((err= info.read_record()))
|
||||
break; // End of file.
|
||||
|
||||
/* Remember current row so that we can restore it before computing
|
||||
|
Reference in New Issue
Block a user