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
630d7035
Commit
630d7035
authored
May 12, 2017
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into 10.1
parents
b9dfbc15
8f668196
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
storage/connect/ha_connect.cc
storage/connect/ha_connect.cc
+1
-1
storage/connect/tabjson.cpp
storage/connect/tabjson.cpp
+7
-2
No files found.
storage/connect/ha_connect.cc
View file @
630d7035
...
...
@@ -4009,7 +4009,7 @@ int ha_connect::rnd_pos(uchar *buf, uchar *pos)
}
else
{
PGLOBAL
g
=
GetPlug
((
table
)
?
table
->
in_use
:
NULL
,
xp
);
strcpy
(
g
->
Message
,
"Not supported by this table type"
);
my_message
(
ER_
UNKNOWN_ERROR
,
g
->
Message
,
MYF
(
0
));
my_message
(
ER_
ILLEGAL_HA
,
g
->
Message
,
MYF
(
0
));
rc
=
HA_ERR_INTERNAL_ERROR
;
}
// endif SetRecpos
...
...
storage/connect/tabjson.cpp
View file @
630d7035
...
...
@@ -288,8 +288,13 @@ PQRYRES JSONColumns(PGLOBAL g, char *db, char *dsn, PTOS topt, bool info)
break
;
if
(
jcp
)
{
if
(
jcp
->
Type
!=
jcol
.
Type
)
jcp
->
Type
=
TYPE_STRING
;
if
(
jcp
->
Type
!=
jcol
.
Type
)
{
if
(
jcp
->
Type
==
TYPE_UNKNOWN
)
jcp
->
Type
=
jcol
.
Type
;
else
if
(
jcol
.
Type
!=
TYPE_UNKNOWN
)
jcp
->
Type
=
TYPE_STRING
;
}
// endif Type
if
(
*
fmt
&&
(
!
jcp
->
Fmt
||
strlen
(
jcp
->
Fmt
)
<
strlen
(
fmt
)))
{
jcp
->
Fmt
=
PlugDup
(
g
,
fmt
);
...
...
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