Permalink
Commits on Feb 23, 2017
  1. Correction on homepage.

    tomasguisasola committed Feb 23, 2017
  2. Updating for new version.

    tomasguisasola committed Feb 23, 2017
  3. Update for new version.

    tomasguisasola committed Feb 23, 2017
  4. Merge pull request #70 from IR4T4/patch-3

    fix memory db connection creating and using file based db
    tomasguisasola committed on GitHub Feb 23, 2017
  5. Merge pull request #69 from tomatolog/master

    fixing leak of mysql thread handlers
    tomasguisasola committed on GitHub Feb 23, 2017
  6. Merge pull request #61 from IR4T4/patch-2

    explicitly disregard return code
    tomasguisasola committed on GitHub Feb 23, 2017
Commits on Jan 21, 2017
  1. fix memory db connection creating and using file based db

    This isn't documented well @ http://www.sqlite.org/inmemorydb.html since sqlite3_open() is obsolete.
    SQLITE_OPEN_CREATE flag avoids the usage of pure memory databases. If this flag is set a db file is created and referenced.
    SQLITE_OPEN_MEMORY flag works as expected.
    
    Is there any info about line 577? I would like to add an argument for all possible flags (see sqlite3.h 'Flags For File Open Operations') but args 4 doesn't seem to be future-proof.
    IR4T4 committed on GitHub Jan 21, 2017
Commits on Jan 11, 2017
Commits on Jan 10, 2017
Commits on Oct 31, 2016
  1. explicitly disregard return code

    IR4T4 committed on GitHub Oct 31, 2016
Commits on Oct 30, 2016
  1. New version 2.3.4.

    tomasguisasola committed Oct 30, 2016
  2. Upgrading driver version.

    tomasguisasola committed Oct 30, 2016
  3. Improvement on driver loading (Lua 5.0).

    Improvement on escape test.
    tomasguisasola committed Oct 30, 2016
Commits on Oct 29, 2016
  1. Merge pull request #60 from IR4T4/patch-1

    Update ls_sqlite.c
    hishamhm committed on GitHub Oct 29, 2016
  2. Update ls_sqlite.c

    explicity disregard return code
    IR4T4 committed on GitHub Oct 29, 2016
Commits on Oct 20, 2016
  1. Merge pull request #59 from kcousins/master

    silence a compiler warning in src/ls_mysql.c
    hishamhm committed on GitHub Oct 20, 2016
  2. silence a compiler warning

    s/int/void/ to match function prototype in other database connectors
    kcousins committed on GitHub Oct 20, 2016
Commits on Sep 16, 2016
  1. luasql.postres: fix buffer allocation for conn:escape result

    `luaL_buffinitsize(L, B, sz)` is equivalent to
    `luaL_buffinit(L, B); luaL_prepbuffsize(B, sz)`, not
    `luaL_buffinit(L, B); luaL_prepbuffer(B)`.
    The latter uses `LUAL_BUFFERSIZE` (8192 by default)
    as buffer size, which may be not enough, causing
    a segfault.
    
    Additionally, detection of availability of
    `luaL_buffinitsize` and `luaL_pushresultsize` was broken:
    these functions are not macros, so `#if defined(...)` does not
    work. Always use fallback implementations instead; they are
    short and the functions are only used once.
    
    Ref #55.
    mpeterv committed Sep 16, 2016
Commits on Jul 1, 2016
  1. Merge pull request #46 from seanpringle/master

    Call PQfinish after PQerrorMessage when connection fails
    hishamhm committed on GitHub Jul 1, 2016
Commits on Jun 24, 2016
  1. Merge pull request #49 from AMDmi3/patch-1

    Use <stdlib.h> instead of deprecated <malloc.h>
    tomasguisasola committed on GitHub Jun 24, 2016
  2. Use <stdlib.h> instead of deprecated <malloc.h>

    Fixes build failure on e.g. FreeBSD
    AMDmi3 committed on GitHub Jun 24, 2016
Commits on Jun 23, 2016
  1. Merge pull request #48 from andreasbhansen/patch-1

    Update docs link in readme
    mpeterv committed on GitHub Jun 23, 2016
  2. Update docs link in readme

    andreasbhansen committed on GitHub Jun 23, 2016
Commits on May 16, 2016