[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

SQLite version and sqlite3-ruby

unbewusst.sein

10/12/2007 8:40:00 PM

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
1 Answer

unbewusst.sein

10/13/2007 6:47:00 AM

0

Une Bévue <unbewusst.sein@weltanschauung.com.invalid> 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 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.
--
Une Bévue