From deb50a10dc8c329058f34f32c16e0c69bcf780a9 Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 4 Jun 2004 11:02:35 +0300 Subject: Portability fixes (and a typo after last merge) innobase/os/os0file.c: Fixed typo sql/sql_class.h: Portability fix --- sql/sql_class.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_class.h') diff --git a/sql/sql_class.h b/sql/sql_class.h index 26f41b2912f..867d3f49840 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -932,7 +932,7 @@ public: net.last_errno= 0; net.report_error= 0; } - inline bool vio_ok() const { return net.vio; } + inline bool vio_ok() const { return net.vio != 0; } #else void clear_error(); inline bool vio_ok() const { return true; } -- cgit v1.2.1