mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 13:27:09 +02:00
13 lines
450 B
Diff
13 lines
450 B
Diff
https://github.com/launchbadge/sqlx/issues/2198
|
|
--- a/vendor/sqlx/sqlx-core/src/sqlite/statement/unlock_notify.rs
|
|
+++ b/vendor/sqlx/sqlx-core/src/sqlite/statement/unlock_notify.rs
|
|
@@ -48,6 +48,8 @@
|
|
}
|
|
|
|
fn wait(&self) {
|
|
+ // We only want to wait until the lock is available again.
|
|
+ #[allow(let_underscore_lock)]
|
|
let _ = self
|
|
.condvar
|
|
.wait_while(self.mutex.lock().unwrap(), |fired| !*fired)
|