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
a603b465
Commit
a603b465
authored
Jan 07, 2018
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix warnings
parent
7a01e64c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
sql/handler.cc
sql/handler.cc
+1
-1
sql/semisync_master_ack_receiver.cc
sql/semisync_master_ack_receiver.cc
+1
-1
sql/sql_base.cc
sql/sql_base.cc
+1
-1
No files found.
sql/handler.cc
View file @
a603b465
...
@@ -2079,7 +2079,7 @@ uint get_sql_xid(XID *xid, char *buf)
...
@@ -2079,7 +2079,7 @@ uint get_sql_xid(XID *xid, char *buf)
MY_INT64_NUM_DECIMAL_DIGITS
,
-
10
,
xid
->
formatID
);
MY_INT64_NUM_DECIMAL_DIGITS
,
-
10
,
xid
->
formatID
);
}
}
return
buf
-
orig_buf
;
return
(
uint
)(
buf
-
orig_buf
)
;
}
}
...
...
sql/semisync_master_ack_receiver.cc
View file @
a603b465
...
@@ -254,7 +254,7 @@ void Ack_receiver::run()
...
@@ -254,7 +254,7 @@ void Ack_receiver::run()
struct
timeval
tv
=
{
1
,
0
};
struct
timeval
tv
=
{
1
,
0
};
fds
=
read_fds
;
fds
=
read_fds
;
/* select requires max fd + 1 for the first argument */
/* select requires max fd + 1 for the first argument */
ret
=
select
(
max_fd
+
1
,
&
fds
,
NULL
,
NULL
,
&
tv
);
ret
=
select
(
(
int
)(
max_fd
+
1
)
,
&
fds
,
NULL
,
NULL
,
&
tv
);
if
(
ret
<=
0
)
if
(
ret
<=
0
)
{
{
mysql_mutex_unlock
(
&
m_mutex
);
mysql_mutex_unlock
(
&
m_mutex
);
...
...
sql/sql_base.cc
View file @
a603b465
...
@@ -5657,7 +5657,7 @@ find_field_in_table(THD *thd, TABLE *table, const char *name, uint length,
...
@@ -5657,7 +5657,7 @@ find_field_in_table(THD *thd, TABLE *table, const char *name, uint length,
DBUG_EVALUATE_IF
(
"test_completely_invisible"
,
0
,
1
))
DBUG_EVALUATE_IF
(
"test_completely_invisible"
,
0
,
1
))
DBUG_RETURN
((
Field
*
)
0
);
DBUG_RETURN
((
Field
*
)
0
);
*
cached_field_index_ptr
=
field_ptr
-
table
->
field
;
*
cached_field_index_ptr
=
(
uint
)(
field_ptr
-
table
->
field
)
;
field
=
*
field_ptr
;
field
=
*
field_ptr
;
}
}
else
else
...
...
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