head 1.2; access; symbols pkgsrc-2026Q1:1.1.0.4 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.2 pkgsrc-2025Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2026.04.16.19.15.13; author wiz; state dead; branches; next 1.1; commitid r8AJI4rw2IH4ydCG; 1.1 date 2025.12.02.22.28.59; author wiz; state Exp; branches; next ; commitid ccD31CaieunDXSkG; desc @@ 1.2 log @syncstorage-rs: remove This hasn't been working for months. Moved to wip. @ text @$NetBSD: patch-syncstorage-mysql_src_models.rs,v 1.1 2025/12/02 22:28:59 wiz Exp $ Improve mariadb compatibility https://github.com/felfert/syncstorage-rs-rpm/commit/c9311a47b89cb02c4a248e36d608571fe3097f9e --- syncstorage-mysql/src/models.rs.orig 2025-09-23 20:12:34.000000000 +0000 +++ syncstorage-mysql/src/models.rs @@@@ -24,6 +24,7 @@@@ use syncstorage_db_common::{ use syncstorage_settings::{Quota, DEFAULT_MAX_TOTAL_RECORDS}; use super::{ + diesel_ext::LockInShareModeDsl, batch, error::DbError, pool::CollectionCache, @@@@ -178,7 +179,7 @@@@ impl MysqlDb { .select(user_collections::modified) .filter(user_collections::user_id.eq(user_id)) .filter(user_collections::collection_id.eq(collection_id)) - .for_share() + .lock_in_share_mode() .first(&mut *self.conn.write()?) .optional()?; if let Some(modified) = modified { @ 1.1 log @syncstorage-rs: add two patches Improve mariadb compat. Support logging in release. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @