** Return a 32-bit timestamp in UNIX epoch format. ** ** If the value passed as the only argument is either NULL or an SQL NULL, ** return the current time. Otherwise, return the value stored in (*pVal) ** cast to a 32-bit unsigned integer. */
| 7384 | ** cast to a 32-bit unsigned integer. |
| 7385 | */ |
| 7386 | static u32 zipfileGetTime(sqlite3_value *pVal){ |
| 7387 | if( pVal==0 || sqlite3_value_type(pVal)==SQLITE_NULL ){ |
| 7388 | return zipfileTime(); |
| 7389 | } |
| 7390 | return (u32)sqlite3_value_int64(pVal); |
| 7391 | } |
| 7392 | |
| 7393 | /* |
| 7394 | ** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry |
no test coverage detected