Commit Graph

24 Commits

Author SHA1 Message Date
29369dba8f *: Rename mysqldef to mysql 2015-10-19 16:26:43 +08:00
9acfcd2b14 *: Address comment 2015-10-14 13:49:50 +08:00
3a7e3ed2d0 *: Address comment 2015-10-14 10:38:18 +08:00
57cb4856d3 Merge pull request #317 from pingcap/qiuyesuifeng/tiny-clean-up
Tiny clean up model and column package.
2015-10-10 10:09:35 +08:00
3867d3191a column: handle time and float type description separately. 2015-10-07 15:04:00 +08:00
5a0379d649 column: tiny clean up. 2015-10-07 13:01:35 +08:00
cc71e8f4e7 *: add test for enum type 2015-09-30 08:28:23 +08:00
41ece3c14f column: handle enum single quote for description 2015-09-30 08:18:28 +08:00
380026dd94 column: update type length show, no blank 2015-09-30 08:15:21 +08:00
0b308dc4ee *: merge master and fix conflict 2015-09-29 13:02:18 +08:00
75d3bafa85 *: lowercase type description
MySQL show columns or show create create table both return lowercase
type description, like int, char, etc…
2015-09-28 21:40:31 +08:00
b28a929d9b column: export GetTypeDesc 2015-09-28 21:30:45 +08:00
8bd2f30e56 column: support enum/set for column description 2015-09-24 09:32:32 +08:00
b25aee3262 *: Clean up unused code 2015-09-15 13:07:51 +08:00
76ba77fe78 column: Remove unused indexKey 2015-09-14 10:04:37 +08:00
a80d131c06 util/types, column, expressions: use types.Convert to replace Col.CastValue
The two methods has similar functionality and has complex logic, after this change,
the code base would be easier to maintain.

For `CAST` function, the behaviour is different than the general purpose `types.Convert`,
so I implemented a dedicated function for it.
2015-09-10 20:11:40 +08:00
a5d8981f19 column: Trace more errors
We can get error stack
2015-09-10 17:54:05 +08:00
684da9ccf7 util/typs: define Int24 bound constants
address comments
2015-09-10 10:21:26 +08:00
a5e0858986 *: unify all integer types to int64 and uint64
Simplify type related codes.
2015-09-09 22:21:15 +08:00
bb4d3a529e Merge pull request #71 from pingcap/shenli/fix-bit
*: Add bit type check in CastValue
2015-09-08 21:22:19 +08:00
1e4cdb813f *: update QL-LICENSE and STRUTIL-LICENSE. 2015-09-08 19:25:50 +08:00
2e14602bed *: Add bit type check in CastValue
Fix panic in go-xorm test
2015-09-08 17:47:27 +08:00
4ca7ca7e5b tidb, column, table, table/tables: fix-copyright-infringement. 2015-09-07 09:15:16 -04:00
0d6f270068 Add files 2015-09-06 12:08:47 +08:00