summaryrefslogtreecommitdiff
path: root/ext/mysqli/mysqli_libmysql.h
diff options
context:
space:
mode:
authorUlf Wendel <uw@php.net>2009-10-15 15:49:40 +0000
committerUlf Wendel <uw@php.net>2009-10-15 15:49:40 +0000
commitab4670ee53b8ef48e0a7f012f3bc26b2297df6c2 (patch)
treed551a3c2a674f921d986720e06786f5daba14eed /ext/mysqli/mysqli_libmysql.h
parente4adfe4f61cb54c4da6e8144f82d6f6cc9d6e797 (diff)
downloadphp-git-ab4670ee53b8ef48e0a7f012f3bc26b2297df6c2.tar.gz
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
Diffstat (limited to 'ext/mysqli/mysqli_libmysql.h')
-rw-r--r--ext/mysqli/mysqli_libmysql.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mysqli/mysqli_libmysql.h b/ext/mysqli/mysqli_libmysql.h
index 1ea1fc3bf4..be82c4b982 100644
--- a/ext/mysqli/mysqli_libmysql.h
+++ b/ext/mysqli/mysqli_libmysql.h
@@ -20,9 +20,9 @@
*/
/* These are unused */
-#define MYSQLI_CLOSE_EXPLICIT
-#define MYSQLI_CLOSE_IMPLICIT
-#define MYSQLI_CLOSE_DISCONNECTED
+#define MYSQLI_CLOSE_EXPLICIT 0
+#define MYSQLI_CLOSE_IMPLICIT 1
+#define MYSQLI_CLOSE_DISCONNECTED 2
#define MYSQLND_OPT_NUMERIC_AND_DATETIME_AS_UNICODE 200
#define MYSQLND_OPT_INT_AND_YEAR_AS_INT 201