From 0c7a9b8010f07cf3e1f457a3e9cb25fedd3aa5c0 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Fri, 11 Dec 2009 10:18:00 +0000 Subject: Move two functions which are used in the extension as methods of the connection. Two functions less in the global namespace. --- ext/mysqlnd/mysqlnd_loaddata.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'ext/mysqlnd/mysqlnd_loaddata.c') 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; } -- cgit v1.2.1