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
6fbb712f
Commit
6fbb712f
authored
Aug 27, 2009
by
Alexander Nozdrin
Browse files
Options
Browse Files
Download
Plain Diff
Merge from mysql-trunk.
parents
b1252bdf
12a45142
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
4 deletions
+8
-4
configure.in
configure.in
+1
-1
man/Makefile.am
man/Makefile.am
+1
-1
storage/innobase/handler/handler0alter.cc
storage/innobase/handler/handler0alter.cc
+1
-0
storage/innobase/lock/lock0lock.c
storage/innobase/lock/lock0lock.c
+5
-2
No files found.
configure.in
View file @
6fbb712f
...
@@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
...
@@ -10,7 +10,7 @@ AC_CANONICAL_SYSTEM
#
#
# When changing major version number please also check switch statement
# When changing major version number please also check switch statement
# in client/mysqlbinlog.cc:check_master_version().
# in client/mysqlbinlog.cc:check_master_version().
AM_INIT_AUTOMAKE
(
mysql, 5.4.
2
-beta
)
AM_INIT_AUTOMAKE
(
mysql, 5.4.
3
-beta
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
AM_CONFIG_HEADER
([
include/config.h:config.h.in]
)
PROTOCOL_VERSION
=
10
PROTOCOL_VERSION
=
10
...
...
man/Makefile.am
View file @
6fbb712f
...
@@ -23,7 +23,7 @@ EXTRA_DIST = $(man1_MANS) $(man8_MANS)
...
@@ -23,7 +23,7 @@ EXTRA_DIST = $(man1_MANS) $(man8_MANS)
# "make_win_*" are not needed in Unix binary packages,
# "make_win_*" are not needed in Unix binary packages,
install-data-hook
:
install-data-hook
:
rm
-f
$(DESTDIR)$(man
lib
dir)
/man1/make_win_
*
rm
-f
$(DESTDIR)$(mandir)
/man1/make_win_
*
# Don't update the files from bitkeeper
# Don't update the files from bitkeeper
%
::
SCCS/s.%
%
::
SCCS/s.%
storage/innobase/handler/handler0alter.cc
View file @
6fbb712f
...
@@ -863,6 +863,7 @@ error_handling:
...
@@ -863,6 +863,7 @@ error_handling:
indexed_table
->
n_mysql_handles_opened
++
;
indexed_table
->
n_mysql_handles_opened
++
;
error
=
row_merge_drop_table
(
trx
,
innodb_table
);
error
=
row_merge_drop_table
(
trx
,
innodb_table
);
innodb_table
=
indexed_table
;
goto
convert_error
;
goto
convert_error
;
case
DB_TOO_BIG_RECORD
:
case
DB_TOO_BIG_RECORD
:
...
...
storage/innobase/lock/lock0lock.c
View file @
6fbb712f
...
@@ -3574,7 +3574,8 @@ lock_table_remove_low(
...
@@ -3574,7 +3574,8 @@ lock_table_remove_low(
and lock_grant()). Therefore it can be empty and we
and lock_grant()). Therefore it can be empty and we
need to check for that. */
need to check for that. */
if
(
!
ib_vector_is_empty
(
trx
->
autoinc_locks
))
{
if
(
!
lock_get_wait
(
lock
)
&&
!
ib_vector_is_empty
(
trx
->
autoinc_locks
))
{
lock_t
*
autoinc_lock
;
lock_t
*
autoinc_lock
;
autoinc_lock
=
ib_vector_pop
(
trx
->
autoinc_locks
);
autoinc_lock
=
ib_vector_pop
(
trx
->
autoinc_locks
);
...
@@ -3647,8 +3648,10 @@ lock_table_enqueue_waiting(
...
@@ -3647,8 +3648,10 @@ lock_table_enqueue_waiting(
if
(
lock_deadlock_occurs
(
lock
,
trx
))
{
if
(
lock_deadlock_occurs
(
lock
,
trx
))
{
lock_reset_lock_and_trx_wait
(
lock
);
/* The order here is important, we don't want to
lose the state of the lock before calling remove. */
lock_table_remove_low
(
lock
);
lock_table_remove_low
(
lock
);
lock_reset_lock_and_trx_wait
(
lock
);
return
(
DB_DEADLOCK
);
return
(
DB_DEADLOCK
);
}
}
...
...
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