Commit 8b2a7355 authored by monty@mysql.com's avatar monty@mysql.com

Portability fixes (and a typo after last merge)

parent 3f556025
......@@ -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