MDB Tools - Read Access databases on *nix
MDB Tools 1.0 includes a number of new features compared to the 0.9 series. The most significant change is that mdbtools.h
is now generated at build time, and its internal HAVE_
macros have been removed. This means that it is now safe for clients to compile against mdbtools.h
without needing to provide the same HAVE_ICONV
and HAVE_GLIB
flags that were present when the library was first compiled.
In most cases, ABI and API compatibility is preserved with the 0.9 series, but see the "Install" section below.
The SQL engine has two new operators: ILIKE
(case-insensitive pattern matching) and <>
(not equals).
To install MDB Tools 1.0:
./configure
make
make install
Changes since 0.9.4:
Build:
mdbtools.h
at configure-time #316AC_PROG_LEX
warning with autoconf 2.70_XOPEN_SOURCE
and friends--disable-iconv
configure option (falls back to wcstombs
where possible)./configure
detected iconv, but thought it was not workingInstall:
libmdbodbc.so
and libmdbodbcW.so
into ${libdir}/odbc #315mdb-sql
if SQL support was not built #276libmdbsql.pc
if SQL support was not builtpkg-config
:
--cflags
for libmdb--cflags
for libmdbsqllibmdb:
mdb_set_repid_fmt()
for setting the format of Rep IDs (UUIDs) #344SQL:
ILIKE
operator #244<>
(not equal) operator #329ODBC:
SQL_C_CHAR
#327SQL_C_WCHAR
(UTF-16) return type #347 #348libmdbodbcW.so
) no longer uses iconv #332 #333odbcinst.h
mdb-export
:
CREATE IF NOT EXISTS
when exporting to PostgreSQL #321mdb-hexdump
:
mdb-export
:
libmdb:
__thread
for thread-local storageODBC:
SQLFetchW
(introduced in Beta 5) in favor of the SQL_C_WCHAR
return typeodbcinst.h
Changes since Beta 4:
libmdb:
mdb_set_repid_fmt()
for setting the format of Rep IDs (UUIDs) #344SQL:
ODBC:
SQLFetchW
in the Unicode driver #347 #348Changes since Beta 3:
Build:
--disable-iconv
configure option (falls back to wcstombs
where possible)./configure
detected iconv, but thought it was not workingODBC:
libmdbodbcW.so
) no longer uses iconv #332 #333SQL:
<>
(not equal) operator #329Changes since Beta 2:
Build:
AC_PROG_LEX
warning with autoconf 2.70_XOPEN_SOURCE
and friendslibmdb:
MdbHandle
struct layoutpkg-config --cflags
libmdbsql:
pkg-config --cflags
ODBC:
SQL_C_CHAR
#327mdb-schema
:
CREATE TABLE
and DROP TABLE
#328 (Bug introduced in Beta 2)Changes since Beta 1:
Build:
libmdb:
mdb_register_backend
APIMdbBackend
struct layoutlibmdb:
mdbtools.h
at configure-time #316SQL:
ILIKE
operator #244mdb-sql
if SQL support was not built #276libmdbsql.pc
if SQL support was not builtODBC:
libmdbodbc.so
and libmdbodbcW.so
into ${libdir}/odbc #315mdb-export
:
CREATE IF NOT EXISTS
when exporting to PostgreSQL #321mdb-hexdump
:
MDB Tools 0.9.4 is a bug-fix release, and includes new support for brackets around table names when processing and exporting SQL.
Barring future security fixes, this is the final planned release in the 0.9 series. Future development will focus on MDB Tools 1.0.
Changes since MDB Tools 0.9.3:
libmdb:
AC_HEADER_STDC
macro from configure.acSQL:
mdb-query
output #307COUNT(*)
resulted in a parse error #318 #319ODBC:
-Werror=array-bounds
compile error #313None of the changes in this release are considered security fixes.
libmdb:
AC_HEADER_STDC
macro from configure.acSQL:
mdb-query
output #307COUNT(*)
resulted in a parse error #318 #319ODBC:
-Werror=array-bounds
compile error #313