mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Merge branch '10.2' into 10.3
This commit is contained in:
@@ -3211,7 +3211,7 @@ static int
|
||||
com_go(String *buffer,char *line __attribute__((unused)))
|
||||
{
|
||||
char buff[200]; /* about 110 chars used so far */
|
||||
char time_buff[53+3+1]; /* time max + space&parens + NUL */
|
||||
char time_buff[53+3+1]; /* time max + space & parens + NUL */
|
||||
MYSQL_RES *result;
|
||||
ulonglong timer;
|
||||
ulong warnings= 0;
|
||||
@@ -3231,7 +3231,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);
|
||||
|
||||
@@ -3296,7 +3296,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)
|
||||
|
Reference in New Issue
Block a user