Created attachment 1297439 [details] Proposed patch Description of problem: With new version of MariaDB 10.2 we see basically this build issue: drv_mysql.c:52:39: warning: "MYSQL_VERSION_ID" is not defined, evaluates to 0 [-Wundef] #if !defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 80001 ^~~~~~~~~~~~~~~~
Thanks for the patch, sysbench has been rebuilt. I also submitted the patch to upstream, and it's already been pushed. https://koji.fedoraproject.org/koji/taskinfo?taskID=20496105 https://github.com/akopytov/sysbench/issues/160 https://github.com/akopytov/sysbench/commit/0c127582221e829f518e284fefcffa2d9f6d7ae9