Portability fixes (and a typo after last merge)

innobase/os/os0file.c:
  Fixed typo
sql/sql_class.h:
  Portability fix
This commit is contained in:
unknown 2004-06-04 11:02:35 +03:00
parent db70513cb2
commit deb50a10dc
2 changed files with 2 additions and 2 deletions

View file

@ -733,7 +733,7 @@ os_file_create_directory(
if (!(rcode != 0 ||
(GetLastError() == ERROR_FILE_EXISTS && !fail_if_exists))) {
/* failure */
os_file_handle_error(Npathname, "CreateDirectory");
os_file_handle_error(pathname, "CreateDirectory");
return(FALSE);
}

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