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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
72dc30f2
Commit
72dc30f2
authored
Nov 23, 2015
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed compiler warnings
parent
2553f143
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
7 deletions
+5
-7
sql-common/client.c
sql-common/client.c
+0
-4
sql/opt_range.cc
sql/opt_range.cc
+1
-1
sql/rpl_gtid.cc
sql/rpl_gtid.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-1
storage/tokudb/ha_tokudb.cc
storage/tokudb/ha_tokudb.cc
+2
-0
No files found.
sql-common/client.c
View file @
72dc30f2
...
...
@@ -129,10 +129,6 @@ static void mysql_close_free(MYSQL *mysql);
static
void
mysql_prune_stmt_list
(
MYSQL
*
mysql
);
static
int
cli_report_progress
(
MYSQL
*
mysql
,
char
*
packet
,
uint
length
);
#if !defined(__WIN__)
static
int
wait_for_data
(
my_socket
fd
,
uint
timeout
);
#endif
CHARSET_INFO
*
default_client_charset_info
=
&
my_charset_latin1
;
/* Server error code and message */
...
...
sql/opt_range.cc
View file @
72dc30f2
...
...
@@ -3557,9 +3557,9 @@ bool calculate_cond_selectivity_for_table(THD *thd, TABLE *table, Item *cond)
break
;
bitmap_set_bit
(
&
handled_columns
,
key_part
->
fieldnr
-
1
);
}
double
selectivity_mult
;
if
(
i
)
{
double
UNINIT_VAR
(
selectivity_mult
);
/*
There is at least 1-column prefix of columns whose selectivity has
not yet been accounted for.
...
...
sql/rpl_gtid.cc
View file @
72dc30f2
...
...
@@ -122,7 +122,7 @@ rpl_slave_state::check_duplicate_gtid(rpl_gtid *gtid, rpl_group_info *rgi)
int
res
;
bool
did_enter_cond
=
false
;
PSI_stage_info
old_stage
;
THD
*
thd
;
THD
*
UNINIT_VAR
(
thd
)
;
Relay_log_info
*
rli
=
rgi
->
rli
;
mysql_mutex_lock
(
&
LOCK_slave_state
);
...
...
sql/sql_select.cc
View file @
72dc30f2
...
...
@@ -23479,7 +23479,7 @@ int JOIN::save_explain_data_intern(Explain_query *output, bool need_tmp_table,
bool
need_order
,
bool
distinct
,
const
char
*
message
)
{
Explain_node
*
explain_node
;
Explain_node
*
UNINIT_VAR
(
explain_node
)
;
JOIN
*
join
=
this
;
/* Legacy: this code used to be a non-member function */
THD
*
thd
=
join
->
thd
;
const
CHARSET_INFO
*
cs
=
system_charset_info
;
...
...
storage/tokudb/ha_tokudb.cc
View file @
72dc30f2
...
...
@@ -172,6 +172,7 @@ static inline uint32_t get_len_of_offsets(KEY_AND_COL_INFO* kc_info, TABLE_SHARE
}
#ifdef NOT_USED
static
int
get_thread_query_string
(
my_thread_id
id
,
String
&
qs
)
{
mysql_mutex_lock
(
&
LOCK_thread_count
);
I_List_iterator
<
THD
>
it
(
threads
);
...
...
@@ -196,6 +197,7 @@ static int get_thread_query_string(my_thread_id id, String &qs) {
mysql_mutex_unlock
(
&
LOCK_thread_count
);
return
0
;
}
#endif
static
int
allocate_key_and_col_info
(
TABLE_SHARE
*
table_share
,
KEY_AND_COL_INFO
*
kc_info
)
{
int
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