safe_mode_enabled=false. tenantA runs a hostile HQL fragment, then the app counts rows natively in the same transaction. hostile set_config(): ran native count afterwards -> ok: 1 safe_mode_enabled=true. tenantA runs a hostile HQL fragment, then the app counts rows natively in the same transaction. hostile set_config(): blocked (SemanticException) native count afterwards -> ok: 2