Fix build with MariaDB 10.2.
PR: 223387 Submitted by: brnrd Reported by: fbsd98816551 avksrv org Sponsored by: Absolight