Skip to content

Commit 5d99741

Browse files
committed
fix
1 parent 2c4c65e commit 5d99741

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

plibs.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -659,7 +659,6 @@ void psync_sql_rdlock(){
659659
void psync_sql_rdunlock(){
660660
#if IS_DEBUG
661661
if (unlikely(sqlrdlockcnt==0)){
662-
debug(D_NOTICE, "called with no read locks, did we upgrade the lock? calling psync_sql_unlock");
663662
psync_sql_unlock();
664663
return;
665664
}
@@ -708,7 +707,6 @@ int psync_sql_tryupgradelock(){
708707
assert(sqllockcnt==1);
709708
sqllockstart=sqlrdlockstart;
710709
record_wrlock(lock->file, lock->line);
711-
debug(D_NOTICE, "upgraded read lock taken from %s:%u to a write lock", lock->file, lock->line);
712710
psync_free(lock);
713711
return 0;
714712
}

0 commit comments

Comments
 (0)