Blame SOURCES/DBD-MariaDB-fix-mariadb-connector-c-32x-test.patch

70bfd4
diff -up DBD-MariaDB-1.21/t/45bind_no_backslash_escapes.t.orig DBD-MariaDB-1.21/t/45bind_no_backslash_escapes.t
70bfd4
--- DBD-MariaDB-1.21/t/45bind_no_backslash_escapes.t.orig	2022-02-17 14:00:30.765461191 +0100
70bfd4
+++ DBD-MariaDB-1.21/t/45bind_no_backslash_escapes.t	2022-02-17 14:01:54.388057993 +0100
70bfd4
@@ -19,7 +19,8 @@ if ($dbh->{mariadb_serverversion} < 5000
70bfd4
     plan skip_all => "Servers < 5.0.1 do not support sql_mode NO_BACKSLASH_ESCAPES";
70bfd4
 }
70bfd4
 
70bfd4
-if ($dbh->{mariadb_clientversion} < 50001) {
70bfd4
+# As from mariadb-connect-c 3.2.x version number for mariadb_clientversion is 3020x
70bfd4
+if ($dbh->{mariadb_clientversion} < 50001 && $dbh->{mariadb_serverversion} < 50001) {
70bfd4
     $id2_quoted_no_backslash = q(X'737472696E675C737472696E6722737472696E6727737472696E67');
70bfd4
 }
70bfd4