On Wed Oct 21 09:53:27 2009,
http://korsani.myopenid.com/ wrote:
Show quoted text> Updating a value with something like "update base set company='mycomp'
> where sn = 'd''adda' " fails : it does not update anything, and do no
> throw error.
> I made a small patch.
A couple of questions:
1) Regarding your patch:
+ if (! defined($status) ) {
+ $self->display_error ($status);
...
If $status is not defined, then it does not make sense to pass it to
display_error()?
2) Have you tried escaping the quote, ie. "where sn = 'd\'adda'"? I
believe that's the way it should be.
Thanks,
Jim