diff options
author | Andrey Hristov <andrey@php.net> | 2009-12-11 10:18:00 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2009-12-11 10:18:00 +0000 |
commit | 0c7a9b8010f07cf3e1f457a3e9cb25fedd3aa5c0 (patch) | |
tree | 64266bd37fa315140e8bd7e606de3f55f950a28e /ext/mysqlnd/mysqlnd_loaddata.c | |
parent | 03a47e9b03b70e711b7e0e557312d40e23dff12b (diff) | |
download | php-git-0c7a9b8010f07cf3e1f457a3e9cb25fedd3aa5c0.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.c | 8 |
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; } |