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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4cefe863
Commit
4cefe863
authored
Oct 09, 2012
by
Vasil Dimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Port the test for Bug#14708715 from 5.1/innodb_plugin into 5.1/innodb
although the bug does not exist in 5.1/innodb.
parent
8baabf30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
storage/innobase/os/os0file.c
storage/innobase/os/os0file.c
+16
-0
No files found.
storage/innobase/os/os0file.c
View file @
4cefe863
...
...
@@ -1209,6 +1209,22 @@ os_file_create(
ulint
type
,
/* in: OS_DATA_FILE or OS_LOG_FILE */
ibool
*
success
)
/* out: TRUE if succeed, FALSE if error */
{
#ifdef __WIN__
DBUG_EXECUTE_IF
(
"ib_create_table_fail_disk_full"
,
*
success
=
FALSE
;
SetLastError
(
ERROR_DISK_FULL
);
return
((
os_file_t
)
-
1
);
);
#else
/* __WIN__ */
DBUG_EXECUTE_IF
(
"ib_create_table_fail_disk_full"
,
*
success
=
FALSE
;
errno
=
ENOSPC
;
return
((
os_file_t
)
-
1
);
);
#endif
/* __WIN__ */
#ifdef __WIN__
os_file_t
file
;
DWORD
share_mode
=
FILE_SHARE_READ
;
...
...
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