Show SQLite support in gmdb2 and manual.

This commit is contained in:
Nirgal Vourgère
2013-01-13 22:41:10 +01:00
parent 70c6fb7551
commit 5eeb5c5050
4 changed files with 7 additions and 3 deletions

View File

@@ -239,7 +239,8 @@ Oracle
Sybase
MS SQL Server
PostgreSQL
MySQL</property>
MySQL
SQLite</property>
</widget>
<packing>
<property name="left_attach">1</property>

View File

@@ -105,6 +105,8 @@ int i;
strcpy(backend,"postgres");
else if (!strcmp(tmp,"MySQL"))
strcpy(backend,"mysql");
else if (!strcmp(tmp,"SQLite"))
strcpy(backend,"sqlite");
else
strcpy(backend,"access");
@@ -151,6 +153,7 @@ refresh_available_options() {
else if (!strcmp(backend_name,"MS SQL Server")) strcpy(backend,"sybase");
else if (!strcmp(backend_name,"PostgreSQL")) strcpy(backend,"postgres");
else if (!strcmp(backend_name,"MySQL")) strcpy(backend,"mysql");
else if (!strcmp(backend_name,"SQLite")) strcpy(backend,"sqlite");
else strcpy(backend,"access");
backend_obj = (MdbBackend *) g_hash_table_lookup(mdb_backends, backend);