Commit Graph

69 Commits

Author SHA1 Message Date
Evan Miller
90ee7bfcb5 Remove references to dmalloc
There are more modern tools for memory debugging, get rid of DMALLOC
crap in the source code.

I've left one reference in backend.c to prevent a merge conflict but
this can be removed later.
2020-08-20 08:59:08 -04:00
Evan Miller
c93156626c Fix all sign-compare warnings
Also flip on -Wsign-compare in the default configuration
2020-08-09 16:15:20 -04:00
Evan Miller
2e6e88b96f Improve bounds and return-value checking
Fixes a memory leak and a number of buffer overruns
2020-08-06 15:17:04 -04:00
Evan Miller
8bda9bd8ee Fix misleading indentation warnings 2020-08-05 22:53:57 -04:00
Evan Miller
1d289a65b3 Fix buffer overruns and NULL pointer deferences 2020-08-05 22:35:56 -04:00
Evan Miller
9941cb2927 More printf portability fixes 2020-08-04 17:34:54 -04:00
Evan Miller
446b92b2c8 printf portability fixes 2020-08-04 17:24:04 -04:00
leecher1337
4edb48ed17 Bugfixes for JET4 indices. 2017-12-03 23:20:11 +01:00
Vladimir Rutsky
772b5675dd fix typo: "popluated" 2015-03-05 16:20:12 +03:00
Nirgal Vourgère
2a70e16a8b Allow CFLGAS="-std=c99 -D_POSIX_C_SOURCE=2"
Use glib function:
strcasecmp -> g_ascii_strcasecmp
bzero -> memset
strdup -> g_strdump

Don't use arithmetic void*+int
2014-12-28 12:36:55 +01:00
Nirgal Vourgère
7841d30d43 Revert use of config.h
Revert
7162e8db74
088493d499

And drop AC_CONFIG_HEADERS so that config goes though the command line.
No longer generating config.h, update .gitignore
2013-07-15 02:42:12 +02:00
Nirgal Vourgère
7162e8db74 Include config.h in all .c files
Need to be the first file since it may define large files support
and other options.
2013-07-04 10:53:13 +02:00
Nirgal Vourgère
851877c86c Changed printf specifier for off_t
Fixes some warnings on OSX
2012-10-04 15:37:30 +02:00
Nirgal Vourgère
1700860912 Work around for missing __attribute((alias))
Some platforms such as OSX 10.7 don't have __attribute((alias)) enabled.
We need a work around there
2012-08-08 16:21:32 +02:00
Jean-Michel Vourgère
c566407eaf Experimental support for JET5 .accdb files
Right now, they are handled like JET4 file.
2012-07-03 00:31:23 +02:00
Jean-Michel Vourgère
1db0a89ee2 Removed last compilation warnings, updated TODO 2012-07-02 23:29:05 +02:00
Jean-Michel Vourgère
212337cfaa Renamed _mdb_put_int* into mdb_put_int*
These were the only symbols exported not starting with mdb_
Old names stay available as aliases
Bumped libmdb version to 2.0.1

Added these prototypes to mdbtools.h: Fixes compilation warning

Added mdb_insert_row prototype to mdbtools.h: Fixes compilation warning
2012-07-02 21:38:26 +02:00
Nirgal Vourgère
c37e82c356 Don't call exit() from libmdb.so
Libraries should return an error code, not kill the caller.
Thanks lintian.
2012-01-16 02:58:46 +01:00
Nirgal Vourgre
dd0f4c3819 Patch docs.diff from Nirgal 2011-08-28 19:53:29 -04:00
Nirgal Vourgre
1f2749cdfc Patch bufferdump.diff from Nirgal 2011-08-28 19:43:52 -04:00
Nirgal
456f261cab Bunch of fixes for compilation warnings, mostly unused vars. 2011-08-10 18:00:18 -04:00
Brian Bruns
1cc10bbcd7 fix offset of page type in data/leaf page writing 2010-06-24 07:55:07 -04:00
Brian Bruns
4c83570d41 Patch 120-decrypt from David Mansfield 2010-06-17 22:23:45 -04:00
Brian Bruns
9bd658067b Patch from Alex Hunsaker posted 2005-11-17. retrieve number of var cols for this row in mdb_crack_row() only if there are var cols according to table definition. 2010-06-16 22:42:39 -04:00
whydoubt
eb9bba1d10 Alter buffer_dump's third parameter from 'end' to 'length' 2005-07-02 07:16:04 +00:00
whydoubt
22c3b15218 Use more appropriate types (void *, size_t) 2005-06-28 04:53:37 +00:00
whydoubt
d0474b4692 Remove remaining int24 uses 2005-06-23 07:04:17 +00:00
whydoubt
3e65f9718c Use col->is_fixed member directly 2005-06-23 05:42:02 +00:00
whydoubt
6bec184d98 Fix bug in handling certain 'jump tables' 2005-06-17 02:37:18 +00:00
whydoubt
30b165938b Replace a few mdb_pg_get_int's with mdb_get_int's 2005-03-22 13:06:57 +00:00
whydoubt
b4d9eb5225 Remove some unused variables 2005-03-13 22:14:06 +00:00
whydoubt
3153f5dd1e Add mdb_find_row function 2005-03-07 04:28:12 +00:00
whydoubt
0421fc8efe Rework of mdb_crack_row 2005-02-26 05:20:11 +00:00
brianb
2002c19cee mdb-import fixes, kinda works now 2005-02-11 16:24:01 +00:00
brianb
fa8d24dd2b patch from Wind Li for iconv on jet3.
Small changes from me for writing.
2004-12-01 23:31:48 +00:00
whydoubt
10d0b62079 Temp table improvements 2004-09-12 19:04:59 +00:00
whydoubt
56995ff968 Enable multi-page temp tables 2004-09-09 03:44:35 +00:00
whydoubt
f250fd507f Jump table packing/cracking improvements 2004-08-28 05:18:52 +00:00
whydoubt
139752bf3a mdb_crack_row3 rewrite 2004-08-27 03:45:53 +00:00
whydoubt
2e5179fb63 Add SQL quote escaping, Documentation fix 2004-08-27 02:05:22 +00:00
whydoubt
e33c909174 Fix bug in storing variable-length field offsets 2004-08-25 02:42:53 +00:00
whydoubt
f2125dd3bc A fix for bug #669739 that became a mdb_crack_row4 rewrite. Thanks to Luciano Miguel Wolf and Alexandre Horst for the bug analysis and the initial patch. 2004-08-05 03:33:41 +00:00
whydoubt
4cc424f913 Warnings fixes 2004-07-17 14:21:43 +00:00
whydoubt
4a245f2af7 Warnings fixes and better use of GLib 2004-07-17 07:48:11 +00:00
whydoubt
e121a82946 Lots more gcc warnings fixes 2004-07-09 12:47:04 +00:00
whydoubt
6380e303ff Replace size_t with ssize_t as appropriate 2004-07-03 07:01:55 +00:00
brianb
50a94fdccf handle any object type in mdb-prop 2004-05-02 11:39:25 +00:00
brianb
bde195357e fix reading of deleted/added columns 2004-04-16 15:45:12 +00:00
brianb
49cf3e0cbc delete orphan files 2004-04-12 14:27:07 +00:00
brianb
4bb08b6661 lots of small fixes (see Changelog) 2004-03-13 15:07:18 +00:00