summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMayank Prasad <mayank.prasad@oracle.com>2012-04-06 17:03:13 +0530
committerMayank Prasad <mayank.prasad@oracle.com>2012-04-06 17:03:13 +0530
commitfe3f79933bb13023a41e626dc3b5fd5ad75508f6 (patch)
treed0edc0f2c4d41352d2fa8ca2a63888d7389dd3a4 /CMakeLists.txt
parentf3d5127f4d1c9cccf9f1ab74ef2fa290b33f234d (diff)
downloadmariadb-git-fe3f79933bb13023a41e626dc3b5fd5ad75508f6.tar.gz
BUG#13738989 : 62136 : FAILED TO FETCH SELECT RESULT USING EMBEDDED MYSQLD
Background : In mysql-5.1, in a fix for bug#47485, code has been changed for mysql client (libmysql/libmysql.c) but corresponding code was not changed for embedded mysql. In that code change, after execution of a statement, mysql_stmt_store_result() checks for mysql->state to be MYSQL_STATUS_STATEMENT_GET_RESULT, instead of MYSQL_STATUS_GET_RESULT (earlier). Reason: In embedded mysql code, after execution, mysql->state was not set to MYSQL_STATUS_STATEMENT_GET_RESULT, so it was throwing OUT_OF_SYNC error. Fix: Fixed the code in libmysqld/lib_sql.cc to have mysql->state to be set to MYSQL_STATUS_STATEMENT_GET_RESULT after execution.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions