Skip to content

Commit da0b2dc

Browse files
committed
Disable usage of libmysqld.a from MySQL 8.x series
It is broken and test t/12embedded.t is failing.
1 parent 183352b commit da0b2dc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Makefile.PL

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -743,6 +743,8 @@ sub Configure {
743743
# and always crash in mysql_real_connect() function, so avoid its usage
744744
# https://jira.mariadb.org/browse/MDEV-16478
745745
$function .= "\n#if defined(MARIADB_BASE_VERSION) || defined(MARIADB_PACKAGE_VERSION)\nif (mysql_get_client_version() >= 100301 && mysql_get_client_version() < 100308) return 1;\n#endif\n";
746+
# libmysqld.a from MySQL 8.x is broken too
747+
$function .= "\n#if !defined(MARIADB_BASE_VERSION) && !defined(MARIADB_PACKAGE_VERSION)\nif (mysql_get_client_version() >= 80000) return 1;\n#endif\n";
746748
}
747749
$function .= 'return (mysql_get_client_version() == MYSQL_VERSION_ID) ? 0 : 1;';
748750
# libmysqld is built using g++ rather than gcc and sometimes

0 commit comments

Comments
 (0)