[Commits] 40e4983bfd7: Fix compiler error.
revision-id: 40e4983bfd746976d926df0ef9cfea98f35f5910 (mariadb-10.3.6-192-g40e4983bfd7) parent(s): d15faa1fc39d84fb52bcb0f9c4a807bdb60a8659 author: Jan Lindström committer: Jan Lindström timestamp: 2018-11-16 12:48:04 +0200 message: Fix compiler error. --- sql/sql_parse.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index 3de97c8d9d8..cf074d91c2e 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -7941,7 +7941,7 @@ static void wsrep_prepare_for_autocommit_retry(THD* thd, /* DTRACE begin */ MYSQL_QUERY_START(rawbuf, thd->thread_id, - (char *) (thd->db ? thd->db.str : ""), + (char *)(thd->db.str ? : thd->db.str : "unknown"), &thd->security_ctx->priv_user[0], (char *) thd->security_ctx->host_or_ip);
participants (1)
-
jan