Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package rqlite for openSUSE:Factory checked 
in at 2025-11-20 14:50:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rqlite (Old)
 and      /work/SRC/openSUSE:Factory/.rqlite.new.2061 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rqlite"

Thu Nov 20 14:50:54 2025 rev:32 rq:1318746 version:9.3.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/rqlite/rqlite.changes    2025-11-14 
16:15:11.490013020 +0100
+++ /work/SRC/openSUSE:Factory/.rqlite.new.2061/rqlite.changes  2025-11-20 
14:52:27.731650989 +0100
@@ -1,0 +2,7 @@
+Wed Nov 19 19:45:13 UTC 2025 - Andreas Stieger <[email protected]>
+
+- Update to version 9.3.1:
+  * Upgrade SQL parser
+  * Fix update-hook error stat and clarify SQL time-function processing
+
+-------------------------------------------------------------------

Old:
----
  rqlite-9.3.0.tar.xz

New:
----
  rqlite-9.3.1.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rqlite.spec ++++++
--- /var/tmp/diff_new_pack.9dl5IG/_old  2025-11-20 14:52:29.851740415 +0100
+++ /var/tmp/diff_new_pack.9dl5IG/_new  2025-11-20 14:52:29.863740921 +0100
@@ -16,7 +16,7 @@
 #
 
 Name:           rqlite
-Version:        9.3.0
+Version:        9.3.1
 Release:        0
 Summary:        Distributed relational database built on SQLite
 License:        MIT

++++++ _service ++++++
--- /var/tmp/diff_new_pack.9dl5IG/_old  2025-11-20 14:52:30.111751382 +0100
+++ /var/tmp/diff_new_pack.9dl5IG/_new  2025-11-20 14:52:30.147752900 +0100
@@ -3,7 +3,7 @@
     <param name="url">https://github.com/rqlite/rqlite.git</param>
     <param name="scm">git</param>
     <param name="exclude">.git</param>
-    <param name="revision">v9.3.0</param>
+    <param name="revision">v9.3.1</param>
     <param name="versionformat">@PARENT_TAG@</param>
     <param name="changesgenerate">enable</param>
     <param name="versionrewrite-pattern">v(.*)</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.9dl5IG/_old  2025-11-20 14:52:30.307759650 +0100
+++ /var/tmp/diff_new_pack.9dl5IG/_new  2025-11-20 14:52:30.347761337 +0100
@@ -1,7 +1,7 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">https://github.com/rqlite/rqlite.git</param>
-    <param 
name="changesrevision">4fddb5a9407e91e3d23c42a3911b032c583432ef</param>
+    <param 
name="changesrevision">729cacb5afbf181d28251f5760b94de5097620dd</param>
   </service>
 </servicedata>
 (No newline at EOF)

++++++ rqlite-9.3.0.tar.xz -> rqlite-9.3.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.0/CHANGELOG.md 
new/rqlite-9.3.1/CHANGELOG.md
--- old/rqlite-9.3.0/CHANGELOG.md       2025-11-12 15:33:58.000000000 +0100
+++ new/rqlite-9.3.1/CHANGELOG.md       2025-11-18 22:38:28.000000000 +0100
@@ -1,3 +1,8 @@
+## v9.3.1 (November 18th 2025)
+### Implementation changes and bug fixes
+- [PR #2390](https://github.com/rqlite/rqlite/pull/2390): Upgrade SQL parser.
+- [PR #2391](https://github.com/rqlite/rqlite/pull/2391): Fix update-hook 
error stat and clarify SQL time-function processing.
+
 ## v9.3.0 (November 12th 2025)
 ### New features
 - [PR #2385](https://github.com/rqlite/rqlite/pull/2385): CLI supports forcing 
all statements to be sent to `/db/execute` HTTP API.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.0/command/sql/processor.go 
new/rqlite-9.3.1/command/sql/processor.go
--- old/rqlite-9.3.0/command/sql/processor.go   2025-11-12 15:33:58.000000000 
+0100
+++ new/rqlite-9.3.1/command/sql/processor.go   2025-11-18 22:38:28.000000000 
+0100
@@ -79,6 +79,8 @@
 // The function performs a lower-case comparison so it is up to the caller to
 // ensure the statement is lower-cased.
 func ContainsTime(stmt string) bool {
+       // Since this is a simple substring search, it also matches datetime(
+       // and strftime(.
        targets := []string{"time(", "date(", "julianday(", "unixepoch(", 
"timediff("}
        for _, target := range targets {
                if strings.Contains(stmt, target) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.0/db/db.go new/rqlite-9.3.1/db/db.go
--- old/rqlite-9.3.0/db/db.go   2025-11-12 15:33:58.000000000 +0100
+++ new/rqlite-9.3.1/db/db.go   2025-11-18 22:38:28.000000000 +0100
@@ -400,7 +400,7 @@
                        stats.Add(numUpdateHooks, 1)
                        ev, err := convertFn(op, dbName, tblName, rowID)
                        if err != nil {
-                               stats.Add(numUpdateHooks, 1)
+                               stats.Add(numUpdateHooksErrors, 1)
                                ev.Error = err.Error()
                        }
                        if err := hook(ev); err != nil {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.0/go.mod new/rqlite-9.3.1/go.mod
--- old/rqlite-9.3.0/go.mod     2025-11-12 15:33:58.000000000 +0100
+++ new/rqlite-9.3.1/go.mod     2025-11-18 22:38:28.000000000 +0100
@@ -16,7 +16,7 @@
        github.com/peterh/liner v1.2.2
        github.com/rqlite/raft-boltdb/v2 v2.0.0-20230523104317-c08e70f4de48
        github.com/rqlite/rqlite-disco-clients 
v0.0.0-20250205044118-8ada2b350099
-       github.com/rqlite/sql v0.0.0-20250623131620-453fa49cad04
+       github.com/rqlite/sql v0.0.0-20251114131613-ef07423e7137
        go.etcd.io/bbolt v1.4.3
        golang.org/x/net v0.47.0
        google.golang.org/protobuf v1.36.10
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/rqlite-9.3.0/go.sum new/rqlite-9.3.1/go.sum
--- old/rqlite-9.3.0/go.sum     2025-11-12 15:33:58.000000000 +0100
+++ new/rqlite-9.3.1/go.sum     2025-11-18 22:38:28.000000000 +0100
@@ -239,8 +239,8 @@
 github.com/rqlite/raft-boltdb/v2 v2.0.0-20230523104317-c08e70f4de48/go.mod 
h1:CRnsxgy5G8fAf5J+AM0yrsSdxXHKkIYOaq2sm+Q4DYc=
 github.com/rqlite/rqlite-disco-clients v0.0.0-20250205044118-8ada2b350099 
h1:5cqkVLdl6sGJSY3kiF2dqaA3bD+8OS5FUdZqO0BxXLU=
 github.com/rqlite/rqlite-disco-clients 
v0.0.0-20250205044118-8ada2b350099/go.mod 
h1:6SVI8KegsW9Fyu2UQ+uvw0JI5CAILRYRyiQ/OFSJPrs=
-github.com/rqlite/sql v0.0.0-20250623131620-453fa49cad04 
h1:bjr7gZERAJhYhqkLHXbkBSpjbB+PlgW6e9CRCJ2+J/w=
-github.com/rqlite/sql v0.0.0-20250623131620-453fa49cad04/go.mod 
h1:ib9zVtNgRKiGuoMyUqqL5aNpk+r+++YlyiVIkclVqPg=
+github.com/rqlite/sql v0.0.0-20251114131613-ef07423e7137 
h1:OG5MfYAA0yaWgllfPdOq9Xa2bo1vpurCNx1LWz7+Zh0=
+github.com/rqlite/sql v0.0.0-20251114131613-ef07423e7137/go.mod 
h1:ib9zVtNgRKiGuoMyUqqL5aNpk+r+++YlyiVIkclVqPg=
 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529 
h1:nn5Wsu0esKSJiIVhscUtVbo7ada43DJhG55ua/hjS5I=
 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod 
h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
 github.com/sirupsen/logrus v1.2.0/go.mod 
h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=

++++++ vendor.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/github.com/rqlite/sql/ast.go 
new/vendor/github.com/rqlite/sql/ast.go
--- old/vendor/github.com/rqlite/sql/ast.go     2025-11-12 15:33:58.000000000 
+0100
+++ new/vendor/github.com/rqlite/sql/ast.go     2025-11-18 22:38:28.000000000 
+0100
@@ -1412,13 +1412,17 @@
        NewName  *Ident // new table name
 
        RenameColumn  Pos    // position of COLUMN keyword after RENAME
-       ColumnName    *Ident // new column name
+       ColumnName    *Ident // column name
        To            Pos    // position of TO keyword
        NewColumnName *Ident // new column name
 
        Add       Pos               // position of ADD keyword
        AddColumn Pos               // position of COLUMN keyword after ADD
        ColumnDef *ColumnDefinition // new column definition
+
+       Drop           Pos    // position of DROP keyword
+       DropColumn     Pos    // position of COLUMN keyword after DROP
+       DropColumnName *Ident // column name to drop
 }
 
 // Clone returns a deep copy of s.
@@ -1432,6 +1436,7 @@
        other.ColumnName = s.ColumnName.Clone()
        other.NewColumnName = s.NewColumnName.Clone()
        other.ColumnDef = s.ColumnDef.Clone()
+       other.DropColumnName = s.DropColumnName.Clone()
        return &other
 }
 
@@ -1452,6 +1457,9 @@
        } else if s.ColumnDef != nil {
                buf.WriteString(" ADD COLUMN ")
                buf.WriteString(s.ColumnDef.String())
+       } else if s.DropColumnName != nil {
+               buf.WriteString(" DROP COLUMN ")
+               buf.WriteString(s.DropColumnName.String())
        }
 
        return buf.String()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/github.com/rqlite/sql/parser.go 
new/vendor/github.com/rqlite/sql/parser.go
--- old/vendor/github.com/rqlite/sql/parser.go  2025-11-12 15:33:58.000000000 
+0100
+++ new/vendor/github.com/rqlite/sql/parser.go  2025-11-18 22:38:28.000000000 
+0100
@@ -3276,8 +3276,19 @@
                        return &stmt, err
                }
                return &stmt, nil
+       case DROP:
+               stmt.Drop, _, _ = p.scan()
+               if p.peek() == COLUMN {
+                       stmt.DropColumn, _, _ = p.scan()
+               } else if !isIdentToken(p.peek()) {
+                       return &stmt, p.errorExpected(p.pos, p.tok, "COLUMN 
keyword or column name")
+               }
+               if stmt.DropColumnName, err = p.parseIdent("column name"); err 
!= nil {
+                       return &stmt, err
+               }
+               return &stmt, nil
        default:
-               return &stmt, p.errorExpected(p.pos, p.tok, "ADD or RENAME")
+               return &stmt, p.errorExpected(p.pos, p.tok, "ADD, RENAME or 
DROP")
        }
 }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/vendor/modules.txt new/vendor/modules.txt
--- old/vendor/modules.txt      2025-11-12 15:33:58.000000000 +0100
+++ new/vendor/modules.txt      2025-11-18 22:38:28.000000000 +0100
@@ -241,7 +241,7 @@
 github.com/rqlite/rqlite-disco-clients/dnssrv
 github.com/rqlite/rqlite-disco-clients/etcd
 github.com/rqlite/rqlite-disco-clients/expand
-# github.com/rqlite/sql v0.0.0-20250623131620-453fa49cad04
+# github.com/rqlite/sql v0.0.0-20251114131613-ef07423e7137
 ## explicit; go 1.17
 github.com/rqlite/sql
 # go.etcd.io/bbolt v1.4.3

Reply via email to