Tomás Guisasola
68e30fca8e
Adaptation to work with Lua 5.0, 5.1 and 5.2.
...
Untested code.
2012-03-30 16:00:23 -03:00
Tomás Guisasola
44f09077a9
Removing unused code.
2012-03-30 15:58:44 -03:00
Tomás Guisasola
07e1cbb2cc
Removing object file.
2012-03-30 08:57:50 -03:00
Tomás Guisasola
dae41c9770
Adaptation to work with Lua 5.0, 5.1 and 5.2.
...
Removing Compat-5.1
Implementing automatic cursor close when there is no more rows to iterate.
2012-03-30 08:53:30 -03:00
Tomás Guisasola
00ddabb378
Adding definition for lua_pushinteger function.
2012-03-30 08:50:38 -03:00
Tomás Guisasola
3f4d7c191c
Improve on driver-specific file loading.
2012-03-30 08:49:24 -03:00
Tomás Guisasola
b82b644f3a
Updating docs.
2012-03-26 21:49:14 -03:00
Tomás Guisasola
7cc91e6a5a
Adaptation to work with Lua 5.0, 5.1 and 5.2.
...
Incompatibility with previous versions: no more global luasql table defined; the modules/files return a table with the equivalent of luasql[driver] in previous versions.
2012-03-26 16:47:05 -03:00
Tomás Guisasola
ad1b17df93
Removing Compat-5.1 and adding -fPIC
...
Version 2.3
2012-03-26 16:10:43 -03:00
blumf
7aea02dd55
Merge pull request #4 from ignacio/publicable_github
...
Added support for wchar, wvarchar and wlongvarchar types
2012-03-09 08:20:51 -08:00
Ignacio Burgueño
28004783c0
Added support for wchar, wvarchar and wlongvarchar types
2012-03-09 11:53:27 -02:00
blumf
0b04151c9c
Generate unique name for each cursor allowing more than one query to be run at a time
2012-02-15 16:22:22 +00:00
Bob Calco
24cdbec54c
Merge pull request #2 from timn/master
...
Compile fixes for Fedora 14 and up
2011-07-01 01:31:28 -07:00
Tim Niemueller
9ec61fb8e7
sqlite3: fix compile errors on Fedora 15
2011-03-22 23:46:26 +01:00
blumf
e69c2348a8
Removed spurious lib open function declaration
2011-03-10 10:36:17 +00:00
Fabio Mascarenhas
754f68f565
use builtin for mysql, sqlite and sqlite3 rockspecs
2009-10-20 14:38:38 -02:00
Fabio Mascarenhas
8fa37328b5
cvs rockspecs now point to github
2009-09-24 14:28:03 -03:00
blumf
dce61d4704
env:connect wasn't leaving the connection object in an officially open state
2009-07-30 11:25:48 +00:00
carregal
c49378b160
Removing references to deprecated JDBC driver
2009-03-05 23:57:53 +00:00
carregal
de49369d57
Fixing bug [47542] Sqlite3 driver does not build on Windows. Bug report and patch by Ignacio Burgueño
2009-03-05 23:57:20 +00:00
tomas
ec9a119e9d
Correcting error reported by Ignacio Burgueo
2009-02-11 12:08:50 +00:00
tomas
ad4e500927
Removing unecessary code: functions getenvironment, getconnection and getcursor would not return if the corresponding udata is closed.
2009-02-07 23:19:07 +00:00
tomas
71bfef2057
Changing luasql_faildirect to add LUASQL_PREFIX before the error string (changing drivers accordingly).
...
Adding function luasql_failmsg (which receives two strings, adds LUASQL_PREFIX before them and concatenates all of them on the stack before returning 2).
Standardizing error messages.
2009-02-07 23:16:23 +00:00
tomas
cdda6aab94
Translating
2009-02-07 22:47:49 +00:00
tomas
36feffdeba
Correcting statment to statement.
2009-02-07 22:37:21 +00:00
jasonsantos
10e56eb34a
Removed wrong comment that was breaking the build
2009-02-05 16:43:50 +00:00
jasonsantos
713ccdfa74
*** empty log message ***
2009-01-28 21:46:16 +00:00
carregal
a9e7db2204
Fixing bug [ #26911 ] Queries cannot contain NUL values.
...
(bug report and patch by Conrad Irwin)
2008-08-25 18:13:09 +00:00
blumf
3993f0fdeb
Keeping the stack tidy - Thanks to Marco Antonio Abreu
2008-07-18 10:08:44 +00:00
carregal
0a816c78b3
Fixing version number
2008-07-12 15:11:46 +00:00
carregal
6ae1573c7b
Adding missing dependencies to the rockspec (by Hisham)
2008-07-03 13:40:58 +00:00
carregal
bf9bfe1804
Removing a zombie .project file
2008-06-30 13:54:06 +00:00
blumf
835d0d499f
Added flag to switch between direct table comparision and table content matching in the column_info test.
2008-06-30 10:43:03 +00:00
blumf
f28dc70932
Added conn:escape function to Firebird driver
...
Updated test.lua script to only warn on lack of table reuse with the getcolname and getcoltype cursor functions.
2008-06-27 18:39:31 +00:00
jasonsantos
65f84270d6
Added a lock timeout parameter for sqlite3 connect -- to allow sqlite3 driver to work properly on concurrency situations
...
Updated documentation
2008-06-11 00:26:13 +00:00
blumf
b2aee40323
Tracking of object lifetimes, objects only collected when out of scope and unused by dependant objects
2008-06-06 16:57:37 +00:00
tomas
3d82ecf79e
Correction on validating the object
2008-05-31 14:06:19 +00:00
tomas
2df28a6699
Partial documentation update
2008-05-30 19:49:41 +00:00
tomas
5df6526298
Simplifying the implementation of fetch_table. Adding some information to the test user.
2008-05-30 17:23:59 +00:00
tomas
1153fa650d
Updating version number. Adding firebird driver to Makefile -- although useless. Adding a macro to define the version number.
2008-05-30 17:21:18 +00:00
blumf
e0cb78af4e
Modified the test script to handle DB engines that alter the case of field names
...
Added the Firebird test custom script
2008-05-30 15:53:44 +00:00
blumf
81ec65adbe
Changes to comply with test script. Work in progress.
2008-05-29 18:44:48 +00:00
tomas
1f4dfb1740
Separating the __gc metamethod from the close method of objects. Improving fetch to close finished cursors. Test improvements accordingly. Some Firebird driver corrections -- it is not passing the tests
2008-05-04 02:46:17 +00:00
tomas
9652056b05
Adding configuration for Firebird driver
2008-05-04 02:25:58 +00:00
mascarenhas
5deeb6d469
patch for type conversion (bug 1839)
2008-04-24 17:37:45 +00:00
mascarenhas
e4826280a7
2.2.0rc1 rockspecs
2008-04-14 20:52:07 +00:00
tomas
f6c0e05c68
Adding documentation about the extensions for MySQL and Postgres
2008-03-20 17:30:14 +00:00
blumf
f22e7a1dfd
Full error report given by return_db_error function
2008-03-12 17:36:19 +00:00
blumf
910d353558
Removed redundant free call in the connection close function
2008-03-12 14:20:41 +00:00
blumf
b7814d5468
Removed potential leaks from the execute function when error conditions are hit
...
Replaced a malloc in the connection data with a plain buffer
2008-03-11 17:33:09 +00:00