summaryrefslogtreecommitdiffstats
path: root/tests/mysql_client_fw.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:02 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 12:33:02 +0000
commit4fa488fb0159c629483b7994aa84e73926b132b9 (patch)
tree182a19db69cdcb92be54cc6a5b0b9bfab28f80fd /tests/mysql_client_fw.c
parentAdding debian version 1:10.11.6-2. (diff)
downloadmariadb-4fa488fb0159c629483b7994aa84e73926b132b9.tar.xz
mariadb-4fa488fb0159c629483b7994aa84e73926b132b9.zip
Merging upstream version 1:10.11.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/mysql_client_fw.c')
-rw-r--r--tests/mysql_client_fw.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/mysql_client_fw.c b/tests/mysql_client_fw.c
index 5c0c7ce2..c9e64678 100644
--- a/tests/mysql_client_fw.c
+++ b/tests/mysql_client_fw.c
@@ -1430,6 +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);
+#endif
+
if (mysql_server_init(embedded_server_arg_count,
embedded_server_args,
(char**) embedded_server_groups))