Kaydet (Commit) b4bc0592 authored tarafından Julien Nabet's avatar Julien Nabet Kaydeden (comit) Andras Timar

Related tdf#45775: PgSQL new DB allow empty Datasource

Declare PostgreSql in dsn stuff

Change-Id: I72343bff0d5e6a65a45fc47cc1d346155330f1e5
Reviewed-on: https://gerrit.libreoffice.org/19310Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarLionel Elie Mamane <lionel@mamane.lu>
(cherry picked from commit 898aff0d)
Reviewed-on: https://gerrit.libreoffice.org/19315Reviewed-by: 's avatarTomaž Vajngerl <quikee@gmail.com>
(cherry picked from commit 6b847910)
üst 38c0293d
......@@ -405,6 +405,7 @@ DATASOURCE_TYPE ODsnTypeCollection::determineType(const OUString& _rDsn) const
KnownPrefix( "sdbc:mysql:jdbc:", DST_MYSQL_JDBC, false ),
KnownPrefix( "sdbc:mysql:mysqlc:", DST_MYSQL_NATIVE, false ),
KnownPrefix( "sdbc:mysqlc:", DST_MYSQL_NATIVE_DIRECT,false ),
KnownPrefix( "sdbc:postgresql:", DST_POSTGRES,false ),
KnownPrefix( "sdbc:address:mozilla:", DST_MOZILLA, true ),
KnownPrefix( "sdbc:address:thunderbird:", DST_THUNDERBIRD, true ),
......
......@@ -61,6 +61,7 @@ enum DATASOURCE_TYPE
DST_MYSQL_NATIVE_DIRECT = 25,
DST_FIREBIRD = 26,
DST_EMBEDDED_FIREBIRD = 27,
DST_POSTGRES = 28,
DST_USERDEFINE1, /// first user defined driver
DST_USERDEFINE2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment