• unknown's avatar
    Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc... · 6959d204
    unknown authored
    PS-protocol data is stored in different format - the MYSQL_RECORDS->data
    contains the link to the record content, not to array of the links to
    the field's contents. So we have to handle it separately for
    embedded-server query cache.
    
    
    libmysqld/emb_qcache.cc:
      Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
      
      ps_protocol data now stored in it's particular way.
    libmysqld/emb_qcache.h:
      Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
      
      Querycache_stream::load_char/store_char  ->
        load_uchar/store_uchar
    mysql-test/r/func_misc.result:
      Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
      
      test result
    mysql-test/t/func_misc.test:
      Bug #30430 crash:./mtr --embedded-server --ps-protocol cache_innodb func_misc...
      
      the test uses t2 table, so let's make sure it doesn't exist befor the start
    6959d204
emb_qcache.cc 11.5 KB