From a1ec7cb896413daf01d9a8206ee881b1e8ce6bf1 Mon Sep 17 00:00:00 2001 From: daguang <28806852+DGuang21@users.noreply.github.com> Date: Fri, 8 Apr 2022 10:08:04 +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 1bc0c0b59..458d1527e 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 {