Commit deb50a10 authored by unknown's avatar unknown

Portability fixes (and a typo after last merge)


innobase/os/os0file.c:
  Fixed typo
sql/sql_class.h:
  Portability fix
parent db70513c
......@@ -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);
}
......
......@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment