GetClusterTimestamp retrieves the current cluster timestamp as per the evaluation context. The timestamp is guaranteed to be nonzero. func (ctx *EvalContext) GetClusterTimestamp() *DDecimal { ts := ctx.Txn.CommitTimestamp() if ts == (hlc.Timestamp{}) { panic(errors.AssertionFailedf("zero cluste
()
| 2981 | // HasPlaceholders returns true if this EvalContext's placeholders have been |
| 2982 | // assigned. Will be false during Prepare. |
| 2983 | func (ctx *EvalContext) HasPlaceholders() bool { |
| 2984 | return ctx.Placeholders != nil |
| 2985 | } |
| 2986 | |
| 2987 | // TimestampToDecimal converts the logical timestamp into a decimal |
| 2988 | // value with the number of nanoseconds in the integer part and the |
no outgoing calls
no test coverage detected