fix coredump at tenant hook

This commit is contained in:
nroskill
2023-03-03 06:43:32 +00:00
committed by ob-robot
parent 4d673a8b07
commit 158dedccd8
10 changed files with 28 additions and 54 deletions

View File

@ -153,7 +153,7 @@ void ObSchemaConstructTask::wait(const int64_t version)
}
int rc = 0;
do {
rc = pthread_cond_timedwait(&schema_cond_, &schema_mutex_, &ts);
rc = ob_pthread_cond_timedwait(&schema_cond_, &schema_mutex_, &ts);
} while (0);
(void) rc; // make compiler happy
}