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
043f697a
Commit
043f697a
authored
Jul 18, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark deadcode for gcov
parent
2679e53a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
sql/ha_heap.cc
sql/ha_heap.cc
+1
-1
sql/opt_range.cc
sql/opt_range.cc
+2
-2
No files found.
sql/ha_heap.cc
View file @
043f697a
...
@@ -129,7 +129,7 @@ handler *ha_heap::clone(MEM_ROOT *mem_root)
...
@@ -129,7 +129,7 @@ handler *ha_heap::clone(MEM_ROOT *mem_root)
handler
*
new_handler
=
get_new_handler
(
table
,
mem_root
,
table
->
s
->
db_type
);
handler
*
new_handler
=
get_new_handler
(
table
,
mem_root
,
table
->
s
->
db_type
);
if
(
new_handler
&&
!
new_handler
->
ha_open
(
file
->
s
->
name
,
table
->
db_stat
,
if
(
new_handler
&&
!
new_handler
->
ha_open
(
file
->
s
->
name
,
table
->
db_stat
,
HA_OPEN_IGNORE_IF_LOCKED
))
HA_OPEN_IGNORE_IF_LOCKED
))
return
new_handler
;
return
new_handler
;
/* purecov: inspected */
return
NULL
;
return
NULL
;
}
}
...
...
sql/opt_range.cc
View file @
043f697a
...
@@ -1138,9 +1138,9 @@ int QUICK_RANGE_SELECT::init_ror_merged_scan(bool reuse_handler)
...
@@ -1138,9 +1138,9 @@ int QUICK_RANGE_SELECT::init_ror_merged_scan(bool reuse_handler)
the storage engine calls in question happen to never fail with the
the storage engine calls in question happen to never fail with the
existing storage engines.
existing storage engines.
*/
*/
thd
->
net
.
report_error
=
1
;
thd
->
net
.
report_error
=
1
;
/* purecov: inspected */
/* Caller will free the memory */
/* Caller will free the memory */
goto
failure
;
goto
failure
;
/* purecov: inspected */
}
}
if
(
file
->
external_lock
(
thd
,
F_RDLCK
))
if
(
file
->
external_lock
(
thd
,
F_RDLCK
))
goto
failure
;
goto
failure
;
...
...
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