diff --git a/database/gdb/gdb_core_ctx.go b/database/gdb/gdb_core_ctx.go index 458d1527e..1bc0c0b59 100644 --- a/database/gdb/gdb_core_ctx.go +++ b/database/gdb/gdb_core_ctx.go @@ -31,7 +31,7 @@ const ( // for example: `clickhouse`. The `clickhouse` does not support fetching insert/update results, // but returns errors when execute `RowsAffected`. It here ignores the calling of `RowsAffected` // to avoid triggering errors, rather than ignoring errors after they are triggered. - ignoreResultInCtx gctx.StrKey = "IgnoreResult" + ignoreResultInCtx gctx.StrKey = "ignoreResult" ) func (c *Core) injectInternalCtxData(ctx context.Context) context.Context {