SQLite version and sqlite3-ruby

When i run a ruby script with a MacOS X 5MacPorts) version of SQLite
(3.3.15) i get an error :
SQLite3::SQLException: no such function: get_zy_string

BUT this function is used successfully in my mobile phone, then, the
phone might have a newer version of SQLite (according to the SQLite web
site the latest is Version 3.5.1).

Then, i’d like to now how to uninstall the gem “sqlite3-ruby” and
re-install it linked to a newer version of SQLite …

Une Bévue [email protected] wrote:

When i run a ruby script with a MacOS X 5MacPorts) version of SQLite
(3.3.15) i get an error :
SQLite3::SQLException: no such function: get_zy_string

BUT this function is used successfully in my mobile phone, then, the
phone might have a newer version of SQLite (according to the SQLite web
site the latest is Version 3.5.1).

Then, i’d like to now how to uninstall the gem “sqlite3-ruby” and
re-install it linked to a newer version of SQLite …

Jamis B. (the dev of sqlite3-ruby) gave me the reason why i get this
error :
Note that sqlite3 lets applications define their own functions. I
strongly suspect that the query in question is coming from an app that
has custom-defined get_zy_string and get_py_string, because neither of
those functions are defined by sqlite3 itself.
You’ll need to determine what those functions are supposed to do, and
then implement them using the sqlite3 custom-function API’s.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs