Re: [sqlite] philosophy behind public domain?

2005-05-25 Thread Darren Duncan
At 9:57 PM +0200 5/25/05, Ulrik Petersen wrote: Lawrence Rosen has been the general counsel for the Open Source Initiative, and he specializes in technology and computer law according to his website: Thanks for all the responses. And some of them such as the above show that I didn't pull my

Re: [sqlite] philosophy behind public domain?

2005-05-25 Thread Henry Miller
On 5/25/2005 at 11:36 Darren Duncan wrote: >Moreover, in a discussion about open source software licenses I was >part of a few weeks ago, it was brought up that making a work public >domain was a very bad thing to do, because it opened up the author to >a whole bunch of legal liability that

Re: [sqlite] philosophy behind public domain?

2005-05-25 Thread Kurt Welgehausen
> > > I think the gist was that the software couldn't have a disclaimer > > > of liability if it is public domain, and so anyone could sue the > > > author if something went wrong when using it. I don't know how > > > true this is or not, but would like to see it addressed in the answer. >

RE: [sqlite] How to insert a string using C interface that contains both single and double quotes

2005-05-25 Thread John Buck
Try this char * EscapedQuery = sqlite3_mprintf("%q",MyQuery); ///.. Do some Stuff .. execute query..etc.. sqlite3_free(EscapedQuery); -- JB -Original Message- From: Sergey Startsev [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 25, 2005 11:45 AM To: Sankara Narayanan Subject: Re:

[sqlite] How to insert a string using C interface that contains both single and double quotes

2005-05-25 Thread Sankara Narayanan
Hi, I have a tricky situation where I have strings in my data that have both single and double quotes. I am using the C APIs of sqlite3_prepare and sqlite3_exec to insert data into the database. How do I prepare the query string in such case where the string data have both single and double