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
c2aecb05
Commit
c2aecb05
authored
Jan 30, 2021
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failed test bson and xml
parent
7ab30f5d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
4 deletions
+2
-4
storage/connect/bson.cpp
storage/connect/bson.cpp
+0
-1
storage/connect/bson.h
storage/connect/bson.h
+1
-2
storage/connect/mysql-test/connect/r/xml.result
storage/connect/mysql-test/connect/r/xml.result
+1
-1
No files found.
storage/connect/bson.cpp
View file @
c2aecb05
...
@@ -886,7 +886,6 @@ PBPR BJSON::NewPair(OFFSET key, int type)
...
@@ -886,7 +886,6 @@ PBPR BJSON::NewPair(OFFSET key, int type)
PBPR
bpp
=
(
PBPR
)
BsonSubAlloc
(
sizeof
(
BPAIR
));
PBPR
bpp
=
(
PBPR
)
BsonSubAlloc
(
sizeof
(
BPAIR
));
bpp
->
Key
=
key
;
bpp
->
Key
=
key
;
bpp
->
Vlp
.
Ktp
=
TYPE_STRG
;
bpp
->
Vlp
.
Type
=
type
;
bpp
->
Vlp
.
Type
=
type
;
bpp
->
Vlp
.
To_Val
=
0
;
bpp
->
Vlp
.
To_Val
=
0
;
bpp
->
Vlp
.
Nd
=
0
;
bpp
->
Vlp
.
Nd
=
0
;
...
...
storage/connect/bson.h
View file @
c2aecb05
...
@@ -37,8 +37,7 @@ typedef struct _jvalue {
...
@@ -37,8 +37,7 @@ typedef struct _jvalue {
bool
B
;
// A boolean value True or false (0)
bool
B
;
// A boolean value True or false (0)
};
};
short
Nd
;
// Number of decimals
short
Nd
;
// Number of decimals
char
Type
;
// The value type
short
Type
;
// The value type
char
Ktp
;
// The key type
OFFSET
Next
;
// Offset to the next value in array
OFFSET
Next
;
// Offset to the next value in array
}
BVAL
,
*
PBVAL
;
// end of struct BVALUE
}
BVAL
,
*
PBVAL
;
// end of struct BVALUE
...
...
storage/connect/mysql-test/connect/r/xml.result
View file @
c2aecb05
...
@@ -374,7 +374,7 @@ INSERT INTO t1 VALUES (_cp1251 0xC0C1C2C3);
...
@@ -374,7 +374,7 @@ INSERT INTO t1 VALUES (_cp1251 0xC0C1C2C3);
Warnings:
Warnings:
Level Warning
Level Warning
Code 1105
Code 1105
Message Com error:
Impossible d'enregistrer le caractre dans le codage iso-8859-1
.
Message Com error:
Unable to save character to 'iso-8859-1' encoding
.
INSERT INTO t1 VALUES ('&<>"\'');
INSERT INTO t1 VALUES ('&<>"\'');
SELECT node, hex(node) FROM t1;
SELECT node, hex(node) FROM t1;
...
...
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