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
d854a254
Commit
d854a254
authored
Jan 19, 2015
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove incorrect asserts in innodb/xtradb. 0 is a valid file handle value.
parent
919443f7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
20 deletions
+0
-20
storage/innobase/os/os0file.cc
storage/innobase/os/os0file.cc
+0
-10
storage/xtradb/os/os0file.cc
storage/xtradb/os/os0file.cc
+0
-10
No files found.
storage/innobase/os/os0file.cc
View file @
d854a254
...
...
@@ -1999,8 +1999,6 @@ os_file_close_func(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
ret
=
CloseHandle
(
file
);
if
(
ret
)
{
...
...
@@ -2038,8 +2036,6 @@ os_file_close_no_error_handling(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
ret
=
CloseHandle
(
file
);
if
(
ret
)
{
...
...
@@ -2266,8 +2262,6 @@ os_file_flush_func(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
os_n_fsyncs
++
;
ret
=
FlushFileBuffers
(
file
);
...
...
@@ -2598,7 +2592,6 @@ os_file_read_func(
os_bytes_read_since_printout
+=
n
;
try_again:
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
...
...
@@ -2725,7 +2718,6 @@ os_file_read_no_error_handling_func(
os_bytes_read_since_printout
+=
n
;
try_again:
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
...
...
@@ -2861,7 +2853,6 @@ os_file_write_func(
os_n_file_writes
++
;
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
retry:
...
...
@@ -4581,7 +4572,6 @@ os_aio_func(
#endif
/* WIN_ASYNC_IO */
ulint
wake_later
;
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
ut_ad
(
n
%
OS_FILE_LOG_BLOCK_SIZE
==
0
);
...
...
storage/xtradb/os/os0file.cc
View file @
d854a254
...
...
@@ -2163,8 +2163,6 @@ os_file_close_func(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
ret
=
CloseHandle
(
file
);
if
(
ret
)
{
...
...
@@ -2201,8 +2199,6 @@ os_file_close_no_error_handling(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
ret
=
CloseHandle
(
file
);
if
(
ret
)
{
...
...
@@ -2452,8 +2448,6 @@ os_file_flush_func(
#ifdef __WIN__
BOOL
ret
;
ut_a
(
file
);
os_n_fsyncs
++
;
ret
=
FlushFileBuffers
(
file
);
...
...
@@ -2856,7 +2850,6 @@ os_file_read_func(
os_bytes_read_since_printout
+=
n
;
try_again:
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
...
...
@@ -2956,7 +2949,6 @@ os_file_read_no_error_handling_func(
os_bytes_read_since_printout
+=
n
;
try_again:
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
...
...
@@ -3062,7 +3054,6 @@ os_file_write_func(
os_n_file_writes
++
;
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
retry:
...
...
@@ -4731,7 +4722,6 @@ os_aio_func(
#endif
ulint
wake_later
;
ut_ad
(
file
);
ut_ad
(
buf
);
ut_ad
(
n
>
0
);
ut_ad
(
n
%
OS_MIN_LOG_BLOCK_SIZE
==
0
);
...
...
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