Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
f11bbee7
Commit
f11bbee7
authored
Jun 16, 2005
by
marko@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
InnoDB: Fix ut0dbg compilation errors on NetWare
parent
4ef632ba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
innobase/dict/dict0boot.c
innobase/dict/dict0boot.c
+0
-9
innobase/include/ut0dbg.h
innobase/include/ut0dbg.h
+2
-6
innobase/ut/ut0dbg.c
innobase/ut/ut0dbg.c
+15
-1
No files found.
innobase/dict/dict0boot.c
View file @
f11bbee7
...
...
@@ -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
);
...
...
innobase/include/ut0dbg.h
View file @
f11bbee7
...
...
@@ -36,12 +36,8 @@ ut_dbg_assertion_failed(
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__ */
...
...
innobase/ut/ut0dbg.c
View file @
f11bbee7
...
...
@@ -59,7 +59,21 @@ ut_dbg_assertion_failed(
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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment