Skip to content

Commit cd1c2cb

Browse files
update cache cfg table name
1 parent 024dc81 commit cd1c2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/caching.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var moduleName string
5151
var gCacheCfg atomic.Value
5252

5353
func getCacheCfgSQL() string {
54-
return fmt.Sprintf("SELECT query_id, sqlhash, sqltext, bind_variables, TTL_sec, enable_shadow_test, tableName, invalidation_clause, caching_enabled, remarks, %s_module FROM %s_sql_caching WHERE %s_module ='%s'", GetConfig().StateLogPrefix, GetConfig().ManagementTablePrefix, GetConfig().StateLogPrefix, moduleName)
54+
return fmt.Sprintf("SELECT query_id, sqlhash, sqltext, bind_variables, TTL_sec, enable_shadow_test, tableName, invalidation_clause, caching_enabled, remarks, %s_module FROM %s_sql_caching WHERE %s_module ='%s'", GetConfig().StateLogPrefix, "hera", GetConfig().StateLogPrefix, moduleName)
5555
}
5656

5757
func getCacheCfg() *CacheCfg {

0 commit comments

Comments
 (0)