summaryrefslogtreecommitdiff
path: root/sql/ha_innodb.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/ha_innodb.cc')
-rw-r--r--sql/ha_innodb.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc
index 038da716abe..5d7d083ef91 100644
--- a/sql/ha_innodb.cc
+++ b/sql/ha_innodb.cc
@@ -306,7 +306,8 @@ innobase_mysql_print_thd(
*buf++=' ';
buf=strnmov(buf, thd->query, 150);
}
- *buf='\n';
+ buf[0]='\n';
+ buf[1]=0;
}
}