|
|
@@ -48,7 +48,7 @@ public class SafeTiFlashInterceptor implements Interceptor {
|
|
|
connection = getRealConnection(connection);
|
|
|
|
|
|
try (Statement stmt = connection.createStatement()) {
|
|
|
- stmt.execute("SET session tidb_isolation_read_engines = 'tiflash,tidb'");
|
|
|
+ stmt.execute("SET session tidb_isolation_read_engines = 'tiflash,tidb,tikv'");
|
|
|
System.out.println("✅ TiFlash引擎设置成功");
|
|
|
}
|
|
|
}
|