[teiid-commits] teiid SVN: r2959 - in trunk: connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/ingres and 1 other directory.

teiid-commits at lists.jboss.org teiid-commits at lists.jboss.org
Wed Mar 2 15:41:34 EST 2011


Author: shawkins
Date: 2011-03-02 15:41:34 -0500 (Wed, 02 Mar 2011)
New Revision: 2959

Removed:
   trunk/common-core/src/main/resources/org/teiid/bqt/
Modified:
   trunk/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/ingres/IngresExecutionFactory.java
Log:
TEIID-1059: changing bitadd support

Modified: trunk/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/ingres/IngresExecutionFactory.java
===================================================================
--- trunk/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/ingres/IngresExecutionFactory.java	2011-03-02 20:28:34 UTC (rev 2958)
+++ trunk/connectors/translator-jdbc/src/main/java/org/teiid/translator/jdbc/ingres/IngresExecutionFactory.java	2011-03-02 20:41:34 UTC (rev 2959)
@@ -84,7 +84,6 @@
         registerFunctionModifier(SourceSystemFunctions.RAND, new AliasModifier("random")); //$NON-NLS-1$
         registerFunctionModifier(SourceSystemFunctions.UCASE, new AliasModifier("uppercase")); //$NON-NLS-1$
         registerFunctionModifier(SourceSystemFunctions.DAYOFMONTH, new AliasModifier("day")); //$NON-NLS-1$
-        registerFunctionModifier("bitadd", new AliasModifier("bit_add")); //$NON-NLS-1$ //$NON-NLS-2$
         registerFunctionModifier(SourceSystemFunctions.LOCATE, new LocateFunctionModifier(getLanguageFactory())); 
         
 		supportedFunctions.add(SourceSystemFunctions.ABS);
@@ -118,7 +117,7 @@
     public List<FunctionMethod> getPushDownFunctions(){
     	List<FunctionMethod> pushdownFunctions = new ArrayList<FunctionMethod>();
     
-		pushdownFunctions.add(new FunctionMethod(INGRES + '.' + "bitadd", "bitadd", INGRES, //$NON-NLS-1$ //$NON-NLS-2$
+		pushdownFunctions.add(new FunctionMethod(INGRES + '.' + "bit_add", "bit_add", INGRES, //$NON-NLS-1$ //$NON-NLS-2$
             new FunctionParameter[] {
                 new FunctionParameter("integer1", DataTypeManager.DefaultDataTypes.INTEGER, ""), //$NON-NLS-1$ //$NON-NLS-2$
                 new FunctionParameter("integer2", DataTypeManager.DefaultDataTypes.INTEGER, "")}, //$NON-NLS-1$ //$NON-NLS-2$



More information about the teiid-commits mailing list