| 325 | } |
| 326 | |
| 327 | TimestampVal TimestampFunctions::UtcTimestamp(FunctionContext* context) { |
| 328 | const TimestampValue* utc_timestamp = context->impl()->state()->utc_timestamp(); |
| 329 | TimestampVal return_val; |
| 330 | utc_timestamp->ToTimestampVal(&return_val); |
| 331 | return return_val; |
| 332 | } |
| 333 | |
| 334 | // Writes 'num' as ASCII into 'dst'. If necessary, adds leading zeros to make the ASCII |
| 335 | // representation exactly 'len' characters. Both 'num' and 'len' must be >= 0. |
nothing calls this directly
no test coverage detected