From 1935412db927ca50ee5bceecb057a1fdc67c0235 Mon Sep 17 00:00:00 2001 From: daguang <28806852+DGuang21@users.noreply.github.com> Date: Fri, 8 Apr 2022 10:07:14 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20improve=20clickhouse=20driver?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- database/gdb/gdb_core_ctx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {