Commit Graph

94 Commits

Author SHA1 Message Date
6fac2446cd Merge remote-tracking branch 'origin/c4pt0r/fix-copyright-infringement' into c4pt0r/fix-copyright-infringement 2015-09-07 09:07:55 -04:00
b2d62f9fb6 mysqldef, kv, stmt, stmt/stmts, parser, field: fix-copyright-infringement. 2015-09-07 09:05:15 -04:00
a2e688a32d util: add cockroach license 2015-09-07 20:53:15 +08:00
47f067c081 mydeldef: fix-copyright-infringement. 2015-09-07 08:53:02 -04:00
695003b466 util, plan, plan/plans, rset, rsets: fix-copyright-infringement. 2015-09-07 08:48:50 -04:00
82ee778d9b Merge pull request #43 from pingcap/shenli/check-prepare-bool
tidb: Convert bool type prepared statement args to int8
2015-09-07 18:46:23 +08:00
cd01fa1dc4 tidb: Convert bool type prepared statement args to int8
We handle bool as int8 in tidb.
2015-09-07 18:36:46 +08:00
222ea14314 Merge pull request #37 from pingcap/shenli/check-duplicate-column
ddl: Check duplicate when adding column
2015-09-07 17:56:10 +08:00
0498db499c Merge pull request #42 from Unknwon/iconv
expression/expressions: replace iconv-go with text/transform
2015-09-07 17:49:15 +08:00
5021dde459 apply godep 2015-09-07 05:44:33 -04:00
46e8bdc976 Merge pull request #33 from pingcap/shenli/syntax-error
parser: Change syntax error log
2015-09-07 17:44:26 +08:00
722b75914b ddl: Fix typo in ddl_test.go
Address comment
2015-09-07 17:42:46 +08:00
e84fca5979 parser: Change err0
Address comment
2015-09-07 17:36:32 +08:00
697f3a4dc1 Merge pull request #40 from pingcap/siddontang/update-time
mysqldef: remove fsp codec, set out manually.
2015-09-07 17:33:00 +08:00
b8dae9a275 Merge pull request #39 from pingcap/siddontang/op-expr-with-bytes
expressions: operator supports []byte type
2015-09-07 17:32:50 +08:00
af3626fcbd expression/expressions: replace iconv-go with text/transform
Remove CGO requirement for compiling iconv-go currently is using.

Replace it with native implementation of Go.
2015-09-07 05:22:15 -04:00
5e6413b786 Merge pull request #34 from pingcap/qiuyesuifeng/godep-update
Update godep packages.
2015-09-07 04:46:04 -04:00
f5de017290 Merge pull request #38 from pingcap/siddontang/update-gitignore
tidb: update gitignore
2015-09-07 16:37:56 +08:00
0e6346e57d mysqldef: remove fsp codec, set out manually. 2015-09-07 16:18:39 +08:00
d97c747264 expressions: operator supports []byte type 2015-09-07 16:08:32 +08:00
f2a38e4930 tidb: update gitignore 2015-09-07 16:04:59 +08:00
a8f358aac0 ddl: Check duplicate when adding column
Add a duplicate column is not right.
2015-09-07 15:54:52 +08:00
6b0dce044c Merge pull request #35 from pingcap/siddontang/cleanup-compare
cleanup compare
2015-09-07 14:04:35 +08:00
213793ba38 expressions:remove unnecessary test 2015-09-07 13:37:27 +08:00
329721d226 *:handle error with types.Compare function 2015-09-07 13:35:42 +08:00
dd19e36c28 expressions:use types.Compare 2015-09-07 13:35:42 +08:00
147f954330 util:improve compare function, return error instead of panic. 2015-09-07 13:35:42 +08:00
99c4bec3b3 godep: update packages. 2015-09-07 01:00:25 -04:00
2396b31996 Merge pull request #32 from pingcap/zimuxia/gofmt
Pass gofmt
2015-09-07 12:58:50 +08:00
1d24978014 godep: remove github.com/docopt/docopt-go. 2015-09-07 00:32:36 -04:00
02e3e5afa7 godep: remove google/go-snappy/snappy. 2015-09-07 00:27:36 -04:00
ca9c690a13 godep: remove ngaut/logging godep. 2015-09-07 00:25:41 -04:00
1eccc20497 godep: update Godeps.json.
update snappy, pool, log, remove logging godep.
2015-09-07 00:23:55 -04: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
01d4a6dac1 Merge pull request #30 from pingcap/goroutine/update-bolt-version
Godeps: Update version of boltdb
2015-09-07 11:54:28 +08:00
xia
0670dd0e34 *: pass gofmt
pass gofmt
2015-09-07 11:28:10 +08:00
eb31d41223 Merge pull request #31 from pingcap/zimuxia/go-vet
Pass go tool vet --shadow
2015-09-07 11:22:09 +08:00
xia
02d8031142 Merge branch 'master' into zimuxia/go-vet 2015-09-07 11:04:44 +08:00
ccee0d0a79 Godeps: Update version of boltdb 2015-09-07 11:01:55 +08:00
a0ca7183d4 Merge pull request #23 from pingcap/shenli/builtin-convert
Add convert type function
2015-09-07 11:01:10 +08:00
xia
626952c46b *: pass go vet
check for shadowed variables
2015-09-07 11:00:18 +08:00
d628bcb158 Merge pull request #29 from pingcap/siddontang/update-time-codec
mysqldef: save FSP and fix zone offset for codec
2015-09-07 10:57:03 +08:00
842721e1d5 Address comment 2015-09-07 10:50:51 +08:00
fda7a3469f mysqldef: remove offset, create a local time to get zone offset 2015-09-07 10:43:56 +08:00
8663db2c13 parser: Remove useless code
Address comment
2015-09-07 10:21:29 +08:00
d048d29b90 mysqldef: save FSP and zone offset for codec 2015-09-07 10:20:01 +08:00
ece256743b Merge pull request #24 from pingcap/shenli/fix-golint
tidb: Add some comments
2015-09-06 22:02:48 -04:00
43671d96f6 tidb: Add some comments
Fix golint errors
2015-09-06 23:40:02 +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