mirror of
https://github.com/mdbtools/mdbtools.git
synced 2026-01-02 20:42:14 +08:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user