summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_loaddata.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-12-11 10:18:00 +0000
committerAndrey Hristov <andrey@php.net>2009-12-11 10:18:00 +0000
commit2cc95115f3e380eb2002a837120e40c505bddd04 (patch)
tree9f78c460d3c9650347a3c645f7f266e5ad08bc75 /ext/mysqlnd/mysqlnd_loaddata.c
parentfc622cadee7bbf7356b9a64c4d8cd846b13d2bd4 (diff)
downloadphp-git-2cc95115f3e380eb2002a837120e40c505bddd04.tar.gz
Move two functions which are used in the extension as methods of
the connection. Two functions less in the global namespace.
Diffstat (limited to 'ext/mysqlnd/mysqlnd_loaddata.c')
-rw-r--r--ext/mysqlnd/mysqlnd_loaddata.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/mysqlnd/mysqlnd_loaddata.c b/ext/mysqlnd/mysqlnd_loaddata.c
index c050f4019f..65db122ce3 100644
--- a/ext/mysqlnd/mysqlnd_loaddata.c
+++ b/ext/mysqlnd/mysqlnd_loaddata.c
@@ -25,12 +25,6 @@
#include "mysqlnd_priv.h"
#include "mysqlnd_debug.h"
-enum_func_status mysqlnd_simple_command_handle_response(MYSQLND *conn,
- enum php_mysql_packet_type ok_packet,
- zend_bool silent, enum php_mysqlnd_server_command command,
- zend_bool ignore_upsert_status
- TSRMLS_DC);
-
#define ALLOC_CALLBACK_ARGS(a, b, c)\
if (c) {\
@@ -242,7 +236,7 @@ mysqlnd_handle_local_infile(MYSQLND *conn, const char *filename, zend_bool *is_w
infile_error:
/* get response from server and update upsert values */
- if (FAIL == mysqlnd_simple_command_handle_response(conn, PROT_OK_PACKET, FALSE, COM_QUERY, FALSE TSRMLS_CC)) {
+ if (FAIL == conn->m->simple_command_handle_response(conn, PROT_OK_PACKET, FALSE, COM_QUERY, FALSE TSRMLS_CC)) {
result = FAIL;
}