Permalink
Commits on Jan 15, 2017
  1. Merge pull request #106 from chuchuhao/patch-1

    nirgal committed Jan 15, 2017
    Update HACKING
Commits on Jan 12, 2017
  1. Update HACKING

    chuchuhao committed Jan 12, 2017
Commits on Oct 24, 2016
  1. Spelling fixes

    Nirgal Vourgère
    Nirgal Vourgère committed Oct 24, 2016
    Thanks lintian
Commits on Aug 30, 2016
  1. bug fix for 'bad' data with odd number of UCS-2 bytes

    Brian Bruns
    Brian Bruns committed Aug 30, 2016
  2. add support for LIMIT clause in SQL engine

    Brian Bruns
    Brian Bruns committed Aug 30, 2016
Commits on Aug 29, 2016
  1. At least for me IS NULL and IS NOT NULL are the wrong way round in SQ…

    leecher1337 authored and Brian Bruns committed Aug 21, 2015
    …L, fixed it.
  2. Fixed a severe design flaw in ODBC driver that prevented the driver f…

    leecher1337 authored and Brian Bruns committed Aug 16, 2015
    …rom using multiple SELECTs at once and instead crashed the driver
  3. Fixed bug in ODBC driver causing incomplete data on SQLGetData when d…

    leecher1337 authored and Brian Bruns committed Aug 15, 2015
    …oing SQLFetch and SQLGetData for one column in a loop if there was an incomplete fetch of some previous dataset
  4. Merge pull request #94 from ewen-naos-nz/boolean_data_as_words

    brianb committed Aug 29, 2016
    mdb-export: Add boolean words option (TRUE/FALSE)
  5. Merge pull request #101 from joshuashort/master

    brianb committed Aug 29, 2016
    Adding option for user-defined NULL token in CSV output
  6. Merge pull request #95 from ewen-naos-nz/jet4_index_flags

    brianb committed Aug 29, 2016
    JET 4: index flags (eg, UNIQUE) 4 bytes later
  7. Merge pull request #87 from danchr/tweaks+ole

    brianb committed Aug 29, 2016
    OLE support for the ODBC driver
  8. Merge pull request #91 from samshawsds/master

    brianb committed Aug 29, 2016
    Improve Oracle Support
Commits on Aug 1, 2016
  1. Adding option to for user-defined NULL token in CSV output (not sure …

    joshuashort committed Aug 1, 2016
    …if it should be escaped..)
Commits on Apr 27, 2016
  1. Use 'official' words for GFDL license

    Nirgal Vourgère
    Nirgal Vourgère committed Apr 27, 2016
Commits on Apr 7, 2016
  1. JET 4: index flags (eg, UNIQUE) 4 bytes later

    ewenmcneill committed Apr 7, 2016
    Re-reverse engineered index meta information layout in JET 4
    file format, based particularly on jackcess (Java) JET/Access
    database library (https://github.com/jahlborn/jackcess), and
    hexdumps of JET 4 database index meta information.  Based both
    on byte counting of jackcess reading of index definitions and
    also expected flag values (0x80, 0x89, etc), the flags of JET 4
    index definition are 4 bytes later than mdbtools previously thought.
    
    See IndexData.read() and private static class Jet4Format in
    src/main/java/com/healthmarketscience/jackcess/impl/IndexData.java
    src/main/java/com/healthmarketscience/jackcess/impl/JetFormat.java
    in jackcess source for layout reference.
    
    Now appears to get sensible "CREATE INDEX"/"CREATE UNIQUE INDEX"
    behaviour on export to PostgreSQL schema.
    
    Also added extensive index definition byte layout reference to top
    of src/libmdb/index.c for ease of reference, plus more debugging
    assistance (and comments of phases reading index for readability).
Commits on Apr 6, 2016
  1. mdb-export: Add boolean words option (TRUE/FALSE)

    ewenmcneill committed Apr 6, 2016
    Adds "-B" (--boolean-words) option to mdb-export, which will reconfigure
    mdb/data.c to export TRUE/FALSE for boolean values instead of 1/0.  The
    option is needed to support BOOLEAN fields on PostgreSQL, which will not
    implicitly cast bare 1/0 into a BOOLEAN value.  Value literals are the
    SQL TRUE/FALSE, and _quoted_ words meaning true/false and _quoted_
    '1'/'0'.  With this flag the SQL TRUE/FALSE values are output, which should
    work with several SQL databases.
    
    PostgreSQL Reference:
    
    http://www.postgresql.org/docs/current/static/datatype-boolean.html
Commits on Jan 12, 2016
  1. Oracle Foreign Keys

    samshawsds committed Jan 12, 2016
    Oracle doesn't support the "ON UPDATE" clause for foreign keys.
Commits on Dec 23, 2015
  1. Oracle BLOB & CLOB

    samshawsds committed Dec 23, 2015
    BLOB and CLOB do not have a size constraint in Oracle
  2. Oracle Indexes

    samshawsds committed Dec 23, 2015
    Add syntax for creating indexes in oracle (it's the same as PostgreSQL)
Commits on Sep 28, 2015
  1. odbc: support reading OLE entries

    danchr committed Sep 28, 2015
    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.
  2. odbc: don't assume sizeof(int) == sizeof(long)

    danchr committed Sep 28, 2015
    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.
  3. allow building without gnome-doc-utils

    danchr committed Sep 27, 2015
    '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.
  4. Merge pull request #86 from steko/patch-1

    nirgal committed Sep 28, 2015
    Fix typo in list of command line utils
Commits on Sep 26, 2015
Commits on May 30, 2015
  1. Split bash-completion snippet in small ones

    Nirgal Vourgère
    Nirgal Vourgère committed May 30, 2015
    /usr/share/bash-completion/completions/ now uses dynamic loading based on file name.
Commits on May 26, 2015
  1. Merge pull request 78

    Nirgal Vourgère
    Nirgal Vourgère committed May 26, 2015
  2. Space normalisation

    Nirgal Vourgère
    Nirgal Vourgère committed May 26, 2015
Commits on May 24, 2015
  1. Freed memory on SQL engine termination

    rogerswb committed May 24, 2015
    Modified mdb_sql_exit to free the memory allocated for the SQL engine in mdb_sql_init
  2. Added proper SQL engine termination

    rogerswb committed May 24, 2015
    Since the SQL engine is initialized in _SQLAllocEnv, the engine should be also terminated in SQLFreeEnv.
  3. Corrected memory being improperly freed

    rogerswb committed May 24, 2015
    The memory for sql->bound_values is now freed by mdb_sql_reset, so these values no longer should be freed in dump_results_pp.  Also, this fixes a memory leak that was occurring when results were not being pretty printed.
  4. Fixed memory leak - sql->bound_values

    rogerswb committed May 24, 2015
    Memory allocated by mdb_sql_bind_all for sql->bound_values was being leaked at each query execution.  Memory is now freed in mdb_sql_reset
  5. Consolidated calls to mdb_sql_reset

    rogerswb committed May 24, 2015
    SQL engine was being reset in both dump_results functions.  Rather than having several different functions responsible for resetting the engine depending on the circumstances, the reset now only occurs in run_query, the same function where the query is executed.
  6. Fixed memory leak in _SQLFreeEnv

    rogerswb committed May 24, 2015
    Memory allocated for the _henv structure was not being freed which caused a small memory leak.
Commits on May 23, 2015
  1. Correction to SQLGetData string length handling

    rogerswb committed May 23, 2015
    According to http://download.oracle.com/otn_hosted_doc/timesten/703/TimesTen-Documentation/ms.odbc.pdf and https://msdn.microsoft.com/en-us/library/ms710980(v=vs.85).aspx, the string length should not include the NULL character at the end.
    
    Previous behavior would likely work without problems for any language that uses C-style null terminated strings, but adds a null character in the string when using the driver with a language that does not use C-style strings.