Benedikt Reinartz
873c6a027e
Extract RC4 code to separate file
2021-05-17 07:21:44 +02:00
Evan Miller
373b7ff4c4
Version 0.9.3, final
2021-05-01 07:03:58 -04:00
Evan Miller
e52c47d561
MDB Tools 0.9.3, Beta 4
2021-04-25 13:25:57 -04:00
Evan Miller
31a075e08b
Remove function pointer casts
2021-04-25 11:23:38 -04:00
Evan Miller
e796ac173a
Merge pull request #299 from filmor/patch-1
...
Adjust loop callback signatures (improve emscripten compatibility)
2021-04-25 11:22:46 -04:00
Benedikt Reinartz
e2b722ed46
Adjust loop callback signatures
...
`GFunc` is `void (gpointer, gpointer)` and `GHFunc` is `void (gpointer, gpointer, gpointer)`,
so the respective callback functions should have the same signature.
2021-04-25 12:47:33 +02:00
Evan Miller
74fd4b1ff9
MDB Tools 0.9.3, Beta 3
2021-04-16 13:43:03 -04:00
Evan Miller
05bee0c69f
Remove unnecessary _XOPEN_SOURCE
...
This was originally intended to expose strptime, which is no longer
(never?) used by data.c
2021-04-16 13:04:40 -04:00
Evan Miller
ceb65d6ece
Conditionally define _XOPEN_SOURCE
...
Fixes #298
2021-04-13 07:19:19 -04:00
Evan Miller
a47224bb80
Version 0.9.3, Beta 2
2021-04-08 14:59:50 -04:00
Evan Miller
fe0175aa63
Migrate to g_memdup2 ( #288 )
...
With fakeglib and older versions of GLib, fall back to g_memdup with
a #define inside mdbprivate.h.
Fixes #287
2021-04-05 09:04:29 -04:00
Evan Miller
afd154f619
Merge pull request #293 from mdbtools/no-wordexp
...
SQL: Allow spaces in DB names (remove wordexp.h)
2021-04-05 09:00:57 -04:00
Evan Miller
88ecb2986b
GitHub Actions: Enable fail-fast for macOS iODBC builds
2021-04-04 22:13:02 -04:00
Evan Miller
c494f0d746
SQL: Allow spaces in DB names (remove wordexp.h)
...
Fixes #292
2021-04-04 22:07:31 -04:00
Evan Miller
015089ae34
Merge pull request #291 from Bob620/quoted-database-string
...
SQL: allow double quoted (") database names
2021-04-04 21:59:48 -04:00
bob620
b6bf27d6b3
sql: allow double quoted (") database names
2021-04-04 19:42:34 -05:00
Evan Miller
f265cc1e15
Remove GCC 8 from GitHub Actions
...
This version of GCC has been removed from the default image; see
https://github.com/actions/virtual-environments/issues/2950
2021-04-03 08:30:56 -04:00
Evan Miller
459516920a
Merge pull request #286 from andipaetzold/patch-1
...
Add JET version for access 2013/2016/2019 to docs
2021-03-31 14:27:31 -04:00
Andi Pätzold
d7c8e48c9b
Add JET version for access 2013/2016/2019 to docs
2021-03-31 19:22:53 +02:00
Evan Miller
7d10a50faf
Version 0.9.3, Beta 1
2021-03-31 09:10:29 -04:00
Evan Miller
5992a1cc66
Merge pull request #285 from Bob620/issue-283
...
sql: correctly parse 'inverse' operators
2021-03-25 22:38:09 -04:00
bob620
bd76027e67
sql: correctly parse 'inverse' operators
2021-03-25 20:36:44 -05:00
Evan Miller
ff3c6ebd01
Merge pull request #282 from Bob620/support-more-uri
...
Support more valid uri
2021-03-25 08:23:53 -04:00
bob620
5d27e2008d
libmdbsql: remove valid character *
2021-03-24 17:58:29 -05:00
bob620
d05c86fa3d
libmdbsql: Allow all special characters from valid URIs in paths
2021-03-24 17:50:33 -05:00
Evan Miller
05a1492eef
Merge pull request #280 from mdbtools/issue-275
...
libmdbsql: Allow dashes in paths
2021-03-24 18:36:09 -04:00
Evan Miller
db7cefbc22
Merge pull request #279 from mdbtools/issue-274
...
libmdbsql: Support negative floating point literals
2021-03-24 18:35:20 -04:00
Evan Miller
8c2f8221b5
Allow dashes in paths #275
...
This is not a complete fix, but should address the immediate reported issue.
2021-03-24 09:57:41 -04:00
Evan Miller
58e4fe281d
libmdbsql: Support negative floating point literals
...
Fixes #274
2021-03-24 09:47:52 -04:00
Evan Miller
d8a81c49a3
Merge pull request #277 from mdbtools/access-2019
...
Support Access 2019
2021-03-24 09:28:00 -04:00
Evan Miller
8ddf8e6411
Merge pull request #278 from uweber/SQLGetTypeInfo_segv
...
Fix segfault when attempting to access empty table (e.g. from ODBC)
2021-03-24 09:27:27 -04:00
Ulrich Weber
970023c4e6
fix segfault in SQLGetTypeInfo due pyodbc
...
dont access pages in mdb_fetch_row when pdata is not initialized.
Happens when a client, e.g. pyodbc, queries for an unsupported type,
e.g. SQL_WVARCHAR, temp_table is empty and further access to it will crash.
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff70fe3df in mdb_fetch_row (table=0xa74610) at data.c:467
467 rows = mdb_get_int16(
Backtrace:
0 0x00007ffff70fe3df in mdb_fetch_row (table=0xa74610) at data.c:467
1 0x00007ffff77f8746 in SQLFetch (hstmt=0xa70500) at odbc.c:1074
2 0x00007ffff7729b43 in SQLFetch () from /lib/x86_64-linux-gnu/libodbc.so.2
3 0x00007ffff778d545 in GetColumnSize (cnxn=0x7ffff77eb1f0, cnxn=0x7ffff77eb1f0, psize=0x7ffff77bde00, sqltype=-9) at src/cnxninfo.cpp:81
4 CnxnInfo_New (cnxn=0x7ffff77eb1f0) at src/cnxninfo.cpp:145
Signed-off-by: Ulrich Weber <ulrich.weber@gmail.com>
2021-03-24 13:09:48 +00:00
Evan Miller
8f1f080e3f
Support Access 2019
...
Per #260 I am assuming that the internal version 6 refers to files
created with Access 2019. I can't find any documentation on this format,
so I am calling it ACE17. Testing welcome.
2021-03-23 15:56:39 -04:00
Evan Miller
e1a850d1a7
Merge pull request #272 from HenriHakonen/patch-1
...
Update write.c
2021-03-23 11:34:05 -04:00
HenriHakonen
d8a0d279e4
Update write.c
...
This way fwrite returns length. mdb_crack_row takes size instead of end.
2021-03-23 17:17:35 +02:00
Evan Miller
735351d0cb
Fix signed-unsigned comparison
...
Fixes #269
2021-03-15 17:32:47 -04:00
Evan Miller
cdfefe08e6
Merge pull request #268 from mdbtools/nirgal-patch-1
...
Refresh AUTHORS
2021-03-15 08:50:09 -04:00
nirgal
e35244e4f0
Refresh AUTHORS
...
mostly from git log, up to 9.0.2 included
2021-03-15 08:24:52 +00:00
Evan Miller
ad8c80892b
Fix compilation error
2021-03-07 14:36:07 -05:00
Evan Miller
46a65b9789
Fix warning when reading binary properties
...
Also fix some type-size issues in mdb_col_to_string.
See #262
2021-03-07 09:03:39 -05:00
Evan Miller
636d54b530
Clarify docs about the necessity of autoreconf
2021-03-07 09:02:51 -05:00
Evan Miller
b185c277dc
Merge pull request #261 from thesamesam/dev
...
configure.ac: Respect --libdir for unixODBC
2021-02-27 11:16:16 -05:00
Sam James
686110d224
configure.ac: Respect --libdir for unixODBC
...
When searching for unixODBC, we want to use
the libdir passed in to autotools (--libdir)
to ensure that we find the library
for the correct ABI.
It is possible that we pick up the wrong
copy from e.g. /usr/lib/ where a 32-bit
unixODBC copy of the library exists
when we're in the middle of a 64-bit build.
Use ${libdir} to ensure we respect
any preferences/information given and
search for ODBC in the right place.
Note that this previously affected
us with iODBC but that's since been
resolved by using their
iodbc-config binary.
Bug: https://bugs.gentoo.org/697568
Signed-off-by: Sam James <sam@gentoo.org>
2021-02-27 14:33:23 +00:00
Evan Miller
9b200549d7
Version 0.9.2, final
2021-02-27 09:04:27 -05:00
Evan Miller
1464882931
mdb-tables: Support --version flag
2021-02-22 09:24:06 -05:00
Evan Miller
d59abb99b4
Version 0.9.2, Beta 6
2021-02-22 09:02:06 -05:00
Evan Miller
ed894ef12c
Merge pull request #257 from mjwoodcock/mysql-schema
...
Mysql schema
2021-02-16 16:48:42 -05:00
James Woodcock
2be45a3a0b
Implement MySQL relations for schema exports
2021-02-16 19:39:00 +00:00
James Woodcock
8bf8806d4f
Implement a MySQL serial type for schema exports
2021-02-16 19:32:27 +00:00
Evan Miller
1bfce353d4
Move mdb_col_to_string warning
2021-02-15 21:25:53 -05:00