Skip to content

Commit 15ec1d9

Browse files
committed
remove MYSQL_TEXT_FORMAT_NULL, PGX_TEXT_FORMAT,MYSQL_TEXT_FORMAT
Signed-off-by: kaikaila <[email protected]>
1 parent f914822 commit 15ec1d9

File tree

1 file changed

+2
-4
lines changed
  • backend/src/apiserver/client

1 file changed

+2
-4
lines changed

backend/src/apiserver/client/sql.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ import (
2222
)
2323

2424
const (
25-
MYSQL_TEXT_FORMAT string = "longtext not null"
26-
MYSQL_TEXT_FORMAT_NULL string = "longtext"
27-
MYSQL_EXIST_ERROR string = "database exists"
25+
//nolint:staticcheck // allow legacy ALL_CAPS constant name
26+
MYSQL_EXIST_ERROR string = "database exists"
2827

29-
PGX_TEXT_FORMAT string = "text"
3028
PGX_EXIST_ERROR string = "already exists"
3129
)
3230

0 commit comments

Comments
 (0)