diff options
| author | 郑超 <[email protected]> | 2020-06-11 18:23:14 +0800 |
|---|---|---|
| committer | 郑超 <[email protected]> | 2020-06-11 18:23:14 +0800 |
| commit | 7519c63d666e3296ac13767d21bc126a85727794 (patch) | |
| tree | c0005629e6336573bd12ea2bcbd5f5cde619536e | |
| parent | 5c304dfe14d6fd7e63d67a84af42120b5a0c23cb (diff) | |
| parent | f6973954befeb89e83382dcfa0d9529f136a66a4 (diff) | |
Merge branch 'bugfix-foreign-content-missed' into 'master'v2.9.2
读取外键文件时,循环下标设置错误。
See merge request MESA_framework/maat!45
| -rw-r--r-- | src/entry/Maat_command.cpp | 2 | ||||
| -rw-r--r-- | src/entry/Maat_rule.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/entry/Maat_command.cpp b/src/entry/Maat_command.cpp index b8062d6..b320ca9 100644 --- a/src/entry/Maat_command.cpp +++ b/src/entry/Maat_command.cpp @@ -1754,7 +1754,7 @@ void _get_foreign_conts(redisContext *ctx, struct serial_rule_t* rule_list, int {
for(j=0; j<p->n_foreign; j++)
{
- ret=stat(p->f_keys[i].filename, &file_info);
+ ret=stat(p->f_keys[j].filename, &file_info);
if(ret==0)
{
continue;
diff --git a/src/entry/Maat_rule.cpp b/src/entry/Maat_rule.cpp index e151fa7..2df96e8 100644 --- a/src/entry/Maat_rule.cpp +++ b/src/entry/Maat_rule.cpp @@ -33,7 +33,7 @@ #include "stream_fuzzy_hash.h" #include "gram_index_engine.h" -int MAAT_FRAME_VERSION_2_9_20200605=1; +int MAAT_FRAME_VERSION_2_9_20200611=1; int is_valid_table_name(const char* str) { |
