You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tasktmpl error [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 ]
#118
Open
DavenAaron opened this issue
Jul 4, 2019
· 0 comments
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[36;1m[0.25ms]�[0m INSERT INTO task_tmpl_vars (task_tmpl_id, name, title, comment, form_type, data_source, default) VALUES
�[36;31m[0 rows affected or returned ]�[0m
[naftis] (1) �[31m2019-07-04 02:47:52 [ERRO] �[0m [service] AddTaskTmplVar fail error:Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
[naftis] (1) �[34m2019-07-04 02:47:52 [INFO] �[0m [OpFailFn] err:sql executed fail
[GIN] 2019/07/04 - 02:47:52 | 500 | 4.095471ms | 172.16.101.225 | POST /api/tasktmpls
','','1','admin','')
�[36;31m[1 rows affected or returned ]�[0m
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[31;1m Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 �[0m
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[36;1m[0.31ms]�[0m INSERT INTO task_tmpl_vars (task_tmpl_id, name, title, comment, form_type, data_source, default) VALUES
�[36;31m[0 rows affected or returned ]�[0m
[naftis] (1) �[31m2019-07-04 02:47:52 [ERRO] �[0m [service] AddTaskTmplVar fail error:Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
The text was updated successfully, but these errors were encountered:
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[36;1m[0.25ms]�[0m INSERT INTO task_tmpl_vars (
task_tmpl_id
,name
,title
,comment
,form_type
,data_source
,default
) VALUES�[36;31m[0 rows affected or returned ]�[0m
[naftis] (1) �[31m2019-07-04 02:47:52 [ERRO] �[0m [service] AddTaskTmplVar fail error:Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
[naftis] (1) �[34m2019-07-04 02:47:52 [INFO] �[0m [OpFailFn] err:sql executed fail
[GIN] 2019/07/04 - 02:47:52 | 500 | 4.095471ms | 172.16.101.225 | POST /api/tasktmpls
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:44)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[36;1m[0.68ms]�[0m INSERT INTO
task_tmpls
(created_at
,updated_at
,deleted_at
,name
,content
,brief
,revision
,operator
,icon
) VALUES ('2019-07-04 02:47:52','2019-07-04 02:47:52',NULL,'test','apiVersion: networking.istio.io/v1alpha3kind: VirtualService
metadata:
name: {{.Host}}
spec:
hosts:
http:
host: {{.Host}}
subset: {{.DestinationSubset1}}
weight: {{.Weight1}}
host: {{.Host}}
subset: {{.DestinationSubset2}}
weight: {{.Weight2}}
','','1','admin','')
�[36;31m[1 rows affected or returned ]�[0m
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[31;1m Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 �[0m
�[35m(/home/travis/gopath/src/github.com/xiaomi/naftis/src/api/storer/db/tasktmpl.go:62)�[0m
�[33m[2019-07-04 02:47:52]�[0m �[36;1m[0.31ms]�[0m INSERT INTO task_tmpl_vars (
task_tmpl_id
,name
,title
,comment
,form_type
,data_source
,default
) VALUES�[36;31m[0 rows affected or returned ]�[0m
[naftis] (1) �[31m2019-07-04 02:47:52 [ERRO] �[0m [service] AddTaskTmplVar fail error:Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
The text was updated successfully, but these errors were encountered: