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
183af62f
Commit
183af62f
authored
Apr 25, 2001
by
sasha@mysql.sashanet.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql
into mysql.sashanet.com:/home/sasha/src/bk/mysql
parents
6261dafb
bdb8077a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sql/log_event.cc
sql/log_event.cc
+2
-2
No files found.
sql/log_event.cc
View file @
183af62f
...
...
@@ -455,7 +455,7 @@ void Query_log_event::print(FILE* file, bool short_form, char* last_db)
if
(
db
&&
last_db
)
{
if
(
!
(
same_db
=
!
memcmp
(
last_db
,
db
,
db_len
)))
if
(
!
(
same_db
=
!
memcmp
(
last_db
,
db
,
db_len
+
1
)))
memcpy
(
last_db
,
db
,
db_len
+
1
);
}
...
...
@@ -646,7 +646,7 @@ void Load_log_event::print(FILE* file, bool short_form, char* last_db)
if
(
db
&&
last_db
)
{
if
(
!
(
same_db
=
!
memcmp
(
last_db
,
db
,
db_len
)))
if
(
!
(
same_db
=
!
memcmp
(
last_db
,
db
,
db_len
+
1
)))
memcpy
(
last_db
,
db
,
db_len
+
1
);
}
...
...
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