MySQL: Fix off-by-one in allocation and pass address of correct bind result buffer to mysql_stmt_fetch_column() default tip

MySQL: Avoid allocating the full column size to receive results, for variable-length types check result size before allocation (thanks Florob)

Make calling autocommit with the same value as set a NOOP to suppress a warning from the DB

Use SQLite built in mechanism for tracking transactions

Removed commented code

Fix DBD.SQLite3 transaction handling

add paths for psql vc++ build

Create builddir before building

Fix bug in statemnt dealloc in psql driver

Issue 6: Release/repository missing LICENSE file

* Add new MySQL types

fix release build target

update docs

* Fix MySQL date/time types

Add __tostring method to connection and statement objects.

* Add `columns' method for DB2 and Oracle statment handles

Add 'columns' method to statement handles to retrieve column names from a result set

Add docs.

Clean up comments.

Cleanup oracle bind allocations.

Bugfix - fix allocation bugs

Cleanup.

Remove debug statement.

Bugfix: memory corruption possible after reallocs. Using a static buffer instead. Will need to check for overflows on static buffer.

* Added the connection:quote() method

Added the statement:affected() and statement:rowcount() methods.

Bugfix: the type return by 'select count(...)' was being pushed as a string because of missing psql => lua type mapping.

Bugfix - remove unused vars in oracle driver, catch param mismatch in statement:execute()

Misc changes.

Added initial Oracle driver support - functionality is complete, but may be too buggy in its current state for any serious use.

Bugfix: fix comment in connection

Missed cleaning the DB2 objects.

Add DB2 driver module.

Added connection:autocommit(), connection:commit(), and connection:rollback() to control transactions.

Renamed statement:fetch() to statement:rows(), and statement:row() to statement:fetch(). The API reads better this way.

Bugfix: PSQL array returns were not being indexed properly.

Added new typechecks and errors

Bugfix: fix connection in DBD.SQLite3.New

Bugfix - execute was returning nil on success

Bugfix - the size of strings for bind params pointed to the same memory

Fixed bug: double bind params were using the same variables memory space so they were all being set to the same number.

Fixed missing return.

Clean up error messages for consistency.

Cleanup and 'assert' error handling.

Cleanup and commenting

Initial import.

Initial directory structure.

(0) tip

mercurial