Check if a query is suitable for wire protocol caching
(_query: &str)
| 62 | |
| 63 | /// Check if a query is suitable for wire protocol caching |
| 64 | pub fn is_cacheable_for_wire_protocol(_query: &str) -> bool { |
| 65 | // Wire protocol caching is currently disabled to prevent transaction visibility issues. |
| 66 | // The cache was returning stale SELECT results across sessions after COMMIT. |
| 67 | // TODO: Implement cache invalidation on COMMIT or per-session caching. |
| 68 | false |
| 69 | } |
| 70 | |
| 71 | /// Encode a data row for wire protocol |
| 72 | pub fn encode_data_row(row: &[Option<Vec<u8>>]) -> Vec<u8> { |