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
2786f549
Commit
2786f549
authored
Jun 04, 2010
by
Luis Soares
Browse files
Options
Browse Files
Download
Plain Diff
BUG 53893: Automerged from mysql-5.1-bugteam-gca into mysql-trunk-merge.
Post-push fix.
parents
d91dde90
ee0738ed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
sql/log_event.cc
sql/log_event.cc
+3
-6
sql/log_event_old.cc
sql/log_event_old.cc
+3
-6
No files found.
sql/log_event.cc
View file @
2786f549
...
...
@@ -9182,14 +9182,11 @@ int Rows_log_event::find_row(const Relay_log_info *rli)
BI image that is null and part of UNNI.
*/
bool
null_found
=
FALSE
;
for
(
uint
i
=
0
,
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
;
(
i
<
keyinfo
->
key_parts
)
&&
!
null_found
;
i
++
,
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
)
for
(
uint
i
=
0
;
i
<
keyinfo
->
key_parts
&&
!
null_found
;
i
++
)
{
uint
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
;
Field
**
f
=
table
->
field
+
fieldnr
;
if
((
*
f
)
->
is_null
())
null_found
=
TRUE
;
null_found
=
(
*
f
)
->
is_null
();
}
if
(
!
null_found
)
...
...
sql/log_event_old.cc
View file @
2786f549
...
...
@@ -2353,14 +2353,11 @@ int Old_rows_log_event::find_row(const Relay_log_info *rli)
BI image that is null and part of UNNI.
*/
bool
null_found
=
FALSE
;
for
(
uint
i
=
0
,
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
;
(
i
<
keyinfo
->
key_parts
)
&&
!
null_found
;
i
++
,
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
)
for
(
uint
i
=
0
;
i
<
keyinfo
->
key_parts
&&
!
null_found
;
i
++
)
{
uint
fieldnr
=
keyinfo
->
key_part
[
i
].
fieldnr
-
1
;
Field
**
f
=
table
->
field
+
fieldnr
;
if
((
*
f
)
->
is_null
())
null_found
=
TRUE
;
null_found
=
(
*
f
)
->
is_null
();
}
if
(
!
null_found
)
...
...
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