Invalidate cached schema information for a table
(table_name: &str)
| 58 | |
| 59 | /// Invalidate cached schema information for a table |
| 60 | fn invalidate_table_schema_cache(table_name: &str) { |
| 61 | let mut cache = TABLE_SCHEMA_CACHE.write(); |
| 62 | cache.remove(table_name); |
| 63 | debug!("Invalidated schema cache for table: {}", table_name); |
| 64 | } |
| 65 | |
| 66 | /// Invalidate all cached schema information |
| 67 | pub fn invalidate_all_schema_cache() { |