Commit Graph

567 Commits (master)

Author SHA1 Message Date
Tomás Guisasola b7da7097d9
Merge pull request #141 from cazfi/castalign
Castalign
2022-07-27 13:39:06 -03:00
Marko Lindqvist 0e896d4783 ls_postgres.c: Fix cast alignment change warning
Compiling with clang gave:
ls_postgres.c:251:13: error: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
2022-06-13 15:13:59 +03:00
Marko Lindqvist 7aba4517f8 ls_mysql.c: Fix cast alignment change warning
Compiling with clang gave:
ls_mysql.c:342:13: error: cast from 'char *' to 'int *' increases required alignment from 1 to 4 [-Werror,-Wcast-align]

Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
2022-06-13 15:09:58 +03:00
Tomás Guisasola fb70ea4743
Merge pull request #140 from cazfi/trailing-spaces
Remove trailing spaces from documentation
2022-05-29 22:25:54 -03:00
Marko Lindqvist 859aeb8237 Remove trailing spaces from documentation
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
2022-05-28 13:25:39 +03:00
Tomás Guisasola 061e8afb62
Merge pull request #137 from cazfi/odbc-warnings
Odbc warnings
2022-02-07 11:07:00 -03:00
Marko Lindqvist eca93b7f97 ls_odbc.c: Fix shadowed variable compiler warning 2022-02-07 00:29:27 +02:00
Marko Lindqvist 6ccfb9c585 ls_odbc.c: Correct parameter types
Fix compiler warnings about wrong types passed as function parameters
2022-02-07 00:02:52 +02:00
Marko Lindqvist 9e8ab9ef98 ls_odbc.c: Remove unused variables
Fix "warning: unused variable ‘cbNull’" compiler warnings
2022-02-06 23:56:19 +02:00
Tomás Guisasola ce22164f63
Merge pull request #132 from laigor/master
Fix compilation error on Linux and MAC
2021-10-14 09:38:24 -03:00
laigor 16130b9873
Fix compilation error on Linux and MAC 2021-10-14 11:52:49 +03:00
Tomás Guisasola 69f68a8581
Merge pull request #128 from w-oertl/master
Support binding of parameters for SQLite3 in conn:execute(sql, ...)
2021-08-27 15:17:22 -03:00
Wolfgang Oertl ad59e6bf09 Support binding of parameters in conn:execute(sql, ...) like the
ODBC driver.  No support for prepared statements yet.  Note that
named parameters must exactly match the placeholder in the SQL
statement, i. e. :a or $a or @a needs to include the initial
character.  When using ? or ?n, use an index starting at 1.
2021-08-18 13:00:01 +02:00
blumf 8c58fd6ee3
Merge pull request #124 from ousnius/master
Support for returning ODBC "SQL_GUID" as string
2020-09-16 13:25:07 +01:00
ousnius 667dbc6241 Support for return SQL_GUID as string
SQL-Server "uniqueidentifier" to be returned as a GUID string.
2020-09-14 23:30:00 +02:00
Tomás Guisasola 22d4a911f3 New version: 2.6. 2020-09-09 12:28:53 -03:00
Tomás Guisasola d2fb0be284 New version: 2.6. 2020-09-09 12:13:54 -03:00
Tomás Guisasola 3b0b8b7899 New version. 2020-09-08 12:39:04 -03:00
Tomás Guisasola 95a5da9ae7 Prototypes moved to luasql.h. 2020-09-08 11:41:18 -03:00
Tomás Guisasola a6ad06d71b Add finalization test. 2020-09-08 11:38:29 -03:00
Tomás Guisasola 53b3b13583 Avoiding gcc warning and standadizing indentation. 2020-09-08 11:20:14 -03:00
Tomás Guisasola 10093959f9 Add initilization functions prototypes. 2020-09-08 11:19:22 -03:00
Tomás Guisasola e84e9e4347 New version (2.6) for MySQL and Firebird. 2020-09-08 09:09:34 -03:00
Tomás Guisasola e686c4bc69 Add docs about env:connect (SQLite3). 2020-09-08 08:59:28 -03:00
Tomás Guisasola 033f291314
Merge pull request #106 from lal12/master
Added multi statement support for mysql
2020-09-08 08:53:42 -03:00
Tomás Guisasola 14762f35c3
Merge pull request #123 from abidbodal/add-readonly-flag-sqlite3
Add an option to env:connect in sqlite3
2020-09-08 08:52:31 -03:00
Abid Esmail e2ec27fbee Add an option to env:connect in sqlite3
Add an option in enc:connect in sqlite3 to allow users to connect to the
DB in read only mode.
2020-09-04 14:31:05 -06:00
Tomás Guisasola 5496d60185 Correction on release number on module (VERSION). 2019-06-14 10:54:41 -03:00
Tomás Guisasola 977323dedc New version: 2.5 2019-06-14 10:48:46 -03:00
Tomás Guisasola e316bf3281 Update docs. 2019-06-14 10:42:03 -03:00
Tomás Guisasola 83e05de0e4 New version (bug-fix on ODBC driver). 2019-06-14 09:53:56 -03:00
Tomás Guisasola fe6d9a081a New version (bug-fix). 2019-06-14 09:51:43 -03:00
Tomás Guisasola 1610866be2
Merge pull request #113 from EssGeeEich/master
Fix ODBC types to match standard typedefs
2019-06-14 09:37:51 -03:00
Mauro 6942e2b3e4
Fix ODBC types to match standard typedefs
This fixes a bug that I'm currently experiencing reproducible in the following way:

-Use lua5.3
-"long int" must have size 8
-SQLINTEGER must have size 4

Selecting a column of integer type would mess up the values.
2019-06-14 13:26:50 +02:00
Tomás Guisasola e717678e2b
Merge pull request #107 from rmarquis/master
Fixed typo in manual
2019-01-03 10:09:00 -02:00
Remy Marquis 1516695c7b Fixed typo in manual 2019-01-03 12:53:15 +01:00
Luca Lindhorst 1f14378ad4 Added multi statement support for mysql 2018-12-11 15:05:52 +01:00
Tomás Guisasola 21f99ce4da Updating manual according to new MySQL seek method. 2018-12-03 16:39:27 -02:00
Tomás Guisasola dbc034bbd3 Updating docs according to new MySQL driver feature. 2018-12-03 16:29:35 -02:00
Tomás Guisasola acf8e021bf Adding cur:seek() method to MySQL driver. 2018-12-03 16:25:04 -02:00
Tomás Guisasola 48d33e4109 Merge branch 'master' of github.com:keplerproject/luasql 2018-12-03 16:22:56 -02:00
Tomás Guisasola 266c45336d Standardizing test files. 2018-12-03 16:22:40 -02:00
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