Browse Source

- wrong array index fixed

Jan Janak 17 years ago
parent
commit
c42475fa63
1 changed files with 1 additions and 1 deletions
  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;
 				return -1;
 			}			
 			}			
 		} else {
 		} else {
-			new[fcon->n].f = NULL;
+			new->f = NULL;
 		}
 		}
 		
 		
 		*idx = fcon->n - 1;
 		*idx = fcon->n - 1;