diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2017-01-23 12:25:07 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-01-23 12:25:07 -0800 |
| commit | f0d140f1644c72aea1ab798c3a93fd474983c537 (patch) | |
| tree | dfa09191d2069caa5bf0e37a356d84984cbcc4af | |
| parent | c2ce97785ff193f3a5a69518bbabf04c05b6efc8 (diff) | |
| parent | ee6067e98c3b07e3bb40a60c637679c2e10c6f51 (diff) | |
| download | seaweedfs-f0d140f1644c72aea1ab798c3a93fd474983c537.tar.xz seaweedfs-f0d140f1644c72aea1ab798c3a93fd474983c537.zip | |
Merge pull request #448 from vancepym/patch-1
Fix: the maximum-length character exceed 255
| -rw-r--r-- | weed/filer/mysql_store/mysql_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/mysql_store/mysql_store.go b/weed/filer/mysql_store/mysql_store.go index 6910206ce..4a8e889df 100644 --- a/weed/filer/mysql_store/mysql_store.go +++ b/weed/filer/mysql_store/mysql_store.go @@ -184,7 +184,7 @@ func (s *MySqlStore) Close() { var createTable = ` CREATE TABLE IF NOT EXISTS %s ( id bigint(20) NOT NULL AUTO_INCREMENT, - uriPath char(256) NOT NULL DEFAULT "" COMMENT 'http uriPath', + uriPath char(255) NOT NULL DEFAULT "" COMMENT 'http uriPath', fid char(36) NOT NULL DEFAULT "" COMMENT 'seaweedfs fid', createTime int(10) NOT NULL DEFAULT 0 COMMENT 'createdTime in unix timestamp', updateTime int(10) NOT NULL DEFAULT 0 COMMENT 'updatedTime in unix timestamp', |
