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
af32b02c
Commit
af32b02c
authored
Nov 03, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
few cmake/compiler warnings
parent
6edd7678
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
libmysql/CMakeLists.txt
libmysql/CMakeLists.txt
+0
-1
libmysqld/CMakeLists.txt
libmysqld/CMakeLists.txt
+1
-2
sql/debug_sync.cc
sql/debug_sync.cc
+1
-1
storage/myisam/mi_open.c
storage/myisam/mi_open.c
+2
-3
No files found.
libmysql/CMakeLists.txt
View file @
af32b02c
...
@@ -142,7 +142,6 @@ SET(CLIENT_SOURCES
...
@@ -142,7 +142,6 @@ SET(CLIENT_SOURCES
../sql-common/my_time.c
../sql-common/my_time.c
../sql-common/client_plugin.c
../sql-common/client_plugin.c
../sql/net_serv.cc
../sql/net_serv.cc
../sql-common/client_plugin.c
../sql-common/pack.c
../sql-common/pack.c
../sql/password.c
../sql/password.c
)
)
...
...
libmysqld/CMakeLists.txt
View file @
af32b02c
...
@@ -83,11 +83,10 @@ SET(SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
...
@@ -83,11 +83,10 @@ SET(SQL_EMBEDDED_SOURCES emb_qcache.cc libmysqld.c lib_sql.cc
../sql/sql_alter.cc ../sql/sql_partition_admin.cc
../sql/sql_alter.cc ../sql/sql_partition_admin.cc
../sql/event_parse_data.cc
../sql/event_parse_data.cc
../sql/sql_signal.cc ../sql/rpl_handler.cc
../sql/sql_signal.cc ../sql/rpl_handler.cc
../sql/rpl_utility.cc
../sql/sys_vars.cc
../sql/sys_vars.cc
${
CMAKE_BINARY_DIR
}
/sql/sql_builtin.cc
${
CMAKE_BINARY_DIR
}
/sql/sql_builtin.cc
../sql/mdl.cc ../sql/transaction.cc
../sql/mdl.cc ../sql/transaction.cc
../sql
-common/client_plugin.c ../sql
/sql_join_cache.cc
../sql/sql_join_cache.cc
../sql/multi_range_read.cc
../sql/multi_range_read.cc
../sql/opt_index_cond_pushdown.cc
../sql/opt_index_cond_pushdown.cc
../sql/opt_subselect.cc
../sql/opt_subselect.cc
...
...
sql/debug_sync.cc
View file @
af32b02c
...
@@ -1738,7 +1738,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
...
@@ -1738,7 +1738,7 @@ static void debug_sync_execute(THD *thd, st_debug_sync_action *action)
if
(
action
->
wait_for
.
length
())
if
(
action
->
wait_for
.
length
())
{
{
mysql_mutex_t
*
old_mutex
;
mysql_mutex_t
*
old_mutex
;
mysql_cond_t
*
old_cond
;
mysql_cond_t
*
UNINIT_VAR
(
old_cond
)
;
int
error
=
0
;
int
error
=
0
;
struct
timespec
abstime
;
struct
timespec
abstime
;
...
...
storage/myisam/mi_open.c
View file @
af32b02c
...
@@ -75,15 +75,14 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
...
@@ -75,15 +75,14 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags)
key_parts
,
unique_key_parts
,
base_key_parts
,
fulltext_keys
,
uniques
;
key_parts
,
unique_key_parts
,
base_key_parts
,
fulltext_keys
,
uniques
;
char
name_buff
[
FN_REFLEN
],
org_name
[
FN_REFLEN
],
index_name
[
FN_REFLEN
],
char
name_buff
[
FN_REFLEN
],
org_name
[
FN_REFLEN
],
index_name
[
FN_REFLEN
],
data_name
[
FN_REFLEN
];
data_name
[
FN_REFLEN
];
uchar
*
disk_cache
,
*
disk_pos
,
*
end_pos
;
uchar
*
UNINIT_VAR
(
disk_cache
)
,
*
disk_pos
,
*
end_pos
;
MI_INFO
info
,
*
m_info
,
*
old_info
;
MI_INFO
info
,
*
UNINIT_VAR
(
m_info
)
,
*
old_info
;
MYISAM_SHARE
share_buff
,
*
share
;
MYISAM_SHARE
share_buff
,
*
share
;
ulong
*
rec_per_key_part
=
0
;
ulong
*
rec_per_key_part
=
0
;
my_off_t
*
key_root
,
*
key_del
;
my_off_t
*
key_root
,
*
key_del
;
ulonglong
max_key_file_length
,
max_data_file_length
;
ulonglong
max_key_file_length
,
max_data_file_length
;
DBUG_ENTER
(
"mi_open"
);
DBUG_ENTER
(
"mi_open"
);
LINT_INIT
(
m_info
);
kfile
=
-
1
;
kfile
=
-
1
;
lock_error
=
1
;
lock_error
=
1
;
errpos
=
0
;
errpos
=
0
;
...
...
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