summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorShubhangi Garg <shubhangi.garg@oracle.com>2013-05-14 22:52:42 +0530
committerShubhangi Garg <shubhangi.garg@oracle.com>2013-05-14 22:52:42 +0530
commit1a613f89a87c91723d88dce99a339febc7a86ff5 (patch)
treee225157e3d81028992478e7ed5ed12d037075ab5 /client
parentc86611653e34b70f865062d6da68341d5c4dfa5a (diff)
downloadmariadb-git-1a613f89a87c91723d88dce99a339febc7a86ff5.tar.gz
Bug#16607258 :Linker Errors Due To Inclusion Of An Implementation File
In log_event.h DESCRIPTION: Due to inclusion of an implementation file, namely 'rpl_tblmap.cc' in a header file, namely 'log_event.h'; linker errors occur if log_event.h is included in an application containing multiple source files, such as in the case of Binlog API. Binlog API requires including log_event.h in its source files; which leads to multiple definition errors, for functions defined in rpl_tblmap.cc for class 'table_mapping'. FIX: Change the inclusion from header file(log_event.h) to source files using this header and have flag MYSQL_CLIENT set. The only file in the current server repository is mysqlbinlog.cc.
Diffstat (limited to 'client')
-rw-r--r--client/mysqlbinlog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/mysqlbinlog.cc b/client/mysqlbinlog.cc
index 60c9e4a0b40..dbc30680959 100644
--- a/client/mysqlbinlog.cc
+++ b/client/mysqlbinlog.cc
@@ -2225,3 +2225,4 @@ int main(int argc, char** argv)
#include "log_event.cc"
#include "log_event_old.cc"
#include "rpl_utility.cc"
+#include "rpl_tblmap.cc"