mdbtools/ChangeLog

356 lines
14 KiB
Plaintext

Sun May 2 06:31:17 EDT 2004 Brian Bruns <brian@bruns.com>
* src/util/mdb-tables.c: Add -t flag to specify object type
* src/util/mdb-props.c: Handle any object type, not just tables
Sat May 1 00:02:09 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* doc/reference/libmdb/libmdb-sections.txt:
* include/mdbtools.h:
* src/libmdb/file.c:
* src/libmdb/mem.c:
* src/libmdb/stats.c: Fold several functions into mdb_open/mdb_close
* doc/reference/libmdb/.cvsignore: Added this file
2004-04-29 Michael Meeks <michael@ximian.com>
* configure.in
* Makefile.am: add mdbtools pkgconfig bits
* libmdb.pc.in
* libmdbsql.pc.in: add mdbtools pkgconfig templates.
Sat Apr 24 21:39:10 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/libmdb/file.c:
* src/libmdb/mem.c: Moving some NULL pointer tests
* src/libmdb/mem.c
* src/libmdb/props.c:
* src/sql/mdbsql.c: Back out some ineffective NULL setting
Sat Apr 24 15:27:51 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/libmdb/file.c:
* src/libmdb/props.c
* src/sql/mdbsql.c: Setting pointers to NULL after freeing
Sat Apr 24 00:02:14 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/libmdb/mem.c:
* src/libmdb/catalog.c: Setting various pointers to NULL after freeing.
* src/libmdb/mem.c:
* src/libmdb/file.c: Cleaning up memory for catalogs
Fri Apr 16 10:48:05 EDT 2004 Brian Bruns <brian@bruns.com>
* src/libmdb/write.c: restructuring of mdb_crack_row?() to accomodate
columns deletes/adds
* src/libmdb/index.c: fix stupid bug in mdb_swap_n()
Tue Apr 13 19:08:51 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/util/mdb-check.c: Make mdb-check compilable
* configure.in:
* src/odbc/Makefile.am: Improve configure for ODBC
* acinclude.m4: Update to the latest libtool.m4
* src/libmdb/file.c: Make mdb_close free the handle
* src/sql/mdbsql.c:
* src/util/mdb-array.c:
* src/util/mdb-check.c:
* src/util/mdb-export.c:
* src/util/mdb-header.c:
* src/util/mdb-import.c:
* src/util/mdb-prop.c:
* src/util/mdb-schema.c:
* src/util/mdb-tables.c:
* src/util/mdb-ver.c:
* src/util/prcat.c:
* src/util/prdata.c:
* src/util/prdump.c:
* src/util/prfreemap.c:
* src/util/prindex.c:
* src/util/prkkd.c:
* src/util/prole.c:
* src/util/prtable.c:
* src/util/sargtest.c:
* src/util/updrow.c: Use mdb_close to match mdb_open instead of
mdb_free_handle
Tue Apr 13 15:25:26 EDT 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools.h:
* src/sql/mdbsql.c:
* src/util/mdb-array.c:
* src/util/mdb-check.c:
* src/util/mdb-export.c:
* src/util/mdb-header.c:
* src/util/mdb-import.c:
* src/util/mdb-prop.c:
* src/util/mdb-schema.c:
* src/util/mdb-tables.c:
* src/util/mdb-ver.c:
* src/util/prcat.c:
* src/util/prdata.c:
* src/util/prdump.c:
* src/util/prfreemap.c:
* src/util/prindex.c:
* src/util/prkkd.c:
* src/util/prole.c:
* src/util/prtable.c:
* src/util/sargtest.c:
* src/util/updrow.c:
* src/gmdb/file.c:
* src/gmdb2/file.c:
* src/libmdb/file.c: Add flags argument to mdb_open to support read/write
files
* doc/reference/libmdb/libmdb-sections.txt: Organize reference manual a little better
Mon Apr 12 21:58:00 CDT 2004 Jeff Smith <whydoubt@yahoo.com>
* src/odbc/connectparams.c: ODBC driver dialog enhancements
* src/sql/mdbsql.c: Correct some array sizes
* src/odb/odbc.c: Utilize _odbc_get_string_size() in SQLPrepare()
* src/libmdb/mem.c: Make mdb_free_tabledef safe from dereferencing NULL
Mon Apr 12 09:56:23 EDT 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools:
* src/libmdb/mem.c:
* src/libmdb/backend.c: free backends on exit (Jeff Smith)
* src/libmdb/index.c: missing function mdb_swap_n()
* src/libmdb/file.c:
* src/libmdb/mem.c:
* src/libmdb/stats.c:
* configure.in:
* doc/reference/libmdb/Makefile.am:
* doc/reference/libmdb/libmdb-sections.txt:
* doc/reference/libmdb/libmdb-docs.sgml: Initial cut at gtk-doc reference manual
* include/mdbtools.h: Change MdbSargNode typedef to forward declaration to make gtk-doc happy
* doc/faq.html: Fix unclosed <ul> tag
* TODO: update finished items
Thu Mar 25 04:56:05 EST 2004 Brian Bruns <brian@bruns.com>
* src/odbc/odbc.c(_SQLFreeStmt): call mdb_sql_reset on stmt drop (Jeff Smith)
Sat Mar 13 09:27:23 EST 2004 Brian Bruns <brian@bruns.com>
* doc/faq.html: fix typos, add question on write support
* doc/install.sgml: clarify yacc requirement
* doc/mdb-ver.txt: add -M to options
* doc/mdb-sql.txt: add BUGS sections
* src/libmdb/data.c: fix bug in call to mdb_get_double (Jeff Smith)
* src/libmdb/write.c: move declaration to top of function in crack_row3 (Jeff Smith), check for null in mdb_pack_row[3-4] (me)
* src/libmdb/index.c: fix hard coded index size in compressed index handling
* src/sql/lexer.l: missing ] in NUMBER (Jeff Smith)
* src/sql/mdbsql.c: temp_fill called with wrong value (Jeff Smith)
* src/odbc/odbc.c: fix typo, incorrect pointer dereference (Jeff Smith), change value to SQLSMALLINT * in type_info
Sat Mar 6 18:10:20 EST 2004 Brian Bruns <brian@bruns.com>
* include/mdbsql.h:
* src/libmdb/worktable.c:
* src/sql/mdbsql.c: introduced convience functions for building temp tables
* src/libmdb/write.c: remove dead statement
* src/libmdb/iconv.c: check for null string in mdb_ascii2unicode
* src/odbc/odbc.c: implement SQLGetTypeInfo bug #903498
Fri Mar 5 23:24:04 EST 2004 Brian Bruns <brian@bruns.com>
* configure.in: AC_SUBST on ODBCINSTLIB
* include/mdbtools.h:
* src/libmdb/Makefile.am:
* src/odbc/Makefile.am:
* src/libmdb/data.c:
* src/libmdb/iconv.c: move ascii/unicode convert code to iconv.c
* include/mdbsql.h:
* src/util/mdb-sql.c:
* src/odbc/odbc.c:
* src/sql/mdbsql.c: new fetch routine to handle worktables
* src/odbc/connectparams.c: use odbcinst lib routines if available
Thu Mar 4 23:24:27 EST 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools.h: add prototype for mdb_index_find_next()
* src/libmdb/write.c: add mdb_pack_row4() (Jeff Smith). Fix null mask order (Jeff, me)
* src/sql/mdbsql.c: convert list tables/describe table to ucs2 for jet4 db's
Thu Mar 4 15:30:21 EST 2004 Brian Bruns <brian@bruns.com>
* src/odbc/Makefile.am: add newer files to driver
* src/libmdb/options.c: add debug_row option
* src/libmdb/data.c: loop for num_cols (current columns definition) not num_fields (columns on row)
* src/libmdb/write.c: read deleted fixed columns correctly under jet4
* include/mdbtools.h:
* src/libmdb/file.c:
* src/libmdb/table.c: store fixed and variable offsets and postions from tdef in column structure.
* include/mdbodbc.h:
* src/odbc/connectparams.c: Add ODBCINSTGetProperties function for setup lib.
* configure.in: Add detection of SQLGetPrivateProfileString
* README: clarify LGPL covered files
* INSTALL: clarify yacc/bison
Sun Feb 15 07:37:19 EST 2004 Brian Bruns <brian@bruns.com>
* HACKING: better description of Jet4 column deletion/addition
* src/gmdb2/gladefiles/gmdb-debug.glade:
remove incorrect default callback
* src/gmdb2/debug.c:
move declarations to top of function, fixes bug 675022
fix -Wall messages
add data page dissector for jet4
* src/libmdb/data.c: merge patch for bug #688655, check negative values on datetime
* src/libmdb/money.c: increase MAXPRECISION to 20
* src/libmdb/options.c: new file
* src/libmdb/table.c:
* src/libmdb/data.c:
* src/libmdb/write.c:
* src/libmdb/like.c:
* src/libmdb/index.c: convert to use mdb_get_option/mdb_debug
Sat Feb 14 14:41:00 EST 2004 Brian Bruns <brian@bruns.com>
* include/.cvsignore: add mdbver.h
* include/mdbtools: remove variables for old index algorithm.
* src/libmdb/index.c: missing return in mdb_index_find_next, remove old index algorithm. Add mdb_index_pack_bitmap() function and rename unpack routine to match.
* src/libmdb/write.c: port fix from data.c to mdb_crack_row() routines
* src/gmdb2/debug.c: more tdef4 dissector work
* HACKING: column deletion revelation/thoughts.
Fri Feb 13 12:51:50 EST 2004 Brian Bruns <brian@bruns.com>
* src/extras/.cvsignore: change mdb-dump to mdb-hexdump
* include/Makefile.am:
* include/mdbver.h.in: new file
* configure.in: add mdbver.h to AC_OUTPUT
* src/util/mdb-ver.c: add -M flag to show MDB Tools version to help support
* src/gmdb2/main2.c: change version number to mdbtools version number
* src/gmdb2/sql.c: added some (commented) code to change cursor on execute.
* src/gmdb2/table.c: right mouse click selects before calling popup.
* src/gmdb2/debug.c: add separate dissector for jet4 tdef pages
* src/gmdb2/gladefiles/gmdb2-prefs.glade: add help button
* src/libmdb/index.c: pre-compute index page bitmap in mdb_index_unpack_page() in preparation for index writes.
* include/mdbtools.h: change IndexPage structure for new algorithm
Wed Feb 11 15:30:42 EST 2004 Brian Bruns <brian@bruns.com>
* HACKING: rewritten to better reflect Jet4
* src/gmdb2/gmdb2.h: add prototype for gmdb_debug_set_dissect_cb()
* src/gmdb2/debug.c: add switch to control dissecting pages or no
* src/gmdb2/gladefiles/gmdb-debug.glade: add dissect option to View menu
* src/libmdb/data.c: adding debugging code
* src/libmdb/table.c: adding debugging code for usage maps
* src/libmdb/write.c: remove jet3 check from mdb_crack_row4()
* include/mdbtools.h:
* src/libmdb/index.c: handle compressed indexes, trailing leaves
Mon Feb 9 14:53:19 EST 2004 Brian Bruns <brian@bruns.com>
* src/util/mdb-export.c: reorganized a bit, added header text and options from patch #857342
* src/util/mdb-export.c: added -I option from patch #857342
* src/gmdb2/gladefiles/gmdb-schema.glade: fix close button
* src/sql/lexer.l: allow negative numbers
Sun Feb 8 13:02:56 EST 2004 Brian Bruns <brian@bruns.com>
* doc/faq.html: update email addy
* doc/userguide.sgml: fix typo
* src/libmdb/backend.c: mysql patch
* src/odbc/odbc.c:
* src/util/mdb-sql.c:
* src/gmdb2/sql.c: change mdbsql_bind_col to mdb_sql_bind_col to match other functions
* include/mdbtools.h: move mdb_backends to .c file
* src/sql/lexer.l: fix STRING token from overreading
* include/mdbsql.h:
* src/sql/parser.y:
* src/sql/mdbsql.c: added mdb_sql_eval_expr() to support 0=1 literal comparison
* src/libmdb/sargs.c: check for null node->col (literal comparision)
* src/sql/Makefile.am: change hardcoded bison reference to @YACC@
Fri Feb 6 18:08:59 EST 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools.h:
* src/sql/mdbsql.c:
* src/libmdb/sargs.c: change signature of mdb_test_sarg to test for nulls
* src/mdbsql/lexer.l: add NULL token
* src/libmdb/data.c: memo patch from <teodor@sigaev.ru>
* src/libmdb/file.c: patch #889589
* src/libmdb/write.c: patch #889586
Thu Feb 5 20:45:00 EST 2004 Brian Bruns <brian@bruns.com>
* HACKING: added information on indexes
* src/sql/lexer.l:
* src/sql/parser.y: added is null/is not null, not working yet
* src/util/mdb-sql.c: fix readline support, added history file
* src/util/mdb-export.c: update usage for -D flag
* src/libmdb/backend.c: added mysql struct (not complete)
* src/libmdb/sargs.c: fix casts
* src/libmdb/write.c: break apart mdb_crack_row new index func
Sat Jan 10 17:18:00 EST 2004 Brian Bruns <brian@bruns.com>
* src/util/mdb-parse.c: fixed char comparison to -1 re: bug 688181
Fri Jan 9 15:22:11 EST 2004 Brian Bruns <brian@bruns.com>
* include/mdbtools.h:
* src/libmdb/index.c:
* src/libmdb/write.c: modularize this a bit more to allow reuse
* src/libmdb/worktable.c: preliminary worktable/temp table support
* src/libmdb/table.c: fix reading of free page map and enable
* src/data/data.c: use mdb_crack_row() from write.c for cleaner row
handling. Fix delflag bug.
* src/util/updrow.c: fix sarg handling
* src/util/mdb-import.c: check for valid table
* src/sql/mdbsql.c:
* src/util/mdb-sql.c: Fix H and F flags. Change "list tables" and
"describe table" to write to worktable so client can pull results (almost)
like a normal query.
Wed Jan 22 14:54:11 EST 2003 Brian Bruns <camber@ais.org>
* src/util/mdb-sql.c: typo fix
* src/gmdb2/gladefiles/gmdb-debug.glade:
* src/gmdb2/gladefiles/gmdb-sql.glade:
* src/gmdb2/gladefiles/gmdb.glade:
toolbar separator fix (glade/libglade buglet)
Tue Jan 21 18:10:46 EST 2003 Brian Bruns <camber@ais.org>
* src/libmdb/data.c:
move unicode to ascii code to mdb_unicode2ascii function
* src/libmdb/sarg.c:
add MdbHandle argument to mdb_sarg_test and invoke mdb_unicode2ascii
* src/libmdb/like.c: added debugging info
* include/mdbtools.h: prototypes
* src/sql/mdbsql.c: fix case compare bug in where clause
Tue Apr 2 21:02:13 EST 2002 Brian Bruns <camber@ais.org>
* src/libmdb/data.c: ignore 0xff in row offset table (Don Badrak)
Wed Mar 20 22:49:33 EST 2002 Brian Bruns <camber@ais.org>
* include/mdbtools.h: increased page size from 2048 to 4096
Sat Mar 16 21:37:01 EST 2002 Brian Bruns <camber@ais.org>
* include/mdbtools.h: added oam usage map fields to TableDef
* src/extras/mdb-dump.c: added JET4 support
* src/libmdb/data.c: added code to check for unicode compression
* src/libmdb/mem.c(mdb_free_tabledef): clean up for oam fields
2002-03-15 Brian Bruns <camber@ais.org>
* src/libmdb/money.c: Two's complement fix from
* src/libmdb/data.c: BOOL fixes from Mike Finger and Ben McKeegan
* src/libmdb/table.c: BOOL fixes from Mike Finger
2001-09-29 Brian Bruns <camber@ais.org>
* src/odbc/odbc.c:
Added implementation of SQLNumResultCols()
* src/sql/lexer.l:
Added yywrap function, so ODBC driver may be linked without libfl
* src/util/mdb-sql.c
src/sql/parser.y
src/odbc/odbc.c:
Added mdb_sql_set() function so mdb-sql and ODBC driver do not need to
set g_sql directly.
2001-09-28 Brian Bruns <camber@ais.org>
* src/odbc/unittest.c:
Changed dwNativeError vars to SQLINTEGER to fix compile warning
* src/util/mdb-sql.c
src/sql/mdbsql.c:
Check for cur_table before calling mdb_dump_results()
Make mdb_sql_reset() dealloc and clear cur_table