* rivet/packages/dio/dio.tcl: fixing nasty bug introduced with Rivet 2.0.6.
When method 'store' is updating the call to method update needs a flat
list as last argument, not just a sigle valued list argument
diff --git a/ChangeLog b/ChangeLog
index c694490..e2e35f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-02-11 Massimo Manghi <mxmanghi@apache.org>
+ * rivet/packages/dio/dio.tcl: fixing nasty bug introduced with Rivet 2.0.6.
+ When method 'store' is updating the call to method update needs a flat
+ list as last argument, not just a sigle valued list argument
+
2012-12-03 Massimo Manghi <mxmanghi@apache.org>
* doc/Makefile.am: Manual pages output encoding set to UTF-8
diff --git a/rivet/packages/dio/dio.tcl b/rivet/packages/dio/dio.tcl
index e1b06bd..a00ca66 100644
--- a/rivet/packages/dio/dio.tcl
+++ b/rivet/packages/dio/dio.tcl
@@ -448,11 +448,11 @@
$res destroy
if {$numrows} {
- return [eval $this update $arrayName $args]
+ $this update $arrayName {*}$args
} else {
- return [eval $this insert $myTable $arrayName]
+ $this insert $myTable $arrayName
}
-
+ return 1
}
#