diff options
Diffstat (limited to 'sql/log_event.h')
-rw-r--r-- | sql/log_event.h | 2 |
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) {} |