You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by do...@apache.org on 2019/11/08 09:56:34 UTC
[empire-db] branch master updated: EMPIREDB-318 DBQuery bufix
This is an automated email from the ASF dual-hosted git repository.
doebele pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/empire-db.git
The following commit(s) were added to refs/heads/master by this push:
new c681b5b EMPIREDB-318 DBQuery bufix
c681b5b is described below
commit c681b5b1c85325ea6469a24403da5fd114830429
Author: Rainer Döbele <do...@apache.org>
AuthorDate: Fri Nov 8 10:56:30 2019 +0100
EMPIREDB-318
DBQuery bufix
---
empire-db/src/main/java/org/apache/empire/db/DBQuery.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/empire-db/src/main/java/org/apache/empire/db/DBQuery.java b/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
index e0c5535..9a8ae57 100644
--- a/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
+++ b/empire-db/src/main/java/org/apache/empire/db/DBQuery.java
@@ -632,7 +632,7 @@ public class DBQuery extends DBRowSet
index=0;
for (DBColumn c : columns)
{ // check update column
- if ((c instanceof DBQueryColumn) && column.equals(c.getUpdateColumn()))
+ if ((c instanceof DBQueryColumn) && column.equals(((DBQueryColumn)c).expr.getUpdateColumn()))
return index;
// next
index++;