• Jan Lindström's avatar
    MDEV-26597 : Assertion `!wsrep_has_changes(thd) || (thd->lex->sql_command ==... · e8acec89
    Jan Lindström authored
    MDEV-26597 : Assertion `!wsrep_has_changes(thd) || (thd->lex->sql_command == SQLCOM_CREATE_TABLE && !thd->is_current_stmt_binlog_format_row())' failed.
    
    If repl.max_ws_size is set too low following CREATE TABLE could fail
    during commit. In this case wsrep_commit_empty should allow rolling
    it back if provider state is s_aborted.
    
    Furhermore, original ER_ERROR_DURING_COMMIT does not really tell anything
    clear for user. Therefore, this commit adds a new error
    ER_TOO_BIG_WRITESET. This will change some test cases output.
    e8acec89
wsrep_thd.h 9.45 KB