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

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++)
{
ret=stat(p->f_keys[i].filename, &file_info);
ret=stat(p->f_keys[j].filename, &file_info);
if(ret==0)
{
continue;