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

gstein pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/steve.git

commit 9e6e46defb3a6c54fa22836cc72b730d6cb85209
Author: Greg Stein <[email protected]>
AuthorDate: Sat Oct 4 02:37:29 2025 -0500

    simplify. use default NULL
---
 v3/queries.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/v3/queries.yaml b/v3/queries.yaml
index c7dec8b..6bc95e0 100644
--- a/v3/queries.yaml
+++ b/v3/queries.yaml
@@ -38,8 +38,8 @@ election:
     c_add_vote: INSERT INTO vote VALUES (NULL, ?, ?)
     c_add_mayvote: INSERT INTO mayvote (pid, iid, salt) VALUES (?, ?, NULL)
     c_add_mayvote_all: |
-        INSERT INTO mayvote (pid, iid, salt)
-        SELECT ?, iid, NULL FROM issue WHERE eid = ?
+        INSERT INTO mayvote (pid, iid)
+        SELECT ?, iid FROM issue WHERE eid = ?
     c_delete_mayvote: |
         DELETE FROM mayvote
         WHERE iid IN (

Reply via email to