• Michael Widenius's avatar
    Fix for bug lp:1039277 "Crash in sql_cache.cc". · a45c451e
    Michael Widenius authored
    The crash happend when combining query cache, prepared statements and using a read only cursor.
    
    sql/sql_cache.cc:
      Fixed unlikely error when one adjust query cache size in middle of operation
    sql/sql_cursor.cc:
      Disable query cache when using cursors. This fixed lp:1039277
    tests/mysql_client_test.c:
      Test case for lp:1039277
    a45c451e
sql_cursor.cc 11.8 KB