diff options
author | unknown <kostja@vajra.(none)> | 2007-05-25 00:41:27 +0400 |
---|---|---|
committer | unknown <kostja@vajra.(none)> | 2007-05-25 00:41:27 +0400 |
commit | 850eadadc6da7e4bd4df4a8dd211329629ba1a07 (patch) | |
tree | 803cb72d84e63f0034c3d9bd7e6be08b8b7e089b /sql/sql_lex.cc | |
parent | 16de4981e1c88e76f014896354e59f4a74b256d7 (diff) | |
download | mariadb-git-850eadadc6da7e4bd4df4a8dd211329629ba1a07.tar.gz |
Fix warnings.
sql/item_func.h:
Resolve a warning (wrong initialization order).
sql/sql_lex.cc:
Make -ansi mode compile.
Diffstat (limited to 'sql/sql_lex.cc')
-rw-r--r-- | sql/sql_lex.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index 65e5f8035e4..7c900cf64d3 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1786,8 +1786,6 @@ st_lex::st_lex() :result(0), yacc_yyss(0), yacc_yyvs(0), sql_command(SQLCOM_END), option_type(OPT_DEFAULT) { - /* Check that plugins_static_buffer is declared immediately after plugins */ - compile_time_assert((&plugins + 1) == (DYNAMIC_ARRAY*)plugins_static_buffer); my_init_dynamic_array2(&plugins, sizeof(plugin_ref), plugins_static_buffer, |