Displaying 1 result from an estimated 1 matches for "misuseexcept".
2010 Nov 30
0
simple SQLITE3 error!!??library routine called out of sequence
...;INSERT INTO WORDS VALUES(?,?,?)")
3.times{
sth.execute("1","2","3")
}
and it gives me error :
/Users/tsdeng/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-ruby-1.3.1/lib/sqlite3/statement.rb:41:in `bind_param'': library routine called out of sequence (SQLite3::MisuseException)
from /Users/tsdeng/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-ruby-1.3.1/lib/sqlite3/statement.rb:41:in `bind_params''
from /Users/tsdeng/.rvm/gems/ruby-1.8.7-p302/gems/sqlite3-ruby-1.3.1/lib/sqlite3/statement.rb:37:in `each''
from /Users/tsdeng/.rvm/gems/ruby-1.8.7-p302/gems/sql...