From 00e4c3a83cfc27b4f1ad9cdc82642baa36e9375f Mon Sep 17 00:00:00 2001 From: Dirkjan Bussink Date: Tue, 23 Jul 2024 13:37:33 +0200 Subject: [PATCH] Rerun codegen Signed-off-by: Dirkjan Bussink --- go/vt/vtgate/evalengine/cached_size.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/go/vt/vtgate/evalengine/cached_size.go b/go/vt/vtgate/evalengine/cached_size.go index 65f0bd37d12..6f447f0d1c1 100644 --- a/go/vt/vtgate/evalengine/cached_size.go +++ b/go/vt/vtgate/evalengine/cached_size.go @@ -2068,6 +2068,16 @@ func (cached *evalUint64) CachedSize(alloc bool) int64 { } return size } +func (cached *evalYear) CachedSize(alloc bool) int64 { + if cached == nil { + return int64(0) + } + size := int64(0) + if alloc { + size += int64(16) + } + return size +} func (cached *typedExpr) CachedSize(alloc bool) int64 { if cached == nil { return int64(0)