diff options
author | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
---|---|---|
committer | unknown <monty@hundin.mysql.fi> | 2001-09-15 16:22:34 +0300 |
commit | a37cbec1180d6d8c89d14164c0762ef798d22b33 (patch) | |
tree | 8783b1d57a27183a301b7fdfaaf671cf498a7e8e /sql/sql_union.cc | |
parent | bd6667dc302b505ad9f89dd8168442edb360be1e (diff) | |
download | mariadb-git-a37cbec1180d6d8c89d14164c0762ef798d22b33.tar.gz |
Portability fixes
libmysql/libmysql.c:
Cleanup & portability fixes
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 8d0c2e6b1e6..5afef6b390d 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -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); |