summaryrefslogtreecommitdiff
path: root/sql/log_event.cc
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2011-01-11 09:06:54 +0100
committerunknown <knielsen@knielsen-hq.org>2011-01-11 09:06:54 +0100
commitbacb41a6b701e06371248b39244a67ec58b709f9 (patch)
tree1882ef9e4a6937888c25adb71240753f16aa4204 /sql/log_event.cc
parente6d4ba1b0519976f58b020c44b585bab9db242f5 (diff)
downloadmariadb-git-bacb41a6b701e06371248b39244a67ec58b709f9.tar.gz
Fix two compiler warnings from Buildbot (including one bad merge).
Diffstat (limited to 'sql/log_event.cc')
-rw-r--r--sql/log_event.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/log_event.cc b/sql/log_event.cc
index a7d3f7dee5c..6981ce8b51e 100644
--- a/sql/log_event.cc
+++ b/sql/log_event.cc
@@ -8036,7 +8036,8 @@ void Annotate_rows_log_event::print(FILE *file, PRINT_EVENT_INFO *pinfo)
// find end of the next line
for (pend= pbeg + 1;
++cnt <= m_query_len && *pend != '\r' && *pend != '\n';
- pend++);
+ pend++)
+ ;
// print next line
my_b_write(&pinfo->head_cache, (const uchar*) "#Q> ", 4);