SQLite version and sqlite3-ruby

U

Une Bévue

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 ...
 
U

Une Bévue

Une Bévue said:
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 Buck (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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top