#451 open
Nolan Darilek

[PATCH] Support blobs and binary data

Reported by Nolan Darilek | July 8th, 2008 @ 04:32 PM

I need to store binary data directly into a database as binary, not as text that is base64-encoded. As of now there doesn't appear to be any means of doing this.

Comments and changes to this ticket

  • Nolan Darilek

    Nolan Darilek November 20th, 2008 @ 10:58 AM

    I finally cleaned up the work I did on this back in July and ensured that it applies to head. Unfortunately I'm still struggling with the sqlite3 code as I'm having issues with the native driver, but this at least lays the groundwork for others to start coding this support into the various drivers.

  • Nolan Darilek

    Nolan Darilek November 20th, 2008 @ 11:03 AM

    I appear to have seriously broken the git history for this patch, so I'm submitting it as a plain diff rather than a format-patch.

  • Nolan Darilek

    Nolan Darilek November 23rd, 2008 @ 10:26 AM

    This is the last piece of the puzzle, adding Binary type support to SQLite3.

    Please let me know if anything on my end prevents these from being merged. I'd like to let others implement whatever needs done in the other DO drivers because a) I'm not familiar with all the database access libs and b) this functionality doesn't interfere with anything if the support is unimplemented, so having the framework in place might encourage others to do so for the next release.

  • Nolan Darilek

    Nolan Darilek November 23rd, 2008 @ 03:46 PM

    I needed to install this locally, so I made extlib.patch a proper git patch.

  • Dan Kubb (dkubb)

    Dan Kubb (dkubb) December 1st, 2008 @ 02:38 AM

    • Assigned user changed from “Sam Smoot” to “Dirkjan Bussink”
    • Tag changed from binary, blob to binary, blob, patch
    • State changed from “new” to “open”
    • Title changed from “Support blobs and binary data” to “[PATCH] Support blobs and binary data”

    Dirkjan, would you mind reviewing this patch?

  • Dirkjan Bussink

    Dirkjan Bussink December 2nd, 2008 @ 08:22 AM

    Is this patch only the addition of ByteArray? Or is there more in the tar.bz2 you supplied? If you could create a patch against the latest do code, that would make it way easier for me to verify this...

  • Dirkjan Bussink

    Dirkjan Bussink December 2nd, 2008 @ 08:23 AM

    Ah wait, the patches are in there, my bad

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »