On Sun, 12 Aug 2018 22:51:42 +0100, Stephen Knox wrote:
> But I still can't see any tables in new or existing spatialite
> databases, and continue to get the "SQLite SQL error: no such table:
> temp.sqlite_master" error.
>
> is it the sqlite version that is too old?
>
Hi Stephen,
this issue is surely caused by an obsolete libsqlite3, but SQLite
is on its good right whilst SpatiaLite is wrong .. sorry for this.
all recent versions of SQLite are able to understand that an SQL
query referencing "temp.sqlite_master" intends to query the internal
master table reporting about all the DB objects being currently
defined into the TEMP database.
but the dcumentation is crystal clear; the standard name expected
by SQLite for referencing that special meta-table is
"sqlite_temp_master".
I've done a little testing: it effectively seems that
"sqlite_temp_master"
is correctly recognized by all versions, both olds and news.
but only the most recent versions can recognize the alternative form
"temp.sqlite_master" that is a someway tainted notation.
quick workaround: just edit the Main.cpp source.
at line 8708 you simply have to replace "temp.sqlite_master" with
"sqlite_temp_master", then save and exit.
run once again make/make install, and this time spatialite_gui
2.1.0-beta0 will surely work as expected ;-)
bye Sandro