Thanks for the help
On Fri, Jul 15, 2011 at 6:18 AM, Warren Young <mysqlpp@stripped> wrote:
> On 7/14/2011 12:10 PM, Jay Sprenkle wrote:
>> If you don't grant permission for update to the user used in the
>> the library crashes instead of throwing an exception.
> That's not what I see here, using examples/tquery4. I created a user that
> only has SELECT permissions, and on running it, I get this:
> Query: update stock set num = 70 where num < 70
>> Query error: UPDATE command denied to user 'jay'@'mongo' for table
> The second line is a caught exception.
> If I get rid of the BadQuery catch clause, forcing it to use the more
> generic mysqlpp::Exception clause to be more like your case, it still works
> as expected.
> MySQL++ Mailing List
> For list archives:
> To unsubscribe: http://lists.mysql.com/**plusplus?unsub=1
> gmail.com <http://lists.mysql.com/plusplus?unsub=1
"There's a zombie outbreak! Oh, no, wait a second... It's just a bunch of