dbTalk Databases Forums  

bk commit into 5.0 tree (marko:1.1877)

mailing.database.mysql-internals mailing.database.mysql-internals


Discuss bk commit into 5.0 tree (marko:1.1877) in the mailing.database.mysql-internals forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Marko Mäkelä
 
Posts: n/a

Default bk commit into 5.0 tree (marko:1.1877) - 06-16-2005 , 10:46 AM






Below is the list of changes that have just been committed into a local
5.0 repository of marko. When marko does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/in...urce-tree.html

ChangeSet
1.1877 05/06/16 15:00:25 marko (AT) hundin (DOT) mysql.fi +3 -0
InnoDB: Fix ut0dbg compilation errors on NetWare

innobase/ut/ut0dbg.c
1.10 05/06/16 15:00:17 marko (AT) hundin (DOT) mysql.fi +15 -1
[__NETWARE__] Add function ut_dbg_panic()

innobase/include/ut0dbg.h
1.18 05/06/16 15:00:17 marko (AT) hundin (DOT) mysql.fi +2 -6
UT_DBG_PANIC: Avoid exit(), as lexyy.c re-#defines exit().
Move the code to the function ut_dbg_panic() instead.

innobase/dict/dict0boot.c
1.14 05/06/16 15:00:17 marko (AT) hundin (DOT) mysql.fi +0 -9
Remove dummy code to work around bug in the pgcc compiler.

# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: marko
# Host: hundin.mysql.fi
# Root: /home/marko/mysql-5.0

--- 1.13/innobase/dict/dict0boot.c Fri Jan 14 13:54:14 2005
+++ 1.14/innobase/dict/dict0boot.c Thu Jun 16 15:00:17 2005
@@ -66,15 +66,6 @@
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);

--- 1.17/innobase/include/ut0dbg.h Fri Jun 10 12:22:15 2005
+++ 1.18/innobase/include/ut0dbg.h Thu Jun 16 15:00:17 2005
@@ -36,12 +36,8 @@
On NetWare, have a graceful exit rather than a segfault to avoid abends. */
extern ibool panic_shutdown;
/* Abort the execution. */
-# define UT_DBG_PANIC \
- if (!panic_shutdown){ \
- panic_shutdown = TRUE; \
- innobase_shutdown_for_mysql(); \
- } \
- exit(1)
+void ut_dbg_panic(void);
+# define UT_DBG_PANIC ut_dbg_panic()
/* Stop threads in ut_a(). */
# define UT_DBG_STOP while (0) /* We do not do this on NetWare */
#else /* __NETWARE__ */

--- 1.9/innobase/ut/ut0dbg.c Fri Jun 10 12:22:15 2005
+++ 1.10/innobase/ut/ut0dbg.c Thu Jun 16 15:00:17 2005
@@ -59,7 +59,21 @@
ut_dbg_stop_threads = TRUE;
}

-#ifndef __NETWARE__
+#ifdef __NETWARE__
+/************************************************** ***************
+Shut down MySQL/InnoDB after assertion failure. */
+
+void
+ut_dbg_panic(void)
+/*==============*/
+{
+ if (!panic_shutdown) {
+ panic_shutdown = TRUE;
+ innobase_shutdown_for_mysql();
+ }
+ exit(1);
+}
+#else /* __NETWARE__ */
/************************************************** ***************
Stop a thread after assertion failure. */


--
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe: http://lists.mysql.com/internals?uns...ie.nctu.edu.tw


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.