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
cc71e750
Commit
cc71e750
authored
Mar 28, 2019
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-merge: -Werror fixes in 10.2
parent
f2a0c758
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
cmake/mariadb_connector_c.cmake
cmake/mariadb_connector_c.cmake
+5
-0
sql/spatial.cc
sql/spatial.cc
+6
-6
storage/innobase/buf/buf0dump.cc
storage/innobase/buf/buf0dump.cc
+1
-1
strings/json_lib.c
strings/json_lib.c
+2
-2
No files found.
cmake/mariadb_connector_c.cmake
View file @
cc71e750
...
...
@@ -37,3 +37,8 @@ SET(CLIENT_PLUGIN_PVIO_SOCKET STATIC)
MESSAGE
(
"== Configuring MariaDB Connector/C"
)
ADD_SUBDIRECTORY
(
libmariadb
)
#remove after merging libmariadb > v3.0.9
IF
(
TARGET caching_sha2_password AND CMAKE_C_FLAGS_DEBUG MATCHES
"-Werror"
)
SET_PROPERTY
(
TARGET caching_sha2_password APPEND_STRING PROPERTY COMPILE_FLAGS -Wno-unused-function
)
ENDIF
()
sql/spatial.cc
View file @
cc71e750
...
...
@@ -238,17 +238,17 @@ int Geometry::as_wkt(String *wkt, const char **end)
static
const
uchar
type_keyname
[]
=
"type"
;
static
const
int
type_keyname_len
=
4
;
static
const
u
int
type_keyname_len
=
4
;
static
const
uchar
coord_keyname
[]
=
"coordinates"
;
static
const
int
coord_keyname_len
=
11
;
static
const
u
int
coord_keyname_len
=
11
;
static
const
uchar
geometries_keyname
[]
=
"geometries"
;
static
const
int
geometries_keyname_len
=
10
;
static
const
u
int
geometries_keyname_len
=
10
;
static
const
uchar
features_keyname
[]
=
"features"
;
static
const
int
features_keyname_len
=
8
;
static
const
u
int
features_keyname_len
=
8
;
static
const
uchar
geometry_keyname
[]
=
"geometry"
;
static
const
int
geometry_keyname_len
=
8
;
static
const
u
int
geometry_keyname_len
=
8
;
static
const
int
max_keyname_len
=
11
;
/*'coordinates' keyname is the longest.*/
static
const
u
int
max_keyname_len
=
11
;
/*'coordinates' keyname is the longest.*/
static
const
uchar
feature_type
[]
=
"feature"
;
static
const
int
feature_type_len
=
7
;
...
...
storage/innobase/buf/buf0dump.cc
View file @
cc71e750
...
...
@@ -392,7 +392,7 @@ buf_dump(
if
(
SHUTTING_DOWN
()
&&
!
(
j
%
1024
))
{
service_manager_extend_timeout
(
INNODB_EXTEND_TIMEOUT_INTERVAL
,
"Dumping buffer pool "
ULINTPF
"/
"
ULINTPF
"
, "
ULINTPF
"/
%lu
, "
"page "
ULINTPF
"/"
ULINTPF
,
i
+
1
,
srv_buf_pool_instances
,
j
+
1
,
n_pages
);
...
...
strings/json_lib.c
View file @
cc71e750
...
...
@@ -1409,7 +1409,7 @@ int json_find_paths_next(json_engine_t *je, json_find_paths_t *state)
if
(
!
json_key_matches
(
je
,
&
key_name
))
continue
;
}
if
(
cur_step
-
state
->
paths
[
p_c
].
last_step
==
state
->
cur_depth
)
if
(
cur_step
==
state
->
paths
[
p_c
].
last_step
+
state
->
cur_depth
)
path_found
=
TRUE
;
else
{
...
...
@@ -1442,7 +1442,7 @@ int json_find_paths_next(json_engine_t *je, json_find_paths_t *state)
cur_step
->
n_item
==
state
->
array_counters
[
state
->
cur_depth
])
{
/* Array item matches. */
if
(
cur_step
-
state
->
paths
[
p_c
].
last_step
==
state
->
cur_depth
)
if
(
cur_step
==
state
->
paths
[
p_c
].
last_step
+
state
->
cur_depth
)
path_found
=
TRUE
;
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