Commit 2151b797 authored by unknown's avatar unknown

Fix for the bug #2235: mysqldump --compatible doesn't work correctly.

parent 207bd3cb
...@@ -830,7 +830,7 @@ static uint getTableStructure(char *table, char* db) ...@@ -830,7 +830,7 @@ static uint getTableStructure(char *table, char* db)
char *end; char *end;
uint i; uint i;
sprintf(buff, "/*!41000 SET @@sql_mode=\""); sprintf(buff, "/*!40100 SET @@sql_mode=\"");
end= strend(buff); end= strend(buff);
for (i= 0; opt_compatible_mode; opt_compatible_mode>>= 1, i++) for (i= 0; opt_compatible_mode; opt_compatible_mode>>= 1, i++)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment