Skip to content

Commit

Permalink
Merge pull request #2256 from telefonicaid/fix/extract_schema_for_err…
Browse files Browse the repository at this point in the history
…or_log_in_expirate_cache_records

extract schema for error log in expirate cache records
  • Loading branch information
fgalan authored Jun 12, 2023
2 parents 0338fd4 + 886a2f4 commit 41e865a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ public void expirateRecordsCache(long expirationTime) throws CygnusRuntimeError,
// Get schema from tableName if PSQL, just for persistError after
String schema = null;
if (sqlInstance == SQLInstance.POSTGRESQL) {
String[] parts = tableName.split(".");
String[] parts = tableName.split("\\.");
if (parts.length > 0) {
schema = parts[0];
}
Expand Down

0 comments on commit 41e865a

Please sign in to comment.