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
Tomás Guisasola
b83ddf189d
Bug correction: strings bigger than the buffer default size are correctly handled.
2016-10-30 18:09:59 -02:00
Tomás Guisasola
bed6e063c1
Upgrading driver version.
2016-10-30 18:08:45 -02:00
Tomás Guisasola
d753de4e77
Adding Lua version to driver _VERSION attribute.
2016-10-30 18:08:01 -02: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
Hisham Muhammad
8fb5a8a5a9
Merge pull request #60 from IR4T4/patch-1
...
Update ls_sqlite.c
2016-10-29 15:57:00 -02:00
IR4T4
dc64ab5fc4
Update ls_sqlite.c
...
explicity disregard return code
2016-10-29 17:40:31 +02:00
Hisham Muhammad
9bab7e24c1
Merge pull request #59 from kcousins/master
...
silence a compiler warning in src/ls_mysql.c
2016-10-20 00:35:03 -04:00
kcousins
5b0cbf328f
silence a compiler warning
...
s/int/void/ to match function prototype in other database connectors
2016-10-20 11:21:30 +11:00
Peter Melnichenko
6316be8d0f
luasql.postres: fix buffer allocation for conn:escape result
...
`luaL_buffinitsize(L, B, sz)` is equivalent to
`luaL_buffinit(L, B); luaL_prepbuffsize(B, sz)`, not
`luaL_buffinit(L, B); luaL_prepbuffer(B)`.
The latter uses `LUAL_BUFFERSIZE` (8192 by default)
as buffer size, which may be not enough, causing
a segfault.
Additionally, detection of availability of
`luaL_buffinitsize` and `luaL_pushresultsize` was broken:
these functions are not macros, so `#if defined(...)` does not
work. Always use fallback implementations instead; they are
short and the functions are only used once.
Ref #55 .
2016-09-16 16:31:48 +03:00
Hisham Muhammad
fb09e52d77
Merge pull request #46 from seanpringle/master
...
Call PQfinish after PQerrorMessage when connection fails
2016-07-01 20:29:35 -03:00
Tomás Guisasola
4e3038c756
Merge pull request #49 from AMDmi3/patch-1
...
Use <stdlib.h> instead of deprecated <malloc.h>
2016-06-24 12:51:12 -03:00
Dmitry Marakasov
cc865b3ad4
Use <stdlib.h> instead of deprecated <malloc.h>
...
Fixes build failure on e.g. FreeBSD
2016-06-24 19:38:07 +04:00
Peter Melnichenko
814d69e551
Merge pull request #48 from andreasbhansen/patch-1
...
Update docs link in readme
2016-06-23 12:26:12 +04:00
Andreas Biørn-Hansen
491a8c2206
Update docs link in readme
2016-06-23 09:30:23 +02:00
Tomás Guisasola
d4f4c814a9
Rockspec for new release: 2.3.3.
2016-05-16 08:34:59 -03:00
Tomás Guisasola
b7a649ecae
Updating docs for new release: 2.3.2.
2016-05-16 08:08:52 -03:00
Tomás Guisasola
88adf029d0
Bug correction: correction on message generation after freeing failed connection pointer.
2016-05-16 08:04:46 -03:00
Sean Pringle
f12bedd987
Call PQfinish after PQerrorMessage when connection fails
2016-05-16 10:08:58 +10:00
Tomás Guisasola
309570578e
Rockspec for new version.
2016-05-14 19:35:09 -03:00
Tomás Guisasola
1e984889be
Adding credits to bug correction.
2016-05-14 19:26:10 -03:00
Tomás Guisasola
c308c91f39
Updating docs to release 2.3.2
2016-05-14 16:35:27 -03:00
Tomás Guisasola
dac9faf47c
Bug correction: freeing memory after failed connection.
2016-05-14 16:29:51 -03:00
Tomas Guisasola
9dd086093e
New version: 2.3.1
2016-03-28 09:23:11 -03: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