summaryrefslogtreecommitdiff
path: root/sql/sql_binlog.cc
diff options
context:
space:
mode:
authoriggy@alf. <>2007-06-15 14:32:16 -0400
committeriggy@alf. <>2007-06-15 14:32:16 -0400
commitc15a2647a0a4e88612bb3c3aa8d7417860016155 (patch)
treea99e37995345d1f6afa5a8c17d594bb24252f34c /sql/sql_binlog.cc
parent65e47d59db50661f49882fe666d9e1650233d662 (diff)
downloadmariadb-git-c15a2647a0a4e88612bb3c3aa8d7417860016155.tar.gz
Embedded Server doesn't build on Windows.
- Add build configuration parameter EMBEDDED_ONLY which will configure the VS solution to produce only mysql embedded binary. - Make necessary updates to successfully compile solution.
Diffstat (limited to 'sql/sql_binlog.cc')
-rw-r--r--sql/sql_binlog.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_binlog.cc b/sql/sql_binlog.cc
index 77432ce518e..87224b8eea0 100644
--- a/sql/sql_binlog.cc
+++ b/sql/sql_binlog.cc
@@ -172,6 +172,7 @@ void mysql_client_binlog_statement(THD* thd)
not used at all: the rli_fake instance is used only for error
reporting.
*/
+#if !defined(MYSQL_CLIENT) && defined(HAVE_REPLICATION)
if (IF_DBUG(int err= ) ev->apply_event(thd->rli_fake))
{
DBUG_PRINT("info", ("apply_event() returned: %d", err));
@@ -182,6 +183,7 @@ void mysql_client_binlog_statement(THD* thd)
my_error(ER_UNKNOWN_ERROR, MYF(0), "Error executing BINLOG statement");
goto end;
}
+#endif
delete ev;
ev= 0;