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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
06a884a5
Commit
06a884a5
authored
Feb 25, 2024
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-33429 compilation of MariaDB 10.11.7 fails on arm32, sizeof(MYSQL) is wrong
parent
8fd515e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
tests/mysql_client_fw.c
tests/mysql_client_fw.c
+8
-6
No files found.
tests/mysql_client_fw.c
View file @
06a884a5
...
...
@@ -1430,12 +1430,14 @@ int main(int argc, char **argv)
tests_to_run
[
i
]
=
NULL
;
}
#ifdef _WIN32
/* must be the same in C/C and embedded, 1208 on 64bit, 968 on 32bit */
compile_time_assert
(
sizeof
(
MYSQL
)
==
60
*
sizeof
(
void
*
)
+
728
);
#else
/* must be the same in C/C and embedded, 1272 on 64bit, 964 on 32bit */
compile_time_assert
(
sizeof
(
MYSQL
)
==
77
*
sizeof
(
void
*
)
+
656
);
/*
this limited check is enough, if sizeof(MYSQL) changes, it changes
everywhere
*/
#if defined __x86_64__
compile_time_assert
(
sizeof
(
MYSQL
)
==
1272
);
#elif defined __i386__
compile_time_assert
(
sizeof
(
MYSQL
)
==
964
);
#endif
if
(
mysql_server_init
(
embedded_server_arg_count
,
...
...
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