[MDEV-6517] wsrep should not call InnoDB/XtraDB functions that are not present Created: 2014-08-01  Updated: 2019-12-14  Resolved: 2019-12-14

Status: Closed
Project: MariaDB Server
Component/s: Galera
Affects Version/s: 5.5.38-galera, 10.0.12-galera
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Jan Lindström (Inactive) Assignee: Jan Lindström (Inactive)
Resolution: Won't Fix Votes: 0
Labels: galera, innodb, xtradb


 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;
}



 Comments   
Comment by Jan Lindström (Inactive) [ 2019-12-14 ]

Support for 5.5-galera has ended.

Generated at Thu Feb 08 07:12:32 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.