Nirgal Vourgère
1213f84859
Fix buffer overflow in sql error message buffer
...
Also use existing buffer when printing to stderr
2013-10-13 09:05:18 +02:00
bokic
bb08d92bfb
FIX: mdb-sql crashed with SIGSEGV in _IO_vfprintf_internal() on amd64
...
https://bugs.launchpad.net/ubuntu/+source/mdbtools/+bug/1227033
2013-10-06 06:23:35 +02: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
088493d499
Update autoconf/automake standards
...
Generated files config.guess config.sub depcomp install-sh ltmain.sh missing
and ylwrap have been moved to build-aux/
Ran autoupdate
Replaced AC_TRY_LINK/AC_TRY_COMPILE by AC_LINK_IFELSE/AC_COMPILE_IFELSE
Droped -I$(top_srcdir)/include from CFLAGS since AC_CONFIG_HEADERS already
adds the -I
Fixed bison detection
Added AM_PROG_AR as required by autoreconf -i -Wall
Updated NEWS and .gitignore
2013-07-09 18:39:03 +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
William Rogers
28af8d296a
Dynamic allocation of MdbSQL->bound_values
...
Was previously hardcoded to 256 columns max.
2013-06-27 15:09:15 +02:00
Nirgal Vourgère
a69281e7bf
Fix memory leak
...
Free sql->cur-table->sargs_tree
Thanks William Rogers.
2013-06-27 13:09:53 +02:00
Nirgal Vourgère
577abe09bf
Code factorisation
...
Call mdb_sql_reset from mdb_sql_exit
This does some harmless extra stuff, like reseting column counts.
Not worth the trouble to code it twice.
2013-06-27 12:28:26 +02:00
William Rogers
04daf7cab5
Memory leak fix
...
Need to free parent in mdb_sql_free_tree
2013-06-27 11:13:39 +02:00
Nirgal Vourgère
473d820239
Replace map files by -export-symbols-regex use
...
We had to support -export-symbols-regex anways
And map file did not really support versions but only list which symbol
to export. So this is more simple.
2012-10-20 14:32:32 +02:00
Nirgal Vourgère
bd9091ce57
Backup --version-script with -export-symbols-regex
...
When ld doesn't support --version-script, use -export-symbols-regex
instead.
2012-10-12 14:33:36 +02:00
Nirgal Vourgère
ea9a4ef1e5
Drop support for SunOS style --version-script
...
Not working, and causes compilation problems on MacOS
2012-10-12 13:30:10 +02:00
Nirgal Vourgère
cca7001f98
Added support for SunOS style --version-script
2012-10-10 18:27:52 +02:00
Nirgal Vourgère
6b6e54bd14
Disable ld --version-script flag if not supported
...
See https://github.com/brianb/mdbtools/issues/17
Thanks libjpeg-turbo for the script (BSD license)
2012-10-04 14:31:14 +02:00
Nirgal Vourgère
e5e299ca3c
Simple tabulation cleaning
2012-07-26 21:51:06 +02:00
Nirgal Vourgère
f6cd70494c
Automatically init/exit libmdb code
...
mdb_init() and mdb_exit() are now deprecated.
2012-07-22 02:29:04 +02:00
Jean-Michel Vourgère
4c470a907d
Remove yacc output files in clean, not distclean
...
libsql yacc output files are generated by make, not configure.
So they should be removed by clean, not distclean.
2012-06-30 21:45:15 +02:00
Jean-Michel Vourgère
1cc4f659e4
Don't generate input & unput in lexer
...
This quiets the compiler warnings about defined but not used functions
2012-06-30 20:15:27 +02:00
Jean-Michel Vourgère
4cc277cbcc
Version 0.7~rc1
2011-09-04 17:18:56 -04:00
Jean-Michel Vourgère
0919ca2a89
More simple map file without revisions. Add ODBCINST*.
2011-09-04 17:15:00 -04:00
Jean-Michel Vourgère
0a76d5716f
Removes many compilation warnings.
2011-08-30 16:11:13 -04:00
Nirgal Vourgre
dd0f4c3819
Patch docs.diff from Nirgal
2011-08-28 19:53:29 -04:00
Nirgal Vourgre
07f915b3c7
Patch utfsql.diff from Nirgal
2011-08-28 19:49:54 -04:00
Nirgal Vourgre
aee657f603
Patch warnings.diff from Nirgal
2011-08-28 19:48:44 -04:00
Brian Bruns
0897cbe612
missing files from abi patch
2011-08-11 10:04:27 -04:00
Brian Bruns
ed0a5b56a6
abi.diff from Nirgal, remove exported symbols
2011-08-10 18:02:24 -04:00
Nirgal
456f261cab
Bunch of fixes for compilation warnings, mostly unused vars.
2011-08-10 18:00:18 -04:00
Brian Bruns
39277312d4
patch 'schema2' from Nirgal Vourgère
2011-02-16 18:58:22 -05:00
Brian Bruns
037b9bc8fc
remove cvsignore and add gitignore per Jeff Smith
2010-11-01 09:30:24 -04:00
root
f8f1b91b7d
report parser errors via mdb_sql_error()
2010-06-20 23:12:32 -04:00
root
fc8ccbeaa8
store last error message in MdbSql struct and show error in gmdb2.
2010-06-20 21:18:22 -04:00
Brian Bruns
cab6d50083
using BUILT_SOURCES creates dependency problem, reverting
2010-06-20 18:12:03 -04:00
Brian Bruns
1eea9754c7
add parser.[ch] to BUILT_SOURCES
2010-06-17 19:18:13 -04:00
Brian Bruns
6befd88462
remove bison generated files
2010-06-17 19:05:03 -04:00
Brian Bruns
b9983c8aad
Debian patch 015-allsyms
2010-06-16 23:29:07 -04:00
whydoubt
278b6e284c
Fix several leaks and errors
2005-11-09 13:24:26 +00:00
whydoubt
a5094f778d
Make varaddr parameter a void *
2005-10-17 12:10:07 +00:00
whydoubt
b4d9eb5225
Remove some unused variables
2005-03-13 22:14:06 +00:00
whydoubt
d06cb3e47d
Combine functions that bind a column and its length
2004-12-31 01:26:28 +00:00
whydoubt
34f39973a1
Clean up a few compile-time warnings
2004-12-30 12:37:52 +00:00
whydoubt
d271b5fae5
Better compressed text handling
2004-12-11 06:07:20 +00:00
brianb
34a9eac4ea
iconv conversion code
2004-11-26 05:22:52 +00:00
brianb
b721bcc6f4
patch #1034566 from Filip Van Raemdonck
2004-11-14 01:56:37 +00:00
whydoubt
5d53a0f463
Remove obsolete file
2004-10-25 04:23:02 +00:00
whydoubt
062259b408
Get rid of GLib 2.4+ call
2004-10-21 02:54:05 +00:00
whydoubt
d632ab6231
Correct some field display size problems
2004-09-23 05:07:09 +00:00
whydoubt
dd99bd0a68
Use 'Flags' field in MSysObjects to recognize system tables
2004-09-16 04:00:39 +00:00
whydoubt
56995ff968
Enable multi-page temp tables
2004-09-09 03:44:35 +00:00
whydoubt
2e5179fb63
Add SQL quote escaping, Documentation fix
2004-08-27 02:05:22 +00:00
whydoubt
e5b867efd9
Tidy up a few SQL-related functions
2004-08-25 02:12:58 +00:00