Stale query cache results on MariaDB replica during statement-based replication
The goal is to determine whether a MariaDB replica’s query cache can serve stale data when the master applies statement‑based replication events that modify tables, particularly when those statements involve non‑deterministic functions such as NOW() or UUID(). This situation arises under MariaDB 10.2 or earlier with the query cache enabled (query_cache_type