MCPcopy Create free account
hub / github.com/erans/pgsqlite / clear_decimal_cache

Function clear_decimal_cache

src/query/fast_path.rs:296–300  ·  view source on GitHub ↗

Clear the decimal table cache (should be called on DDL operations)

()

Source from the content-addressed store, hash-verified

294
295/// Clear the decimal table cache (should be called on DDL operations)
296pub fn clear_decimal_cache() {
297 if let Ok(mut cache) = DECIMAL_TABLE_CACHE.lock() {
298 cache.clear();
299 }
300}
301
302/// Check if a table has any DECIMAL columns that would require query rewriting
303pub fn table_has_decimal_columns(

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected