summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-06-04 11:02:35 +0300
committerunknown <monty@mysql.com>2004-06-04 11:02:35 +0300
commitdeb50a10dc8c329058f34f32c16e0c69bcf780a9 (patch)
tree9f9a83cd6c244960c70336051f840c39e3a1a4e0 /sql/sql_class.h
parentdb70513cb29560f4479471d7b9af34a751c1a009 (diff)
downloadmariadb-git-deb50a10dc8c329058f34f32c16e0c69bcf780a9.tar.gz
Portability fixes (and a typo after last merge)
innobase/os/os0file.c: Fixed typo sql/sql_class.h: Portability fix
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h2
1 files changed, 1 insertions, 1 deletions
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; }