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
5f5c7bad
Commit
5f5c7bad
authored
Aug 02, 2006
by
georg@lmy002.wdf.sap.corp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug #21396: Wrong error number generated for a missing table
parent
438b94e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
BitKeeper/etc/collapsed
BitKeeper/etc/collapsed
+1
-0
mysys/my_open.c
mysys/my_open.c
+2
-2
No files found.
BitKeeper/etc/collapsed
0 → 100644
View file @
5f5c7bad
44d03f27qNdqJmARzBoP3Is_cN5e0w
mysys/my_open.c
View file @
5f5c7bad
...
...
@@ -335,7 +335,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
* try to open/create the file
*/
if
((
osfh
=
CreateFile
(
path
,
fileaccess
,
fileshare
,
&
SecurityAttributes
,
filecreate
,
fileattrib
,
NULL
))
==
(
HANDLE
)
0xffffffff
)
filecreate
,
fileattrib
,
NULL
))
==
INVALID_HANDLE_VALUE
)
{
/*
* OS call to open/create file failed! map the error, release
...
...
@@ -346,7 +346,7 @@ File my_sopen(const char *path, int oflag, int shflag, int pmode)
return
-
1
;
/* return error to caller */
}
fh
=
_open_osfhandle
((
long
)
osfh
,
oflag
&
(
_O_APPEND
|
_O_RDONLY
|
_O_TEXT
));
fh
=
_open_osfhandle
((
intptr_t
)
osfh
,
oflag
&
(
_O_APPEND
|
_O_RDONLY
|
_O_TEXT
));
return
fh
;
/* return handle */
}
...
...
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