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
eee5727b
Commit
eee5727b
authored
Apr 13, 2005
by
heikki@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Plain Diff
Merge
parents
6f34bc3b
b698b862
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
14 deletions
+17
-14
innobase/fil/fil0fil.c
innobase/fil/fil0fil.c
+2
-1
innobase/row/row0sel.c
innobase/row/row0sel.c
+12
-12
mysql-test/t/ctype_ucs_binlog.test
mysql-test/t/ctype_ucs_binlog.test
+1
-0
sql/ha_innodb.cc
sql/ha_innodb.cc
+2
-1
No files found.
innobase/fil/fil0fil.c
View file @
eee5727b
...
...
@@ -1450,7 +1450,8 @@ fil_write_flushed_lsn_to_data_files(
cache. Note that all data files in the system tablespace 0 are
always open. */
if
(
space
->
purpose
==
FIL_TABLESPACE
)
{
if
(
space
->
purpose
==
FIL_TABLESPACE
&&
space
->
id
==
0
)
{
sum_of_sizes
=
0
;
node
=
UT_LIST_GET_FIRST
(
space
->
chain
);
...
...
innobase/row/row0sel.c
View file @
eee5727b
...
...
@@ -3493,12 +3493,12 @@ row_search_for_mysql(
err
=
sel_set_rec_lock
(
rec
,
index
,
offsets
,
prebuilt
->
select_lock_type
,
LOCK_ORDINARY
,
thr
);
}
if
(
err
!=
DB_SUCCESS
)
{
if
(
err
!=
DB_SUCCESS
)
{
goto
lock_wait_or_error
;
goto
lock_wait_or_error
;
}
}
}
/* A page supremum record cannot be in the result set: skip
it now that we have placed a possible lock on it */
...
...
@@ -3606,12 +3606,12 @@ row_search_for_mysql(
offsets
,
prebuilt
->
select_lock_type
,
LOCK_GAP
,
thr
);
}
if
(
err
!=
DB_SUCCESS
)
{
if
(
err
!=
DB_SUCCESS
)
{
goto
lock_wait_or_error
;
goto
lock_wait_or_error
;
}
}
}
btr_pcur_store_position
(
pcur
,
&
mtr
);
...
...
@@ -3640,12 +3640,12 @@ row_search_for_mysql(
offsets
,
prebuilt
->
select_lock_type
,
LOCK_GAP
,
thr
);
}
if
(
err
!=
DB_SUCCESS
)
{
if
(
err
!=
DB_SUCCESS
)
{
goto
lock_wait_or_error
;
goto
lock_wait_or_error
;
}
}
}
btr_pcur_store_position
(
pcur
,
&
mtr
);
...
...
mysql-test/t/ctype_ucs_binlog.test
View file @
eee5727b
--
source
include
/
not_embedded
.
inc
--
source
include
/
have_ucs2
.
inc
#
# Check correct binlogging of UCS2 user variables (BUG#3875)
...
...
sql/ha_innodb.cc
View file @
eee5727b
...
...
@@ -6136,7 +6136,8 @@ ha_innobase::store_lock(
(
lock_type
==
TL_READ_HIGH_PRIORITY
&&
thd
->
in_lock_tables
)
||
lock_type
==
TL_READ_WITH_SHARED_LOCKS
||
lock_type
==
TL_READ_NO_INSERT
||
thd
->
lex
->
sql_command
!=
SQLCOM_SELECT
)
{
(
thd
->
lex
->
sql_command
!=
SQLCOM_SELECT
&&
lock_type
!=
TL_IGNORE
))
{
/* The OR cases above are in this order:
1) MySQL is doing LOCK TABLES ... READ LOCAL, or
...
...
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