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
46fed496
Commit
46fed496
authored
Jul 31, 2021
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix bson crash and mongo test
parent
1d468ee0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
storage/connect/mysql-test/connect/t/mongo.inc
storage/connect/mysql-test/connect/t/mongo.inc
+10
-2
storage/connect/tabbson.cpp
storage/connect/tabbson.cpp
+3
-0
No files found.
storage/connect/mysql-test/connect/t/mongo.inc
View file @
46fed496
let
$MONGO
=
C
:/
Applic
/
MongoDB
/
Server
/
3.6
/
bin
/
mongo
;
let
$MONGOIMPORT
=
C
:/
Applic
/
MongoDB
/
Server
/
3.6
/
bin
/
mongoimport
;
#let $MONGO= C:/Applic/MongoDB/Server/3.6/bin/mongo;
#let $MONGOIMPORT= C:/Applic/MongoDB/Server/3.6/bin/mongoimport;
let
$MONGO
=
mongo
;
let
$MONGOIMPORT
=
mongoimport
;
storage/connect/tabbson.cpp
View file @
46fed496
...
...
@@ -2422,6 +2422,7 @@ void TDBBSON::ResetSize(void)
MaxSize
=
Cardinal
=
-
1
;
Fpos
=
-
1
;
N
=
0
;
Docrow
=
NULL
;
Done
=
false
;
}
// end of ResetSize
...
...
@@ -2480,6 +2481,7 @@ bool TDBBSON::SetRecpos(PGLOBAL, int recpos)
#endif // 0
Fpos
=
recpos
-
1
;
Docrow
=
NULL
;
return
false
;
}
// end of SetRecpos
...
...
@@ -2495,6 +2497,7 @@ bool TDBBSON::OpenDB(PGLOBAL g)
Fpos
=
-
1
;
NextSame
=
false
;
SameRow
=
0
;
Docrow
=
NULL
;
return
false
;
}
// endif use
...
...
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