summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHashir Sarwar <hashirsarwarch@gmail.com>2019-10-23 17:40:24 +0500
committerAnel Husakovic <anel@mariadb.org>2019-11-22 15:19:04 +0100
commitd8ace23d260033fc6588599e0a03e2832d20dae9 (patch)
tree74dbdf1ad0ced14d2adb913bf39e388154f86e40
parente23cb3835e4679a51af5fe00ce411148fba72785 (diff)
downloadmariadb-git-d8ace23d260033fc6588599e0a03e2832d20dae9.tar.gz
Fixed some typos in mysql.cc
Closes #1403
-rw-r--r--client/mysql.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysql.cc b/client/mysql.cc
index 50d45696a5c..c872968b78d 100644
--- a/client/mysql.cc
+++ b/client/mysql.cc
@@ -3177,7 +3177,7 @@ static int
com_go(String *buffer,char *line __attribute__((unused)))
{
char buff[200]; /* about 110 chars used so far */
- char time_buff[52+3+1]; /* time max + space&parens + NUL */
+ char time_buff[52+3+1]; /* time max + space & parens + NUL */
MYSQL_RES *result;
ulong timer, warnings= 0;
uint error= 0;
@@ -3196,7 +3196,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
if (buffer->is_empty())
{
- if (status.batch) // Ignore empty quries
+ if (status.batch) // Ignore empty queries.
return 0;
return put_info("No query specified\n",INFO_ERROR);
@@ -3261,7 +3261,7 @@ com_go(String *buffer,char *line __attribute__((unused)))
else
time_buff[0]= '\0';
- /* Every branch must truncate buff . */
+ /* Every branch must truncate buff. */
if (result)
{
if (!mysql_num_rows(result) && ! quick && !column_types_flag)