diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-02 12:49:04 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-02-02 12:49:04 +0200 |
commit | c1e1764fc4b913ee688b383aac2698b83661d64c (patch) | |
tree | 244c873f35533b29f0118208468cf042b9e9ffe6 /mysys/errors.c | |
parent | a193c5720ea461ce82390af3fe9c292581242223 (diff) | |
download | mariadb-git-c1e1764fc4b913ee688b383aac2698b83661d64c.tar.gz |
Fix embedded innodb_plugin after 560799ebd8efe11f4c4ae1bb9ed4d39185e03800
wsrep_certification_rules: Define as a weak global symbol.
While there are separate _embedded.a for statically
linked storage engine plugins, there is only one ha_innodb.so
which is supposed to work with both values of WITH_WSREP.
The merge from 10.0-galera introduced a reference to a global
variable that is only defined when the server is built WITH_WSREP.
We must define that symbol as weak global, so that when
a dynamically linked InnoDB or XtraDB is used with the embedded
server (which never includes write-set replication patches),
the variable will be read as 0, instead of causing a failure to
load the InnoDB or XtraDB plugin.
Diffstat (limited to 'mysys/errors.c')
0 files changed, 0 insertions, 0 deletions