Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[stellation-res] Patch for SQL queries

Hi,

Attached is a small patch that fixes LocalHandle.java, where a query
still has the AS keyword to alias a table name.

This patch is required to fix the merge command.

Regards,

Rodolfo

-- 

 MAXPROGRAMS
 IBM Business Partner
 Microsoft MSDN Business Connection Partner
 rmraya@xxxxxxxxxxxxxxx
 http://www.maxprograms.com

Index: LocalHandle.java
===================================================================
RCS file: /home/technology/org.eclipse.stellation/plugins/org.eclipse.stellation.core/src/org/eclipse/stellation/repos/LocalHandle.java,v
retrieving revision 1.12
diff -u -r1.12 LocalHandle.java
--- LocalHandle.java	2 Sep 2002 22:26:45 -0000	1.12
+++ LocalHandle.java	3 Sep 2002 16:42:53 -0000
@@ -1031,8 +1031,8 @@
 					"SELECT "
 						+ "br.s_head "
 						+ "FROM "
-						+ "s_Branches as br,"
-						+ "s_Projects as p "
+						+ "s_Branches br,"
+						+ "s_Projects p "
 						+ "WHERE "
 						+ "p.s_name = "
 						+ _db.quoteString(project) + " "

Back to the top