3 Commits
Author SHA1 Message Date
Dan Villiom Podlaski Christiansen e22791606f odbc: support reading OLE entries
This adds support for reading OLE objects to the ODBC driver. The APIs
for reading OLE appear somewhat idiosyncratic, so we read the string
fully and stash it in a static variable.

Tested by reading an old Access database, with checking for memory leaks.
2015-09-28 13:56:10 +02:00
Dan Villiom Podlaski Christiansen 1b8c2ca483 odbc: don't assume sizeof(int) == sizeof(long)
Most  64-bit environments use 64 bit longs and 32 bit ints; as such,
comparing an int to LONG_MIN/MAX makes no sense. Since SQL LONGs
appear limited to 32 bits, I assume INT_MIN/MAX was intended.
2015-09-28 13:56:09 +02:00
Dan Villiom Podlaski Christiansen 87a5593a4d allow building without gnome-doc-utils
'gnome-doc-utils' is a rather large dependency on OS X, and the build
system has checks for gnome-doc-utils surrounding its use, but the
autoconf check errors out in its absence.
2015-09-28 13:55:59 +02:00