We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 494f760 commit 60faf06Copy full SHA for 60faf06
clickhouse.go
@@ -20,6 +20,12 @@ import (
20
"github.com/kshvakov/clickhouse/lib/types"
21
)
22
23
+type (
24
+ Date = types.Date
25
+ DateTime = types.DateTime
26
+ UUID = types.UUID
27
+)
28
+
29
var (
30
ErrInsertInNotBatchMode = errors.New("insert statement supported only in the batch mode (use begin/commit)")
31
ErrLimitDataRequestInTx = errors.New("data request has already been prepared in transaction")
clickhouse_exception.go
@@ -18,6 +18,7 @@ func (e *Exception) Error() string {
18
}
19
func (ch *clickhouse) exception() error {
+ defer ch.conn.Close()
e Exception
err error
0 commit comments