1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Clarity tweak for date.c

FossilOrigin-Name: db58b2def014bdb146751110488a088767530ca2557baf73d6181a2558bbe6d3
This commit is contained in:
larrybr
2021-12-08 20:36:08 +00:00
parent 46658d7f9a
commit 969c46486c
3 changed files with 10 additions and 8 deletions

View File

@@ -523,7 +523,9 @@ static int osLocaltime(time_t *t, struct tm *pTm){
if( sqlite3GlobalConfig.bLocaltimeFault ) pX = 0;
#endif
if( pX ) *pTm = *pX;
#if SQLITE_THREADSAFE>0
sqlite3_mutex_leave(mutex);
#endif
rc = pX==0;
#else
#ifndef SQLITE_UNTESTABLE