mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-10-27 12:29:12 +08:00
Show SQLite support in gmdb2 and manual.
This commit is contained in:
@@ -14,7 +14,7 @@ OPTIONS
|
||||
-Q Don't wrap text-like fields (text, memo, date) in quotes. If not specified text fiels will be surrounded by " (double quote) characters.
|
||||
-d Specify an alternative column delimiter If no delimiter is specified, table names will be delimited by a , (comma) character.
|
||||
-R Specify a row delimiter
|
||||
-I backend INSERT statements (instead of CSV). You must specify which SQL backend dialect to use. Allowed values are: access, sybase, oracle, postgres and mysql.
|
||||
-I backend INSERT statements (instead of CSV). You must specify which SQL backend dialect to use. Allowed values are: access, sybase, oracle, postgres, mysql and sqlite.
|
||||
-D Set the date format (see strftime(3) for details)
|
||||
-q Use to wrap text-like fields. Default is ".
|
||||
-X Use to escape quoted characters within a field. Default is doubling.
|
||||
|
||||
@@ -25,7 +25,7 @@ OPTIONS
|
||||
--relations Export foreign keys constraints. This is the default.
|
||||
--no-relations Don't export foreign keys constraints.
|
||||
|
||||
backend Specifies target DDL dialect. Supported values are access, sybase, oracle, postgres, and mysql. If not specified the generated DDL will be in access format.
|
||||
backend Specifies target DDL dialect. Supported values are access, sybase, oracle, postgres, mysql and sqlite. If not specified the generated DDL will be in access format.
|
||||
|
||||
ENVIRONMENT
|
||||
MDB_JET3_CHARSET Defines the charset of the input JET3 (access 97) file. Default is CP1252. See iconv(1).
|
||||
|
||||
@@ -239,7 +239,8 @@ Oracle
|
||||
Sybase
|
||||
MS SQL Server
|
||||
PostgreSQL
|
||||
MySQL</property>
|
||||
MySQL
|
||||
SQLite</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="left_attach">1</property>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user