提交 5f720cbb 编写于 作者: martianzhang's avatar martianzhang

code format for pr 267~269

上级 88cdca35
...@@ -169,10 +169,10 @@ select col from tb where col = 1;`), // 17 ...@@ -169,10 +169,10 @@ select col from tb where col = 1;`), // 17
select col from tb; select col from tb;
select col from tb; select col from tb;
`), // 18 `), // 18
[]byte(`INSERT /*+ SET_VAR(foreign_key_checks=OFF) */ INTO t2 VALUES(2);`), // 19 []byte(`INSERT /*+ SET_VAR(foreign_key_checks=OFF) */ INTO t2 VALUES(2);`), // 19
[]byte(`select /*!50000 1,*/ 1;`), // 20 []byte(`select /*!50000 1,*/ 1;`), // 20
[]byte(`UPDATE xxx SET c1=' LOGGER.error(""); }' WHERE id = 2 ;`), // 21 []byte(`UPDATE xxx SET c1=' LOGGER.error(""); }' WHERE id = 2 ;`), // 21
[]byte("UPDATE `xxx` SET aaa='a;' WHERE `id` = 15;"), // 22 []byte("UPDATE `xxx` SET aaa='a;' WHERE `id` = 15;"), // 22
[]byte("UPDATE `xxx` SET aaa='a -- b' WHERE `id` = 15; UPDATE `xxx` SET aaa='c -- d' WHERE `id` = 16;"), // 23 []byte("UPDATE `xxx` SET aaa='a -- b' WHERE `id` = 15; UPDATE `xxx` SET aaa='c -- d' WHERE `id` = 16;"), // 23
// []byte(`/* comment here */ SET MAX_JOIN_SIZE=#`), // 24 // []byte(`/* comment here */ SET MAX_JOIN_SIZE=#`), // 24
} }
......
...@@ -178,7 +178,7 @@ type ExplainJSONDuplicatesRemoval struct { ...@@ -178,7 +178,7 @@ type ExplainJSONDuplicatesRemoval struct {
UsingFilesort bool `json:"using_filesort"` UsingFilesort bool `json:"using_filesort"`
BufferResult ExplainJSONBufferResult `json:"buffer_result"` BufferResult ExplainJSONBufferResult `json:"buffer_result"`
GroupingOperation ExplainJSONGroupingOperation `json:"grouping_operation"` GroupingOperation ExplainJSONGroupingOperation `json:"grouping_operation"`
Table ExplainJSONTable `json:"table"` Table ExplainJSONTable `json:"table"`
} }
// ExplainJSONOrderingOperation JSON // ExplainJSONOrderingOperation JSON
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册