We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88c77a8 commit 6230c52Copy full SHA for 6230c52
1 file changed
src/recordset.c
@@ -51,7 +51,7 @@ uint32_t ldb_fetch_recordset(uint8_t *sector, struct ldb_table table, uint8_t* k
51
if (sector) node = sector;
52
else
53
{
54
- ldb_sector = ldb_open(table, key, "r+");
+ ldb_sector = ldb_open(table, key, "r");
55
if (!ldb_sector) return 0;
56
node = calloc(LDB_MAX_REC_LN + 1, 1);
57
}
0 commit comments