R.Smith wrote on Tuesday, September 22, 2015 10:08 AM
> 
> On 2015-09-22 03:58 PM, Hugues Bruant wrote:
> > SIndex sidx is just a boxed immutable integer. Its value is bound to
> > the UPDATE and the trace shows it to be 0 But the log line printed
> > when the number of rows updated is zero clearly shows the value to be
> > 1 and this is further confirmed by the fact that when bound to the
> > INSERT, the value turns out to be 1 (or there would be no constraint
> > violation).
> >
> > This leaves essentially two places for the error to arise:
> >   - sqlite3_bind_int
> >   - somewhere in the JVM
> >
> That does look a bit like magic - and as is 99.9% the case when
> inexplicable magic happens, memory is getting corrupt or overwritten.
> You are obviously prudent about this, but is there no clue when running
> under Valgrind or similar for OSX? Nothing out of the ordinary or
> warnings?

I find that most of the time when I see magic it's because I've made an 
incorrect assumption, overlooked something, or have an incorrect mental model 
about what's actually going on.

----------------------------------------------------------------------
This message, and any attachments, is for the intended recipient(s) only, may 
contain information that is privileged, confidential and/or proprietary and 
subject to important terms and conditions available at 
http://www.bankofamerica.com/emaildisclaimer.   If you are not the intended 
recipient, please delete this message.

Reply via email to