This is an automated email from the ASF dual-hosted git repository.

mxmanghi pushed a commit to branch 3.2
in repository https://gitbox.apache.org/repos/asf/tcl-rivet.git

commit 6fadc3c42a6267d11848bab6db9f1691ff30e275
Author: Massimo Manghi <[email protected]>
AuthorDate: Fri Dec 12 16:59:23 2025 +0100

    Fix Sqlite connector to adapt to the new Tdbc naming scheme of the field 
formatters
---
 ChangeLog                         | 7 ++++++-
 rivet/packages/dio/dio_Sqlite.tcl | 5 +++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog
index 6d2add4..fe971fc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-12-12 Massimo Manghi <[email protected]>
+       * rivet/packages/dio/dio_Sqlite.tcl: add method create_field_formatter
+       to match the name of the formatter class to suite the logic adopted
+       in dio_Tdbc.tcl
+
 2025-11-20 Massimo Manghi <[email protected]>
        * rivet/packages/dio/formatters.tcl: The Sqlite3 field formatter class
        must be named Sqlite3 likewise
@@ -18,7 +23,7 @@
 
 2025-10-23 Massimo Manghi <[email protected]>
        * rivet/packages/dio/formatters.tcl: a typo slipped in and spoiled
-       for formatter class name for Posgresql connectors
+       the formatter class name for Posgresql connectors
        * rivet/packages/dio/dio_Tdbc.tcl: missing increment of a connector
        serial number
        * VERSION: Bumped version to 3.2.8
diff --git a/rivet/packages/dio/dio_Sqlite.tcl 
b/rivet/packages/dio/dio_Sqlite.tcl
index 0b1f6e8..527b860 100644
--- a/rivet/packages/dio/dio_Sqlite.tcl
+++ b/rivet/packages/dio/dio_Sqlite.tcl
@@ -38,6 +38,7 @@ namespace eval DIO {
                 [catch {package require sqlite3}]} {
 
                 return -code error "No Sqlite Tcl package available"
+
             }
             eval configure $args
         }
@@ -58,6 +59,10 @@ namespace eval DIO {
             catch { $dbcmd close }
         }
 
+        public method create_field_formatter {} {
+            set special_fields_formatter [::DIO::formatters::Sqlite3 
::DIO::formatters::#auto]
+        }
+
         method exec {req} {
             open
 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to