Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-6517

wsrep should not call InnoDB/XtraDB functions that are not present

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 5.5.38-galera, 10.0.12-galera
    • Fix Version/s: 5.5.46-galera
    • Component/s: None
    • Labels:

      Description

      E.g:

      #1 0x0000555555bc9e08 in get_SE_checkpoint (unused=0x0, plugin=0x7fffffffd258, arg=0x7fffffffd310) at /home/jan/server/sql/wsrep_mysqld.cc:186
      (gdb) p hton->wsrep_get_checkpoint
      $1 = (int (handlerton *, XID *)) 0x0

      Instead causing signal 11, we should do:

      if (hton->wsrep_get_checkpoint) {
        hton->wsrep_get_checkpoint(...);
      } else {
        fprintf(stderr, "BIG FAT ERROR MESSAGE\n");
        stop;
      }
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              People

              • Assignee:
                nirbhay_c Nirbhay Choubey
                Reporter:
                jplindst Jan Lindström
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: