summaryrefslogtreecommitdiff
path: root/sql/wsrep_mysqld.cc
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2017-11-16 10:02:29 +0800
committerSergei Golubchik <serg@mariadb.org>2017-11-17 13:55:14 +0800
commit685db2c112b9d5d59a78835d444e23cf754cda7f (patch)
tree9f915b5ef49888dbc49a5207cebb8034e842a57b /sql/wsrep_mysqld.cc
parent4666f015349e5bdd3b7ee3b2eedf50020a460e5b (diff)
downloadmariadb-git-685db2c112b9d5d59a78835d444e23cf754cda7f.tar.gz
Fix the build on OpenBSD (#488)
* cast pthread_t for printf * don't use RTLD_NOLOAD * tokudb fails without F_NOCACHE and O_DIRECT - ditto
Diffstat (limited to 'sql/wsrep_mysqld.cc')
-rw-r--r--sql/wsrep_mysqld.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/wsrep_mysqld.cc b/sql/wsrep_mysqld.cc
index 33689a91661..bdc8491080d 100644
--- a/sql/wsrep_mysqld.cc
+++ b/sql/wsrep_mysqld.cc
@@ -1976,7 +1976,7 @@ static bool abort_replicated(THD *thd)
bool ret_code= false;
if (thd->wsrep_query_state== QUERY_COMMITTING)
{
- WSREP_DEBUG("aborting replicated trx: %lu", thd->real_id);
+ WSREP_DEBUG("aborting replicated trx: %llu", (ulonglong)(thd->real_id));
(void)wsrep_abort_thd(thd, thd, TRUE);
ret_code= true;