diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2019-03-09 17:39:44 +0100 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2019-03-10 06:25:44 +0100 |
commit | f33eb08a2b74e5de033af9b5f5283b220ac58ded (patch) | |
tree | 62aa41c03f593a3f42bc3100eaa30e39e10c360b /connectivity/registry | |
parent | 59f58b432f6998cf1255dd4439a20c9369d01187 (diff) |
tdf#121092: synchronize defaults for ODBC settings
The defaults for EnableSQL92Check, PreferDosLikeLineEnds, RespectDriverResultSetType
in connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu made
consistent with respective defaults in ODatabaseModelImpl::getDefaultDataSourceSettings
When inconsistent, the settings don't ever get written to the ODB's
content.xml (likely they are filtered out as default at different levels).
This change allows the non-default to be written. Since the defaults in
ODatabaseModelImpl::getDefaultDataSourceSettings are there at least since
2006 (commit 0eb026293c88d422d701d1a06735d9cce5457ca9), so that in any
existing ODB the settings are absent if they are equal to those defaults,
they are not changed.
Change-Id: I220336fae666554c1bc23c1915152515fefd18ce
Reviewed-on: https://gerrit.libreoffice.org/68979
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'connectivity/registry')
-rw-r--r-- | connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu b/connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu index 20d3f45d2a53..85c34cfb2f4d 100644 --- a/connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu +++ b/connectivity/registry/odbc/org/openoffice/Office/DataAccess/Drivers.xcu @@ -68,7 +68,8 @@ </node> <node oor:name="EnableSQL92Check" oor:op="replace"> <prop oor:name="Value" oor:type="xs:boolean"> - <value>true</value> + <!-- must be synchronized with ODatabaseModelImpl::getDefaultDataSourceSettings --> + <value>false</value> </prop> </node> <node oor:name="AppendTableAliasInSelect" oor:op="replace"> @@ -118,7 +119,8 @@ </node> <node oor:name="PreferDosLikeLineEnds" oor:op="replace"> <prop oor:name="Value" oor:type="xs:boolean"> - <value>true</value> + <!-- must be synchronized with ODatabaseModelImpl::getDefaultDataSourceSettings --> + <value>false</value> </prop> </node> <node oor:name="BooleanComparisonMode" oor:op="replace"> @@ -143,7 +145,8 @@ </node> <node oor:name="RespectDriverResultSetType" oor:op="replace"> <prop oor:name="Value" oor:type="xs:boolean"> - <value>true</value> + <!-- must be synchronized with ODatabaseModelImpl::getDefaultDataSourceSettings --> + <value>false</value> </prop> </node> </node> |