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
765024d8
Commit
765024d8
authored
Apr 10, 2006
by
msvensson@shellback
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused variables and label
parent
daae1668
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
8 deletions
+2
-8
libmysqld/lib_sql.cc
libmysqld/lib_sql.cc
+0
-2
server-tools/instance-manager/guardian.cc
server-tools/instance-manager/guardian.cc
+0
-2
server-tools/instance-manager/mysql_connection.cc
server-tools/instance-manager/mysql_connection.cc
+1
-1
sql/ha_partition.cc
sql/ha_partition.cc
+1
-3
No files found.
libmysqld/lib_sql.cc
View file @
765024d8
...
...
@@ -274,7 +274,6 @@ static int emb_stmt_execute(MYSQL_STMT *stmt)
{
DBUG_ENTER
(
"emb_stmt_execute"
);
char
header
[
5
];
MYSQL_DATA
*
res
;
THD
*
thd
;
int4store
(
header
,
stmt
->
stmt_id
);
...
...
@@ -1033,7 +1032,6 @@ void Protocol_simple::prepare_for_resend()
data
->
embedded_info
->
prev_ptr
=
&
cur
->
next
;
next_field
=
cur
->
data
;
next_mysql_field
=
data
->
embedded_info
->
fields_list
;
err:
DBUG_VOID_RETURN
;
}
...
...
server-tools/instance-manager/guardian.cc
View file @
765024d8
...
...
@@ -201,8 +201,6 @@ void Guardian_thread::run()
while
(
node
!=
NULL
)
{
struct
timespec
timeout
;
GUARD_NODE
*
current_node
=
(
GUARD_NODE
*
)
node
->
data
;
instance
=
((
GUARD_NODE
*
)
node
->
data
)
->
instance
;
process_instance
(
instance
,
current_node
,
&
guarded_instances
,
node
);
...
...
server-tools/instance-manager/mysql_connection.cc
View file @
765024d8
...
...
@@ -136,7 +136,7 @@ int Mysql_connection_thread::init()
/* Initialize random number generator */
{
ulong
seed1
=
(
ulong
)
&
rand_st
+
rand
();
ulong
seed2
=
rand
()
+
time
(
0
);
ulong
seed2
=
(
ulong
)
rand
()
+
time
(
0
);
randominit
(
&
rand_st
,
seed1
,
seed2
);
}
/* Fill scramble - server's random message used for handshake */
...
...
sql/ha_partition.cc
View file @
765024d8
...
...
@@ -1135,7 +1135,6 @@ int ha_partition::handle_opt_partitions(THD *thd, HA_CHECK_OPT *check_opt,
partition_element
*
part_elem
=
part_it
++
;
if
(
all_parts
||
part_elem
->
part_state
==
PART_CHANGED
)
{
handler
*
file
;
if
(
m_is_sub_partitioned
)
{
List_iterator
<
partition_element
>
sub_it
(
part_elem
->
subpartitions
);
...
...
@@ -2311,7 +2310,7 @@ int ha_partition::open(const char *name, int mode, uint test_if_locked)
err_handler:
while
(
file
--
!=
m_file
)
(
*
file
)
->
close
();
err:
DBUG_RETURN
(
error
);
}
...
...
@@ -2915,7 +2914,6 @@ int ha_partition::rnd_init(bool scan)
int
error
;
uint
i
=
0
;
uint32
part_id
;
handler
**
file
;
DBUG_ENTER
(
"ha_partition::rnd_init"
);
include_partition_fields_in_used_fields
();
...
...
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