diff --git a/dbcon/execplan/windowfunctioncolumn.cpp b/dbcon/execplan/windowfunctioncolumn.cpp
index 5c84ff2d1..b1377880f 100644
--- a/dbcon/execplan/windowfunctioncolumn.cpp
+++ b/dbcon/execplan/windowfunctioncolumn.cpp
@@ -233,7 +233,8 @@ WindowFunctionColumn::WindowFunctionColumn( const WindowFunctionColumn& rhs, con
fFunctionName(rhs.functionName()),
fFunctionParms(rhs.functionParms()),
fPartitions (rhs.partitions()),
- fOrderBy (rhs.orderBy())
+ fOrderBy (rhs.orderBy()),
+ udafContext(rhs.getUDAFContext())
{}
const string WindowFunctionColumn::toString() const
diff --git a/dbcon/execplan/windowfunctioncolumn.h b/dbcon/execplan/windowfunctioncolumn.h
index 3fc983e55..47c82b805 100644
--- a/dbcon/execplan/windowfunctioncolumn.h
+++ b/dbcon/execplan/windowfunctioncolumn.h
@@ -140,6 +140,10 @@ public:
{
return udafContext;
}
+ const mcsv1sdk::mcsv1Context& getUDAFContext() const
+ {
+ return udafContext;
+ }
private:
/**
diff --git a/genii.vpw b/genii.vpw
index 686b01ed7..417da26ce 100644
--- a/genii.vpw
+++ b/genii.vpw
@@ -4,12 +4,9 @@
-
-
-
diff --git a/oam/oamcpp/oamcpp.vpj b/oam/oamcpp/oamcpp.vpj
index ce008c9d5..45ed51878 100644
--- a/oam/oamcpp/oamcpp.vpj
+++ b/oam/oamcpp/oamcpp.vpj
@@ -1,225 +1,225 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oamapps/hardwareMonitor/HardwareMonitor.vpj b/oamapps/hardwareMonitor/HardwareMonitor.vpj
index 6e48fd6cf..a376e6628 100644
--- a/oamapps/hardwareMonitor/HardwareMonitor.vpj
+++ b/oamapps/hardwareMonitor/HardwareMonitor.vpj
@@ -1,218 +1,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oamapps/postConfigure/postConfigure.vpj b/oamapps/postConfigure/postConfigure.vpj
index 81d372dee..cc89393af 100644
--- a/oamapps/postConfigure/postConfigure.vpj
+++ b/oamapps/postConfigure/postConfigure.vpj
@@ -1,223 +1,223 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oamapps/replayTransactionLog/ReplayTransactionLog.vpj b/oamapps/replayTransactionLog/ReplayTransactionLog.vpj
index 034df4c88..ce3154c21 100644
--- a/oamapps/replayTransactionLog/ReplayTransactionLog.vpj
+++ b/oamapps/replayTransactionLog/ReplayTransactionLog.vpj
@@ -1,216 +1,216 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oamapps/resourceMonitor/resourceMonitor.vpj b/oamapps/resourceMonitor/resourceMonitor.vpj
index b8c69a721..c88870832 100644
--- a/oamapps/resourceMonitor/resourceMonitor.vpj
+++ b/oamapps/resourceMonitor/resourceMonitor.vpj
@@ -1,216 +1,216 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/oamapps/serverMonitor/ServerMonitor.vpj b/oamapps/serverMonitor/ServerMonitor.vpj
index a5e5909e2..212a1cf81 100644
--- a/oamapps/serverMonitor/ServerMonitor.vpj
+++ b/oamapps/serverMonitor/ServerMonitor.vpj
@@ -1,237 +1,237 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/primitives/blockcache/blockcache.vpj b/primitives/blockcache/blockcache.vpj
index 672753473..da41e8eb5 100644
--- a/primitives/blockcache/blockcache.vpj
+++ b/primitives/blockcache/blockcache.vpj
@@ -1,236 +1,236 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/procmgr/procmgr.vpj b/procmgr/procmgr.vpj
index ab587c6a7..443588442 100644
--- a/procmgr/procmgr.vpj
+++ b/procmgr/procmgr.vpj
@@ -1,221 +1,221 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/procmon/procmon.vpj b/procmon/procmon.vpj
index 0c8c399a8..bb0c6c9fa 100644
--- a/procmon/procmon.vpj
+++ b/procmon/procmon.vpj
@@ -1,220 +1,220 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tools/configMgt/autoConfigure.vpj b/tools/configMgt/autoConfigure.vpj
index 5d788fe40..edd1497f5 100644
--- a/tools/configMgt/autoConfigure.vpj
+++ b/tools/configMgt/autoConfigure.vpj
@@ -1,321 +1,321 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/batchloader/batchloader.vpj b/utils/batchloader/batchloader.vpj
index 16d7753ee..c48a19007 100644
--- a/utils/batchloader/batchloader.vpj
+++ b/utils/batchloader/batchloader.vpj
@@ -1,218 +1,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/cacheutils/cacheutils.vpj b/utils/cacheutils/cacheutils.vpj
index eaefca217..2a8bec873 100644
--- a/utils/cacheutils/cacheutils.vpj
+++ b/utils/cacheutils/cacheutils.vpj
@@ -1,218 +1,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/compress/compress.vpj b/utils/compress/compress.vpj
index 860ce8693..02ecfff14 100644
--- a/utils/compress/compress.vpj
+++ b/utils/compress/compress.vpj
@@ -1,231 +1,231 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/configcpp/configcpp.vpj b/utils/configcpp/configcpp.vpj
index d8dff4d13..73b33cfb3 100644
--- a/utils/configcpp/configcpp.vpj
+++ b/utils/configcpp/configcpp.vpj
@@ -1,229 +1,229 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/dataconvert/dataconvert.vpj b/utils/dataconvert/dataconvert.vpj
index d38ab71c0..e2b2b9763 100644
--- a/utils/dataconvert/dataconvert.vpj
+++ b/utils/dataconvert/dataconvert.vpj
@@ -1,227 +1,227 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/dataconvert/tdriver.vpj b/utils/dataconvert/tdriver.vpj
index 2e665c68c..4b6a8630a 100644
--- a/utils/dataconvert/tdriver.vpj
+++ b/utils/dataconvert/tdriver.vpj
@@ -1,221 +1,221 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/ddlcleanup/ddlcleanup.vpj b/utils/ddlcleanup/ddlcleanup.vpj
index 777a12f05..b207dd826 100644
--- a/utils/ddlcleanup/ddlcleanup.vpj
+++ b/utils/ddlcleanup/ddlcleanup.vpj
@@ -1,218 +1,218 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/idbdatafile/idbdatafile.vpj b/utils/idbdatafile/idbdatafile.vpj
index cacaa56bc..cd2d7e77c 100644
--- a/utils/idbdatafile/idbdatafile.vpj
+++ b/utils/idbdatafile/idbdatafile.vpj
@@ -1,245 +1,245 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/idbhdfs/idbhdfs.vpj b/utils/idbhdfs/idbhdfs.vpj
index 7bac0bf8e..a3704675d 100644
--- a/utils/idbhdfs/idbhdfs.vpj
+++ b/utils/idbhdfs/idbhdfs.vpj
@@ -1,230 +1,230 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/multicast/multicast.vpj b/utils/multicast/multicast.vpj
index 963327b70..42a806ce0 100644
--- a/utils/multicast/multicast.vpj
+++ b/utils/multicast/multicast.vpj
@@ -1,231 +1,231 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/regr/regr_intercept.cpp b/utils/regr/regr_intercept.cpp
index 3b1d78e18..6d4c35a47 100644
--- a/utils/regr/regr_intercept.cpp
+++ b/utils/regr/regr_intercept.cpp
@@ -145,13 +145,12 @@ mcsv1_UDAF::ReturnCode regr_intercept::evaluate(mcsv1Context* context, static_an
double sumy = data->sumy;
double sumx2 = data->sumx2;
double sumxy = data->sumxy;
- double slope = 0;
- double variance = (N * sumx2) - (sumx * sumx);
- if (variance != 0)
+ double numerator = sumy * sumx2 - sumx * sumxy;
+ double var_pop = (N * sumx2) - (sumx * sumx);
+ if (var_pop != 0)
{
- slope = ((N * sumxy) - (sumx * sumy)) / variance;
+ valOut = numerator / var_pop;
}
- valOut = (sumy - (slope * sumx)) / N;
}
return mcsv1_UDAF::SUCCESS;
}
diff --git a/utils/rwlock/rwlock.vpj b/utils/rwlock/rwlock.vpj
index cb1007232..3d2e45619 100644
--- a/utils/rwlock/rwlock.vpj
+++ b/utils/rwlock/rwlock.vpj
@@ -1,222 +1,222 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/utils/startup/startup.vpj b/utils/startup/startup.vpj
index 3fc1d2480..8f2340702 100644
--- a/utils/startup/startup.vpj
+++ b/utils/startup/startup.vpj
@@ -1,222 +1,222 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/versioning/BRM/brm.vpj b/versioning/BRM/brm.vpj
index 5f28016da..07d034a19 100644
--- a/versioning/BRM/brm.vpj
+++ b/versioning/BRM/brm.vpj
@@ -1,305 +1,305 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/writeengine/bulk/bulk.vpj b/writeengine/bulk/bulk.vpj
index 402a35a27..de86cdd04 100644
--- a/writeengine/bulk/bulk.vpj
+++ b/writeengine/bulk/bulk.vpj
@@ -1,301 +1,301 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/writeengine/client/writeengineclient.vpj b/writeengine/client/writeengineclient.vpj
index 65093428e..4afe9c836 100644
--- a/writeengine/client/writeengineclient.vpj
+++ b/writeengine/client/writeengineclient.vpj
@@ -1,291 +1,291 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/writeengine/dictionary/dictionary.vpj b/writeengine/dictionary/dictionary.vpj
index c30613ee2..9aa57303f 100644
--- a/writeengine/dictionary/dictionary.vpj
+++ b/writeengine/dictionary/dictionary.vpj
@@ -1,222 +1,222 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/writeengine/splitter/splitter.vpj b/writeengine/splitter/splitter.vpj
index e7754a250..be853818e 100644
--- a/writeengine/splitter/splitter.vpj
+++ b/writeengine/splitter/splitter.vpj
@@ -1,256 +1,256 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir="."
+ VCSProject="Subversion:">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/writeengine/wrapper/wrapper.vpj b/writeengine/wrapper/wrapper.vpj
index b26d790a4..48fa6614c 100644
--- a/writeengine/wrapper/wrapper.vpj
+++ b/writeengine/wrapper/wrapper.vpj
@@ -1,229 +1,229 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ Version="10.0"
+ VendorName="SlickEdit"
+ TemplateName="GNU C/C++"
+ WorkingDir=".">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+