summaryrefslogtreecommitdiff
path: root/dbug/dbug.c
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@mysql.com>2008-11-19 13:57:23 +0400
committerAlexey Botchkov <holyfoot@mysql.com>2008-11-19 13:57:23 +0400
commit70e8a4fd544984c3b7792d2428d16e0f4a244076 (patch)
tree071816ae207f688b1ce7cd2f417f46f05d90aad8 /dbug/dbug.c
parent749f8b3ec1fe144a5f510ecb2e9ab9b198185755 (diff)
downloadmariadb-git-70e8a4fd544984c3b7792d2428d16e0f4a244076.tar.gz
Bug#38293 Libmysqld crash in mysql_library_init if language file missing
That's a Win-specific error. When we create libmysqld.dll we have many libraries like mysys, dbug, strings, etc linked into that dll, so the application built upon this library shouldn't link these libraries to itself, rather use those inside the dll. Fixed by redirecting calls into the libmysqld.dll per-file comments: dbug/dbug.c Bug#38293 Libmysqld crash in mysql_library_init if language file missing fake _db_something definitions added include/my_dbug.h Bug#38293 Libmysqld crash in mysql_library_init if language file missing fake _db_something declarations added libmysqld/examples/CMakeLists.txt Bug#38293 Libmysqld crash in mysql_library_init if language file missing superfluous libraries removed from linking libmysqld/libmysqld.def Bug#38293 Libmysqld crash in mysql_library_init if language file missing set of mysys functions added to the export section
Diffstat (limited to 'dbug/dbug.c')
-rw-r--r--dbug/dbug.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/dbug/dbug.c b/dbug/dbug.c
index 1cebbbcf72a..bbd1abb9598 100644
--- a/dbug/dbug.c
+++ b/dbug/dbug.c
@@ -2407,4 +2407,13 @@ int i_am_a_dummy_function() {
return 0;
}
+#ifdef __WIN__
+char _db_doprnt_;
+char _db_enter_;
+char _db_pargs_;
+char _db_process_;
+char _db_push_;
+char _db_return_;
+#endif /*__WIN__*/
+
#endif