Skip to content
Commits on May 9, 2016
  1. @freddy77

    fix small leak sending empty data to server

    This was quite complicated but in theory possible (required empty
    characters sent to server causing conversions to return an empty
    buffer).
    This fixes Coverity CID 92042
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 9, 2016
  2. @freddy77

    remove iso2server_metadata conversion

    This default conversion were not used in the code.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 9, 2016
  3. @freddy77

    fix converting parameter name for a query with parameters

    This affect ct_send with CS_LANG_CMD type commands with parameters
    having names not in iso8859-1 encoding or not compatible with.
    Use proper client encoding.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 9, 2016
Commits on May 8, 2016
  1. @freddy77

    replace other malloc/calloc with tds_new/tds_new0

    Make code more readable and avoid explicit casts.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 8, 2016
  2. @freddy77

    replace many malloc/calloc with tds_new/tds_new0

    Make code more readable and avoid explicit casts.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 8, 2016
Commits on May 7, 2016
  1. @freddy77

    remove some warnings compiling dbpivot.c

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 7, 2016
  2. @freddy77

    avoid double semicolon expanding TDS_DEFINE_DEFAULT_FUNCS macro

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 7, 2016
Commits on May 6, 2016
  1. @freddy77

    improve server type checking

    Check that types from server and types from client are valid.
    Patch looks big but mainly uses TDS_SERVER_TYPE to detect validity
    using some compiler warning.
    The check allows all possible TDS types to avoid possible regressions.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 6, 2016
Commits on May 4, 2016
  1. @freddy77

    test per process timeout in dblib timeout test

    Part of the changes came from Joshua Lang test.
    freddy77 committed May 4, 2016
  2. @freddy77

    improve dblib timeout test syntax

    - remove spaces at end of line;
    - use printf instead of fprintf(stdout, ...);
    - make functions/variable static when possible.
    freddy77 committed May 4, 2016
Commits on May 3, 2016
  1. @freddy77

    add DBSETNTLMV2 options

    Allows to set this option using dbsetlbool or the DBSETLNTLMV2 macro.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 3, 2016
  2. @freddy77

    change DBOPTION->text type

    as it contains just constant string do not copy all these strings but
    just use the constants
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 3, 2016
  3. @freddy77
  4. @freddy77

    avoid use of uninitialized data in ct_cursors test

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 3, 2016
Commits on May 2, 2016
  1. @freddy77

    avoid usage of NULL pointer if server is not sending target infos in …

    …NTLM
    
    This fixes Coverity CID 90703.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 2, 2016
  2. @freddy77

    fix possible wrong pointer arithmetic

    This fixes Coverity CID 90691
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 2, 2016
  3. @freddy77

    add DBSETUTF16 dblib login option

    Allows to enable/disable usage of UTF-16 instead of UCS-2 during
    characters conversion.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 2, 2016
  4. @freddy77

    remote unused variable warning

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed May 2, 2016
Commits on Apr 30, 2016
  1. @freddy77

    prepare for 1.0 rc 4

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
  2. @freddy77

    change AppVeyor checks to use MS SQL 2014

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
  3. @freddy77

    fix ct-library rows count

    Returns rows count but not at every DONEINPROC.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
  4. @freddy77

    add a test in ct-library to test for row counts

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
  5. @freddy77

    remove warning compiling under Mac OS X

    tv variable id not used if pthread_cond_timedwait_relative_np
    is present.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
  6. @freddy77

    do not use BYTE type in odbc.h

    Not all systems have this type.
    BYTE in ODBC is mostly used in odbcss.h (ODBC extensions for SQL Server),
    use only in this header.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 30, 2016
Commits on Apr 29, 2016
  1. @freddy77

    change AppVeyor checks to use MS SQL 2012

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 29, 2016
  2. @freddy77

    do not use compute clause during test

    Detect if compute clause is not supported and skip the tests.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 29, 2016
  3. @freddy77

    make dbmorecmds test work without using compute clause

    This tests does not require compute clause but just two recordset.
    As compute clause was removed in newer MS SQL Servers don't use it.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 29, 2016
  4. @freddy77

    make AppVeyor failure tests verbose

    This will help fix issues having the output on the web log.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 29, 2016
  5. @freddy77

    disable some SQL_VARIANT checks for TDS 7.0 in ODBC data test

    Newer server returns SQL_VARIANT for some types as strings instead
    of proper/replacement types.
    As version 7.0 should not be used disable these specific tests just
    for this protocol version.
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 29, 2016
Commits on Apr 26, 2016
  1. @freddy77

    simplify dbcmd function

    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 26, 2016
  2. @freddy77

    do not pass big parameter by value

    This fixes Coverity CID 90755
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 26, 2016
  3. @freddy77

    remove some leaks in defncopy utility

    This fixes Coverity CID 90764
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 26, 2016
  4. @freddy77

    check properly column_varaddr in _blk_get_col_data

    Check before pointer arithmetic.
    
    This fixes Coverity CID 90689
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 26, 2016
  5. @freddy77

    fix UserGuide syntax

    Section 3 was not closed correctly
    
    Signed-off-by: Frediano Ziglio <freddy77@gmail.com>
    freddy77 committed Apr 26, 2016
Commits on Apr 24, 2016
  1. @freddy77

    allows spaces before "go" command in bsqldb

    This make utility more compatible with MS tools.
    
    Change proposed by Scott Moyer.
    freddy77 committed Apr 24, 2016
Something went wrong with that request. Please try again.