读取外键文件时,循环下标设置错误。

This commit is contained in:
zhengchao
2020-06-11 18:12:22 +08:00
parent 5c304dfe14
commit f6973954be
2 changed files with 2 additions and 2 deletions

View File

@@ -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++) 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) if(ret==0)
{ {
continue; continue;

View File

@@ -33,7 +33,7 @@
#include "stream_fuzzy_hash.h" #include "stream_fuzzy_hash.h"
#include "gram_index_engine.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) int is_valid_table_name(const char* str)
{ {