summaryrefslogtreecommitdiffstats
path: root/is_prefix.patch
blob: d573c6cf78d5c62571b2b8133ea6a2161bc87bec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -up DBD-mysql-4.018/mysql.xs.orig DBD-mysql-4.018/mysql.xs
--- DBD-mysql-4.018/mysql.xs.orig	2011-05-09 17:22:51.607043049 +0200
+++ DBD-mysql-4.018/mysql.xs	2011-05-09 17:23:19.895077638 +0200
@@ -721,7 +721,7 @@ dbd_mysql_get_info(dbh, sql_info_type)
 	case SQL_IDENTIFIER_QUOTE_CHAR:
 	    /*XXX What about a DB started in ANSI mode? */
 	    /* Swiped from MyODBC's get_info.c */
-	    using_322=is_prefix(mysql_get_server_info(imp_dbh->pmysql),"3.22");
+	    using_322=0;
 	    retsv = newSVpv(!using_322 ? "`" : " ", 1);
 	    break;
 	case SQL_MAXIMUM_STATEMENT_LENGTH: