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
05a3c0e8
Commit
05a3c0e8
authored
Dec 21, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed shutdown problem on HPUX
parent
2dfa4555
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
8 deletions
+21
-8
Docs/manual.texi
Docs/manual.texi
+6
-0
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+7
-7
sql/mysqld.cc
sql/mysqld.cc
+8
-1
No files found.
Docs/manual.texi
View file @
05a3c0e8
...
@@ -46888,6 +46888,12 @@ not yet 100% confident in this code.
...
@@ -46888,6 +46888,12 @@ not yet 100% confident in this code.
@appendixsubsec Changes in release 3.23.47
@appendixsubsec Changes in release 3.23.47
@itemize @bullet
@itemize @bullet
@item
@item
InnoDB now supports @code{NULL} in keys.
@item
Fixed shutdown problem on HPUX. (Introduced in 3.23.46)
@item
Added 'DO expression' command.
@item
Fixed core-dump bug in replication when using SELECT RELEASE_LOCK();
Fixed core-dump bug in replication when using SELECT RELEASE_LOCK();
@item
@item
Added new statement DO expression,[expression].
Added new statement DO expression,[expression].
mysql-test/r/innodb.result
View file @
05a3c0e8
...
@@ -111,11 +111,11 @@ id parent_id level
...
@@ -111,11 +111,11 @@ id parent_id level
1010 102 2
1010 102 2
1015 102 2
1015 102 2
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1
index level level 1 NULL 39
where used; Using index
t1
ref level level 1 const 12
where used; Using index
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1
index level level 1 NULL 39
where used; Using index
t1
ref level level 1 const 12
where used; Using index
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1 ref level level 1 const 12
t1 ref level level 1 const 12
where used
level id
level id
1 1002
1 1002
1 1003
1 1003
...
@@ -133,9 +133,9 @@ level id parent_id
...
@@ -133,9 +133,9 @@ level id parent_id
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 optimize error The handler for the table doesn't support check/repair
test.t1 optimize error The handler for the table doesn't support check/repair
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 0 PRIMARY 1 id A
2
NULL NULL
t1 0 PRIMARY 1 id A
87
NULL NULL
t1 1 parent_id 1 parent_id A 2 NULL NULL
t1 1 parent_id 1 parent_id A 2
1
NULL NULL
t1 1 level 1 level A
2
NULL NULL
t1 1 level 1 level A
4
NULL NULL
gesuchnr benutzer_id
gesuchnr benutzer_id
1 1
1 1
2 1
2 1
...
@@ -438,7 +438,7 @@ hello 1
...
@@ -438,7 +438,7 @@ hello 1
Table Op Msg_type Msg_text
Table Op Msg_type Msg_text
test.t1 optimize error The handler for the table doesn't support check/repair
test.t1 optimize error The handler for the table doesn't support check/repair
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
Table Non_unique Key_name Seq_in_index Column_name Collation Cardinality Sub_part Packed Comment
t1 0 PRIMARY 1 a A
2
NULL NULL
t1 0 PRIMARY 1 a A
1
NULL NULL
i j
i j
1 2
1 2
i j
i j
...
...
sql/mysqld.cc
View file @
05a3c0e8
...
@@ -610,13 +610,20 @@ void kill_mysql(void)
...
@@ -610,13 +610,20 @@ void kill_mysql(void)
{
{
DBUG_PRINT
(
"error"
,(
"Got error %d from pthread_kill"
,
errno
));
/* purecov: inspected */
DBUG_PRINT
(
"error"
,(
"Got error %d from pthread_kill"
,
errno
));
/* purecov: inspected */
}
}
#el
se
#el
if !defined(SIGNALS_DONT_BREAK_READ)
kill
(
current_pid
,
MYSQL_KILL_SIGNAL
);
kill
(
current_pid
,
MYSQL_KILL_SIGNAL
);
#endif
#endif
DBUG_PRINT
(
"quit"
,(
"After pthread_kill"
));
DBUG_PRINT
(
"quit"
,(
"After pthread_kill"
));
shutdown_in_progress
=
1
;
// Safety if kill didn't work
shutdown_in_progress
=
1
;
// Safety if kill didn't work
#ifdef SIGNALS_DONT_BREAK_READ
#ifdef SIGNALS_DONT_BREAK_READ
if
(
!
abort_loop
)
{
pthread_t
tmp
;
abort_loop
=
1
;
abort_loop
=
1
;
if
(
pthread_create
(
&
tmp
,
&
connection_attrib
,
kill_server_thread
,
(
void
*
)
0
))
sql_print_error
(
"Error: Can't create thread to kill server"
);
}
#endif
#endif
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
...
...
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