mirror of
https://gitee.com/johng/gf
synced 2026-07-07 06:15:15 +08:00
improve clickhouse driver
This commit is contained in:
@ -55,7 +55,7 @@ func (c *Core) InjectIgnoreResult(ctx context.Context) context.Context {
|
||||
}
|
||||
|
||||
func (c *Core) GetIgnoreResultFromCtx(ctx context.Context) *internalCtxData {
|
||||
if v := ctx.Value(internalCtxDataKeyInCtx); v != nil {
|
||||
if v := ctx.Value(IgnoreResultInCtx); v != nil {
|
||||
return v.(*internalCtxData)
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user