mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
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:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user