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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
83a57807
Commit
83a57807
authored
Jan 13, 2005
by
jani@ua141d10.elisa.omakaista.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Applied a patch for Netware.
parent
3ae7b67a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
sql/mysqld.cc
sql/mysqld.cc
+7
-1
No files found.
sql/mysqld.cc
View file @
83a57807
...
...
@@ -147,6 +147,10 @@ int deny_severity = LOG_WARNING;
#include <sys/mman.h>
#endif
#define zVOLSTATE_ACTIVE 6
#define zVOLSTATE_DEACTIVE 2
#define zVOLSTATE_MAINTENANCE 3
#ifdef __NETWARE__
#include <nks/vm.h>
#include <library.h>
...
...
@@ -1683,7 +1687,9 @@ ulong neb_event_callback(struct EventBlock *eblock)
voldata
=
(
EventChangeVolStateEnter_s
*
)
eblock
->
EBEventData
;
/* Deactivation of a volume */
if
((
voldata
->
oldState
==
6
&&
voldata
->
newState
==
2
))
if
((
voldata
->
oldState
==
zVOLSTATE_ACTIVE
&&
voldata
->
newState
==
zVOLSTATE_DEACTIVE
||
voldata
->
newState
==
zVOLSTATE_MAINTENANCE
))
{
/*
Ensure that we bring down MySQL server only for MySQL data
...
...
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