• unknown's avatar
    Bug #13231 mysqltest: fails to dectect when mysql_next_result fails · b4f41433
    unknown authored
     - Packets out of order when reading cached data stored by a normal select from a ps or vice versa.
     - Add pkt_nr to query cache flags 
    
    
    mysql-test/r/query_cache.result:
      Update test results
      Add the resultsets that wasn't there before.
    mysql-test/t/query_cache.test:
      Improve test to call queries from both a regular statment and a statement inside a stored procedure.
    sql/mysql_priv.h:
      Add pkt_nr to query cache flags
    sql/sql_cache.cc:
      Set pkt_nr in flags before retrieving/storing a query in the cache
    b4f41433
sql_cache.cc 123 KB