From 63540ce04ec74ccc78dc64b60b2124ba4d66a28d Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Tue, 5 Nov 2019 13:47:36 +0100
Subject: [PATCH] Put new SqlBuilder into Sql_lib, add some compatibility-fixes
 for the old usages from the sqlbuilder.

---
 process/Sql_lib/process.js | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/process/Sql_lib/process.js b/process/Sql_lib/process.js
index 09ddf0d0c5..7e630b7644 100644
--- a/process/Sql_lib/process.js
+++ b/process/Sql_lib/process.js
@@ -777,7 +777,7 @@ function newWhereIfSet(pFieldOrCond, pValue, pCondition, pFieldType, pAlias)
 function SqlBuilder (pAlias)
 {
     if(!(this instanceof SqlBuilder)) 
-        throw SqlBuilder._ERROR_INSTANCIATE_WITH_NEW();
+        throw SqlBuilder.ERROR_INSTANCIATE_WITH_NEW();
     this._select = null;
     this._from = null;
     this._tableName = null; //for update/delete
@@ -3302,7 +3302,6 @@ SqlUtils._parseFieldQualifier = function(pFieldOrTableName, pColumnName)
     };
 };
 
-
 /**
 * determines if given values match a full field qualifier (name of table and name of column)
 *
-- 
GitLab