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
a504857e
Commit
a504857e
authored
May 11, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
yet another merge from main
parents
83b10393
d2fe2a71
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
8 deletions
+15
-8
mysys/safemalloc.c
mysys/safemalloc.c
+1
-1
scripts/make_binary_distribution.sh
scripts/make_binary_distribution.sh
+7
-2
scripts/make_win_bin_dist
scripts/make_win_bin_dist
+1
-1
sql/log_event.cc
sql/log_event.cc
+1
-0
sql/slave.cc
sql/slave.cc
+5
-4
No files found.
mysys/safemalloc.c
View file @
a504857e
...
...
@@ -174,7 +174,7 @@ void *_mymalloc(size_t size, const char *filename, uint lineno, myf MyFlags)
data
[
size
+
3
]
=
MAGICEND3
;
irem
->
filename
=
(
char
*
)
filename
;
irem
->
linenum
=
lineno
;
irem
->
datasize
=
size
;
irem
->
datasize
=
(
uint32
)
size
;
irem
->
prev
=
NULL
;
/* Add this remember structure to the linked list */
...
...
scripts/make_binary_distribution.sh
View file @
a504857e
...
...
@@ -116,10 +116,15 @@ case $PLATFORM in
esac
# Change the distribution to a long descriptive name
# For the cluster product, concentrate on the second part
VERSION_NAME
=
@VERSION@
case
$VERSION_NAME
in
*
-ndb-
*
)
VERSION_NAME
=
`
echo
$VERSION_NAME
|
sed
-e
's/[.0-9]*-ndb-//'
`
;;
esac
if
[
x
"
$SHORT_PRODUCT_TAG
"
!=
x
""
]
;
then
NEW_NAME
=
mysql-
$SHORT_PRODUCT_TAG
-
@VERSION@
-
$PLATFORM$SUFFIX
NEW_NAME
=
mysql-
$SHORT_PRODUCT_TAG
-
$VERSION_NAME
-
$PLATFORM$SUFFIX
else
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-
@VERSION@
-
$PLATFORM$SUFFIX
NEW_NAME
=
mysql@MYSQL_SERVER_SUFFIX@-
$VERSION_NAME
-
$PLATFORM$SUFFIX
fi
# ----------------------------------------------------------------------
...
...
scripts/make_win_bin_dist
View file @
a504857e
...
...
@@ -126,7 +126,7 @@ if [ -e $DESTDIR ] ; then
usage
fi
trap
'echo "Clea
r
ning up and exiting..." ; rm -fr $DESTDIR; exit 1'
ERR
trap
'echo "Cleaning up and exiting..." ; rm -fr $DESTDIR; exit 1'
ERR
# ----------------------------------------------------------------------
# Adjust target name if needed, release with debug info has another name
...
...
sql/log_event.cc
View file @
a504857e
...
...
@@ -7360,6 +7360,7 @@ int Rows_log_event::do_apply_event(Relay_log_info const *rli)
// Do event specific preparations
error
=
do_before_row_operations
(
rli
);
// row processing loop
while
(
error
==
0
&&
m_curr_row
<
m_rows_end
)
...
...
sql/slave.cc
View file @
a504857e
...
...
@@ -404,8 +404,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_PRINT
(
"info"
,(
"Terminating IO thread"
));
mi
->
abort_slave
=
1
;
if
((
error
=
terminate_slave_thread
(
mi
->
io_thd
,
io_lock
,
&
mi
->
stop_cond
,
&
mi
->
slave_running
,
&
mi
->
stop_cond
,
&
mi
->
slave_running
,
skip_lock
))
&&
!
force_all
)
DBUG_RETURN
(
error
);
...
...
@@ -415,8 +415,8 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_PRINT
(
"info"
,(
"Terminating SQL thread"
));
mi
->
rli
.
abort_slave
=
1
;
if
((
error
=
terminate_slave_thread
(
mi
->
rli
.
sql_thd
,
sql_lock
,
&
mi
->
rli
.
stop_cond
,
&
mi
->
rli
.
slave_running
,
&
mi
->
rli
.
stop_cond
,
&
mi
->
rli
.
slave_running
,
skip_lock
))
&&
!
force_all
)
DBUG_RETURN
(
error
);
...
...
@@ -424,6 +424,7 @@ int terminate_slave_threads(Master_info* mi,int thread_mask,bool skip_lock)
DBUG_RETURN
(
0
);
}
/**
Wait for a slave thread to terminate.
...
...
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