fix: skip dub key error
This commit is contained in:
parent
a61149047f
commit
53d115f74a
|
@ -1321,6 +1321,8 @@ UsingRegex **getRegComp(const char *pPattern) {
|
|||
uError("Failed to put regex pattern %s into cache, exception internal error.", pPattern);
|
||||
terrno = code;
|
||||
return NULL;
|
||||
} else if (code == TSDB_CODE_DUP_KEY) {
|
||||
terrno = 0;
|
||||
}
|
||||
ppUsingRegex = (UsingRegex **)taosHashAcquire(sRegexCache.regexHash, pPattern, strlen(pPattern));
|
||||
if (ppUsingRegex) {
|
||||
|
|
Loading…
Reference in New Issue