Skip to content
This repository was archived by the owner on Aug 21, 2023. It is now read-only.

Conversation

@kalinon
Copy link

@kalinon kalinon commented May 9, 2020

No description provided.

washu and others added 30 commits October 1, 2019 09:44
…ed struct not an intialized on, with a warning it will leak if initialized.
…sure why , but caling append array, then append doc caused a segfault invalid memory location .Invalid memory access (signal 11) at address 0x0
several memory fixes have been applied due to valgrind findings and spec details reviewd
several memory fixes have been applied due to valgrind findings and spec details reviewd
…y for converting hash and arrays to bson objects,

I instead updated the appropiate items, so we will to_json(io) on the hash or array, then let the lib allocate and manage creation of the bson object, as append document needs an unitialized struct to prevent memory leaks, however in recursive looping down to serial a hash to bson or array to bson, intermeidate bson pointers are leaking after 2nd level depth i.e. {"$or" => [{ "field" =>{ "$lte" : 1 },{ "field" =>{ "$gte" : 3 }] } will leak. ne method doesnt leak at all, and benchmark looks ok
…pected. override tiem tojosn for bson format
@lodenos
Copy link

lodenos commented May 18, 2020

No body for update :(

@kalinon
Copy link
Author

kalinon commented May 21, 2020

Can use my fork if you need too.

@lodenos
Copy link

lodenos commented May 21, 2020

@kalinon I've already done it :)

kalinon added 13 commits May 26, 2020 18:03
…y-changes

# Conflicts:
#	spec/client_spec.cr
#	spec/collection_spec.cr
#	spec/database_spec.cr
#	spec/spec_helper.cr
#	src/bson/lib_bson.cr
#	src/mongo/client.cr
#	src/mongo/index_opt.cr
#	src/mongo/lib_mongo.cr
#	src/mongo/read_prefs.cr
#	src/mongo/stream.cr
#	src/mongo/write_concern.cr
…y-changes

# Conflicts:
#	.gitignore
#	.travis.yml
#	README.md
#	shard.yml
#	spec/bson_spec.cr
#	spec/client_spec.cr
#	src/bson.cr
#	src/bson/core_ext/array.cr
#	src/bson/core_ext/hash.cr
#	src/bson/lib_bson.cr
#	src/bson/object_id.cr
#	src/mongo/change_stream.cr
#	src/mongo/client.cr
#	src/mongo/lib_mongo.cr
#	src/mongo/stream.cr
@kalinon
Copy link
Author

kalinon commented May 28, 2020

@lodenos my fork now has consolidated a majority of the major community forks. Ill update the title of this PR for prosperity, but i feel this repo is dead.

@kalinon kalinon changed the title Updates for 0.34.0 Updates for 0.34.0 and community changes May 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants