1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-6400: "ANALYZE SELECT ... INTO @var" doesn't set @var

Make ANALYZE work for
- ANALYZE SELECT ... INTO @var
- ANALYZE INSERT SELECT ...;
- ANALYZE SELECT .. INTO OUTFILE
This commit is contained in:
Sergei Petrunia
2014-10-17 14:18:10 +04:00
parent fec5ab5a56
commit d44dd54bc8
6 changed files with 82 additions and 10 deletions

View File

@ -3712,6 +3712,10 @@ bool select_insert::send_eof()
table->file->print_error(error,MYF(0));
DBUG_RETURN(1);
}
if (suppress_my_ok)
DBUG_RETURN(0);
char buff[160];
if (info.ignore)
sprintf(buff, ER(ER_INSERT_INFO), (ulong) info.records,