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
fe0ff580
Commit
fe0ff580
authored
Sep 04, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warnings
parent
fc2df3c6
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
8 additions
and
10 deletions
+8
-10
include/wsrep.h
include/wsrep.h
+1
-1
mysys/thr_lock.c
mysys/thr_lock.c
+0
-3
sql/event_data_objects.h
sql/event_data_objects.h
+1
-1
sql/event_parse_data.h
sql/event_parse_data.h
+1
-1
sql/sql_class.cc
sql/sql_class.cc
+1
-1
sql/sql_select.cc
sql/sql_select.cc
+1
-2
sql/wsrep_thd.cc
sql/wsrep_thd.cc
+2
-0
storage/maria/ma_checkpoint.c
storage/maria/ma_checkpoint.c
+1
-1
No files found.
include/wsrep.h
View file @
fe0ff580
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
#if !defined(EMBEDDED_LIBRARY)
#if !defined(EMBEDDED_LIBRARY)
#define WSREP_FORMAT(my_format) \
#define WSREP_FORMAT(my_format) \
((wsrep_forced_binlog_format != BINLOG_FORMAT_UNSPEC) ? \
((wsrep_forced_binlog_format != BINLOG_FORMAT_UNSPEC) ? \
wsrep_forced_binlog_format
: my_format)
((enum enum_binlog_format)wsrep_forced_binlog_format)
: my_format)
#else
#else
#define WSREP_FORMAT(my_format) my_format
#define WSREP_FORMAT(my_format) my_format
#endif
/* && !EMBEDDED_LIBRARY */
#endif
/* && !EMBEDDED_LIBRARY */
...
...
mysys/thr_lock.c
View file @
fe0ff580
...
@@ -862,7 +862,6 @@ thr_lock(THR_LOCK_DATA *data, THR_LOCK_INFO *owner, ulong lock_wait_timeout)
...
@@ -862,7 +862,6 @@ thr_lock(THR_LOCK_DATA *data, THR_LOCK_INFO *owner, ulong lock_wait_timeout)
{
{
wsrep_lock_inserted
=
TRUE
;
wsrep_lock_inserted
=
TRUE
;
}
}
wsrep_read_wait:
#endif
#endif
wait_queue
=
&
lock
->
read_wait
;
wait_queue
=
&
lock
->
read_wait
;
...
@@ -1011,8 +1010,6 @@ thr_lock(THR_LOCK_DATA *data, THR_LOCK_INFO *owner, ulong lock_wait_timeout)
...
@@ -1011,8 +1010,6 @@ thr_lock(THR_LOCK_DATA *data, THR_LOCK_INFO *owner, ulong lock_wait_timeout)
{
{
wsrep_lock_inserted
=
TRUE
;
wsrep_lock_inserted
=
TRUE
;
}
}
wsrep_write_wait:
#endif
#endif
wait_queue
=
&
lock
->
write_wait
;
wait_queue
=
&
lock
->
write_wait
;
...
...
sql/event_data_objects.h
View file @
fe0ff580
...
@@ -85,7 +85,7 @@ class Event_queue_element : public Event_basic
...
@@ -85,7 +85,7 @@ class Event_queue_element : public Event_basic
public:
public:
int
on_completion
;
int
on_completion
;
int
status
;
int
status
;
longlong
originator
;
uint32
originator
;
my_time_t
last_executed
;
my_time_t
last_executed
;
my_time_t
execute_at
;
my_time_t
execute_at
;
...
...
sql/event_parse_data.h
View file @
fe0ff580
...
@@ -57,7 +57,7 @@ public:
...
@@ -57,7 +57,7 @@ public:
int
on_completion
;
int
on_completion
;
int
status
;
int
status
;
bool
status_changed
;
bool
status_changed
;
longlong
originator
;
uint32
originator
;
/*
/*
do_not_create will be set if STARTS time is in the past and
do_not_create will be set if STARTS time is in the past and
on_completion == ON_COMPLETION_DROP.
on_completion == ON_COMPLETION_DROP.
...
...
sql/sql_class.cc
View file @
fe0ff580
...
@@ -895,11 +895,11 @@ THD::THD(bool is_applier)
...
@@ -895,11 +895,11 @@ THD::THD(bool is_applier)
wsrep_applier
(
is_applier
),
wsrep_applier
(
is_applier
),
wsrep_applier_closing
(
false
),
wsrep_applier_closing
(
false
),
wsrep_client_thread
(
false
),
wsrep_client_thread
(
false
),
wsrep_apply_toi
(
false
),
wsrep_po_handle
(
WSREP_PO_INITIALIZER
),
wsrep_po_handle
(
WSREP_PO_INITIALIZER
),
wsrep_po_cnt
(
0
),
wsrep_po_cnt
(
0
),
// wsrep_po_in_trans(false),
// wsrep_po_in_trans(false),
wsrep_apply_format
(
0
),
wsrep_apply_format
(
0
),
wsrep_apply_toi
(
false
),
#endif
#endif
m_parser_state
(
NULL
),
m_parser_state
(
NULL
),
#if defined(ENABLED_DEBUG_SYNC)
#if defined(ENABLED_DEBUG_SYNC)
...
...
sql/sql_select.cc
View file @
fe0ff580
...
@@ -22463,8 +22463,7 @@ static bool add_ref_to_table_cond(THD *thd, JOIN_TAB *join_tab)
...
@@ -22463,8 +22463,7 @@ static bool add_ref_to_table_cond(THD *thd, JOIN_TAB *join_tab)
}
}
if
(
join_tab
->
select
)
if
(
join_tab
->
select
)
{
{
Item
*
cond_copy
;
Item
*
UNINIT_VAR
(
cond_copy
);
UNINIT_VAR
(
cond_copy
);
// used when pre_idx_push_select_cond!=NULL
if
(
join_tab
->
select
->
pre_idx_push_select_cond
)
if
(
join_tab
->
select
->
pre_idx_push_select_cond
)
cond_copy
=
cond
->
copy_andor_structure
(
thd
);
cond_copy
=
cond
->
copy_andor_structure
(
thd
);
if
(
join_tab
->
select
->
cond
)
if
(
join_tab
->
select
->
cond
)
...
...
sql/wsrep_thd.cc
View file @
fe0ff580
...
@@ -90,6 +90,7 @@ void wsrep_client_rollback(THD *thd)
...
@@ -90,6 +90,7 @@ void wsrep_client_rollback(THD *thd)
#define NUMBER_OF_FIELDS_TO_IDENTIFY_WORKER 2
#define NUMBER_OF_FIELDS_TO_IDENTIFY_WORKER 2
//#include "rpl_info_factory.h"
//#include "rpl_info_factory.h"
#if 0
static Relay_log_info* wsrep_relay_log_init(const char* log_fname)
static Relay_log_info* wsrep_relay_log_init(const char* log_fname)
{
{
...
@@ -110,6 +111,7 @@ static Relay_log_info* wsrep_relay_log_init(const char* log_fname)
...
@@ -110,6 +111,7 @@ static Relay_log_info* wsrep_relay_log_init(const char* log_fname)
return rli;
return rli;
}
}
#endif
class
Master_info
;
class
Master_info
;
...
...
storage/maria/ma_checkpoint.c
View file @
fe0ff580
...
@@ -230,7 +230,7 @@ static int really_execute_checkpoint(void)
...
@@ -230,7 +230,7 @@ static int really_execute_checkpoint(void)
sizeof
(
checkpoint_start_log_horizon_char
);
sizeof
(
checkpoint_start_log_horizon_char
);
for
(
i
=
0
;
i
<
(
sizeof
(
record_pieces
)
/
sizeof
(
record_pieces
[
0
]));
i
++
)
for
(
i
=
0
;
i
<
(
sizeof
(
record_pieces
)
/
sizeof
(
record_pieces
[
0
]));
i
++
)
{
{
log_array
[
TRANSLOG_INTERNAL_PARTS
+
1
+
i
].
str
=
record_pieces
[
i
].
str
;
log_array
[
TRANSLOG_INTERNAL_PARTS
+
1
+
i
].
str
=
(
uchar
*
)
record_pieces
[
i
].
str
;
log_array
[
TRANSLOG_INTERNAL_PARTS
+
1
+
i
].
length
=
record_pieces
[
i
].
length
;
log_array
[
TRANSLOG_INTERNAL_PARTS
+
1
+
i
].
length
=
record_pieces
[
i
].
length
;
total_rec_length
+=
(
translog_size_t
)
record_pieces
[
i
].
length
;
total_rec_length
+=
(
translog_size_t
)
record_pieces
[
i
].
length
;
}
}
...
...
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