Tag: cws_src680_dba24b
User: oj      
Date: 2007-08-22 14:28:23+0000
Modified:
   dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx

Log:
 #i78577# add table alias if they differ

File Changes:

Directory: /dba/dbaccess/source/ui/querydesign/
===============================================

File [changed]: QueryDesignView.cxx
Url: 
http://dba.openoffice.org/source/browse/dba/dbaccess/source/ui/querydesign/QueryDesignView.cxx?r1=1.86.46.2&r2=1.86.46.3
Delta lines:  +3 -3
-------------------
--- QueryDesignView.cxx 2007-08-22 11:41:58+0000        1.86.46.2
+++ QueryDesignView.cxx 2007-08-22 14:28:20+0000        1.86.46.3
@@ -4,9 +4,9 @@
  *
  *  $RCSfile: QueryDesignView.cxx,v $
  *
- *  $Revision: 1.86.46.2 $
+ *  $Revision: 1.86.46.3 $
  *
- *  last change: $Author: oj $ $Date: 2007/08/22 11:41:58 $
+ *  last change: $Author: oj $ $Date: 2007/08/22 14:28:20 $
  *
  *  The Contents of this file are made available subject to
  *  the terms of GNU Lesser General Public License Version 2.1.
@@ -564,7 +564,7 @@
                                ::rtl::OUString aTableListStr = 
::dbtools::composeTableNameForSelect( _xConnection, sCatalog, sSchema, sTable );
 
                                ::rtl::OUString aQuote = 
xMetaData->getIdentifierQuoteString();
-                               if ( _bForce || isAppendTableAliasEnabled( 
_xConnection ) )
+                               if ( _bForce || isAppendTableAliasEnabled( 
_xConnection ) || pEntryTab->GetAliasName() != aDBName )
                                {
                     aTableListStr += ::rtl::OUString::createFromAscii(" ");
                     if ( generateAsBeforeTableAlias( _xConnection ) )




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to