summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2019-06-24 19:38:00 +0300
committerEugene Kosov <claprix@yandex.ru>2019-06-25 13:21:36 +0300
commitd36c107a6b7f9e9bc9425072f2ac13afd2334069 (patch)
treef2789ec42ae3419e7633aeb08b5a8a27fd703329 /sql/sql_parse.cc
parentd78145459f79d02438e0d57fe8acaff757018c97 (diff)
downloadmariadb-git-d36c107a6b7f9e9bc9425072f2ac13afd2334069.tar.gz
imporve clang build
cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug Maintainer mode makes all warnings errors. This patch fix warnings. Mostly about deprecated `register` keyword. Too much warnings came from Mroonga and I gave up on it.
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index c8b9219c280..91f91cbb315 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -7360,7 +7360,7 @@ TABLE_LIST *st_select_lex::add_table_to_list(THD *thd,
List<String> *partition_names,
LEX_STRING *option)
{
- register TABLE_LIST *ptr;
+ TABLE_LIST *ptr;
TABLE_LIST *UNINIT_VAR(previous_table_ref); /* The table preceding the current one. */
char *alias_str;
LEX *lex= thd->lex;