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
dece4bc5
Commit
dece4bc5
authored
Feb 09, 2016
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup: make assert more readable
parent
63d3ccdf
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 @
dece4bc5
...
...
@@ -9692,8 +9692,8 @@ bool Table_map_log_event::write_data_body(IO_CACHE *file)
DBUG_ASSERT
(
m_dbnam
!=
NULL
);
DBUG_ASSERT
(
m_tblnam
!=
NULL
);
/* We use only one byte per length for storage in event: */
DBUG_ASSERT
(
m_dblen
<=
NAME_LEN
);
DBUG_ASSERT
(
m_tbllen
<=
NAME_LEN
);
DBUG_ASSERT
(
m_dblen
<=
min
(
NAME_LEN
,
255
)
);
DBUG_ASSERT
(
m_tbllen
<=
min
(
NAME_LEN
,
255
)
);
uchar
const
dbuf
[]
=
{
(
uchar
)
m_dblen
};
uchar
const
tbuf
[]
=
{
(
uchar
)
m_tbllen
};
...
...
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