summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2008-02-11 16:44:48 +0000
committerAndrey Hristov <andrey@php.net>2008-02-11 16:44:48 +0000
commitcf07e941f10a2ce263b3888e8b8950b17d0e21e5 (patch)
treea07b007c8cadf50896375d8c76e42ce2129ec504 /ext/mysqlnd/mysqlnd.h
parent80861c001e4cee45b2f405bec0474ba431cfc4f1 (diff)
downloadphp-git-cf07e941f10a2ce263b3888e8b8950b17d0e21e5.tar.gz
cvs sync
Diffstat (limited to 'ext/mysqlnd/mysqlnd.h')
-rw-r--r--ext/mysqlnd/mysqlnd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd.h b/ext/mysqlnd/mysqlnd.h
index 1ce2b1882d..b6d7202152 100644
--- a/ext/mysqlnd/mysqlnd.h
+++ b/ext/mysqlnd/mysqlnd.h
@@ -46,6 +46,12 @@
#define MYSQLND_DO_WIRE_CHECK_BEFORE_COMMAND 1
#endif
+#if PHP_DEBUG && !defined(PHP_WIN32)
+#define MYSQLND_DBG_ENABLED 1
+#else
+#define MYSQLND_DBG_ENABLED 0
+#endif
+
#ifdef ZTS
#include "TSRM.h"
#endif