mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
fix windows build failure
VC++ does not like compile_time_assert() macro
This commit is contained in:
parent
5c79fa464f
commit
dfdd667a8d
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue