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
c1ca591f
Commit
c1ca591f
authored
Jul 20, 2007
by
acurtis/antony@xiphis.org/ltamd64.xiphis.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
silence two 'unused variable' warnings
parent
3d7ce2ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
storage/federated/ha_federated.cc
storage/federated/ha_federated.cc
+3
-2
No files found.
storage/federated/ha_federated.cc
View file @
c1ca591f
...
@@ -3167,7 +3167,6 @@ bool ha_federated::get_error_message(int error, String* buf)
...
@@ -3167,7 +3167,6 @@ bool ha_federated::get_error_message(int error, String* buf)
int
ha_federated
::
external_lock
(
THD
*
thd
,
int
lock_type
)
int
ha_federated
::
external_lock
(
THD
*
thd
,
int
lock_type
)
{
{
int
error
=
0
;
int
error
=
0
;
ha_federated
*
trx
=
(
ha_federated
*
)
thd
->
ha_data
[
ht
->
slot
];
DBUG_ENTER
(
"ha_federated::external_lock"
);
DBUG_ENTER
(
"ha_federated::external_lock"
);
/*
/*
...
@@ -3176,6 +3175,8 @@ int ha_federated::external_lock(THD *thd, int lock_type)
...
@@ -3176,6 +3175,8 @@ int ha_federated::external_lock(THD *thd, int lock_type)
#ifdef XXX_SUPERCEDED_BY_WL2952
#ifdef XXX_SUPERCEDED_BY_WL2952
if
(
lock_type
!=
F_UNLCK
)
if
(
lock_type
!=
F_UNLCK
)
{
{
ha_federated
*
trx
=
(
ha_federated
*
)
thd
->
ha_data
[
ht
->
slot
];
DBUG_PRINT
(
"info"
,(
"federated not lock F_UNLCK"
));
DBUG_PRINT
(
"info"
,(
"federated not lock F_UNLCK"
));
if
(
!
(
thd
->
options
&
(
OPTION_NOT_AUTOCOMMIT
|
OPTION_BEGIN
)))
if
(
!
(
thd
->
options
&
(
OPTION_NOT_AUTOCOMMIT
|
OPTION_BEGIN
)))
{
{
...
@@ -3228,7 +3229,7 @@ int ha_federated::external_lock(THD *thd, int lock_type)
...
@@ -3228,7 +3229,7 @@ int ha_federated::external_lock(THD *thd, int lock_type)
}
}
}
}
#endif
/* XXX_SUPERCEDED_BY_WL2952 */
#endif
/* XXX_SUPERCEDED_BY_WL2952 */
DBUG_RETURN
(
0
);
DBUG_RETURN
(
error
);
}
}
...
...
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