I have the following script snippet that fails:
<code>
db = SQLite3::Database.new('spam.db')
spam, good = db.get_first_row("select spam,good from SPAMSTATS where phrase = ' '")
db.execute("update SPAMSTATS set spam = ?, good = ? where phrase = ' '", spam, good)
newspam, newgood = db.get_first_row("select spam, good from SPAMSTATS where phrase = ' '")
assert_equal(spam, newspam)
</code>
at this point, newspam is nil. This same type of code worked up until the database reached a size of 8539779 rows (2388472832 bytes). I think I may have hit a bug. I can upload the database and complete script for anyone who would like to look into this.
TIA
|