diff --git a/sql/sql_lex.cc b/sql/sql_lex.cc index bd81aa2d5c1..4cb25aca77c 100644 --- a/sql/sql_lex.cc +++ b/sql/sql_lex.cc @@ -1772,8 +1772,10 @@ st_lex::st_lex() :result(0), yacc_yyss(0), yacc_yyvs(0), sql_command(SQLCOM_END) { +#ifndef __WIN__ /* Check that plugins_static_buffer is declared immediately after plugins */ compile_time_assert((&plugins + 1) == (DYNAMIC_ARRAY*)plugins_static_buffer); +#endif my_init_dynamic_array2(&plugins, sizeof(plugin_ref), plugins_static_buffer,