[sqlite] Expecting syntax error on delete

2016-04-11 Thread Hick Gunter
ite.org [mailto:sqlite-users-bounces at mailinglists.sqlite.org] Im Auftrag von Richard Williams Gesendet: Samstag, 09. April 2016 17:21 An: sqlite-users at mailinglists.sqlite.org Betreff: [sqlite] Expecting syntax error on delete I have a PHP program where I have the equivalent of the following code. The code

[sqlite] Expecting syntax error on delete

2016-04-10 Thread R Smith
On 2016/04/09 5:20 PM, Richard Williams wrote: > I have a PHP program where I have the equivalent of the following code. The > code was not deleting the expected rows ('abc' & 'def') because of the bad > syntax. However the error did not throw an exception. Is this what I should > expect? > > $p

[sqlite] Expecting syntax error on delete

2016-04-10 Thread Stephan Beal
On Sat, Apr 9, 2016 at 5:20 PM, Richard Williams < richard at roguewavelimited.com> wrote: > I have a PHP program where I have the equivalent of the following code. The > code was not deleting the expected rows ('abc' & 'def') because of the bad > syntax. However the error did not throw an excepti

[sqlite] Expecting syntax error on delete

2016-04-10 Thread Simon Slavin
On 9 Apr 2016, at 4:20pm, Richard Williams wrote: > The > code was not deleting the expected rows ('abc' & 'def') because of the bad > syntax. However the error did not throw an exception. Is this what I should > expect? There was no exception because SQLite successfully understood your comman

[sqlite] Expecting syntax error on delete

2016-04-09 Thread Richard Williams
I have a PHP program where I have the equivalent of the following code. The code was not deleting the expected rows ('abc' & 'def') because of the bad syntax. However the error did not throw an exception. Is this what I should expect? $p = new PDO('sqlite::memory:'); $p->setAttribute(PDO::ATTR_ERR