525 Commits

Author SHA1 Message Date
blumf
6ac4cba1e0
Merge pull request #98 from keplerproject/fb_proc_support
Added support for handling Procedures and Returning SQL
2018-11-27 16:40:18 +00:00
scott
3b7c0c0f37 ODBC test now uses prepared statements 2018-11-27 16:36:58 +00:00
scott
8215b59e66 ODBC test now uses params 2018-11-27 16:32:38 +00:00
scott
05b1ac5763 Now supports SQL params as both args and table 2018-11-26 18:10:20 +00:00
scott
9f817e61b3 Initial check in of prepared queries and query parameter support
Next step, support data being passed as function params instead of a table
2018-11-26 17:34:56 +00:00
scott
7e3df96779 ODBC test wasn't closing cursor
This resulted in an error deleting table the test referenced.
2018-11-26 17:33:13 +00:00
scott
7843cccc5e FB Proc Support Now Tests
Fixed the driver properly.
Added test case for procedure support.
Fixed drop table issue with FB.
2018-11-05 11:03:39 +00:00
Tomás Guisasola
c7d8943932 New rockspec for Firebird driver. 2018-10-31 10:47:11 -03:00
Tomás Guisasola
eca09e17c9 Version correction inside rockspec. 2018-10-30 20:13:34 -03:00
Tomás Guisasola
1773902cbf Updating current version number. 2018-10-30 20:05:55 -03:00
Tomás Guisasola
81e1d21338 Rockspecs for the new version. 2018-10-30 20:01:09 -03:00
Tomás Guisasola
e9f47103c6 Updating new version date. 2018-10-30 19:54:46 -03:00
Tomás Guisasola
218a08d7a1 New version. 2018-10-30 19:41:24 -03:00
Tomás Guisasola
764aec46c1 Updating docs. 2018-10-30 19:27:01 -03:00
Tomás Guisasola
fcfab9d0f7
Merge pull request #73 from watercoldyi/master
compliling for mingw
2018-10-30 19:25:27 -03:00
Tomás Guisasola
ea0c91d534 Merge branch 'master' of github.com:keplerproject/luasql 2018-10-30 19:24:15 -03:00
Tomás Guisasola
91672eebcd Updating docs. 2018-10-30 19:23:44 -03:00
Tomás Guisasola
cc4b13e256
Merge pull request #81 from DavidAlphaFox/master
fix Oracle ORA-01406 in 10.0.2.4
2018-10-30 19:20:46 -03:00
Tomás Guisasola
d92090bf7e Merge branch 'master' of github.com:keplerproject/luasql 2018-10-30 19:17:34 -03:00
Tomás Guisasola
328cfb8db6 Documentation update. 2018-10-30 18:58:11 -03:00
Tomás Guisasola
dd91e26303 Substituting deprecated function luaL_optlong by luaL_optinteger with a cast. 2018-10-30 18:50:01 -03:00
Tomás Guisasola
c2ecf36230
Merge pull request #62 from keplerproject/rockspecs-2.3.4
Rockspecs for version 2.3.4
2018-10-30 18:12:58 -03:00
Tomás Guisasola
dfd5af092e Merge branch 'rafis-master' 2018-10-30 18:09:55 -03:00
Tomás Guisasola
e95790bc47 Merge branch 'master' of https://github.com/rafis/luasql into rafis-master
Conflicts:
	src/ls_mysql.c
2018-10-30 18:07:37 -03:00
scott
773139c772 Added support for handling Procedures and Returning SQL
Things such as:
  * `INSERT INTO ... RETURNING SomeCol1, SomeCol2`
  * `EXECUTE BLOCK ... RETURNS ...`
  * `EXECUTE PROCEDURE ... RETURNING ...`

Currently Firebird only supports returning one row from such actions.
2018-10-04 11:49:51 +01:00
David.Gao
4ce2865071 fix Oracle ORA-01406 in 10.0.2.4 2017-10-25 11:02:21 +08:00
Hisham Muhammad
5e65ae41f8 Update looks of the documentation 2017-09-18 18:14:28 -03:00
Tomás Guisasola
6df3f67231 Add support for building with MariaDB (thanks to Florian Weimer). 2017-07-31 09:41:49 -03:00
watercoldyi
ace2aaa241 compliling in mingw,odbc,sqlite3 2017-04-11 20:58:20 +08:00
watercoldyi
82d5d7f557 add compliling for mingw 2017-04-11 20:30:37 +08:00
Tomás Guisasola
9e319eef48 Correction on homepage. 2017-02-23 17:14:24 -03:00
Tomás Guisasola
819a874794 Correction on header file dependency. 2017-02-23 17:09:43 -03:00
Tomás Guisasola
2f2c4eb816 Rockspecs for new version. 2017-02-23 15:52:25 -03:00
Tomás Guisasola
63f6903b0c Adding client information when available. 2017-02-23 15:46:48 -03:00
Tomás Guisasola
30cb41e8fc Updating for new version. 2017-02-23 15:46:30 -03:00
Tomás Guisasola
d44e63c7f1 Standardizing client version number. 2017-02-23 15:45:42 -03:00
Tomás Guisasola
0a662d0789 Update for new version. 2017-02-23 15:44:56 -03:00
Tomás Guisasola
3108496f11 Updating docs for new version. 2017-02-23 15:41:46 -03:00
Tomás Guisasola
b862793c65 Correction in the definition of table engine: swaping old qualifier "TYPE" for "ENGINE". 2017-02-23 14:41:35 -03:00
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
f76f2157bf Merge pull request #70 from IR4T4/patch-3
fix memory db connection creating and using file based db
2017-02-23 09:16:01 -03:00
Tomás Guisasola
fea0c00090 Merge pull request #69 from tomatolog/master
fixing leak of mysql thread handlers
2017-02-23 09:14:59 -03:00
Tomás Guisasola
4a5c65485f Merge pull request #61 from IR4T4/patch-2
explicitly disregard return code
2017-02-23 09:11:44 -03:00
IR4T4
6de91bfd5e 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.
2017-01-21 23:52:25 +01:00
Stanislav Klinov
92dde6a12b replaced depricated MySQL function 2017-01-11 14:02:16 +03:00
Stanislav Klinov
4c56f5126f fixing leak of mysql thread handlers 2017-01-10 10:47:51 +03:00
Hisham
67baedd624 Rockspecs for version 2.3.4
Since version 2.3.4 was tagged in the source code,
it's better to release matching rockspecs for all drivers
to avoid confusion. This also solves long standing
compatibility issues.

Closes #6. (Lua 5.2 compatibility for odbc)
Closes #30. (Lua 5.3 support for luasql-mysql)
(And it possibly closes more issues as well!)
2016-10-31 16:31:49 -02:00
IR4T4
ef43c9bf76 explicitly disregard return code 2016-10-31 08:42:40 +01:00
Tomás Guisasola
c04a0d95c8 New version 2.3.4. 2016-10-30 18:36:03 -02:00
Tomás Guisasola
63a4e12279 New bug correction version: 2.3.4. 2016-10-30 18:26:16 -02:00