diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-15 14:38:56 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2021-03-15 14:38:56 +0100 |
| commit | 5604c2d05c524ecb3f4db4fa909f1da7168d4eb6 (patch) | |
| tree | 54adcde1c45024908a2f729379782ccabf49e14e /ext/mysqlnd/mysqlnd_ps.c | |
| parent | 7e3840df90db038de89f0a5041fac2f08497923d (diff) | |
| parent | 6493b516f9573f8a9368376b900eb9df758b1d40 (diff) | |
| download | php-git-5604c2d05c524ecb3f4db4fa909f1da7168d4eb6.tar.gz | |
Merge branch 'PHP-8.0'
* PHP-8.0:
Fix bug #80837
Diffstat (limited to 'ext/mysqlnd/mysqlnd_ps.c')
| -rw-r--r-- | ext/mysqlnd/mysqlnd_ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysqlnd/mysqlnd_ps.c b/ext/mysqlnd/mysqlnd_ps.c index 512ca9b9ef..66a60c4f95 100644 --- a/ext/mysqlnd/mysqlnd_ps.c +++ b/ext/mysqlnd/mysqlnd_ps.c @@ -89,7 +89,7 @@ MYSQLND_METHOD(mysqlnd_stmt, store_result)(MYSQLND_STMT * const s) /* Nothing to store for UPSERT/LOAD DATA*/ if (!mysqlnd_stmt_check_state(stmt)) { - SET_CLIENT_ERROR(conn->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync); + SET_CLIENT_ERROR(stmt->error_info, CR_COMMANDS_OUT_OF_SYNC, UNKNOWN_SQLSTATE, mysqlnd_out_of_sync); DBG_RETURN(NULL); } |
