Re: success return from mysql_query() when error return was expected

2009-04-09 Thread Thomas Spahni
On Wed, 8 Apr 2009, Pete Wilson wrote: Hi everyone -- I'm a MySQL noob. I have MySQL queries in my C code and I was surprised to find I'm getting a success return from: mysql_query(pmysql, "select * from usrs where(usr=\"illegal name\""); In this table called "usrs," "usr" is the primary k

RE: Success !!!

2002-11-07 Thread Timothy Venn
ssage- From: Kevin Passey [mailto:kpassey@;kdpsoftware.co.uk] Sent: 07 November 2002 03:22 PM To: Tim Venn Subject: RE: Success !!! Me too - what I did was different to you - if you change the tables you need to run this command mysqladmin flush-privileges -p. It save re-starting the server.