mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
fix cache not flushing on refresh
This commit is contained in:
@@ -30,8 +30,13 @@ else if ("Refresh" == who)
|
||||
db.flushCache();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
db.flushCache();
|
||||
}
|
||||
|
||||
String script = tab.getProperty("refreshScript");
|
||||
log.info("refreshing: " + script);
|
||||
HashObject scriptArgs = (HashObject)tab.getProperty("refreshArgs");
|
||||
if ( script != null )
|
||||
{
|
||||
|
||||
@@ -31,6 +31,10 @@ else if ("Refresh" == who)
|
||||
db.flushCache();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
db.flushCache();
|
||||
}
|
||||
|
||||
String script = tab.getProperty("refreshScript");
|
||||
HashObject scriptArgs = (HashObject)tab.getProperty("refreshArgs");
|
||||
|
||||
Reference in New Issue
Block a user