summaryrefslogtreecommitdiff
path: root/dbug/dbug.c
diff options
context:
space:
mode:
authordf@kahlann.erinye.com <>2007-01-27 22:07:52 +0100
committerdf@kahlann.erinye.com <>2007-01-27 22:07:52 +0100
commiteadd2c4eef06249787025d0a3e0913eec067a437 (patch)
treeb6f69bf491dae22ff9db35e679d916f66e2c432b /dbug/dbug.c
parenta4208cdc1ca13b6d7e0821b49a9523f9af5fb6d5 (diff)
downloadmariadb-git-eadd2c4eef06249787025d0a3e0913eec067a437.tar.gz
Build fix for sunfire100b. This can go when BUG#14420 is fixed.
Diffstat (limited to 'dbug/dbug.c')
-rw-r--r--dbug/dbug.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index ef63f660543..6a17db588ad 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -2375,4 +2375,18 @@ va_list ap;
#endif /* NO_VARARGS */
+#else
+
+/*
+ * Dummy function, workaround for MySQL bug#14420 related
+ * build failure on a platform where linking with an empty
+ * archive fails.
+ *
+ * This block can be removed as soon as a fix for bug#14420
+ * is implemented.
+ */
+int i_am_a_dummy_function() {
+ return 0;
+}
+
#endif