Experimental support for JET5 .accdb files

Right now, they are handled like JET4 file.
This commit is contained in:
Jean-Michel Vourgère
2012-07-03 00:31:23 +02:00
parent 1db0a89ee2
commit c566407eaf
7 changed files with 40 additions and 38 deletions

View File

@@ -217,7 +217,9 @@ MdbHandle *mdb_open(const char *filename, MdbFileFlags flags)
return NULL;
}
mdb->f->jet_version = mdb_get_int32(mdb->pg_buf, 0x14);
if (IS_JET4(mdb)) {
if (IS_JET5(mdb)) {
mdb->fmt = &MdbJet4Constants;
} else if (IS_JET4(mdb)) {
mdb->fmt = &MdbJet4Constants;
} else if (IS_JET3(mdb)) {
mdb->fmt = &MdbJet3Constants;