summaryrefslogtreecommitdiff
path: root/ext/mysqli/php_mysqli.h
diff options
context:
space:
mode:
authorGeorg Richter <georg@php.net>2005-05-21 08:46:46 +0000
committerGeorg Richter <georg@php.net>2005-05-21 08:46:46 +0000
commit230681b0b39bc7881e50c0e384369059d8f4e460 (patch)
tree3d378836ba4ac5c92cd7a6349b05d1888faf60ed /ext/mysqli/php_mysqli.h
parent3e416f738c1b5994bb8f67d269be28aaa6853056 (diff)
downloadphp-git-230681b0b39bc7881e50c0e384369059d8f4e460.tar.gz
enabled set_charset for MySQL Versions >= 5.0.6
added testcase for bug #33090
Diffstat (limited to 'ext/mysqli/php_mysqli.h')
-rw-r--r--ext/mysqli/php_mysqli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqli/php_mysqli.h b/ext/mysqli/php_mysqli.h
index 3d2cdffb73..4531bcd4de 100644
--- a/ext/mysqli/php_mysqli.h
+++ b/ext/mysqli/php_mysqli.h
@@ -103,7 +103,7 @@ typedef struct {
#define PHP_MYSQLI_API
#endif
-#if MYSQL_VERSION_ID > 40112 && MYSQL_VERSION_ID < 50000
+#if (MYSQL_VERSION_ID > 40112 && MYSQL_VERSION_ID < 50000) || MYSQL_VERSION_ID > 50005
#define HAVE_MYSQLI_SET_CHARSET
#endif