summaryrefslogtreecommitdiff
path: root/sql/sql_udf.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2017-08-25 14:36:13 +0300
committerSergey Vojtovich <svoj@mariadb.org>2017-08-31 13:46:30 +0400
commit5dd8e1bf2d15a68359e37b439a0d5999808b8001 (patch)
tree1dea046361a5e7b908d34a12782815460d9900b5 /sql/sql_udf.cc
parente1051590b61b45532284071ac78c50e7a2f24c63 (diff)
downloadmariadb-git-5dd8e1bf2d15a68359e37b439a0d5999808b8001.tar.gz
simplify READ_RECORD usage NFC
READ_RECORD read_record; ... // this // read_record.read_record(&read_record); // becomes just read_record.read_record();
Diffstat (limited to 'sql/sql_udf.cc')
-rw-r--r--sql/sql_udf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_udf.cc b/sql/sql_udf.cc
index 410b939e10d..7b2d041a094 100644
--- a/sql/sql_udf.cc
+++ b/sql/sql_udf.cc
@@ -189,7 +189,7 @@ void udf_init()
}
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 udf record"));
LEX_CSTRING name;