29369dba8f
*: Rename mysqldef to mysql
2015-10-19 16:26:43 +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
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
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
2e14602bed
*: Add bit type check in CastValue
...
Fix panic in go-xorm test
2015-09-08 17:47:27 +08:00
0d6f270068
Add files
2015-09-06 12:08:47 +08:00