Re: Storing a BLOB in a MySQL database with the MySQL C API

2003-02-03 Thread Stephane Wirtel
i have a problem with my project :-) i created two functions, base64_encode, and base64_decode, to insert a binary file in a LONGBLOB field. When i use theses functions without a buffer i don't get errors. by example : OUTPUT = base64_decode(base64_encode(INPUT)); <--> i don't have errors, i can c

Re: Storing a BLOB in a MySQL database with the MySQL C API

2003-02-02 Thread Paul DuBois
At 15:21 +0100 2/2/03, Stephane Wirtel wrote: Hi all ! I would like to insert a Blob ( a picture exactly ), here is a small source code to test my insert. You can find 2 sources code, the first is to insert a blob in a table of a database ( this database exists in my MySQL server ) And the secon

Storing a BLOB in a MySQL database with the MySQL C API

2003-02-02 Thread Stephane Wirtel
Hi all ! I would like to insert a Blob ( a picture exactly ), here is a small source code to test my insert. You can find 2 sources code, the first is to insert a blob in a table of a database ( this database exists in my MySQL server ) And the second code is to read this blob from the database.