1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Fixed Bug#8922.

Reverted Jim's patch.
This commit is contained in:
jani@ua141d10.elisa.omakaista.fi
2005-03-08 18:12:12 +02:00
parent fd6e7c878e
commit 8db4423b8c
4 changed files with 13 additions and 17 deletions

View File

@@ -44,7 +44,7 @@
#include <locale.h>
#endif
const char *VER= "14.8";
const char *VER= "14.9";
/* Don't try to make a nice table if the data is too big */
#define MAX_COLUMN_LENGTH 1024
@@ -1045,7 +1045,12 @@ static COMMANDS *find_command (char *name,char cmd_char)
{
while (my_isspace(charset_info,*name))
name++;
if (strstr(name, delimiter) || strstr(name, "\\g"))
/*
As special case we allow row that starts with word delimiter
to be able to change delimiter if someone has delimiter 'delimiter'.
*/
if (strstr(name, "\\g") || (strstr(name, delimiter) &&
strncmp(name, "delimiter", 9)))
return ((COMMANDS *) 0);
if ((end=strcont(name," \t")))
{