diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-05-11 08:59:51 +0300 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-05-11 08:59:51 +0300 |
| commit | 7d44e2e7ffc8df4e6936aa56439c569e1dd92edd (patch) | |
| tree | 0455af3d15f142f1cc14389b36b83deb13e50ef1 /sql/wsrep_schema.cc | |
| parent | f288d42cdbc98460e097f771a4ad015667e355fb (diff) | |
| parent | 2668d596d1b4da99206146e4a2a25fc2d5dabeff (diff) | |
| download | mariadb-git-7d44e2e7ffc8df4e6936aa56439c569e1dd92edd.tar.gz | |
Merge mariadb-10.8.8 into 10.8
Diffstat (limited to 'sql/wsrep_schema.cc')
| -rw-r--r-- | sql/wsrep_schema.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/wsrep_schema.cc b/sql/wsrep_schema.cc index f39588e41db..a19ea688fd6 100644 --- a/sql/wsrep_schema.cc +++ b/sql/wsrep_schema.cc @@ -1016,10 +1016,9 @@ int Wsrep_schema::append_fragment(THD* thd, Wsrep_schema_impl::store(frag_table, 3, flags); Wsrep_schema_impl::store(frag_table, 4, data.data(), data.size()); - int error; - if ((error= Wsrep_schema_impl::insert(frag_table))) { - WSREP_ERROR("Failed to write to frag table: %d", error); + if (Wsrep_schema_impl::insert(frag_table)) { trans_rollback_stmt(thd); + close_thread_tables(thd); thd->lex->restore_backup_query_tables_list(&query_tables_list_backup); DBUG_RETURN(1); } |
