summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_priv.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2015-10-19 18:20:28 +0200
committerAndrey Hristov <andrey@php.net>2015-11-12 16:19:16 +0100
commit10d4fb8a9428d2b84ac6093bb3987ef667916fd4 (patch)
tree47689094460b0b0cc008d839e67d43a32ef187d6 /ext/mysqlnd/mysqlnd_priv.h
parente24dc94f325476e8921d8447970a27b9305d93c6 (diff)
downloadphp-git-10d4fb8a9428d2b84ac6093bb3987ef667916fd4.tar.gz
MDNR:
- Refactor the command factory. Let the factory be exchangeable.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_priv.h')
-rw-r--r--ext/mysqlnd/mysqlnd_priv.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/ext/mysqlnd/mysqlnd_priv.h b/ext/mysqlnd/mysqlnd_priv.h
index 831b30d13f..fdd663276f 100644
--- a/ext/mysqlnd/mysqlnd_priv.h
+++ b/ext/mysqlnd/mysqlnd_priv.h
@@ -240,10 +240,7 @@ mysqlnd_auth_change_user(MYSQLND_CONN_DATA * const conn,
size_t * switch_to_auth_protocol_data_len
);
-/* {{{ mysqlnd_get_command */
-struct st_mysqlnd_protocol_command *
-mysqlnd_get_command(enum php_mysqlnd_server_command command, ...);
-
+extern func_mysqlnd__command_factory mysqlnd_command_factory;
#endif /* MYSQLND_PRIV_H */