mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
core: Switch RwLock<Arc<Pager>> to ArcSwap<Pager>
We don't actually need the RwLock locking capabilities, just the ability to swap the instance.
This commit is contained in:
@@ -86,7 +86,7 @@ impl ProjectOperator {
|
||||
|
||||
for col in &self.columns {
|
||||
// Use the internal connection's pager for expression evaluation
|
||||
let internal_pager = self.internal_conn.pager.read().clone();
|
||||
let internal_pager = self.internal_conn.pager.load().clone();
|
||||
|
||||
// Execute the compiled expression (handles both columns and complex expressions)
|
||||
let result = col
|
||||
|
||||
Reference in New Issue
Block a user