summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-07-12 08:20:24 +0300
committerunknown <monty@mysql.com>2004-07-12 08:20:24 +0300
commit677d60bc61a36be16af964eaae47cc88b0ecc33f (patch)
tree4b4523bbabccb4e51b85fc209e3274f249f85ef8 /include/my_global.h
parentc4645f84047585b12523d8d111044bf040880bb4 (diff)
parent18d974a3e7b48eec96c8837d42ebbc698e68ca55 (diff)
downloadmariadb-git-677d60bc61a36be16af964eaae47cc88b0ecc33f.tar.gz
Merge with 4.1
BitKeeper/etc/logging_ok: auto-union client/mysqltest.c: Auto merged configure.in: Auto merged include/my_global.h: Auto merged mysql-test/r/bdb.result: Auto merged mysql-test/r/connect.result: Auto merged mysql-test/r/multi_update.result: Auto merged mysql-test/r/show_check.result: Auto merged mysql-test/r/system_mysql_db.result: Auto merged mysql-test/t/multi_update.test: Auto merged sql/ha_berkeley.cc: Auto merged sql/ha_berkeley.h: Auto merged sql/ha_heap.h: Auto merged sql/ha_innodb.h: Auto merged sql/handler.h: Auto merged sql/item_cmpfunc.cc: Auto merged sql/log.cc: Auto merged sql/mysql_priv.h: Auto merged sql/mysqld.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_acl.cc: Auto merged sql/sql_class.cc: Auto merged sql/sql_db.cc: Auto merged sql/sql_parse.cc: Auto merged sql/sql_show.cc: Auto merged sql/sql_table.cc: Auto merged sql/sql_update.cc: Auto merged sql/sql_yacc.yy: Auto merged sql/opt_range.cc: Merge with 4.1 true -> TRUE and false -> FALSE
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 6490a775e7c..df42a91a739 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -213,7 +213,11 @@ C_MODE_END
/* Fix problem when linking c++ programs with gcc 3.x */
#ifdef DEFINE_CXA_PURE_VIRTUAL
-#define FIX_GCC_LINKING_PROBLEM extern "C" { int __cxa_pure_virtual() {return 0;} }
+#define FIX_GCC_LINKING_PROBLEM \
+extern "C" { int __cxa_pure_virtual() {\
+ DBUG_ASSERT("Pure virtual method called." == "Aborted");\
+ return 0;\
+} }
#else
#define FIX_GCC_LINKING_PROBLEM
#endif