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

Portability fixes

libmysql/libmysql.c:
  Cleanup & portability fixes
This commit is contained in:
unknown
2001-09-15 16:22:34 +03:00
parent ef2e750842
commit 7dc2f1a69e
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);