• Sergey Glukhov's avatar
    Bug#52856 concurrent show columns or show full columns causes a crash!!!1 · 8fa381fd
    Sergey Glukhov authored
    We should avoid any SHARE fields assignments as
    this is shared structure and assignments may
    affect other therads. To avoid this
    copy of SHARE struct is created and
    stored into TABLE struct which is
    used in get_schema_coulumns_record later.
    
    
    
    mysql-test/r/mdl_sync.result:
      test case
    mysql-test/t/mdl_sync.test:
      test case
    sql/sql_show.cc:
      We should avoid any SHARE fields assignments as
      this is shared structure and assignments may
      affect other therads. To avoid this
      copy of SHARE struct is created and
      stored into TABLE struct which is
      used in get_schema_coulumns_record later.
    8fa381fd
mdl_sync.result 65.3 KB