• Sergey Glukhov's avatar
    Bug#43962 "Packets out of order" calling a SHOW TABLE STATUS · 5d41d821
    Sergey Glukhov authored
    Error happens because sp_head::MULTI_RESULTS is not set for SP
    which has 'show table status' command.
    The fix is to add a SQLCOM_SHOW_TABLE_STATUS case into
    sp_get_flags_for_command() func.
    
    
    mysql-test/r/sp.result:
      test result
    mysql-test/t/sp.test:
      test case
    sql/sp_head.cc:
      Error happens because sp_head::MULTI_RESULTS is not set for SP
      which has 'show table status' command.
      The fix is to add a SQLCOM_SHOW_TABLE_STATUS case into
      sp_get_flags_for_command() func.
    5d41d821
sp.test 174 KB