diff options
| author | Andrey Hristov <andrey@php.net> | 2015-10-30 16:05:55 +0100 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2015-11-12 16:19:16 +0100 |
| commit | aa4966d4e37076ed560ba0a10f0758863d8af389 (patch) | |
| tree | 8e63da50d63f80148768989f50c66517d91b23b3 /ext/mysqlnd/mysqlnd_ps.c | |
| parent | f7a445856dc6abcf7bca13377ea94ab474681874 (diff) | |
| download | php-git-aa4966d4e37076ed560ba0a10f0758863d8af389.tar.gz | |
MNDR:
- now send_command_handle_response() also doesn't depend directly on
MYSQLND_CONN_DATA
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 59f600a2ee..bc68816ce0 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -1302,9 +1302,7 @@ MYSQLND_METHOD(mysqlnd_stmt, reset)(MYSQLND_STMT * const s) ret = command->run(command); command->free_command(command); - if (ret == PASS) { - ret = conn->m->send_command_handle_response(conn, PROT_OK_PACKET, FALSE, COM_STMT_RESET, TRUE); - } else { + if (ret == FAIL) { COPY_CLIENT_ERROR(stmt->error_info, *conn->error_info); } } |
