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
27cf6879
Commit
27cf6879
authored
Mar 26, 2009
by
Andrei Elkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#42977
compilation warning fixed
parent
67f9a6d1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/log_event.cc
sql/log_event.cc
+1
-1
No files found.
sql/log_event.cc
View file @
27cf6879
...
...
@@ -7764,7 +7764,7 @@ Table_map_log_event::Table_map_log_event(THD *thd, TABLE *tbl, ulong tid,
m_data_size
+=
m_dblen
+
2
;
// Include length and terminating \0
m_data_size
+=
m_tbllen
+
2
;
// Include length and terminating \0
cbuf_end
=
net_store_length
(
cbuf
,
(
size_t
)
m_colcnt
);
DBUG_ASSERT
((
cbuf_end
-
cbuf
)
<=
sizeof
(
cbuf
));
DBUG_ASSERT
(
static_cast
<
size_t
>
(
cbuf_end
-
cbuf
)
<=
sizeof
(
cbuf
));
m_data_size
+=
(
cbuf_end
-
cbuf
)
+
m_colcnt
;
// COLCNT and column types
/* If malloc fails, caught in is_valid() */
...
...
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