Commit Graph

9 Commits

Author SHA1 Message Date
e84fca5979 parser: Change err0
Address comment
2015-09-07 17:36:32 +08:00
8bd63a4d12 parser: Change syntax error log
Make syntax log easy to read.

https://github.com/pingcap/tidb/issues/25
2015-09-07 12:02:21 +08:00
8663db2c13 parser: Remove useless code
Address comment
2015-09-07 10:21:29 +08:00
84b2a6b8af parser: Support Convert better and add unit test
1. Change FunctionCast.String() to support Convert String()
2. Add unit test in parser for convert
2015-09-06 23:23:39 +08:00
05816bdb30 parser: Add convert type function
Support mysql builtin function CONVERT(expr,type)

See: https://dev.mysql.com/doc/refman/5.7/en/cast-functions.html#function_convert
2015-09-06 22:38:01 +08:00
cab1ed9fdd Merge pull request #16 from pingcap/zimuxia/go-vet
Pass go vet
2015-09-06 20:32:33 +08:00
xia
f49398dc42 *: pass go vet
pass go vet
2015-09-06 20:20:21 +08:00
ced00cc547 *: Remove conversion function
It is useless in MySQL and will cause conflict with
year/time/datetime/date function.
2015-09-06 18:07:17 +08:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00