388 Commits

Author SHA1 Message Date
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
blumf
e4951a2b36 Untested makefile for firebird module 2008-03-11 16:58:36 +00:00
blumf
afb703aea3 All database errors are consistantly handled.
Using consistant line ending (Windows style)
Few other details tidied
2008-03-11 11:25:20 +00:00
blumf
9a0ad72255 Put inital cur_data in the execute function on the stack instead of malloc'ing it 2008-03-10 22:37:08 +00:00
blumf
07e40ba458 Tidied up the code a little.
Caught further memory leak.
2008-03-10 18:08:53 +00:00
blumf
59ec92ff88 Removed superfluous include 2008-03-10 17:43:11 +00:00
blumf
b92acc705f Added source code for Firebird driver 2008-03-10 17:26:42 +00:00
mascarenhas
49c974c496 incorporated patch
http://luaforge.net/tracker/?func=detail&atid=166&aid=2066&group_id=12
2008-02-18 05:44:23 +00:00
mascarenhas
9637b62ea0 conn:escape for sqlite, sqlite passes all tests 2008-02-18 05:20:34 +00:00
mascarenhas
b428c563de fixed leak 2008-02-18 05:14:09 +00:00
mascarenhas
7245302b99 mysql string escaping, mysql passes all tests 2008-02-18 05:12:02 +00:00
mascarenhas
33cd01ac67 more fixes 2008-01-16 18:46:40 +00:00
mascarenhas
279f4335f6 fixed windows makefile 2008-01-16 18:44:52 +00:00
mascarenhas
fd24fedd30 makefile for luarocks on windows 2008-01-16 18:33:02 +00:00
mascarenhas
8f08eb1c39 *** empty log message *** 2008-01-12 20:57:43 +00:00
mascarenhas
7a888b3ca1 Added getlastautoid to mysql driver (necessary for orbit.model) 2008-01-12 20:54:09 +00:00
mascarenhas
c9eca52161 Added rockspecs to CVS tree 2008-01-08 18:50:49 +00:00