github.com/hanchuanchuan/goInception
v1.3.0
#941 most downloaded on Go modules
hanchuanchuan/goInception
What this package is like to depend on
Last release 2 years ago
no release in 18 months
Ships fairly regularly
a new release about every 3 months
Some releases are documented
notes for 19 of 35 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
89 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
89 releases · Mar 2019 to Nov 2024Releases
latest 60 of 89-
v1.3.1-0.20241101131208-cfb88db9954a01 Nov 2024 pre-releaseNothing published for this version
-
v1.3.1-0.20240825083329-2f06c61b95d225 Aug 2024 pre-releaseNothing published for this version
-
v1.3.1-0.20240812130606-261854df5aad12 Aug 2024 pre-releaseNothing published for this version
-
v1.3.1-0.20240504080318-b3de05e2e79504 May 2024 pre-releaseNothing published for this version
-
v1.3.1-0.20231217042523-02acf74f88cc17 Dec 2023 pre-releaseNothing published for this version
-
v1.3.1-0.20230813071349-de837ca1e12413 Aug 2023 pre-releaseNothing published for this version
-
v1.3.1-0.20230205142112-63f784e26fab05 Feb 2023 pre-releaseNothing published for this version
-
v1.3.1-0.20230109132946-9b79d291e71c09 Jan 2023 pre-releaseNothing published for this version
-
v1.3.1-0.20220905132152-8e0761f8e88305 Sep 2022 pre-releaseNothing published for this version
-
v1.3.1-0.20220618091436-140054cfdb4618 Jun 2022 pre-releaseNothing published for this version
-
v1.3.012 Jun 2022Release notes
Open source →重构错误级别自定义设置,自动生成所有的可自定义错误级别。
错误级别的配置项由原来的61项提升到170+项。
该升级可能影响原有的审核错误级别, 在升级前请注意测试!!Fix
- 修复dml语句explain时未处理表名包含select的问题
- 修复masking语法树功能未正确解析表别名的问题(#417)
- 修复masking语法树解析index乱序的问题 (#426)
- 修复masking语法树解析子查询表名错误的问题 (#429)
- 修复insert的select子句可能无法正确解析的问题 (#437)
- 修复当远端Host过长时可能导致无法写入备份表的问题 (#421)
New Features
- 添加check_read_only参数以设置是否检查数据库只读状态 (#412)
- 添加varchar长度审核,参数max_varchar_length (#377)
- 添加参数disable_types可灵活配置不允许的数据类型(#400,#409)
- 添加
RENAME COLUMN TO语法支持 (#422) - 添加分区表与非分区表转换语法支持 (#434)
- 添加表列数限制参数max_column_count (#443)
Update
-
v1.2.6-0.20220521104123-a9d54fc95ce421 May 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220430103400-733d63f5325c30 Apr 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220405103805-f6d55a5a1f0405 Apr 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220405101106-f3d6a228a84405 Apr 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220405093044-37c624b96f4405 Apr 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220328121330-767bf4f0f65128 Mar 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220327150728-e46a69b3807527 Mar 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220327121953-0f9a3b2ba3e527 Mar 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220327105705-23459d71e5a127 Mar 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220219105551-e2604a3c2a4b19 Feb 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220219092423-085b4def5b6419 Feb 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220219074559-ce34ba83748e19 Feb 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220116062057-1cc9f31252ea16 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220111142024-74c962bb057911 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220111124138-caf624de5cf411 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220109124554-ddfe5a101b4b09 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220103143143-92649cc798da03 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20220103122622-84bcb5284aef03 Jan 2022 pre-releaseNothing published for this version
-
v1.2.6-0.20211121110303-e7cce1632c2e21 Nov 2021 pre-releaseNothing published for this version
-
v1.2.6-0.20211121100842-74d6529bbdf221 Nov 2021 pre-releaseNothing published for this version
-
v1.2.6-0.20211031123157-00a92d0863b331 Oct 2021 pre-releaseNothing published for this version
-
v1.2.6-0.20211031100315-f2efdc9ca4ff31 Oct 2021 pre-releaseNothing published for this version
-
v1.2.516 Oct 2021Release notes
Open source →Fix
- 修复gh-ost的ghost_initially_drop_socket_file 参数不生效的问题 (#382)
- 修复索引前缀中文英文不一致的问题 (#380)
- 修复受影响行数可能溢出的问题 (#375)
- 修复bit类型默认值设置为NULL时无法审核通过的问题 (#346)
- 修复pt-osc连接非3306端口时执行失败的问题 (#335)
- 修复tidb v4.0版本dml无法审核的bug
- 修复dml回滚语句未忽略计算列的问题(#324)
- 修复rename table语法一次修改多个表名时,有表名逻辑上不生效的问题 (#327)
New Features
- 新增
check_identifier_lower参数,用于打开表名、列名、索引名小写需求 (#389) - 添加
masking功能-语法树解析功能升级,返回select涉及的对象(库.表.列) (#355) - 添加ghost_bin_dir参数设置来自切换gh-ost模式,
独立gh-ost模块,采用binary方式调用以优化ddl高并发且kill gh-ost进程时可能出现的bug (#334) - 添加选项
max_execution_time设置会话级DML语句的最大执行时间 (#319) - 添加
enable_any_statement选项以支持所有语法均可执行 (#301)
Update
Release notes
Open source →Fix
- Fix the problem that the ghost_initially_drop_socket_file parameter of gh-ost does not take effect (#382)
- Fix the inconsistency of index prefix between Chinese and English (#380)
- Fix the problem that the number of affected rows may overflow (#375)
- Fix the problem that the default value of bit type is set to NULL and it cannot be approved (#346)
- Fix the problem that pt-osc fails to execute when connecting to a port other than 3306 (#335)
- Fix the bug that dml of tidb v4.0 version cannot be audited
- Fix the problem that the calculated column is not ignored in the dml rollback statement (#324)
- Fix the problem that the rename table syntax does not take effect logically when multiple table names are modified at one time (#327)
New Features
- Added the
check_identifier_lowerparameter to enable lowercase requirements for table names, column names, and index names (#389) - Add
masking function-syntax tree parsing function upgrade, return objects involved in select (library, table, column) (#355) - Added ghost_bin_dir parameter setting from switching gh-ost mode,
independent gh-ost module, using binary method to call to optimize the possible bugs when ddl high concurrency and kill gh-ost process (#334) - Add option
max_execution_timeto set the maximum execution time of session-level DML statements (#319) - Added
enable_any_statementoption to support all syntaxes to be executable (#301)
Update
- Optimize the keyword review logic of alter table modification column clauses (#392)
- Optimize group by clause review logic (#385)
- Add datetime decimal second check (#369)
- Add view support for union
- Fine-tune the insert column value check logic in strict mode
- Optimize the character type length audit logic
- Optimize the handling of database connection timeout (#306)
- Improve character set and collation review logic, add utf8mb4_0900_ai_ci collation support
-
v1.2.5-0.20211016142440-2af185121baa16 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20211016125600-d896e9ba334316 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20211014152320-05f83484c2bc14 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20211014115026-b8902a51a39014 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20211007135949-e2445460f29107 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20211007095736-9fdaf5ea2df007 Oct 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210910143704-00d1135d486f10 Sep 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210822115005-34016efddc3222 Aug 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210721153622-5273274d52ba21 Jul 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210622025632-0f825113e24a22 Jun 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210611122737-522327674d4011 Jun 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210422135521-e6a8caa96c3a22 Apr 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210408144242-ef3a81f9e9f008 Apr 2021 pre-releaseNothing published for this version
-
v1.2.5-0.20210313132515-6bf4262e9a3a13 Mar 2021 pre-releaseNothing published for this version
-
v1.2.419 Dec 2020Release notes
Open source →Fix
- 修复MariaDB可能出现dml未备份成功的问题
- 修复update指定表别名时审核错误的问题 (#249)
- 修复select列中子查询可能找不到父表列和having子句可能找不到列的问题 (#266)
- 修复未按正确格式调用时误报error的问题
- 修复
inception set语法指定float类型参数会报错的问题 (#279) - 修复未正确解析备份语句时的状态标计 (#286)
New Features
- 添加lock_wait_timeout,控制普通SQL 执行时的锁等待超时时间 (#224)
- 增加 pt-osc 的 sleep 参数,以优化低配 db 执行 ddl 变更时的负载情况 (#260)
- 添加视图支持 (#238,#262)
- 添加参数
ignore_osc_alter_stmt配置强制忽略osc检查的语法 (#258,#263) - 添加CREATE TABLE AS SELECT语法支持 (#246,#264)
- 添加tidb列属性auto_random支持 (#270)
- 增加 inc 执行时设置 sql_mode 选项 (#267)
- insert时添加非法日期审核 (#277)
Update
Release notes
Open source →Fix
- Fixed the problem that dml may not be backed up successfully in MariaDB
- Fix the issue of audit errors when updating the specified table alias (#249)
- Fix the problem that the child query in the select column may not find the parent table column and the having clause may not find the column (#266)
- Fix the problem of falsely reporting error when not calling in the correct format
- Fix the problem that the float type parameter specified in the
inception setsyntax will report an error (#279) - Fix the status indicator when the backup statement is not parsed correctly (#286)
New Features
- Add lock_wait_timeout to control the lock wait timeout time during normal SQL execution (#224)
- Increase the sleep parameter of pt-osc to optimize the load situation when the low configuration db executes ddl changes (#260)
- Add view support (#238,#262)
- Add the parameter
ignore_osc_alter_stmtto configure the syntax to force the osc check to be ignored (#258,#263) - Added CREATE TABLE AS SELECT syntax support (#246,#264)
- Add auto_random support for tidb column attributes (#270)
- Add sql_mode option when inc is executed (#267)
- Add illegal date review when inserting (#277)
Update
- Optimize index visibility audit support for multi-version databases (#247)
- Optimize the binlog analysis of the backup function (#250)
- Improve MySQL8.0 keyword list (#210)
- Optimize the configuration of the default database, the use operation can be omitted after specifying the --db option
- Optimize the osc process processing logic and add concurrent lock processing
- Improve alter table partition syntax (#281)
- Optimize the processing of the backup function when ssl is turned on (#287)
-
v1.2.4-0.20200530130128-f04ad9f40bc830 May 2020 pre-releaseNothing published for this version
-
v1.2.322 May 2020Release notes
Open source →Fix
New Features
- 添加参数
ignore_sighup,默认忽略终端连接断开信号 (#195) - 添加
osc_lock_wait_timeout参数, 控制pt-osc等待meta lock时间,默认60s (#214, #215) - 支持多个自定义索引前缀 (#204)
Update
- 完善MySQL5.7关键字列表 (#210)
Release notes
Open source →Fix
- fix: Fix the problem that pt-osc cannot be killed when getting the table lock stuck (#213, #222)
New Features
- Add the parameter
ignore_sighup, the terminal connection disconnection signal is ignored by default (#195) - Add
osc_lock_wait_timeoutparameter to control pt-osc wait for meta lock time, default 60s (#214, #215) - Support multiple custom index prefixes (#204)
Update
- Improve MySQL5.7 keyword list (#210)
- 添加参数
-
v1.2.3-0.20200414082103-8609f84f1c7914 Apr 2020 pre-releaseNothing published for this version
-
v1.2.203 Apr 2020Release notes
Open source →Fix
- 修复
max_char_length未指定时误审核的问题 - 修复索引列长度限制不准确的问题 (#176)
- 修复inception set命令返回错误的问题,修复lang设置可能不生效的问题
- 修复在开启事务时,DDL和DML混合执行时可能出错的问题 (#182)
New Features
- 添加会话级变量设置 (#157, #166, #167)
- 添加osc参数
max-flow-ctl,以便PXC集群启用pt-osc功能 (#170, #172) - 添加审核项
columns_must_have_index, 指定列必须添加索引 (#174, #175)
Update
Release notes
Open source →Fix
- Fix the problem of erroneous review when
max_char_lengthis not specified - Fix the problem of inaccurate index column length limit (#176)
- Fix the problem that the inception set command returns an error, and fix the problem that the lang setting may not take effect
- Fix the problem that errors may occur during mixed execution of DDL and DML when opening a transaction (#182)
New Features
- Add session-level variable settings (#157, #166, #167)
- Add the osc parameter
osc_max_flow_ctlso that the PXC cluster can enable the pt-osc function (#170, #172) - Add audit item
columns_must_have_index, index must be added to the specified column (#174, #175)
Update
- Optimize column character set and collation review logic (#173)
- Add review of value expressions in where conditions to avoid incorrect updates of invalid expressions (#178)
- Optimize the printing of internal SQL that must be executed with privileges when authentication fails, so that the problem can be quickly located
- 修复
-
v1.2.2-0.20200321015830-a92ce9d9446f21 Mar 2020 pre-releaseNothing published for this version
-
v1.2.2-0.20200308092825-e8229c98dabf08 Mar 2020 pre-releaseNothing published for this version
-
v1.2.106 Mar 2020Release notes
Open source →Fix
- 优化使用pt工具时ALTER语句前后的注释可能导致其解析失败的问题
New Features
- 系统变量中添加版本号信息
show variables like 'version'(#164)
Update
- 在开启获取真实受影响行数参数时,忽略sql指纹功能(准确性优先)
- 自动移除每行SQL行首行尾的特殊空格(ASCII码160)
- 优化bit类型默认值审核,现已支持如
b'1'的审核 - 优化未正确配置数据源时的错误提示,使之更友好
- 缓存建表时唯一键的设置
- 完善数值类型的显示宽度审核 (#162)
Release notes
Open source →Fix
- Optimize the problem that the comments before and after the ALTER statement when using the pt tool may cause its parsing failure
New Features
- Add version number information to system variables
show variables like'version'(#164)
Update
- When opening the parameter for obtaining the actual number of affected rows, ignore the sql fingerprint function (accuracy first)
- Automatically remove the special spaces at the beginning and end of each SQL line (ASCII code 160)
- Optimized bit type default value audit, now supports audit like
b'1' - Optimize the error message when the data source is not configured correctly to make it more friendly
- Cache the setting of the unique key when creating a table
- Improve the display width review of numeric types (#162)
-
v1.2.020 Jan 2020Release notes
Open source →Fix
- 修复change column修改列名并立即引用旧列名时未正确审核的bug (#150)
- 修复使用year类型错误长度时未正确审核的问题
- 修复join语法ON子句审核逻辑不正确的问题
New Features
- 表名和索引名前缀自定义 (#149)
- 表名前缀
table_prefix, 默认为空,即不限制 - 索引前缀
index_prefix,默认为idx_,和之前版本保持一致,可自定义 - 唯一索引前缀
uniq_index_prefix,默认为uniq_,和之前版本保持一致,可自定义
- 表名前缀
Update
- 优化使用pt工具时的alter子句解析
- 优化gh-ost和备份功能的日志输出,调整为统一格式
- 优化默认数据库的参数设置,由默认
mysql库调整为默认为空,以避免特殊情况下影响主从同步
Release notes
Open source →Fix
- Fix the bug that the change column was not properly reviewed when the column name was modified and the old column name was quoted immediately (#150)
- Fixed the problem of incorrect review when using the wrong length of the year type
- Fix the problem that the audit logic of ON clause of join grammar is incorrect
New Features
- Table name and index name prefix customization (#149)
- Table name prefix
table_prefix, the default is empty, that is, unlimited - Index prefix
index_prefix, the default isidx_, which is consistent with the previous version and can be customized - Unique index prefix
uniq_index_prefix, the default isuniq_, which is consistent with the previous version and can be customized
- Table name prefix
Update
- Optimize the alter clause parsing when using the pt tool
- Optimize the log output of gh-ost and backup functions and adjust to a unified format
- Optimize the parameter settings of the default database, adjust the default
mysqllibrary to be empty by default to avoid affecting the master-slave synchronization under special circumstances
-
v1.1.7-0.20200106092012-99f5c7e4da8e06 Jan 2020 pre-releaseNothing published for this version
-
v1.1.602 Jan 2020Release notes
Open source →Release notes
Open source →Fix
- Fix the issue of incorrect audit of timestamp type switch
- Fix the bug that the DML operation is not submitted correctly when the instance is not turned on autocommit (#146)
New Features
- Add user authentication module to realize user management and secure connection function (#132)
- Add transaction support(batch execution) (#135)
Update
- Optimize column type change review (#121)
- Implement rollback support when update set with multiple tables (#112,#136)
- Optimize audit rules when case-sensitive (#123)
- Optimize the alter clause split logic when using the pt-osc tool (#142)
-
v1.1.509 Dec 2019Release notes
Open source →Update
- 优化对象名大小写审核逻辑
- 优化索引长度审核准确性
- 支持update多表更新语法(暂不支持多表回滚) (#112)
- 优化sql语法解析失败时的错误信息
Release notes
Open source →Update
- Optimize the case review logic of object names
- Optimize the accuracy of index length audit
- Support update multi-table update syntax (multi-table rollback is not supported temporarily) (#112)
- Optimize the error message when the sql syntax analysis fails