summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2014-07-22 18:36:05 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2014-07-23 05:32:13 +0000
commit0d5d8c22f7be41d408d8ee4012ef1a6f4368423e (patch)
tree821699b294fd268b8b390a780da045b94d9f297d /dbaccess
parent41fde63b3ec4da0a4a6636105dd7b65fdfc7ad44 (diff)
Resolves fdo#81213: Wrong table-clause generated by reportbuilder
Oracle doesn't accept "AS" for making an alias from a table See https://bugs.freedesktop.org/show_bug.cgi?id=81213#c2 https://bugs.freedesktop.org/show_bug.cgi?id=81213#c4 https://bugs.freedesktop.org/show_bug.cgi?id=81213#c5 for more information (thank you Lionel) Cherry-picked from 568778874429595855b435792e5ebecd52956dae Change-Id: I33c86d78b2590116d4af46ffd3e54c3c791268ea Reviewed-on: https://gerrit.libreoffice.org/10469 Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu> Tested-by: Lionel Elie Mamane <lionel@mamane.lu>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/core/dataaccess/ModelImpl.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
index 07331079b3ab..05dcd2f06d37 100644
--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
+++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
@@ -1055,7 +1055,7 @@ const AsciiPropertyValue* ODatabaseModelImpl::getDefaultDataSourceSettings()
// known SDB level settings
AsciiPropertyValue( "NoNameLengthLimit", makeAny( false ) ),
AsciiPropertyValue( "AppendTableAliasName", makeAny( false ) ),
- AsciiPropertyValue( "GenerateASBeforeCorrelationName", makeAny( true ) ),
+ AsciiPropertyValue( "GenerateASBeforeCorrelationName", makeAny( false ) ),
AsciiPropertyValue( "ColumnAliasInOrderBy", makeAny( true ) ),
AsciiPropertyValue( "EnableSQL92Check", makeAny( false ) ),
AsciiPropertyValue( "BooleanComparisonMode", makeAny( BooleanComparisonMode::EQUAL_INTEGER ) ),