BSON works for me so long as Maria is happy to pass BSON texts as strings.

When I was reading the BSON spec I just had to laugh. Douglas Crockford
often talk about a bug he made in JSON reference library:
* http://youtu.be/bo36MrBfTk4?t=38m2s
And BSON start's its specification with:

> document ::= int32 e_list "\x00"
> 
> Just wonderful!
> 
> 
> From:  Justin Swanhart <[email protected]>
> Date:  Tuesday, February 3, 2015 at 7:31 PM
> To:  Roberto Spadim <[email protected]>
> Cc:  Federico Razzoli <[email protected]>, Tom Worster <[email protected]>,
> maria-discuss email list <[email protected]>
> Subject:  Re: [Maria-discuss] Restated: JSON cannot represent binary data
> 
> Hi,
> 
> I suggest creating an MDEV spec for COLUMN_BSON() to return BSON data which
> can handle binary (MongoDB uses it to store binary data).  In the same MDEV,
> COLUMN_JSON should be modified to omit binary columns and return a warning to
> use COLUMN_BSON for a complete representation of the data.
> 
> Does that sound reasonable?
> 
> --Justin
> 
> On Tue, Feb 3, 2015 at 4:43 PM, Roberto Spadim <[email protected]> wrote:
>> the warning is not for null, the warning is for column_json return not strict
>> to json specs
> 
> 

_______________________________________________
Mailing list: https://launchpad.net/~maria-discuss
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-discuss
More help   : https://help.launchpad.net/ListHelp

Reply via email to