Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
b9cb8c9d
Commit
b9cb8c9d
authored
Apr 29, 2007
by
antony@ppcg5.local
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix windows build failure
VC++ does not like compile_time_assert() macro
parent
ad0f8fd1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
sql/sql_lex.cc
sql/sql_lex.cc
+2
-0
No files found.
sql/sql_lex.cc
View file @
b9cb8c9d
...
@@ -1772,8 +1772,10 @@ st_lex::st_lex()
...
@@ -1772,8 +1772,10 @@ st_lex::st_lex()
:
result
(
0
),
yacc_yyss
(
0
),
yacc_yyvs
(
0
),
:
result
(
0
),
yacc_yyss
(
0
),
yacc_yyvs
(
0
),
sql_command
(
SQLCOM_END
)
sql_command
(
SQLCOM_END
)
{
{
#ifndef __WIN__
/* Check that plugins_static_buffer is declared immediately after plugins */
/* Check that plugins_static_buffer is declared immediately after plugins */
compile_time_assert
((
&
plugins
+
1
)
==
(
DYNAMIC_ARRAY
*
)
plugins_static_buffer
);
compile_time_assert
((
&
plugins
+
1
)
==
(
DYNAMIC_ARRAY
*
)
plugins_static_buffer
);
#endif
my_init_dynamic_array2
(
&
plugins
,
sizeof
(
plugin_ref
),
my_init_dynamic_array2
(
&
plugins
,
sizeof
(
plugin_ref
),
plugins_static_buffer
,
plugins_static_buffer
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment