1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Portability fixes (and a typo after last merge)

This commit is contained in:
monty@mysql.com
2004-06-04 11:02:35 +03:00
parent 3f556025a7
commit 8b2a735563
2 changed files with 2 additions and 2 deletions

View File

@@ -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; }