提交 b99b6583 编写于 作者: aaronchen2k2k's avatar aaronchen2k2k

fix some issues

上级 f3c88817
......@@ -8,3 +8,4 @@
/data/.cache/.data.db-shm
/data/.cache/.data.db-wal
/demo/out/
/zendata-test/
......@@ -5,10 +5,10 @@ version: 1.0
field: number
note: 数值类型数据
prefix: "'"
postfix: "'"
loop: 2
loopfix: "-"
#prefix: "'"
#postfix: "'"
#loop: 2
#loopfix: "-"
ranges:
small: 1-9
medium: 11-99
......
......@@ -12,10 +12,10 @@ fields:
note: 引用同级目录中的yaml文件,取small和large两个分组的值
from: numb.yaml
use: small,large
loop: 3
loopfix: " "
prefix: "["
postfix: "]"
# loop: 3
# loopfix: " "
# prefix: "["
# postfix: "]"
expect: 1,2,3,101,102...
- field: field2
......
此差异已折叠。
......@@ -56,9 +56,9 @@ func Print(rows [][]string, format string, table string, colTypes []bool, fields
valueList := ""
for j, col := range cols {
if j >0 {
line = line + ""
valueList = valueList + ""
if j >0 && format == "sql" {
line = line + ","
valueList = valueList + ","
}
line = line + col
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册