1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Portability fixes

This commit is contained in:
monty@hundin.mysql.fi
2001-09-15 16:22:34 +03:00
parent c55cde7c1c
commit 0d72e5440f
21 changed files with 103 additions and 105 deletions

View File

@ -211,9 +211,8 @@ bool select_union::send_eof()
bool select_union::flush()
{
int error,error2;
error=table->file->extra(HA_EXTRA_NO_CACHE);
if (error)
int error;
if ((error=table->file->extra(HA_EXTRA_NO_CACHE)))
{
table->file->print_error(error,MYF(0));
::send_error(&thd->net);