Improved support for Access 2010, 2013, and 2016

Some Access 2010 files use 0x03 as the version number rather than
0x0103. For this reason I have changed the call to mdb_get_int32 to
mdb_get_byte.

In addition, according to the Library of Congress page:

https://www.loc.gov/preservation/digital/formats/fdd/fdd000463.shtml

Access 2016 uses 0x05 as the version number. I have inferred from the
Wikipedia page that Access 2013 likely uses 0x04.
This commit is contained in:
Evan Miller
2018-03-05 06:39:57 -05:00
parent e9ec76ea68
commit 0e9c1810f1
5 changed files with 20 additions and 4 deletions

View File

@@ -81,6 +81,12 @@ main(int argc, char **argv)
case MDB_VER_ACCDB_2010:
printf("ACE14\n");
break;
case MDB_VER_ACCDB_2013:
printf("ACE15\n");
break;
case MDB_VER_ACCDB_2016:
printf("ACE16\n");
break;
default:
printf(_("unknown database version\n"));
break;