Re: How to use API to write blobs

2003-12-27 Thread Andy Bakun
On Fri, 2003-12-26 at 19:26, Angus March wrote: > I'm trying to use the API to write to a MEDIUMBLOB, but I'm getting a very > vague error: something about a problem "near '' on line 1". I'm forumating > the query string w/ > > sprintf(query, "INSERT INTO support_files (session_id,file_type,file_b

Re: How to use API to write blobs

2003-12-27 Thread Angus March
> On Sat, Dec 27, 2003 at 11:09:54AM -0500, Angus March wrote: > > > On Fri, Dec 26, 2003 at 09:35:42PM -0500, Angus March wrote: > > http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#mysql_real_query > > > > The quote I'm thinking of is: > > > > You must use mysql_real_query(

Re: How to use API to write blobs

2003-12-27 Thread Fred van Engen
Angus, On Sat, Dec 27, 2003 at 11:09:54AM -0500, Angus March wrote: > > On Fri, Dec 26, 2003 at 09:35:42PM -0500, Angus March wrote: > http://www.mysql.com/documentation/mysql/bychapter/manual_Clients.html#mysql_real_query > > > The quote I'm thinking of is: > > > You must use mysql_real_query()

Re: How to use API to write blobs

2003-12-27 Thread Angus March
> On Fri, Dec 26, 2003 at 09:35:42PM -0500, Angus March wrote: > > > Angus, > > > > > > On Fri, Dec 26, 2003 at 08:26:38PM -0500, Angus March wrote: > > > > I'm trying to use the API to write to a MEDIUMBLOB, but I'm getting a > > very > > > > vague error: something about a problem "near '' on line

Re: How to use API to write blobs

2003-12-27 Thread Fred van Engen
On Fri, Dec 26, 2003 at 09:35:42PM -0500, Angus March wrote: > > Angus, > > > > On Fri, Dec 26, 2003 at 08:26:38PM -0500, Angus March wrote: > > > I'm trying to use the API to write to a MEDIUMBLOB, but I'm getting a > very > > > vague error: something about a problem "near '' on line 1". I'm > for

Re: How to use API to write blobs

2003-12-26 Thread Angus March
> Angus, > > On Fri, Dec 26, 2003 at 08:26:38PM -0500, Angus March wrote: > > I'm trying to use the API to write to a MEDIUMBLOB, but I'm getting a very > > vague error: something about a problem "near '' on line 1". I'm forumating > > the query string w/ > > > > sprintf(query, "INSERT INTO support

Re: How to use API to write blobs

2003-12-26 Thread Fred van Engen
Angus, On Fri, Dec 26, 2003 at 08:26:38PM -0500, Angus March wrote: > I'm trying to use the API to write to a MEDIUMBLOB, but I'm getting a very > vague error: something about a problem "near '' on line 1". I'm forumating > the query string w/ > > sprintf(query, "INSERT INTO support_files (sessio