<div dir="ltr"><div dir="ltr">You could write what the terminal gives you:<br>(first you need to install the sqlite3 command, no sqlite only)<br>sudo apt install sqlite3<br>sqlite3 -version<br><br>in Mint 19, I get: 3.22.0<br><br>To indicate to Gambas what you want to use you must write:<br>Connection.Type = "sqlite3" [0]<br><br>Regards<br>Gianluigi<br><br>[0] <a href="http://gambaswiki.org/wiki/comp/gb.db/_connection/type">http://gambaswiki.org/wiki/comp/gb.db/_connection/type</a><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 15 apr 2019 alle ore 15:59 Peter Peyotle <<a href="mailto:peterpeyotle@gmx.de">peterpeyotle@gmx.de</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<p><span class="gmail-m_241180654646653632tlid-translation gmail-m_241180654646653632translation" lang="en">Hello and
good day.<br>
<br>
I use Gambas 3.12.2 with Linux Mint LXDE 18.2.<br>
How do I tell Gambas which Sqlite3 version to use?<br>
I query the sqlite3 version in Gambas Ide with "select
sqlite_version ()" I get 3.11.<br>
I ask in the shell with "sqlite - version" I get "not
installed". OK.<br>
I install the most recent from the sqlite page about compiling I
get with "sqlite --version" the correct installed version. In
Gambas, however, still the 3.11. And gb.db.sqlite3 also uses
these because the features like "select * from pragma_table_info
...." are not supported. Only from version 3.16. So Gambas
really uses the 3.11.<br>
On my laptop I have the version 3.18 installed via another
source with ppa with "sudo apt-get install ....".<br>
Here also in Gambas then the version 3.18 is displayed and the
pragma functions are available.<br>
I think there has to be an environment variable or something
similar for gb.db.sqlite3 to use the installed sqlite version as
well.<br>
So how do I get Gambas to support the installed latest sqlite3
version as well?<br>
<br>
best regards<br>
Klaus-Peter</span></p>
</div>
<br>
----[ Gambas mailing-list is hosted by <a href="https://www.hostsharing.net" rel="noreferrer" target="_blank">https://www.hostsharing.net</a> ]----<br>
</blockquote></div>