mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01: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:
parent
db70513cb2
commit
deb50a10dc
2 changed files with 2 additions and 2 deletions
|
@ -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; }
|
||||
|
|
Loading…
Reference in a new issue