summaryrefslogtreecommitdiff
path: root/innobase/dict
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-06-16 15:00:25 +0300
committerunknown <marko@hundin.mysql.fi>2005-06-16 15:00:25 +0300
commit76a11195b8f6af78ca7c90d5fea0ed751cdb3751 (patch)
tree2c2e2969ba88a4478ffb323400ad650e02f1a6be /innobase/dict
parent5fed4f3a5026b6fa1b6da28d463b9f43839041a0 (diff)
downloadmariadb-git-76a11195b8f6af78ca7c90d5fea0ed751cdb3751.tar.gz
InnoDB: Fix ut0dbg compilation errors on NetWare
innobase/dict/dict0boot.c: Remove dummy code to work around bug in the pgcc compiler. innobase/include/ut0dbg.h: UT_DBG_PANIC: Avoid exit(), as lexyy.c re-#defines exit(). Move the code to the function ut_dbg_panic() instead. innobase/ut/ut0dbg.c: [__NETWARE__] Add function ut_dbg_panic()
Diffstat (limited to 'innobase/dict')
-rw-r--r--innobase/dict/dict0boot.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/innobase/dict/dict0boot.c b/innobase/dict/dict0boot.c
index 0f6d55c9341..18a707a1b93 100644
--- a/innobase/dict/dict0boot.c
+++ b/innobase/dict/dict0boot.c
@@ -66,15 +66,6 @@ dict_hdr_get_new_id(
dict_hdr = dict_hdr_get(&mtr);
id = mtr_read_dulint(dict_hdr + type, &mtr);
-
- /* Add some dummy code here because otherwise pgcc seems to
- compile wrong */
-
- if (0 == ut_dulint_cmp(id, ut_dulint_max)) {
- /* TO DO: remove this code, or make it conditional */
- ut_dbg_null_ptr = 0;
- }
-
id = ut_dulint_add(id, 1);
mlog_write_dulint(dict_hdr + type, id, &mtr);