summaryrefslogtreecommitdiff
path: root/sql/log_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/log_event.h')
-rw-r--r--sql/log_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/log_event.h b/sql/log_event.h
index 700301a7f34..ddb1163d56a 100644
--- a/sql/log_event.h
+++ b/sql/log_event.h
@@ -1253,7 +1253,7 @@ public:
#endif /* HAVE_REPLICATION */
virtual const char* get_db()
{
- return thd ? thd->db : 0;
+ return thd ? thd->db.str : 0;
}
#else
Log_event() : temp_buf(0), when(0), flags(0) {}