浏览代码

- wrong array index fixed

Jan Janak 17 年之前
父节点
当前提交
c42475fa63
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/db_flatstore/flat_con.c

+ 1 - 1
modules/db_flatstore/flat_con.c

@@ -274,7 +274,7 @@ int flat_open_table(int* idx, db_con_t* con, str* name)
 				return -1;
 			}			
 		} else {
-			new[fcon->n].f = NULL;
+			new->f = NULL;
 		}
 		
 		*idx = fcon->n - 1;