** 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. */
| 11343 | ** cast to a 32-bit unsigned integer. |
| 11344 | */ |
| 11345 | static u32 zipfileGetTime(sqlite3_value *pVal){ |
| 11346 | if( pVal==0 || sqlite3_value_type(pVal)==SQLITE_NULL ){ |
| 11347 | return zipfileTime(); |
| 11348 | } |
| 11349 | return (u32)sqlite3_value_int64(pVal); |
| 11350 | } |
| 11351 | |
| 11352 | /* |
| 11353 | ** Unless it is NULL, entry pOld is currently part of the pTab->pFirstEntry |
no test coverage detected