Giter VIP home page Giter VIP logo

hhyo / inception Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wowkingah/inception

124.0 124.0 132.0 12.45 MB

此分支停止维护,请切换至goInception

Home Page: https://github.com/hanchuanchuan/goInception

License: GNU General Public License v2.0

Shell 0.99% CMake 0.84% C 51.14% C++ 41.60% Perl 2.00% Roff 0.23% Batchfile 0.02% Objective-C 1.44% Pascal 0.21% Makefile 0.01% Python 0.11% SQLPL 0.08% Yacc 1.25% DTrace 0.04% M4 0.01% JavaScript 0.02% Dockerfile 0.01%

inception's People

Contributors

hhyo avatar liudongkai avatar netroby avatar tan-chao avatar wowkingah avatar xiaokunkung avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

inception's Issues

inception 存在宿主机 访问不了docker内的inception 情况

宿主机上 mysql -h 127.0.0.1 -P6669 卡住,进入 docker内部 访问 正常,
宿主机上telnet 6669 端口通的
docker --version
Docker version 1.13.1, build 07f3374/1.13.1
难道是docker的问题?

[root@vhost9 inception]# docker logs 0491c8e11666
2019-03-20 13:34:55 0 [Note] Welcome to use 2.1.52.1
2019-03-20 13:34:55 6 [Note] Server hostname (bind-address): ''; port: 6669
2019-03-20 13:34:55 6 [Note] IPv6 is available.
2019-03-20 13:34:55 6 [Note] - '::' resolves to '::';
2019-03-20 13:34:55 6 [Note] Server socket created on IP: '::'.
2019-03-21 10:47:47 0 [Note] Welcome to use 2.1.52.1
2019-03-21 10:47:47 6 [Note] Server hostname (bind-address): '
'; port: 6669
2019-03-21 10:47:47 6 [Note] IPv6 is available.
2019-03-21 10:47:47 6 [Note] - '::' resolves to '::';
2019-03-21 10:47:47 6 [Note] Server socket created on IP: '::'.

不支持emoji的备份

使用了inception 2.1.52.2,
看到commit记录说已经支持了emoji,
我写了python脚本去试了下,
不经过inception, 直接对mysql执行, 则会更新成功, 数据库里显示的就是正常的emoji,
对inception执行, 则:
如果是update后的新值是emoji, 则会执行成功, 但是在数据库里是乱码(一个问号),
如果是update前的老值是emoji, 则会执行成功, 但是备份会失败

SQL脱敏 inception_enable_identifer_keyword选项不生效

我在inc.cnf中把 inception_enable_identifer_keyword选项设置成OFF,用inception get variables;查看inception_enable_identifer_keyword=OFF,重启inception后Archery查询脱敏时候还会报 "数据脱敏异常:Inception Error: Identifier 'user' is keyword in MySQL.",请问该怎么办?

SQL上线选择备份SQL后,执行上线SQL后报备份失败

环境配置:
配置一:
系统管理-配置项管理-Inception配置 REMOTE_BACKUP_HOST...

配置二:
inception容器的inc.cnf文件里面 inception_remote...

报错信息如下:
image

目前两个地方配置的信息不一致,想了解下以哪个为主,或者说两个地方必须配置一致

希望兼容5.7语法

比如5.7增加了json类型字段,希望可以增加对带有json类型字段的sql语句的审核

脱敏数据报异常

我执行
select pc.lesson_count,pcl.counts From athena_course.platform_course pc left join (
select course_id,count(*) as counts from athena_course.platform_course_lesson where deleted = 0 group by course_id
) as pcl on pc.id = pcl.course_id
where pc.lesson_count != pcl.counts;
脱敏报错信息:
数据脱敏异常:Inception Error: Column 'pcl.counts' not existed. Column 'pcl.course_id' not existed. Column 'pcl.counts' not existed.
请问这是哪里有问题?

如何在mac进行编译?

在CMakeLists.txt添加了如下内容:
SET(CMAKE_MACOSX_RPATH 0)

然后编译的时候报如下错误:
[ 89%] Building CXX object sql/CMakeFiles/sql.dir/sql_lex.cc.o
4 warnings generated.
[ 90%] Building CXX object sql/CMakeFiles/sql.dir/sql_list.cc.o
warningwarning: : unknown warning option '-Wno-dev' [-Wunknown-warning-option]unknown warning option '-Wno-dev' [-Wunknown-warning-option]

/Users/romber/work/source_code/inception/sql/sql_help.cc:661:7: warning: unused variable 'count_topics' [-Wunused-variable]
int count_topics, count_categories, error;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:656:17: warning: unused variable 'used_fields' [-Wunused-variable]
st_find_field used_fields[array_elements(init_used_fields)];
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:654:13: warning: unused variable 'protocol' [-Wunused-variable]
Protocol *protocol= thd->protocol;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:824:1: warning: unused label 'error2' [-Wunused-label]
error2:
^~~~~~~
/Users/romber/work/source_code/inception/sql/sql_help.cc:664:13: warning: unused variable 'mem_root' [-Wunused-variable]
MEM_ROOT *mem_root= thd->mem_root;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:662:8: warning: unused variable 'mlen' [-Wunused-variable]
uint mlen= strlen(mask);
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:657:15: warning: unused variable 'leaves' [-Wunused-variable]
TABLE_LIST *leaves= 0;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:663:10: warning: unused variable 'i' [-Wunused-variable]
size_t i;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:661:39: warning: unused variable 'error' [-Wunused-variable]
int count_topics, count_categories, error;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:661:21: warning: unused variable 'count_categories' [-Wunused-variable]
int count_topics, count_categories, error;
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:33:29: warning: variable 'init_used_fields' is not needed and will not be emitted [-Wunneeded-internal-declaration]
static struct st_find_field init_used_fields[]=
^
/Users/romber/work/source_code/inception/sql/sql_help.cc:87:13: warning: unused function 'init_fields' [-Wunused-function]
static bool init_fields(THD *thd, TABLE_LIST *tables,
^
In file included from /Users/romber/work/source_code/inception/sql/sql_help.cc:20:
In file included from /Users/romber/work/source_code/inception/sql/sql_base.h:21:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
16 warnings generated.
[ 90%] Building CXX object sql/CMakeFiles/sql.dir/sql_locale.cc.o
warning: unknown warning option '-Wno-dev' [-Wunknown-warning-option]
In file included from /Users/romber/work/source_code/inception/sql/sql_lex.cc:21:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
In file included from /Users/romber/work/source_code/inception/sql/sql_list.cc:17:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/sql_insert.cc:415:10: warning: unused variable 'log_on' [-Wunused-variable]
bool log_on= (thd->variables.option_bits & OPTION_BIN_LOG);
^
3 warnings generated.
[ 90%] Building CXX object sql/CMakeFiles/sql.dir/sql_parse.cc.o
warning: unknown warning option '-Wno-dev' [-Wunknown-warning-option]
/Users/romber/work/source_code/inception/sql/sql_insert.cc:3652:21: warning: unused variable 'killed_status' [-Wunused-variable]
THD::killed_state killed_status= thd->killed;
^
/Users/romber/work/source_code/inception/sql/sql_insert.cc:4054:12: warning: unused variable 'thd' [-Wunused-variable]
THD thd= const_cast<THD>(ptr->get_thd());
^
/Users/romber/work/source_code/inception/sql/sql_insert.cc:4066:26: warning: unused variable 'table' [-Wunused-variable]
TABLE const *const table = *tables;
^
/Users/romber/work/source_code/inception/sql/sql_insert.cc:4063:11: warning: variable 'error' is uninitialized when used here [-Wuninitialized]
if (error)
^~~~~
/Users/romber/work/source_code/inception/sql/sql_insert.cc:4053:16: note: initialize the variable 'error' to silence this warning
int error;
^
= 0
/Users/romber/work/source_code/inception/sql/sql_insert.cc:581:1: warning: unused function 'create_insert_stmt_from_insert_delayed' [-Wunused-function]
create_insert_stmt_from_insert_delayed(THD *thd, String *buf)
^
In file included from /Users/romber/work/source_code/inception/sql/sql_insert.cc:61:
In file included from /Users/romber/work/source_code/inception/sql/sql_insert.h:19:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
In file included from /Users/romber/work/source_code/inception/sql/sql_locale.cc:24:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
10 warnings generated.
[ 90%] Building CXX object sql/CMakeFiles/sql.dir/sql_plugin.cc.o
warning: unknown warning option '-Wno-dev' [-Wunknown-warning-option]
In file included from /Users/romber/work/source_code/inception/sql/sql_parse.cc:19:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
In file included from /Users/romber/work/source_code/inception/sql/sql_lex.cc:22:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
In file included from /Users/romber/work/source_code/inception/sql/sql_plugin.cc:18:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
In file included from /Users/romber/work/source_code/inception/sql/sql_locale.cc:26:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
4 warnings generated.
4 warnings generated.
[ 91%] Building CXX object sql/CMakeFiles/sql.dir/sql_prepare.cc.o
[ 91%] Building CXX object sql/CMakeFiles/sql.dir/sql_rename.cc.o
warning: unknown warning option '-Wno-dev' [-Wunknown-warning-option]
warning: unknown warning option '-Wno-dev' [-Wunknown-warning-option]
In file included from /Users/romber/work/source_code/inception/sql/sql_parse.cc:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/sstream:174:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:142:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:744:22: error: expected ')'
bool test(size_t __pos) const;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:744:10: note: to match this '('
bool test(size_t __pos) const;
^
/Users/romber/work/source_code/inception/include/my_global.h:468:19: note: expanded from macro 'test'
#define test(a) ((a) ? 1 : 0)
^
In file included from /Users/romber/work/source_code/inception/sql/sql_parse.cc:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/sstream:174:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:142:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:744:10: error: expected ')'
bool test(size_t __pos) const;
^
/Users/romber/work/source_code/inception/include/my_global.h:468:23: note: expanded from macro 'test'
#define test(a) ((a) ? 1 : 0)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:744:10: note: to match this '('
/Users/romber/work/source_code/inception/include/my_global.h:468:18: note: expanded from macro 'test'
#define test(a) ((a) ? 1 : 0)
^
In file included from /Users/romber/work/source_code/inception/sql/sql_parse.cc:56:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/sstream:174:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/ostream:142:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:744:28: error: expected ';' at end of declaration list
bool test(size_t __pos) const;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:751:23: error: unknown type name 'size_t'
bitset operator<<(size_t __pos) const _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:753:23: error: unknown type name 'size_t'
bitset operator>>(size_t __pos) const _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:758:5: error: unknown type name 'size_t'
size_t __hash_code() const _NOEXCEPT {return base::__hash_code();}
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:769:11: error: expected ';' after expression
size_t __rlen = _VSTD::min(__n, char_traits<_CharT>::length(__str));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:769:12: error: use of undeclared identifier '__rlen'
size_t __rlen = _VSTD::min(__n, char_traits<_CharT>::length(__str));
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:770:10: error: unknown type name 'size_t'
for (size_t __i = 0; __i < __rlen; ++__i)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:770:32: error: use of undeclared identifier '__rlen'
for (size_t __i = 0; __i < __rlen; ++__i)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:774:11: error: expected ';' after expression
size_t _Mp = _VSTD::min(__rlen, _Size);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:774:12: error: use of undeclared identifier '_Mp'
size_t _Mp = _VSTD::min(__rlen, _Size);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:774:29: error: use of undeclared identifier '__rlen'
size_t _Mp = _VSTD::min(__rlen, _Size);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:775:11: error: expected ';' after expression
size_t __i = 0;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:775:12: error: use of undeclared identifier '__i'; did you mean '__n'?
size_t __i = 0;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:766:64: note: '__n' declared here
typename basic_string<_CharT>::size_type __n,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:776:12: error: use of undeclared identifier '__i'
for (; __i < _Mp; ++__i)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:776:18: error: use of undeclared identifier '_Mp'
for (; __i < _Mp; ++__i)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:776:25: error: use of undeclared identifier '__i'; did you mean '__n'?
for (; __i < _Mp; ++__i)
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:766:64: note: '__n' declared here
typename basic_string<_CharT>::size_type __n,
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/bitset:778:28: error: use of undeclared identifier '_Mp'
_CharT __c = __str[_Mp - 1 - __i];
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
In file included from /Users/romber/work/source_code/inception/sql/sql_prepare.cc:88:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
In file included from /Users/romber/work/source_code/inception/sql/sql_plugin.cc:20:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
In file included from /Users/romber/work/source_code/inception/sql/sql_rename.cc:21:
In file included from /Users/romber/work/source_code/inception/sql/unireg.h:173:
/Users/romber/work/source_code/inception/sql/field.h:2268:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
/Users/romber/work/source_code/inception/sql/field.h:2282:55: warning: field 'dec' is uninitialized when used here [-Wuninitialized]
len_arg + ((dec= normalize_dec(dec_arg)) ? dec + 1 : 0),
^
3 warnings and 20 errors generated.
make[3]: *** [sql/CMakeFiles/sql.dir/sql_parse.cc.o] Error 1
make[3]: *** Waiting for unfinished jobs....
4 warnings generated.
/Users/romber/work/source_code/inception/sql/sql_rename.cc:48:9: warning: unused variable 'rename_log_table' [-Wunused-variable]
char *rename_log_table[2]= {NULL, NULL};
^
/Users/romber/work/source_code/inception/sql/sql_rename.cc:47:7: warning: unused variable 'to_table' [-Wunused-variable]
int to_table;
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1721:1: warning: unused label 'error' [-Wunused-label]
error:
^~~~~~
In file included from /Users/romber/work/source_code/inception/sql/sql_rename.cc:25:
In file included from /Users/romber/work/source_code/inception/sql/sql_view.h:20:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
6 warnings generated.
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:3051:7: warning: unused variable 'reprepare_attempt' [-Wunused-variable]
int reprepare_attempt= 0;
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:3049:22: warning: unused variable 'reprepare_observer' [-Wunused-variable]
Reprepare_observer reprepare_observer;
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:3070:1: warning: unused label 'reexecute' [-Wunused-label]
reexecute:
^~~~~~~~~~
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:3048:13: warning: unused variable 'MAX_REPREPARE_ATTEMPTS' [-Wunused-variable]
const int MAX_REPREPARE_ATTEMPTS= 3;
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:854:13: warning: unused function 'insert_params_with_log' [-Wunused-function]
static bool insert_params_with_log(Prepared_statement *stmt, uchar *null_array,
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1187:13: warning: unused function 'insert_params_from_vars_with_log' [-Wunused-function]
static bool insert_params_from_vars_with_log(Prepared_statement *stmt,
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1247:13: warning: unused function 'mysql_test_do_fields' [-Wunused-function]
static bool mysql_test_do_fields(Prepared_statement *stmt,
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1390:13: warning: unused function 'mysql_test_create_view' [-Wunused-function]
static bool mysql_test_create_view(Prepared_statement *stmt)
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1438:13: warning: unused function 'mysql_test_multiupdate' [-Wunused-function]
static bool mysql_test_multiupdate(Prepared_statement *stmt,
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1475:13: warning: unused function 'mysql_test_multidelete' [-Wunused-function]
static bool mysql_test_multidelete(Prepared_statement *stmt,
^
/Users/romber/work/source_code/inception/sql/sql_prepare.cc:1540:13: warning: unused function 'mysql_test_insert_select' [-Wunused-function]
static bool mysql_test_insert_select(Prepared_statement *stmt,
^
In file included from /Users/romber/work/source_code/inception/sql/sql_prepare.cc:89:
In file included from /Users/romber/work/source_code/inception/sql/sql_class.h:38:
/Users/romber/work/source_code/inception/sql/rpl_gtid.h:430:30: warning: private field 'atomic_lock' is not used [-Wunused-private-field]
mutable my_atomic_rwlock_t atomic_lock;
^
16 warnings generated.
make[2]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make[1]: *** [sql/CMakeFiles/Inception.dir/rule] Error 2
make: *** [Inception] Error 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.