Skip to content

Commit

Permalink
release: v1.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
hanchuanchuan committed Aug 20, 2019
1 parent 2b75c54 commit e9bd4c3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/backup.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

#### 备份功能说明

goInception自带备份功能,首先服务启动时配置config.toml
goInception自带备份功能,首先服务启动时配置config.toml(放在 `[inc]` 段)

参数 | 默认值 | 可选范围 | 说明
------------ | ------------- | ------------ | ------------
Expand Down
13 changes: 13 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# goInception 更新日志

## [v1.0.5] - 2019-8-20

### Fix
* 修复insert values子句不支持default语法的问题

### New Features
* 添加参数`default_charset` 用以设置连接数据库的默认字符集,默认值`utf8mb4` (解决低版本不支持utf8mb4的问题)
* 添加pt-osc参数`osc_check_unique_key_change`, 设置pt-osc是否检查唯一索引,默认为`true`

### Update
* 优化回滚功能,添加binlog_row_image设置检查,为minimal时自动修改会话级别为full


## [v1.0.4] - 2019-8-5

### New Features
Expand Down
1 change: 1 addition & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ check_primary_key | false | true,false | 建表时,如果没有
check_table_comment | false | true,false | 建表时,表没有注释时报错
check_timestamp_count `v0.6.0` | false | true,false | 配置是否检查current_timestamp数量
check_timestamp_default | false | true,false | 建表时,如果没有为timestamp类型指定默认值,则报错
default_charset `v1.0.5` | 'utf8mb4' | string | 设置连接数据库的默认字符集,默认值为`utf8mb4` (解决低版本不支持utf8mb4的问题)
enable_autoincrement_unsigned | false | true,false | 自增列是不是要为无符号型
enable_blob_not_null `v1.0` | false | true,false | 是否允许blob/text/json类型置为`not null`,默认为`false`,即不允许
enable_blob_type | false | true,false | 检查是不是支持BLOB字段,包括建表、修改列、新增列操作
Expand Down
1 change: 1 addition & 0 deletions docs/osc.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ osc_check_replication_filters | true | bool | 对应参数--[
osc_chunk_size | 1000 | int | 对应参数--chunk-size
osc_chunk_size_limit | 4 | int | 对应参数--chunk-size-limit
osc_chunk_time | 1 | int | 对应参数--chunk-time
osc_check_unique_key_change `v1.0.5` | true | bool | 对应参数--[no]check_unique_key_change,设置是否检查唯一索引
osc_critical_thread_connected | 1000 | int | 对应参数--critical-load中的thread_connected部分
osc_critical_thread_running | 80 | int | 对应参数--critical-load中的thread_running部分
osc_drop_new_table | true | bool | 对应参数--[no]drop-new-table
Expand Down

0 comments on commit e9bd4c3

Please sign in to comment.