mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-09-19 18:47:54 +08:00
Removed last compilation warnings, updated TODO
This commit is contained in:
2
TODO
2
TODO
@@ -3,7 +3,7 @@ Things to Do
|
||||
|
||||
general:
|
||||
|
||||
. compile with -Wall and fix warnings
|
||||
. compile with -Wall and fix warnings (done)
|
||||
|
||||
file format:
|
||||
|
||||
|
@@ -101,7 +101,9 @@ int
|
||||
mdb_test_date(MdbSargNode *node, double td)
|
||||
{
|
||||
struct tm found;
|
||||
char date_tmp[MDB_BIND_SIZE]; //you should figure out a way to pull mdb_date_to_string in here
|
||||
/* TODO: you should figure out a way to pull mdb_date_to_string in here
|
||||
* char date_tmp[MDB_BIND_SIZE];
|
||||
*/
|
||||
|
||||
time_t found_t;
|
||||
time_t asked_t;
|
||||
|
@@ -779,7 +779,7 @@ mdb_copy_index_pg(MdbTableDef *table, MdbIndex *idx, MdbIndexPage *ipg)
|
||||
MdbHandle *mdb = entry->mdb;
|
||||
MdbColumn *col;
|
||||
guint32 pg_row;
|
||||
guint16 row;
|
||||
guint16 row = 0;
|
||||
void *new_pg;
|
||||
unsigned char key_hash[256];
|
||||
int keycol;
|
||||
@@ -831,6 +831,11 @@ mdb_copy_index_pg(MdbTableDef *table, MdbIndex *idx, MdbIndexPage *ipg)
|
||||
|
||||
row++;
|
||||
}
|
||||
|
||||
if (!row) {
|
||||
fprintf(stderr,"missing indexes not yet supported, aborting\n");
|
||||
return 0;
|
||||
}
|
||||
//mdb_put_int16(new_pg, mdb->fmt->row_count_offset, row);
|
||||
/* free space left */
|
||||
mdb_put_int16(new_pg, 2, mdb->fmt->pg_size - ipg->offset);
|
||||
|
Reference in New Issue
Block a user