Tomás Guisasola
89cc4db00f
Test improvement: MySQL (at least) escapes ' as \' instead of ''. Accepting both forms.
2017-02-23 14:40:30 -03:00
Tomás Guisasola
0eb721c76c
Improvement on driver loading (Lua 5.0).
...
Improvement on escape test.
2016-10-30 18:05:08 -02:00
Tomás Guisasola
f704937a1a
Adding test on the length of escaped strings.
2016-10-30 11:26:33 -02:00
Tomas Guisasola
4acc737e65
Improvement on compiler requirements from Postgres driver: it does not depend upon dynamic array allocation (which is not supported in all modern C compiler).
...
Generalizing tests to allow configuration of the database default username.
2016-03-28 09:16:46 -03:00
Tomás Guisasola
b6f8685c18
Moving test of escape function to extensions (since it is not supported by all drivers).
2015-11-30 10:21:19 -02:00
jk77
cee9f8c6ba
tests/odbc.lua - fixed typo in variable name
...
Fixed typo in DROP_TABLE_RETURN_VALUE variable name in assert2 statement on line 30.
2015-11-28 18:31:55 -08:00
blumf
2b8d0d6045
Firebird needs metadata changes to be committed
...
Creating and dropping tables, etc. needs to be committed before it's
properly recognised by the Firebird DB engine
2015-04-17 17:48:16 +01:00
Tomás Guisasola
3f4d7c191c
Improve on driver-specific file loading.
2012-03-30 08:49:24 -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
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
tomas
3d82ecf79e
Correction on validating the object
2008-05-31 14:06:19 +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
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
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
mascarenhas
9637b62ea0
conn:escape for sqlite, sqlite passes all tests
2008-02-18 05:20:34 +00:00
mascarenhas
7245302b99
mysql string escaping, mysql passes all tests
2008-02-18 05:12:02 +00:00
carregal
e1f99daae1
Fix bug [ #1770 ] Sqlite3 not passing all tests (found by Enrico Tassi)
...
Patch by Marc Nijdam
2007-10-16 15:42:50 +00:00
tomas
15c8293dc6
Adding function to escape strings and a test for it. Changing version to 2.1.0
2007-06-18 01:22:45 +00:00
tomas
2d6a09195a
Correcting implementation of methods commit and rollback, to return a boolean.
2007-05-02 13:58:56 +00:00
mascarenhas
97c6b0e1f9
Added driver for SQLite Version 3y
2007-04-06 23:46:04 +00:00
tomas
e00c33c287
Adding test to check whether the setautocommit method is return a boolean. Correcting drivers MySQL, Oracle, Postgres and SQLite
2007-03-09 14:56:20 +00:00
mascarenhas
88965d6a4c
Added ado.lua test file for ADO.
2006-06-12 19:38:24 +00:00
carregal
3ecf6f15ba
Correct the tests to run on SQLite 2
2006-05-31 21:43:33 +00:00
carregal
f2c6fcb960
Correct the tests to run on Oracle OCI8
2006-05-31 21:43:15 +00:00
tomas
e29c27d16a
Improving error messages and finding the driver-specific test file.
2006-01-25 21:46:44 +00:00
tomas
b1256ccfaa
Adding test of method numrows.
2006-01-25 20:28:30 +00:00
tomas
47b1092bcc
Adding test for data types managed by the driver.
2006-01-25 19:54:21 +00:00
tomas
2a84ca6c3d
Adding test for driver extensions.
...
Adding test for numrows method.
2006-01-25 19:15:21 +00:00
tomas
a861614daf
Adding specific file for ODBC.
...
Adding configuration to some different return values of API functions.
2006-01-23 20:13:25 +00:00
tomas
1d2e800f51
Adding extension-methods to be tested
2006-01-16 22:24:03 +00:00
tomas
962115c76a
Little improvements.
2006-01-16 21:49:56 +00:00
tomas
432e3b38ea
Bug correction
2006-01-10 18:58:16 +00:00
tomas
da25531dae
MySQL versions 4.0.x do not implement rollback.
2006-01-10 18:34:54 +00:00
tomas
4f141c4ffb
Adding mysql specific test.
2006-01-10 18:31:50 +00:00
tomas
dcb0df8bfc
Adding sqlite specific test.
2006-01-10 18:22:46 +00:00
tomas
f2525ece27
Adding mechanism to load driver-specific tests/configurations
2006-01-10 18:16:01 +00:00
tomas
c14c8cc3df
Upgrade to LuaBinaries name for command line interpreter.
2006-01-10 17:36:54 +00:00
tomas
1cb276cda1
Correction on driver loading.
2005-06-05 00:47:26 +00:00
tomas
a1b413972d
Closing open connection.
2005-05-03 12:40:31 +00:00
tomas
79b0542f02
Correction on connection close behavior.
2005-04-28 17:33:47 +00:00
tomas
6978a391d8
Including cursor integrity test after trying to close database connection.
2005-04-28 17:10:24 +00:00
mascarenhas
ca31714cdc
*** empty log message ***
2005-03-01 21:35:37 +00:00
mascarenhas
5619ae246b
Driver ADO, mudanas na documentao e nos testes para novo driver.
...
Modified Files:
authors.html index.html manual.html test.lua
Added Files:
ado/ado.lua
2005-02-28 19:48:10 +00:00
eduquintao
8e399a1e66
inclusao de codigo para pular teste de rollback em Mysql versao 4.0
2004-12-14 19:25:56 +00:00
tomas
f63d98c1f2
Pequenas correcoes enviadas pelo Tiago.
2004-11-30 15:09:35 +00:00
tomas
ffd4c60ab0
Adaptacao para o uso da nova luaL_openlib.
...
Correcao no nome do modulo/driver no arquivo de testes.
Eliminacao da funcao (obsoleta) luasql_getlibtable.
2004-10-15 12:19:35 +00:00
eduquintao
06528494bb
inseri novo teste para close e resolvi problema do tipo "varchar(30)" para o
...
driver SQLite. edu
2004-08-18 18:10:37 +00:00
tomas
9c5f55af5d
Pequenas correcoes no ingles.
2004-06-08 12:57:32 +00:00
tomas
583786d773
Correcao no driver ODBC que nao desempilha o valor da consulta se este nao
...
for usado.
Inclusao de teste para identificar a situacao.
2004-02-12 10:44:04 +00:00