Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
deb50a10
Commit
deb50a10
authored
Jun 04, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fixes (and a typo after last merge)
innobase/os/os0file.c: Fixed typo sql/sql_class.h: Portability fix
parent
db70513c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
innobase/os/os0file.c
innobase/os/os0file.c
+1
-1
sql/sql_class.h
sql/sql_class.h
+1
-1
No files found.
innobase/os/os0file.c
View file @
deb50a10
...
@@ -733,7 +733,7 @@ os_file_create_directory(
...
@@ -733,7 +733,7 @@ os_file_create_directory(
if
(
!
(
rcode
!=
0
||
if
(
!
(
rcode
!=
0
||
(
GetLastError
()
==
ERROR_FILE_EXISTS
&&
!
fail_if_exists
)))
{
(
GetLastError
()
==
ERROR_FILE_EXISTS
&&
!
fail_if_exists
)))
{
/* failure */
/* failure */
os_file_handle_error
(
N
pathname
,
"CreateDirectory"
);
os_file_handle_error
(
pathname
,
"CreateDirectory"
);
return
(
FALSE
);
return
(
FALSE
);
}
}
...
...
sql/sql_class.h
View file @
deb50a10
...
@@ -932,7 +932,7 @@ public:
...
@@ -932,7 +932,7 @@ public:
net
.
last_errno
=
0
;
net
.
last_errno
=
0
;
net
.
report_error
=
0
;
net
.
report_error
=
0
;
}
}
inline
bool
vio_ok
()
const
{
return
net
.
vio
;
}
inline
bool
vio_ok
()
const
{
return
net
.
vio
!=
0
;
}
#else
#else
void
clear_error
();
void
clear_error
();
inline
bool
vio_ok
()
const
{
return
true
;
}
inline
bool
vio_ok
()
const
{
return
true
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment