Clear the decimal table cache (should be called on DDL operations)
()
| 294 | |
| 295 | /// Clear the decimal table cache (should be called on DDL operations) |
| 296 | pub 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 |
| 303 | pub fn table_has_decimal_columns( |