summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2011-11-22 16:38:06 +0000
committerAndrey Hristov <andrey@php.net>2011-11-22 16:38:06 +0000
commit692e7f2bd939fe43db7870d30a106e4442e0207a (patch)
treeaa84b4b439977f133d17d2edb5837aa5bcdf44d3
parent72ad61733ae4f293e0aa1f2db426b84741827d01 (diff)
downloadphp-git-692e7f2bd939fe43db7870d30a106e4442e0207a.tar.gz
use the method in all builds. Thus it can be used for detection
of state transitioning in every case
-rw-r--r--ext/mysqlnd/mysqlnd_priv.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mysqlnd/mysqlnd_priv.h b/ext/mysqlnd/mysqlnd_priv.h
index 05035ede6a..52f6674b4c 100644
--- a/ext/mysqlnd/mysqlnd_priv.h
+++ b/ext/mysqlnd/mysqlnd_priv.h
@@ -147,15 +147,8 @@
#define SET_STMT_ERROR(stmt, a, b, c) SET_CLIENT_ERROR((stmt)->error_info, a, b, c)
-
-#ifdef ZTS
#define CONN_GET_STATE(c) (c)->m->get_state((c) TSRMLS_CC)
#define CONN_SET_STATE(c, s) (c)->m->set_state((c), (s) TSRMLS_CC)
-#else
-#define CONN_GET_STATE(c) ((c)->state)
-#define CONN_SET_STATE(c, s) ((c)->state = (s))
-#endif
-
/* PS stuff */
typedef void (*ps_field_fetch_func)(zval *zv, const MYSQLND_FIELD * const field,